CN113138676B - Expression symbol display method and device - Google Patents

Expression symbol display method and device Download PDF

Info

Publication number
CN113138676B
CN113138676B CN202110399124.1A CN202110399124A CN113138676B CN 113138676 B CN113138676 B CN 113138676B CN 202110399124 A CN202110399124 A CN 202110399124A CN 113138676 B CN113138676 B CN 113138676B
Authority
CN
China
Prior art keywords
expression
symbol
preset
emoji
library
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110399124.1A
Other languages
Chinese (zh)
Other versions
CN113138676A (en
Inventor
袁超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110399124.1A priority Critical patent/CN113138676B/en
Publication of CN113138676A publication Critical patent/CN113138676A/en
Application granted granted Critical
Publication of CN113138676B publication Critical patent/CN113138676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods

Abstract

The application discloses an expression symbol display method and device, and belongs to the technical field of communication. The expression symbol display method comprises the following steps: under the condition that the expression popup window is detected, matching the expression symbols in the expression popup window by using a preset expression library, wherein the preset expression library comprises Q first expression symbols, and Q is a positive integer; and under the condition that a second expression symbol matched with any one of the first expression symbols exists in the expression popup window, the second expression symbol is displayed in a distinguishing mode.

Description

Expression symbol display method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to an expression symbol display method and device.
Background
It is well known that many users use emoticons to chat or comment on in the course of using social software. However, the pictures adopted by the emoticons with the same meaning in different application programs may be different, and the layouts of the emoticons may also be different; when a user is used to using an emoticon in a certain application program, more time may be spent in searching for the emoticon expected to be input in another application program, and thus the problem of low efficiency of the emoticon input is brought.
Disclosure of Invention
The embodiment of the application aims to provide an expression symbol display method and device, which can solve the problem of low expression symbol input efficiency caused by the display difference of expression symbols in different application programs.
In a first aspect, an embodiment of the present application provides an emoji display method, including:
under the condition that the expression popup window is detected, matching the expression symbols in the expression popup window by using a preset expression library, wherein the preset expression library comprises Q first expression symbols, and Q is a positive integer;
and under the condition that a second expression symbol matched with any one of the first expression symbols exists in the expression popup window, the second expression symbol is displayed in a distinguishing mode.
In a second aspect, an embodiment of the present application provides an apparatus for emoticon display, including:
the matching module is used for matching the expression symbols in the expression popup window by using a preset expression library under the condition that the expression popup window is detected, wherein the preset expression library comprises Q first expression symbols, and Q is a positive integer;
the first display module is used for displaying the second expression symbol in a distinguishing way under the condition that the second expression symbol matched with any first expression symbol exists in the expression popup window.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement a method as in the first aspect.
In the embodiment of the application, under the condition that the expression popup window is detected, the expression symbols in the expression popup window are matched by using a preset expression library, wherein the preset expression library comprises at least one first expression symbol, and under the condition that a second expression symbol matched with any first expression symbol exists in the expression popup window, the second expression symbol is displayed in a distinguishing mode. According to the embodiment of the application, the facial expression symbols in the facial expression popup window are matched through the preset facial expression library, so that the second facial expression symbols matched with the first facial expression symbols in the preset facial expression library in the facial expression popup window are displayed in a distinguishing mode, and further, a user can search the second facial expression symbols relatively quickly, and the input efficiency of the facial expression symbols is improved.
Drawings
Fig. 1 is a flowchart of an emoji display method according to an embodiment of the present application;
FIG. 2 is an exemplary diagram of a setup page in an embodiment of the application;
FIG. 3a is one of the exemplary diagrams of a table gallery setting page in an embodiment of the application;
FIG. 3b is a second exemplary diagram of a gallery setting page in an embodiment of the application;
FIG. 4a is a third exemplary diagram of a table gallery setting page in an embodiment of the application;
FIG. 4b is a fourth exemplary diagram of a table gallery setting page in an embodiment of the application;
FIG. 4c is a fifth exemplary diagram of a table gallery setting page in an embodiment of the application;
FIG. 5 is a diagram showing the comparison of expression information of expression symbols in different applications;
FIG. 6 is an exemplary diagram of highlighting in an expressive window in an embodiment of the present application;
fig. 7 is a schematic flow chart of an emoji display method according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an emoji display device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The method and apparatus for displaying emoticons according to the embodiments of the present application are described in detail below with reference to the accompanying drawings by means of specific embodiments and application scenarios thereof.
As shown in fig. 1, the method for displaying an emoticon according to the embodiment of the application includes:
step 101, under the condition that an expression popup window is detected, matching expression symbols in the expression popup window by using a preset expression library, wherein the preset expression library comprises Q first expression symbols, and Q is a positive integer;
Step 102, in the case that there is a second emoji matching any first emoji in the emoji window, the second emoji is displayed in a distinguishing way.
The method for displaying the emoticons provided by the embodiment of the application can be applied to electronic equipment such as mobile terminals, personal computers and the like, and is not particularly limited herein.
An application program, such as an input method, instant messaging, video, or payment type application program, may be installed on the electronic device. When a user uses these applications on an electronic device, the user may need to express his mood or attitude through emoticons, etc., in which case the user may operate the electronic device to bring up an emoticon window to select an emoticon.
In this embodiment, the electronic device may detect the expression popup window, for example, after the user clicks a preset icon on the chat interface of the instant messaging application, the expression popup window is displayed on the chat interface. In this case, the electronic device may detect the expression popup, and may further acquire each of the emoticons loaded into the expression popup.
In general, the number of emoticons in the emoticons window may be one or more. For example, the expression pop-up window displayed on the chat interface may include a plurality of default emoticons preset in the instant messaging application program, or may be an emoticon collected by the user. In the embodiment of the application, a method for displaying an emoticon will be described mainly by taking a certain emoticon of an emoticon pop-up window as an example.
In general, emoticons for expressing a certain mood may be different in display position or display picture in the emoticons of different applications. For example, an expression for "laugh" (hereinafter referred to as "laugh" expression), in an expression pop-up window of an instant messaging application, a default display position may be after the expression for "smiley"; in another video application, the default display position of the emoticon may be after the emoticon representing "cry".
However, if the user is more accustomed to using the "laugh" emoticon in the instant messaging application, it may take a relatively long time to find the display position of the emoticon in the emoticon window if the user needs to send the barrage using the "laugh" emoticon in the video application.
Similarly, when the display pictures of the smiley expression in the instant messaging application and the video application are different, the user can find the expression in different applications, which also brings the problem of low searching efficiency.
Based on this, in the above step 101, the preset expression library may be used to match the emoticons in the table bullet window. Here, the preset expression library may also include one or more emoticons, and the first emoticon corresponds to the emoticon in the preset expression library.
The first emoticon in the preset emotion library may be preset. For example, the user is more accustomed to using "laugh" and "cry" emoticons, and can select these two emoticons at the setting interface of the preset emotion library, so that the preset emotion library can enter these two emoticons.
In other examples, the user may perform a setting operation on a setting interface of the preset expression library, so that the preset expression library may automatically enter one or more emoticons that are recently used by the user in a certain preset application program.
Of course, the specific setting manner of the preset expression library herein is not limited to the examples herein.
It is easy to understand that emoticons generally have corresponding information expressions. For example, the emoticons may be expressed by names (e.g., "laugh", "cry"), or may be expressed by pictures. Thus, in the preset expression library, each expression symbol may be associated with expression information.
The preset expression library is used for matching the expression symbols in the expression popup window, and on a certain procedure, the expression information related to the expression symbols in the expression popup window can be considered to be compared with the expression information related to the expression symbols in the preset expression library.
As described above, the expression information associated with the emoticon may be name information or picture information of the emoticon, or the like. Furthermore, for emoticons such as emoji, it also typically corresponds to Unicode encoding. That is, the expression information associated with the emoticons may also be encoded information or the like. Of course, the expression information for performing the matching operation need not be specifically limited here, and matching between the emoticons may be achieved.
And matching the expression symbols in the expression popup window by using a preset expression library, so that a corresponding matching result can be obtained. For example, the matching result may be that a first expression symbol matching a certain expression symbol in the expression pop-up window exists in the preset expression library. And the expression pop-up window can be called as a second expression symbol, wherein the expression symbol can be matched with the first expression symbol.
For example, when the name of a certain first expression symbol in the preset expression library is the same as the name of a second expression symbol or the semantics of the name are the same, the first expression symbol and the second expression symbol can be considered to be matched. Where the semantics of the names are the same, a determination may be made based on intelligent semantic recognition or analysis techniques.
For another example, when the picture of a certain first expression symbol in the preset expression library is the same as or similar to the picture of a second expression symbol, the first expression symbol and the second expression symbol may be considered to be matched. And whether the pictures are the same or similar, a determination may be made based on picture identification techniques.
Of course, the matching result may be that the preset expression library does not have any expression symbol matched with the second expression symbol.
In step 102 of the present embodiment, when there is a second emoticon matching any one of the first emoticons in the emoticon window, the second emoticon may be displayed in a distinguished manner.
For example, if a first expression symbol named "laugh" exists in the preset expression library, a second expression symbol matching any first expression symbol may be considered to exist in the expression popup. On this basis, a second emoticon named as laugh in the emoticon window can be displayed in a distinguishing manner.
For example, the second emoticon may be highlighted. For example, a preset mark may be additionally displayed at the display position of the second emoji, or a background color may be modified, so as to display the second emoji differently from the rest of emoji in the emoji window.
For another example, a shortcut operation bar can be additionally loaded in the expression pop-up window to display the second expression symbol, so as to realize the differential display of the second expression symbol.
Of course, if the number of the first emoticons in the preset emotion library is plural, there may be plural second emoticons in the emotion window that can be matched with the first emoticons in the preset emotion library. At this time, the second emoticons may be displayed separately from the rest of the emoticons in the emoticons window.
In addition, the specific implementation manner of the distinguishing display of the second emoticon may not be limited to the above manner. For example, the distinguishing display may refer to distinguishing the second emoji from other emoji in the emoji window at the angle of visual saliency; and changing the display position of the second expression symbol on the basis of the default display sequence of the expression symbol of the expression popup window of a certain application program, realizing the distinguishing display with other expression symbols, and the like.
To a certain extent, the user can find the second expression symbol relatively quickly through distinguishing display.
According to the method for displaying the emoticons, when the emoticons in the emoticons are detected, the preset emotion library is used for matching the emoticons in the emoticons, the preset emotion library comprises at least one first emoticon, and when a second emotion symbol matched with any one of the first emoticons exists in the emoticons, the second emoticon is displayed in a distinguishing mode. According to the embodiment of the application, the facial expression symbols in the facial expression popup window are matched through the preset facial expression library, so that the second facial expression symbols matched with the first facial expression symbols in the preset facial expression library in the facial expression popup window are displayed in a distinguishing mode, and further, a user can search the second facial expression symbols relatively quickly, and the input efficiency of the facial expression symbols is improved.
As indicated above, the first emoticon in the preset emoticon library may be preset. The following illustrates a setting manner of the preset expression library.
In one embodiment, in step 101, before the matching of the emoticons in the emoticons using the preset emotion library in the case of detecting the emoticons, the emoticon display method further includes:
receiving a first input of a first control displayed on the expression library setting page under the condition that the expression library setting page is displayed;
responding to the first input, displaying N second controls, wherein the N second controls are associated with N application programs, the N second controls are in one-to-one correspondence with the N application programs, and N is a positive integer;
under the condition that second input aiming at a target control in N second controls is received, M candidate emoticons associated with a target application program are read, the target application program is an application program associated with the target control, and M is a positive integer;
according to a preset determining rule, determining Q first expression symbols from M candidate expression symbols;
and storing the Q first expression symbols into a preset expression library.
The following describes a setting mode of the preset expression library in combination with an application scenario.
As shown in fig. 2, fig. 2 is an exemplary diagram of a setup page of the electronic device, which may be generated after sequentially receiving user inputs of "mobile setup" and "shortcut and auxiliary" options. The setting page has an option of "usual expression mark" displayed therein.
Upon receiving input of the option of "usual expression mark", an expression library setting page as shown in fig. 3a may be displayed.
Of course, fig. 3a is only one example diagram of an expression library setup page. The specific display content in the expression library setting page and the specific opening process of the expression library setting page can be adjusted according to actual requirements.
As shown in fig. 3a, a first control, denoted as K1, may be displayed on the expression library setup page. The first control may be a switch control, and after receiving a first input from a user to the first control, N second controls may be displayed.
For example, the first input may be a click, a slide, or another input of the first control, which is not specifically limited herein.
After receiving the first input, a display window can be loaded in a display area below the first control, and N second controls are displayed in the display window. Alternatively, the page may be switched after the first input is received, and N second controls may be displayed in the switched page. Of course, the specific display modes of the N second controls may also be set according to actual needs.
As shown in fig. 3b, fig. 3b is an exemplary diagram of displaying N second controls in a display window, where the window name of the display window may be "select main APP as a common expression source", and the second controls may be denoted as K2.
The second control may be a selection control. Each second control may be associated with an application. In order to facilitate the presentation of the association relationship between each second control and the application program to the user, the name of the associated application program, for example, "application program a", "application program B", etc., may be displayed in the display area corresponding to each second control.
It is readily understood that some applications may have a corresponding emoticon library, where each of the N applications associated with the N second controls may have a corresponding emoticon library.
In the case that a second input of a user to one of the N second controls (i.e., the target control described above) is received, the emoji library of the application associated with the target control (i.e., the target application described above) may be read. The emoticon library may have M candidate emoticons therein. Accordingly, the reading process of the emotion symbol library may also be considered as a reading process of M candidate emoticons associated with the target application.
In general, the electronic device may obtain a history of use of the M candidate emoticons by the user. And then Q candidate emoticons which are commonly used by the user can be obtained, and the Q candidate emoticons can be further determined to be the first emoticon and added into a preset emotion library.
It will be readily appreciated that the more common candidate emoticons shown herein may be ranked as the top candidate emoticons according to frequency of use over a preset historical period.
Furthermore, the acquisition of the Q candidate emoticons mentioned here may be considered as a possible implementation of the preset determination rules above.
In other possible embodiments, in the step of determining Q first emoticons from M candidate emoticons according to a preset determination rule, the preset determination rule may also refer to determining the first emoticons according to a usage time of the candidate emoticons. For example, it may be specifically that Q candidate emoticons that are most recently used are determined as the first emoticon.
Of course, in practical application, the preset determination rule may be preset according to actual needs.
The embodiment can determine the target application program based on the input of the user so as to read the associated M candidate emoticons, and further determine Q first emoticons which can be stored in the preset emotion library from the M candidate emoticons according to the preset determination rule. Therefore, the embodiment can meet the individual selection requirement of the user on the target application program. In addition, the embodiment can automatically input the proper first expression symbol in the preset expression library, improves the creation efficiency of the preset expression library, and is also beneficial to automatically updating the preset expression library according to the using habit of the user on the expression symbol.
It is easy to understand that one of the purposes of creating the preset expression library may be to distinguish and display second expression symbols in the expression popup that can be matched with the preset expression library, for example, mark the second expression symbols, etc. in the case that the expression popup is detected.
In one example, the functionality of a first control may be described in a display area that matches the first control. For example, as shown in fig. 3a, a word of "automatic common expression marking" may be displayed on the left side of the first control K1, so as to prompt the user to start a function of automatically entering a common expression symbol in a preset expression library and marking the common expression symbol in the expression popup window by operating the control.
In another example, in the case where the first control is a switch control, the input of the user to the first control may also be received, and the function corresponding to the "usual expression automatic mark" may be turned off.
Another embodiment of setting a preset expression library is explained below.
In this embodiment, in the case of detecting the expression popup, before the matching of the expression symbol in the expression popup by using the preset expression library, the method for displaying the expression symbol further includes:
Receiving a third input of a third control displayed on the expression library setting page under the condition that the expression library setting page is displayed;
responding to the third input, displaying P candidate emoticons, wherein P is a positive integer;
receiving selection inputs for the P candidate emoticons;
determining Q first emoticons from the P candidate emoticons according to the selection input;
and storing the Q first expression symbols into a preset expression library.
As shown in fig. 4a, fig. 4a is an exemplary diagram of an expression library setup page. A third control can be displayed on the expression library setting page and is marked as K3.
In the event that a third input to a third control is received, P candidate emoticons may be displayed. For example, as shown in fig. 4b, a pop-up window may be loaded on the current page, and P candidate emoticons are displayed in the pop-up window. Alternatively, a page may be switched, P candidate emoticons may be displayed in the switched page, and so on. The specific display manner of the P candidate emoticons is not limited herein.
In addition, the P candidate emoticons may be specifically displayed with at least one item of expression information such as an expression picture and an expression name thereof.
From the user's perspective, these displayed candidate emoticons may be selected on the electronic device as desired by the user. For example, the user may select four candidate emoticons of "pyridine", "smile", and "sweat" according to his own usage habits.
From the perspective of the electronic device, user selection inputs for the four candidate emoticons may be received. In this case, the four candidate emoticons may be all taken as first emoticons, and the first emoticons may be stored in a preset emotion library.
In this embodiment, the storing of the first expression symbol in the preset expression library may be implemented based on the selection input of the candidate expression symbol by the user. Therefore, the personalized selection requirement of the user on the first expression symbol can be effectively met. In addition, in the subsequent use process, when the electronic equipment detects the expression popup windows in all application programs, the second expression symbol matched with the first expression symbol can be displayed in a distinguishing mode, and a user can conveniently and quickly find the expression symbol used to in the expression popup windows.
As shown in fig. 4a, similarly to the text for displaying the "usual expression automatic mark" for the first control K1, the text of the "usual expression custom mark" may be displayed on the left side of the third control K3 to prompt the user to customize the first emoticon that may be added to the preset emotion library by operating the third control K3.
The third control K3 may also be a switch control, and the user may turn on the function of "custom expression custom mark" by operating the switch control.
In one example, in the event that the user confirms the customized first emoticons, the electronic device can display these first emoticons in a display area below the third control K3. For example, as shown in fig. 4c, the first emoticon may be displayed in the form of a list, the list name may be a "common emotlist", and in the specific content of the list, each line may display an emoticon and an emoticon name of the first emoticon.
Of course, in practical application, the user can also input the third control K3 to close the function of the "custom expression custom mark".
In some embodiments, the first control K1 and the third control K3 are both switch controls; the two switch controls can be alternatively opened or can be both in an off state. In other words, the function of the "automatic mark with usual expression" and the function of the "custom mark with usual expression" may be used alternatively or may be both in a closed state.
Of course, in other embodiments, the first control K1 and the third control K3 may be turned on simultaneously, and the preset expression library may include both the first emoticon determined according to the preset rule and the first emoticon customized by the user.
In one example, the first control K1 and the third control K3 may be open simultaneously. For example, the user typically makes a selection of the target application when opening the first control K1. From the aspect of the electronic device, after the target application program is determined, when the opening operation of the third control K3 by the user is received, candidate emoticons can be read from an emotion symbol library of the target application program and displayed, so that the user can customize the first emotion symbol based on the emotion symbols in the familiar application program, and the operation efficiency of the user is improved.
Optionally, the first expression symbol and the expression symbol in the expression popup window are both associated with expression information, and the expression information includes at least one of an expression name, an expression picture and an expression code;
in the step 101, the matching of the expression symbol in the expression popup window by using the preset expression library includes:
based on the expression information, Q first expression symbols are used for matching the expression symbols in the expression popup window.
In this embodiment, the expression information may be associated with the expression symbol in the preset expression library and the expression symbol in the expression pop-up window. The expression information may include at least one of an expression name, an expression picture, and an expression code.
In combination with an application scenario, under the condition that a user calls out an expression popup window in a chat interface, pictures of a plurality of expression symbols can be displayed in the expression popup window. For example, the pictures can be cartoon head figures with expressions, or can also be head figures of some animals, etc. The pictures of the expression symbols can correspond to the expression pictures.
Emoticons typically have corresponding emoticons names. For example, also in connection with an application scenario, when a user enters "[ pyrolliding ]" in a dialog box of a chat interface, an expression picture may be generated accordingly. Alternatively, when the user copies one of the emoticons to paste into the dialog box, it is possible to display "[ pyrolliding ]" in the dialog box. Here "[ pyrolteeth ]" is typically the expression name of one expression symbol.
In addition, when the emoticons are emoji emoticons, the emoticons generally have corresponding emotion codes. For example, each emoji expression typically corresponds to a Unicode code; and in general, the emoticons corresponding to the same Unicode code in different application programs can be consistent.
Under the condition that each expression symbol is associated with the expression information, the Q first expression symbols can be used for matching with the expression symbols in the expression popup window based on the expression information.
For example, if the expression information includes an expression name, the expression name of each first expression symbol may be compared with the expression name of the expression symbol in the expression pop-up window.
For example, the expression name of a certain expression symbol (noted as a third expression symbol) in the expression popup window is "[ laugh ] cry", and the expression names of the Q first expression symbols in the preset expression library are "[ laugh ] cry", "big cry" and "[ pyrolteeth", respectively. The first emoticon, named "[ smiling ] may be considered to match the third emoticon. In this case, the third emoticon may be further determined as the above-described second emoticon, and displayed differently in the emoticon window.
Similarly, if the expression information includes an expression picture, the expression picture of each first expression symbol can be respectively matched with the expression picture of the expression symbol in the expression popup window based on picture identification.
Therefore, the embodiment provides various types of expression information or combinations thereof, and the expression information can be flexibly selected to match the Q first expression symbols with the expression symbols in the expression popup window, thereby being beneficial to expanding the application range of the expression symbol display method.
As shown in fig. 5, for emoticons (e.g., emoji expressions) having the same meaning, the expression names may be different and the emoticons may be different in different applications. In the embodiment of the application, the expression information can be flexibly used for matching the expression symbol in the expression popup window with the first expression symbol. An embodiment of the matching process will be described below.
Optionally, in the case that the expression information includes an expression name, matching the expression symbol in the expression popup using Q first expression symbols based on the expression information may include:
comparing the first expression names with the expression names of Q first expression symbols, wherein the first expression names are expression names of third expression symbols, and the third expression symbols are any expression symbol in the expression popup window;
determining the third expression symbol as the second expression symbol under the condition that the first expression name is the same as the expression name of at least one first expression symbol;
under the condition that the first expression names are different from the expression names of any first expression symbol, matching the first expression names with the expression names of the Q first expression symbols based on intelligent semantics;
The third emoji is determined as the second emoji in case the semantics between the first emoji name and the emoji name of the at least one first emoji are the same.
In this embodiment, the first expression name may refer to an expression name of any one of the expression cassettes (i.e., the third expression cassette). Hereinafter, description will be given by taking the first expression name "[ laugh ] cry" as an example.
The expression names of the Q first expression symbols in the preset expression library may be "[ smiling ]," [ crying ] "[ threaded ]". Through comparison between the expression names, the expression names which are the same as the first expression name exist in the preset expression library. At this time, it may be determined that there is a first emoticon matching the third emoticon in the preset emoticon library.
In another example, the expression names of the Q first emoticons in the preset expression library may be "[ xiji qi ]", "[ criy ]", and "[ pyrolusite ]". The direct comparison between the expression names is carried out, and the obtained result is that the expression names which are the same as the first expression name do not exist in the preset expression library.
In this case, the first emoji name may be further matched with the emoji names of the Q first emoji symbols based on the intelligence semantics.
It is easy to understand that the intelligent semantics can be obtained specifically through technical means such as semantic recognition or semantic analysis, and the semantic recognition or semantic analysis belongs to common technologies in the field of natural language processing (Natural Language Processing, NLP). For example, the intelligent semantics of the expression name may be obtained through a bayesian prediction model, a support vector machine (Support Vector Machine, SVM), or a deep learning model, which is not particularly limited herein.
Again in combination with the above example of the preset expression library, from the perspective of intelligence semantics, the semantics of the two expression names, "[ pyrolliding ]" and "[ xiji-qi ]" may be considered as the same. At this time, it may also be determined that there is a first emoji matching a third emoji in the preset emoji library, that is, the third emoji may be determined as the second emoji.
In practical applications, it may happen that an emoticon has different expression names in different applications. For example, in applications a and B, the expression name of one emoticon is "[ smiling ]", and in application C, the expression name of the emoticon is "[ xiji-qi ]". In the preset expression library, the expression symbol may have only the expression name of "[ smiling ] crying".
On the basis, the expression names are directly compared, and the expression symbol can be displayed in different modes in the expression popup windows of the application programs A and B; if the expression names are further matched based on intelligent semantics, the expression symbol can be further displayed in a different manner in the expression popup window of the application program C. Therefore, the embodiment can still effectively identify and display the expression symbol under the condition that the expression symbol has different expression names in different application programs, and is convenient for a user to quickly find the preset expression symbol in different application programs.
Optionally, on the basis of the above embodiment, the expression information may further include an expression picture, and correspondingly, after the matching, based on the intelligence semantics, between the first expression name and the expression names of the Q first expression symbols, in the case that the first expression name is different from the expression name of any one of the first expression symbols, the expression symbol display method further includes:
under the condition that the semantics between the first expression name and the expression name of any first expression symbol are different, matching the first expression picture with the expression pictures of the Q first expression symbols based on picture identification, wherein the first expression picture is an expression picture associated with a third expression symbol;
And determining the third expression symbol as the second expression symbol under the condition that the picture recognition result between the first expression picture and the expression picture of at least one first expression symbol is the same.
In this embodiment, for the third emoji, if the first emoji matching with the third emoji cannot be determined from the preset emoji library based on direct comparison of the emoji names and matching of the emoji names based on the intelligent semantics, the matching of the emoji picture with the Q first emoji may be further performed based on picture recognition.
The picture identification can be realized based on machine learning, and the picture content information can be identified. And the machine learning algorithm to be specifically employed may not be specifically limited herein.
For example, by performing picture recognition on an expression picture of a certain expression picture, two parts of content of "tear" and "mouth shape" in the expression picture can be recognized, and based on the two parts of content, the expression picture corresponding to the "smiling cry" can be determined.
In combination with an application scene, the expression popup window may be loaded with expression pictures of a plurality of expression symbols, and the expression names and the expression pictures of the expression symbols can be obtained by the electronic equipment. For any one of the expression pop-up windows, namely the third expression symbol, if the first expression symbol cannot be matched in the preset expression library based on the expression name, the expression picture (i.e. the first expression picture) of the third expression symbol can be further matched with the expression pictures of the Q first expression symbols in the preset expression library.
Based on the picture recognition, the content that the first expression picture expresses laugh cry is obtained. If the expression picture of a certain first expression symbol also expresses the content of ' smiling ' and crying ', the content can be considered to be the same as the picture identification result of the first expression picture, at this time, the first expression symbol matched with the third expression symbol can be judged to exist in the preset expression library, and the third expression symbol can be determined to be the second expression symbol.
According to the embodiment, on the basis of the previous embodiment, the third expression symbol and the first expression symbol are matched by using the expression picture, so that the identification capability of the expression symbol in the expression popup window is further improved, and a user can conveniently and quickly find the preset expression symbol in different application programs.
In some embodiments, when the picture recognition results between the first expression picture and the expression picture of any first expression symbol are different, it may be determined that the first expression picture does not exist in the preset expression library, and then the first expression picture is displayed according to a default display mode in the expression popup window.
In other embodiments, when the picture recognition results between the first emoji picture and the emoji picture of any first emoji are different, the symbol codes of the third emoji and the symbol codes of the Q first emoji may be further compared;
If the symbol code of the third expression symbol is the same as the at least one first expression symbol, it may be determined that a first expression symbol matching the third expression symbol exists in the preset expression library, i.e., the third expression symbol may be determined as the second expression symbol;
and under the condition that the symbol code of the third expression symbol is different from the expression code of any first expression symbol, the first expression picture can be judged to be absent in a preset expression library, and then the first expression picture can be displayed according to a default display mode in an expression popup window.
In the above embodiment, in the process of matching the third expression symbol in the expression popup window by using the preset expression library, it may be considered that the preset expression information use sequence is called. Specifically, the expression information use sequence of "expression name-expression name intelligent semantic-expression picture-expression coding" may be called.
In practical applications, the use sequence of the expression information can be adjusted according to practical needs, for example, the expression pictures can be used for matching first, and then the expression names can be used for matching.
In one example, the preset expression information use order may be set as follows: setting a specific category of expression information, for example, the expression information can be specifically composed of an expression name and an expression picture; the priorities of the various expression information are set, for example, the priorities of the expression names can be set to be higher than the priorities of the expression pictures.
Therefore, when the third expression symbol in the expression popup window is matched by using the preset expression library, the expression name with higher priority can be used for matching, and when the first expression symbol matched with the third expression symbol cannot be obtained based on the expression name, the expression picture with lower priority can be used for matching.
Optionally, in a case where the expression information includes an expression name, after the matching of the expression symbol in the expression popup using the preset expression library in a case where the expression popup is detected, the method further includes:
under the condition that the second expression symbol exists in the expression popup window, updating an expression name set associated with a fourth expression symbol according to the expression name of the second expression symbol, wherein the fourth expression symbol is a first expression symbol matched with the second expression symbol, and the expression name set associated with the fourth expression symbol is used for recording the expression name associated with the fourth expression symbol.
The following describes a specific implementation procedure of the present embodiment with reference to an example.
In the initial situation, the expression name set associated with a first expression symbol (recorded as expression symbol A) in the preset expression library is only recorded with the expression name of 'smiling' or 'crying'. In the process of using a preset expression library to play a certain expression symbol (marked as an expression symbol B) in a window, the expression name of the obtained expression symbol B is "[ happy and excellent ]". Based on the smart semantics, it may be determined that the emoji a is the first emoji matching the emoji B. The expression symbol a corresponds to the fourth expression symbol.
Based on the fact that the expression symbol A and the expression symbol B can be matched, the expression name set associated with the expression symbol A can be updated based on the expression name of the expression symbol B. For example, the expression name "[ xi Ji Zhi Xian ]", may be added to the expression name set associated with the expression symbol a.
In the subsequent application, if the preset expression library is used again to match the expression symbol C with the expression name of "[ happy and qi ]", the expression symbol A can be directly determined to be the first expression symbol matched with the expression symbol C through the comparison of the expression names.
Similarly, if it is determined based on the picture recognition that the expression symbol a is the first expression symbol matching the expression symbol D of the expression symbol "snivel" the expression name "[ snivel" laugh "may be added to the expression name set associated with the expression symbol a.
In general, the time and computing resources consumed for direct comparison of expression names are less than those consumed for semantic or picture recognition. In this embodiment, by updating the expression name set associated with the fourth expression symbol, it is helpful to complete the matching process by comparing the expression names when the expression symbol in the expression popup window is matched by using the preset expression library, so as to reduce the time and the consumption of computing resources caused by the matching process.
In some embodiments, step 102, where there is a second emoticon matching any of the first emoticons in the emoticon window, includes:
in the case that a second expression symbol matched with any one of the first expression symbols exists in the expression popup window, the second expression symbol is displayed in at least one of the following modes:
displaying a preset mark on the second expression symbol;
loading a preset operation bar, and displaying a second expression symbol in the preset operation bar;
and displaying the second expression symbol at a preset position in the expression popup window.
As shown in fig. 4c, fig. 4c is an exemplary diagram of an expression library setting page that completes the setting of the preset expression library. This example shows four first emoticons, "pyridine", "smile", and "sweat". These first emoticons may be considered as emoticons commonly used by the user.
As shown in fig. 6, fig. 6 is an exemplary diagram of distinguishing and displaying some emoticons after detecting an emoticon in a certain application program based on the setup shown in fig. 4 c.
In fig. 6, the manner of distinguishing and displaying may be specifically to display a preset mark on the second emoticon, so as to highlight the second emoticon. It should be noted that, the second expression symbol for distinguishing display mentioned herein may refer to an expression symbol in an expression pop-up window, where the expression symbol can be matched with the corresponding first expression symbol in a preset expression library.
The matching manner of the expression symbol may be based on the expression name, the expression picture or other expression information, which is described in detail in the above embodiments, and will not be repeated here.
As can be seen from fig. 4c and fig. 6, although the emoticons expressing the same meaning may be different in different application scenes, the common emoticons of the user can be highlighted more accurately based on the matching of the emotion information.
Similarly, in the expression popup window of other application programs, even if the expression pictures or the display positions of the common expression symbols change, the common expression symbols can be highlighted in the expression popup window more accurately by the matching mode of the expression information. Therefore, in some less-used expression popup windows, the user can quickly find the common expression symbol according to the highlight marking result, and the expression symbol input efficiency is improved.
Of course, the specific implementation manner of the above-mentioned differentiated display may also be to load a shortcut operation bar in the expression popup window, and display the second expression symbol with the first expression symbol matched with the shortcut operation bar in the shortcut operation bar, so as to facilitate the user to select.
In some embodiments, the display sequence of the emoticons in the emoticons window can be changed, and the second emoticon with the first emoticon matched with the display sequence is displayed at a preset position, so that the aim of distinguishing display is achieved.
These preset positions may be positions determined according to user input habits, for example. The user input habit may be determined based on a history of input for the second emoticon, or may be manually set by the user.
By combining an application scene, the user can find out the times of inputting a second expression symbol through the application program A by counting the input history of the user on a certain second expression symbol, and the times of inputting the second expression symbol through other application programs are more. The display position of the second emoji in the emoji window of the application program a can be obtained, and the display position is used as a preset position.
Of course, the preset position may also refer to a position of the expression pop-up window near the front, or a position close to the user for comparing the user operation, for example, the leftmost side or the rightmost side of the expression pop-up window, which is not limited herein.
Optionally, displaying the second emoji at a preset position in the emoji window includes:
Acquiring preset display position information of a first expression symbol matched with the second expression symbol;
and displaying the second expression symbol at a position matched with the preset display position information in the expression popup window.
In this embodiment, each first emoticon may be associated with corresponding preset display position information. For example, the preset display position information may be determined according to a history input record of the emoticon by the user, or may be obtained according to a setting of the user.
By combining an application scene, the historical times of the user inputting the expression symbol 'smiling' in a period of time are counted, so that the times of the user inputting the expression symbol in the application program A are 10 times, and the times of the user inputting the expression symbol in the application program B are 2 times.
If the "smiling" expression is in the preset expression library, the display position of the expression in the expression pop-up of the application a can be obtained. For example, the display position may be the rightmost side of the second column in the expression pop-up. And storing the display position of the smiling expression symbol in the expression popup window of the application program A as the preset display position information.
When the expression pop is subsequently detected in the application C, if there is a second emoticon therein that matches the "smiling" emoticon, the second emoticon may be displayed at a position that matches the preset display position information, i.e., the rightmost side of the second column of the expression pop, regardless of where the second emoticon is displayed by default in the application C's expression pop.
Therefore, the user can quickly find the common expression symbol according to the own expression symbol input habit when using the expression popup windows of different application programs.
Of course, in some application scenarios, in the expression library setting page mentioned above, an option of setting the display position of the first emoticon may be provided.
And obtaining preset display position information of the first expression symbol according to the setting input of the user on the expression library setting page. Or obtaining the default application program, and determining preset display position information according to the display position of the first expression symbol in the expression popup window of the default application program.
And under the condition that the expression popup window is detected subsequently, the preset display position information can be called, and the expression symbol is displayed at the position matched with the preset display position information.
As shown in fig. 7, fig. 7 is a process of implementing the emoticon display method according to the embodiment of the application in a specific application example, which specifically includes:
in step 701, a click input of a user on an expression popup call control in a social application is received.
Step 702, judging whether to turn on the common expression function of the mark, if yes, executing step 703, if not, ending, and displaying the expression symbol in the expression popup window according to the default mode of the social application program;
the following describes, with reference to some examples, a setting procedure related to the function of marking a common expression.
Example 1: as shown in fig. 2, 3a and 3b, the user may click on the "usual expression automatic mark" switch in the "mobile phone setup-shortcut and auxiliary-usual expression mark", and in response to the clicking operation of the user, the electronic device may pop up an application selection box, so that the user may further select a certain application as a master template, for example, the social application described above;
under the condition that selection input of a user on the social application program is received, the electronic equipment can automatically identify and read common emoticons in the social application program, for example, 10 common emoticons can be read and stored in a preset emotion library. The expression symbol in the preset expression library may include an expression picture (which may be extracted by screenshot or directly searching an emoji file in an application installation catalog), and an expression name (which is generally obtained by copying an expression).
Example 2: as shown in fig. 4a to fig. 4c, the user may click on the "normal expression custom mark" switch, and the electronic device may display candidate emoticons (such as preset emoticons in the electronic device or emoticons in a certain application program) in response to the operation of the user, so as to facilitate the active selection of the normal emoticon by the user. For example, in the case that a user selection operation of 10 candidate emoticons is received, the 10 candidate emoticons may be stored in a preset emotion library and displayed on a setting interface.
Step 703, automatically identifying expression information of the expression symbol in the expression popup;
the expression information may include an expression name and an expression picture.
Step 704, matching according to the expression name;
the expression names of the expression symbols (noted as the first expression symbol) in the expression popup window can be matched by using the expression names of the expression symbols (noted as the third expression symbol) in the preset expression library.
Step 705, judging whether a expression name is completely matched, if yes, executing step 711, and if no, executing step 706;
in this step, each first emoji may have at least one emoji name, and if the emoji name of the third emoji can be the same as one of the first emoji, it is considered to be a perfect match to one of the emoji names. At this time, the third emoji may be determined as the second emoji, that is, the emoji capable of being emoji, which is the emoji capable of being matched with any one of the first emoji.
Step 706, performing expression name matching using intelligent semantics;
namely, the expression name of the first expression symbol is adopted to carry out intelligent semantic matching on the expression name of the third expression symbol.
Step 707, judging whether matching is possible, if yes, executing step 711, and if not, executing step 7208;
in this step, if the expression name of the third expression symbol can be identical to the intelligent semantic meaning of one expression name of one first expression symbol, it is considered that matching is possible.
Step 708, performing intelligent picture matching on the surface condition picture;
namely, the expression picture of the first expression symbol is adopted to carry out intelligent picture matching (for example, picture content is obtained for matching based on picture identification) on the expression picture of the third expression symbol.
Step 709, judging whether the matching can be realized, if yes, executing step 710, if not, ending, and displaying the expression symbol in the expression popup according to the default mode of the social application program.
Step 710, adding the expression name of the successfully matched expression symbol to a preset expression library, and executing step 711;
any first expression symbol in the preset expression library can be associated with an expression symbol set, that is, one first expression symbol can have one or more expression names;
In this step, if it is determined that the third emoticon can be matched with one of the first emoticons based on the smart picture, the emotion name of the third emoticon may be added to the emotion name set of the first emoticon.
And 711, highlighting the expression symbol in the matched expression popup window.
In general, in the above application example, after the normal expression function of the mark is started, the user may set a normal expression symbol library (i.e., a preset expression symbol library), so as to support the user to select the normal expression symbol from the master-slave preset expression symbol library, or associate the normal expression symbol of the specified application program; after the common expression symbol library is opened and set, when a user uses the expression popup window in each application program, the electronic equipment can automatically highlight the common expression, so that the user can conveniently and quickly find the common expression in different application programs.
Of course, in practical application, after the common emoticons are matched by each application program, the method is not limited to the form of highlighting the marks, and other modes capable of enabling the user to quickly find the common emoticons, such as loading a shortcut operation bar to display the common emoticons, and the like, can be adopted.
It should be noted that, in the method for displaying an emoticon provided in the embodiment of the present application, the execution body may be an emoticon display device, or a control module for executing the method for displaying an emoticon in the emoticon display device. In the embodiment of the application, an example of an emoji display method executed by an emoji display device is described.
As shown in fig. 8, an emoji display apparatus 800 according to an embodiment of the present application includes:
the matching module 801 is configured to match, when the expression popup is detected, expression symbols in the expression popup using a preset expression library, where the preset expression library includes Q first expression symbols, and Q is a positive integer;
the first display module 802 is configured to display a second emoticon differently when there is a second emoticon matching any of the first emoticons in the emoticon window.
Optionally, the first expression symbol and the expression symbol in the expression popup window are both associated with expression information, and the expression information includes at least one of an expression name, an expression picture and an expression code;
the matching module 801 may include:
and the matching unit is used for matching the expression symbols in the expression popup window by using the Q first expression symbols based on the expression information.
Optionally, the matching unit may include:
the comparison subunit is used for comparing the first expression name with the expression names of the Q first expression symbols under the condition that the expression information comprises the expression names, wherein the first expression name is the expression name of a third expression symbol, and the third expression symbol is any expression symbol in the expression popup window;
a first determining subunit configured to determine, when the first expression name is the same as the expression name of at least one first expression symbol, the third expression symbol as the second expression symbol;
the first matching subunit is used for matching the first expression names with the expression names of the Q first expression symbols based on intelligent semantics under the condition that the first expression names are different from the expression names of any first expression symbol;
and a second determining subunit configured to determine the third emoji as the second emoji if the semantics between the first emoji name and the emoji name of the at least one first emoji are the same.
Optionally, the matching unit may further include:
the second matching subunit is used for matching the first expression picture with the expression pictures of the Q first expression symbols based on picture identification under the condition that the expression information further comprises expression pictures and the semantics between the first expression name and the expression name of any one of the first expression symbols are different, wherein the first expression picture is an expression picture associated with a third expression symbol;
And a third determining subunit configured to determine the third expression symbol as the second expression symbol when the picture recognition result between the first expression picture and the at least one expression picture of the first expression symbol is the same.
Optionally, the emoticon display device 800 may further include:
the updating module is used for updating the expression name set associated with the fourth expression symbol according to the expression name of the second expression symbol under the condition that the second expression symbol exists in the expression popup window, the fourth expression symbol is the first expression symbol matched with the second expression symbol, and the expression name set associated with the fourth expression symbol is used for recording the expression name associated with the fourth expression symbol.
Optionally, the emoticon display device 800 may further include:
the first receiving module is used for receiving a first input of a first control displayed on the expression library setting page under the condition that the expression library setting page is displayed;
the second display module is used for responding to the first input and displaying N second controls, the N second controls are associated with N application programs, the N second controls are in one-to-one correspondence with the N application programs, and N is a positive integer;
the reading module is used for reading M candidate emoticons associated with a target application program under the condition that second input aiming at a target control in the N second controls is received, wherein the target application program is an application program associated with the target control, and M is a positive integer;
The first determining module is used for determining Q first emoticons from M candidate emoticons according to a preset determining rule;
the first storage module is used for storing the Q first expression symbols into a preset expression library.
Optionally, the emoticon display device 800 may further include:
the second receiving module is used for receiving a third input of a third control displayed on the expression library setting page under the condition that the expression library setting page is displayed;
the third display module is used for responding to third input and displaying P candidate expression symbols, wherein P is a positive integer;
the third receiving module is used for receiving selection input of the P candidate emoticons;
the second determining module is used for determining Q first emoticons from the P candidate emoticons according to the selection input;
and the second storage module is used for storing the Q first expression symbols into a preset expression library.
Optionally, the first display module 802 may include:
the display unit is used for displaying the second expression symbol according to at least one of the following modes when the second expression symbol matched with any one of the first expression symbol exists in the expression popup window:
displaying a preset mark on the second expression symbol;
Loading a preset operation bar, and displaying a second expression symbol in the preset operation bar;
and displaying the second expression symbol at a preset position in the expression popup window.
Optionally, the display unit may further include:
the acquisition subunit is used for acquiring preset display position information of the first expression symbol matched with the second expression symbol;
and the display subunit is used for displaying the second expression symbol at a position matched with the preset display position information in the expression popup window.
According to the emoji display device provided by the embodiment of the application, under the condition that the emoji window is detected, the emoji in the emoji window can be matched by using the preset emoji library, the preset emoji library comprises at least one first emoji, and under the condition that a second emoji matched with any first emoji exists in the emoji window, the second emoji is displayed in a distinguishing mode. Therefore, the expression symbols existing in the preset expression library can be displayed in different expression popups of different application programs in a distinguishing mode, and the user can find the expression symbols quickly. In addition, the embodiment of the application provides a scheme for inputting the first expression symbol in the preset expression library, which is beneficial to the user to select the common expression symbol so as to carry out distinguishing display in the expression popup window of the application program, and meets the personalized selection requirement of the user on the common expression symbol.
The emoji display device in the embodiments of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and embodiments of the present application are not limited in particular.
The emoji display device in the embodiments of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The emoji display device provided by the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 7, and in order to avoid repetition, the description is omitted here.
Optionally, as shown in fig. 9, the embodiment of the present application further provides an electronic device 900, including a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and capable of being executed on the processor 901, where the program or the instruction implements each process of the above-mentioned emoji display method embodiment when executed by the processor 901, and the same technical effects can be achieved, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 1010 is configured to match expression symbols in the expression popup using a preset expression library under the condition that the expression popup is detected, where the preset expression library includes Q first expression symbols, and Q is a positive integer;
and a display unit 1006, configured to display the second emoticon differently when there is a second emoticon matching any of the first emoticons in the emoticon window.
According to the electronic equipment provided by the embodiment of the application, under the condition that the expression popup window is detected, the preset expression library is used for matching the expression symbols in the expression popup window, and under the condition that the second expression symbol matched with any first expression symbol exists in the expression popup window, the second expression symbol is displayed in a distinguishing mode. According to the embodiment of the application, the facial expression symbols in the facial expression popup window are matched through the preset facial expression library, so that the second facial expression symbols matched with the first facial expression symbols in the preset facial expression library in the facial expression popup window are displayed in a distinguishing mode, and further, a user can search the second facial expression symbols relatively quickly, and the input efficiency of the facial expression symbols is improved.
Optionally, the first expression symbol and the expression symbol in the expression popup window are both associated with expression information, and the expression information includes at least one of an expression name, an expression picture and an expression code;
Accordingly, the processor 1010 is further configured to match the emoticons in the emoticons window using the Q first emoticons based on the emotion information.
Optionally, the processor 1010 is further configured to:
comparing the first expression name with the expression names of the Q first expression symbols under the condition that the expression information comprises the expression names, wherein the first expression name is the expression name of a third expression symbol, and the third expression symbol is any expression symbol in an expression popup;
determining the third emoji as the second emoji if the first emoji name is the same as the emoji name of the at least one first emoji;
under the condition that the first expression names are different from the expression names of any first expression symbol, matching the first expression names with the expression names of the Q first expression symbols based on intelligent semantics;
in case the semantics between the first emoji name and the emoji name of the at least one first emoji are the same, the third emoji is determined as the second emoji.
Optionally, the processor 1010 is further configured to:
under the condition that the expression information further comprises expression pictures and the semantics between the first expression names and the expression names of any first expression symbol are different, the first expression pictures are matched with the expression pictures of the Q first expression symbols based on picture identification, and the first expression pictures are expression pictures associated with a third expression symbol;
And determining the third expression symbol as the second expression symbol under the condition that the picture recognition result between the first expression picture and the expression picture of at least one first expression symbol is the same.
Optionally, the processor 110 is further configured to:
under the condition that the expression information comprises an expression name and a second expression symbol exists in the expression popup window, updating an expression name set associated with a fourth expression symbol according to the expression name of the second expression symbol, wherein the fourth expression symbol is a first expression symbol matched with the second expression symbol, and the expression name set associated with the fourth expression symbol is used for recording the expression name associated with the fourth expression symbol.
Optionally, the user input unit 1007 is configured to receive, in a case where the expression library setting page is displayed, a first input to a first control displayed on the expression library setting page; under the condition that second input aiming at a target control in N second controls is received, M candidate emoticons associated with a target application program are read, the target application program is an application program associated with the target control, and M is a positive integer;
the display unit 1006 is configured to respond to the first input, display N second controls, where the N second controls are associated with N application programs, the N second controls are in one-to-one correspondence with the N application programs, and N is a positive integer;
The processor 1010 is further configured to determine Q first emoticons from the M candidate emoticons according to a preset determination rule; and storing the Q first expression symbols into a preset expression library.
Optionally, the user input unit 1007 is configured to receive, in a case where the expression library setting page is displayed, a third input to a third control displayed on the expression library setting page; receiving selection inputs for the P candidate emoticons;
a display unit 1006, configured to display P candidate emoticons in response to a third input, where P is a positive integer;
the processor 1010 is further configured to determine Q first emoticons from the P candidate emoticons according to a selection input; and storing the Q first expression symbols into a preset expression library.
Optionally, the display unit 1006 is further configured to display, in a case where there is a second emoji matching any one of the first emoji in the emoji window, the second emoji in at least one of the following manners:
displaying a preset mark on the second expression symbol;
loading a preset operation bar, and displaying a second expression symbol in the preset operation bar;
and displaying the second expression symbol at a preset position in the expression popup window.
Optionally, the processor 1010 is further configured to obtain preset display position information of the first emoticon matched with the second emoticon;
The display unit 1006 is further configured to display a second emoji on a location in the emoji window that matches the preset display location information.
It should be understood that in an embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes still pictures or picture data of video obtained by a picture capturing device (e.g., a camera) in a video capturing mode or a picture capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 can include two portions, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 1009 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1010 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-mentioned emoji sign display method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the emoticon display method, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (10)

1. An emoticon display method, comprising:
under the condition that an expression popup is detected, matching the expression symbols in the expression popup by using a preset expression library, wherein the preset expression library comprises Q first expression symbols, Q is a positive integer, and an application program associated with the expression popup is different from an application program associated with the preset expression library;
and under the condition that a second expression symbol matched with any one of the first expression symbols exists in the expression popup window, the second expression symbol is displayed in a distinguishing mode.
2. The method of claim 1, wherein the first emoji is associated with emoji in the emoji window, the emoji information including at least one of a emoji name, a emoji picture, and a emoji code;
the use of a preset expression library to match the expression symbol in the expression popup window comprises:
and based on the expression information, matching the expression symbols in the expression popup by using the Q first expression symbols.
3. The method of claim 2, wherein, in the case where the expression information includes the expression name, the matching the expression symbol in the expression pop using the Q first expression symbols based on the expression information includes:
Comparing the first expression name with the expression names of the Q first expression symbols, wherein the first expression name is the expression name of a third expression symbol, and the third expression symbol is any expression symbol in the expression popup window;
determining the third emoji as the second emoji if the first emoji name is the same as at least one of the first emoji;
under the condition that the first expression names are different from any one of the first expression names, matching the first expression names with the expression names of the Q first expression symbols based on intelligent semantics;
and determining the third emoji as the second emoji in case the semantics between the first emoji name and at least one emoji name are the same.
4. The method of claim 3, wherein, in a case where the expression information further includes the emoticon, the method further includes, after matching the first expression name with the expression names of the Q first emoticons based on smart semantics in a case where the first expression name is different from an expression name of any one of the first emoticons:
Under the condition that the semantics between the first expression name and any one of the first expression names are different, matching a first expression picture with the expression pictures of the Q first expression symbols based on picture identification, wherein the first expression picture is the expression picture associated with the third expression symbol;
and determining the third expression symbol as the second expression symbol under the condition that the picture identification result between the first expression picture and at least one expression picture of the first expression symbol is the same.
5. The method according to any one of claims 2 to 4, wherein in case the expression information comprises an expression name, after the matching of the emoticons in the expression popup using a preset library of expressions in case an expression popup is detected, the method further comprises:
updating an expression name set associated with a fourth expression symbol according to the expression name of the second expression symbol under the condition that the second expression symbol exists in the expression popup window, wherein the fourth expression symbol is a first expression symbol matched with the second expression symbol, and the expression name set associated with the fourth expression symbol is used for recording the expression name associated with the fourth expression symbol.
6. The method of claim 1, wherein, in the event that an expression pop is detected, before matching the emoticons in the expression pop using a preset library of emoticons, the method further comprises:
receiving a first input of a first control displayed on an expression library setting page under the condition that the expression library setting page is displayed;
responding to the first input, displaying N second controls, wherein the N second controls are associated with N application programs, the N second controls are in one-to-one correspondence with the N application programs, and N is a positive integer;
under the condition that second input aiming at a target control in the N second controls is received, M candidate emoticons associated with a target application program are read, wherein the target application program is an application program associated with the target control, and M is a positive integer;
according to a preset determination rule, determining Q first emoticons from the M candidate emoticons;
and storing the Q first expression symbols into a preset expression library.
7. The method of claim 1, wherein, in the event that an expression pop is detected, before matching the emoticons in the expression pop using a preset library of emoticons, the method further comprises:
Receiving a third input of a third control displayed on the expression library setting page under the condition that the expression library setting page is displayed;
responding to the third input, displaying P candidate expression symbols, wherein P is a positive integer;
receiving selection inputs for the P candidate emoticons;
determining Q first emoticons from the P candidate emoticons according to the selection input;
and storing the Q first expression symbols into a preset expression library.
8. The method of claim 1, wherein the distinguishing the second emoticon in the case where there is a second emoticon in the emoticon window that matches any of the first emoticon, comprises:
and displaying a second expression symbol matched with any first expression symbol in the expression popup window according to at least one of the following modes:
displaying a preset mark on the second expression symbol;
loading a preset operation bar, and displaying the second expression symbol in the preset operation bar;
and displaying the second expression symbol at a preset position in the expression popup window.
9. The method of claim 8, wherein displaying the second emoji at a preset location in the emoji window comprises:
Acquiring preset display position information of a first expression symbol matched with the second expression symbol;
and displaying the second expression symbol at a position matched with the preset display position information in the expression popup window.
10. An emoticon display apparatus, comprising:
the matching module is used for matching the expression symbols in the expression popup by using a preset expression library under the condition that the expression popup is detected, wherein the preset expression library comprises Q first expression symbols, Q is a positive integer, and an application program associated with the expression popup is different from an application program associated with the preset expression library;
and the first display module is used for displaying the second expression symbol in a distinguishing way under the condition that the second expression symbol matched with any one of the first expression symbols exists in the expression popup window.
CN202110399124.1A 2021-04-14 2021-04-14 Expression symbol display method and device Active CN113138676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110399124.1A CN113138676B (en) 2021-04-14 2021-04-14 Expression symbol display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110399124.1A CN113138676B (en) 2021-04-14 2021-04-14 Expression symbol display method and device

Publications (2)

Publication Number Publication Date
CN113138676A CN113138676A (en) 2021-07-20
CN113138676B true CN113138676B (en) 2023-11-17

Family

ID=76812488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110399124.1A Active CN113138676B (en) 2021-04-14 2021-04-14 Expression symbol display method and device

Country Status (1)

Country Link
CN (1) CN113138676B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114047851B (en) * 2021-11-15 2024-02-06 北京字跳网络技术有限公司 Expression processing method and device, electronic equipment, storage medium and product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103617A (en) * 2009-12-22 2011-06-22 华为终端有限公司 Method and device for acquiring expression meanings
WO2015185019A1 (en) * 2014-06-06 2015-12-10 北京搜狗科技发展有限公司 Semantic comprehension-based expression input method and apparatus
CN106257378A (en) * 2016-07-19 2016-12-28 北京新美互通科技有限公司 A kind of emoticon input method and device
CN106530096A (en) * 2016-10-08 2017-03-22 广州阿里巴巴文学信息技术有限公司 Emotion icon processing method, device and electronic apparatus
CN107453974A (en) * 2016-05-31 2017-12-08 北京北信源软件股份有限公司 A kind of expression instruction implementation method in instant messaging
CN107463273A (en) * 2017-07-14 2017-12-12 北京新美互通科技有限公司 A kind of emoticon input method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190130874A1 (en) * 2017-11-02 2019-05-02 Rigel Craft, LLC Portable emoji/image display device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103617A (en) * 2009-12-22 2011-06-22 华为终端有限公司 Method and device for acquiring expression meanings
WO2015185019A1 (en) * 2014-06-06 2015-12-10 北京搜狗科技发展有限公司 Semantic comprehension-based expression input method and apparatus
CN107453974A (en) * 2016-05-31 2017-12-08 北京北信源软件股份有限公司 A kind of expression instruction implementation method in instant messaging
CN106257378A (en) * 2016-07-19 2016-12-28 北京新美互通科技有限公司 A kind of emoticon input method and device
CN106530096A (en) * 2016-10-08 2017-03-22 广州阿里巴巴文学信息技术有限公司 Emotion icon processing method, device and electronic apparatus
CN107463273A (en) * 2017-07-14 2017-12-12 北京新美互通科技有限公司 A kind of emoticon input method and device

Also Published As

Publication number Publication date
CN113138676A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN107102746B (en) Candidate word generation method and device and candidate word generation device
US20210150214A1 (en) Method for Displaying Service Information on Preview Interface and Electronic Device
CN107688399B (en) Input method and device and input device
CN107918496B (en) Input error correction method and device for input error correction
EP4009218A1 (en) Method and device for semantic analysis, and storage medium
CN109388810A (en) A kind of data processing method, device and the device for data processing
CN112631437A (en) Information recommendation method and device and electronic equipment
CN114205447B (en) Shortcut setting method and device of electronic equipment, storage medium and electronic equipment
WO2022105754A1 (en) Character input method and apparatus, and electronic device
CN113138676B (en) Expression symbol display method and device
CN114067797A (en) Voice control method, device, equipment and computer storage medium
CN111857497B (en) Operation prompting method and electronic equipment
CN107797676B (en) Single character input method and device
CN113253883A (en) Application interface display method and device and electronic equipment
CN112000766A (en) Data processing method, device and medium
CN115033153B (en) Application program recommendation method and electronic device
CN109491570B (en) Shorthand method, mobile terminal and storage medium
CN110795014B (en) Data processing method and device and data processing device
WO2023082817A1 (en) Application program recommendation method
CN107340881B (en) Input method and electronic equipment
CN113407099A (en) Input method, device and machine readable medium
CN112000877A (en) Data processing method, device and medium
CN112764551A (en) Vocabulary display method and device and electronic equipment
CN111708444A (en) Input method, input device and input device
CN110929122A (en) Data processing method and device and data processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant