CN112764553A - Chat expression collection method and device and electronic equipment - Google Patents

Chat expression collection method and device and electronic equipment Download PDF

Info

Publication number
CN112764553A
CN112764553A CN202110106761.5A CN202110106761A CN112764553A CN 112764553 A CN112764553 A CN 112764553A CN 202110106761 A CN202110106761 A CN 202110106761A CN 112764553 A CN112764553 A CN 112764553A
Authority
CN
China
Prior art keywords
chat
target
expression
determining
expressions
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.)
Pending
Application number
CN202110106761.5A
Other languages
Chinese (zh)
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 CN202110106761.5A priority Critical patent/CN112764553A/en
Publication of CN112764553A publication Critical patent/CN112764553A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application discloses a method and a device for collecting chat emoticons and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: determining target expression characteristics according to a preset target rule; according to the method, the target chat expressions with the target expression characteristics are screened out from the chat information, and the target chat expressions are stored.

Description

Chat expression collection method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for collecting chat emoticons and electronic equipment.
Background
With the development of communication technology, electronic devices are used more and more widely, and users communicate with each other by using instant messaging software of the electronic devices more and more.
In order to enable communication and communication among users to be smooth, the users can carry out conversation through a chat box in instant messaging software of the electronic equipment or send various expression packages to each other to express emotions which are difficult to say through words, at present, most of the expression packages sent by the users are downloaded from a third party application specially used for making the expression packages and stored in the local of the electronic equipment or depend on propagation among net friends, if the users are interested in the expression packages sent by other people in the chat box, the expression packages can be manually added to expression package favorites of the electronic equipment, so that expression package collection is completed, and when the expression packages need to be sent, corresponding expression packages are selected from the expression package favorites in the local of the electronic equipment and sent to the chat box.
However, in the current scheme, a user needs to determine an interested emoticon from a plurality of information and emoticons in a chat frame and manually collect the interested emoticon, so that omission is easy to occur, the operation process is complicated, and the user experience is poor.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for collecting chat emoticons and electronic equipment, and the problems that omission easily occurs and the operation process is complicated when a user collects interesting emoticons in the prior art can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for collecting chat emotions, where the method includes:
determining target expression characteristics according to a preset target rule;
and screening out the target chat emoticons with the target emotion characteristics from the chat information, and storing the target chat emoticons.
In a second aspect, an embodiment of the present application provides a device for collecting chat emoticons, where the device includes:
the determining module is used for determining target expression characteristics according to a preset target rule;
and the screening module is used for screening out the target chat expressions with the target expression characteristics from the chat information and storing the target chat expressions.
In a third aspect, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, the present embodiments also provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the target expression characteristics are determined according to a preset target rule; according to the method, the target chat expressions with the target expression characteristics are screened out from the chat information, and the target chat expressions are stored.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for collecting chat emotions according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a chat emoticon provided by an embodiment of the present application;
fig. 3 is a flowchart illustrating steps of another chat emoticon collection method according to an embodiment of the present application;
fig. 4 is a block diagram of a chat emoticon collecting apparatus according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The collection of chat emoticons provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart of steps of a method for collecting chat emotions according to an embodiment of the present application, where as shown in fig. 1, the method may include:
step 101, determining target expression characteristics according to a preset target rule.
In this step, a target rule for screening out a target expression feature of a target chat expression that a user needs to collect from the chat information may be obtained, that is, the target expression feature reflects an expression feature of a chat expression that the user needs to collect, where the target rule may be a default rule preset in the electronic device or a rule preset by the user, and the target expression feature of the chat expression that the user is interested in may be determined by using the rule, so that the target chat expression may be further screened out from the chat information according to the target expression feature.
Specifically, the user may select the target rule from a plurality of preset rules through a rule selection interface of the electronic device, for example, a first rule may be preset: taking the expression features of the chat expressions stored in the electronic equipment by the user as target expression features; the second rule is as follows: taking an expression feature which is possessed by a certain chat expression selected by a user as a target expression feature; a third rule: taking a certain expression feature selected by a user as a target expression feature; the fourth rule is that: and taking the expression feature of the chat expression sent by the user as the target expression feature.
And 102, screening out a target chat expression with the target expression characteristic from the chat information, and storing the target chat expression.
In this step, the chat information generated in the electronic device may be obtained first, so that the chat emotions that the user is interested in and needs to collect may be screened out from the chat information according to the determined target emotions.
The expression features refer to features of the chat expression, and may include image features for reflecting content included in the chat expression, text features for reflecting text included in the chat expression, and semantic features for reflecting semantics of the chat expression.
Fig. 2 is a schematic diagram of a chat emoticon provided in an embodiment of the present application, and as shown in fig. 2, the content included in the chat emoticon is "panda head", the text included in the chat emoticon is "right again", and the semantic meaning of the image expressed by the chat emoticon is "like", so that the chat emoticon includes the image feature of "panda head", the text feature of "right again", and the semantic feature of "like".
Correspondingly, if the user wants to collect the chat expressions containing the panda head image features, the panda head image features can be determined as the target expression features according to the target rules, so that the chat expressions containing the panda head image features in the chat information center can be screened out, and the chat expressions are used as the target chat expressions and stored in a local expression library of the electronic equipment for the user to use.
Specifically, after the chat information is acquired, all chat expressions included in the chat information may be extracted from the chat information, and the expression features of the extracted chat expressions are further determined.
Specifically, in the process of determining the characteristics of the chat expressions extracted from the chat information, a convolutional neural network can be used to identify information such as characters, objects, actions, and positions included in the pictures of the chat expressions, so that the chat expressions are classified according to the content included in each chat expression, for example, if a character "curator" is identified in the pictures of the chat expressions, it can be determined that the chat expressions include the expression characteristics of the character "curator"; if the picture of the chat expression contains the animation image Picard dune is identified, the chat expression can be determined to contain the expression characteristics of the animation image Picard dune; if the picture of the chat emoticon is recognized to contain the action of erecting the thumb, the chat emoticon can be determined to contain the emoticon feature of the semantic 'like' meaning.
In addition, the characters contained in the pictures of the chat emoticons can be identified by using an Optical Character Recognition (ORC) technology, so as to determine the Character features contained in each chat emoticon, for example, if the characters "hold up while holding.
Further, after the chat expressions included in the chat information and the expression features of each chat expression are obtained, the chat expressions with the target expression features can be screened out from the chat expressions according to the target expression features of the chat expressions which represent the chat expressions required to be collected by the user, and the chat expressions are used as the target chat expressions required to be collected by the user, so that the target chat expressions have the target expression features corresponding to the target rules selected by the user.
For example, if the target rule selected by the user is: the method comprises the steps that a certain expressive feature selected by a user is used as a target expressive feature, and the expressive feature 'panda head' is determined as the target expressive feature by the user, so that the user wants to automatically collect chatting expressions containing 'panda heads' in chatting information, all the chatting expressions contained in the chatting information can be extracted, the chatting expressions containing the target expressive feature 'panda heads' are screened out from all the chatting expressions, and the chatting expressions are stored in the local of the electronic equipment and used by the user.
For example, if there are three chat emotions extracted from the chat message, the chat emotions are chat emotions 1: a picture of a laugh in long haha in the library; chat emoticons 2: pictures of pickup hill take-off; chat emoticon 3: and (3) determining the expression characteristics of the three chat expressions respectively according to the pictures of the head of the panda with embarrassment and laughing: the chat expression 1 comprises the expression characteristics of a character image of 'golden curator'; the chat emoticon 2 comprises an emoticon feature of a cartoon image 'pick-up dune'; chat emoticons 3 contain emoticons that are in the form of "panda heads". Because the chat emoticon 3 has the target emoticon feature of 'panda head', it can be determined that the user is interested in the chat emoticon 3, so as to collect the chat emoticon 3, and store the chat emoticon 3 locally in the electronic device for the user to use.
To sum up, the method for collecting chat emotions provided by the embodiment of the application includes: determining target expression characteristics according to a preset target rule; according to the method, the target chat expressions with the target expression characteristics are screened out from the chat information, and the target chat expressions are stored.
Fig. 3 is a flowchart illustrating steps of another chat emoticon collection method according to an embodiment of the present application, where as shown in fig. 3, the method may include:
step 201, obtaining an expression library stored in the electronic device, where the expression library includes at least one chat expression and an expression feature corresponding to the chat expression.
In one implementation, the process of determining the target expression features according to the preset target rules may be completed through step 201 and step 202.
In this step, an emoticon stored in the electronic device may be first obtained, where the emoticon includes at least one chat emoticon and an emoticon feature corresponding to the chat emoticon.
Specifically, the expression library of the electronic device may be used for storing chat expressions collected by the user through the electronic device, and the chat expressions in the expression library may be further identified and analyzed, so as to identify the expression features of each chat expression, and store the identified expression features in the expression library.
Optionally, the emoticons may include one or more of image characteristics reflecting content included in the chat emoticons, text characteristics reflecting text included in the chat emoticons, and semantic characteristics reflecting semantics of the chat emoticons. Table 1 is a schematic diagram of expression features stored in an expression library according to an embodiment of the present application, as shown in table 1, by scanning and analyzing the chat emoticons stored in the emoticon library, the emoticon feature of each chat emoticon can be determined, for example, if the chat emoticon library stores chat emoticons as shown in fig. 2, then the image feature with the image of panda head, the character feature containing the character of 'pen up' and the semantic feature that the image semantic is 'like praise' can be identified, so that the identified expression features can be respectively stored in the expression library according to the categories of the expression features, in addition, the expression library can also comprise image characteristics such as a character image 'curator', a cartoon image 'pick-up dune', an animal image 'panda head', 'cat head' and 'water-rocket turtle', and a 'movie fragment' comprising a movie scene; the Chinese character 'Zhaojian', 'Xiexie' and 'niu' (Chinese character) are included; semantic features characterizing semantics of "like", "sell sprout", "bereau", "tired", "strange qi of yin and yang" and "pride", etc.
TABLE 1
Step 202, determining the target expression characteristics from the expression library according to the target rules.
In this step, a target expression feature used for screening the target chat expressions that the user needs to collect may be determined according to the determined target rule, that is, the target expression feature reflects the expression feature of the chat expressions that the user needs to collect.
Optionally, step 202 specifically includes:
substep 2021, determining the chat emotions to be matched according to the first selection operation of the user from at least one chat emoticon included in the emoticon library.
In this step, the target rule may be preset to use an emoticon of a certain chat emoticon selected by the user as a target emoticon, and then automatically collect the chat emoticon with the target emoticon from the chat information as a target chat emoticon.
Specifically, all chat expressions contained in the expression library can be called for selection by a user, after a first selection operation of the user for all chat expressions contained in the expression library is received, a chat expression to be matched can be determined from all chat expressions contained in the expression library according to the first selection operation of the user, that is, the user selects an interesting chat expression from the expression library as the chat expression to be matched, so that an expression feature corresponding to the expression to be matched is determined as a target expression feature, and further, a target chat expression collected according to the target expression feature is the chat expression similar to the chat expression to be matched.
Substep 2022, determining the expressive features corresponding to the chat expressions to be matched as the target expressive features.
In this step, after determining the chat emotions to be matched, which are interested by the user, the emotions of the chat emotions to be matched may be determined in the emotion library, and the emotions of the chat emotions to be matched may be determined as the target emotions.
Specifically, the user wants to collect the chat expressions similar to the chat expressions to be matched, and the specific implementation process is to collect the chat expressions with the same expression features as the chat expressions to be matched, so that after the chat expressions to be matched are determined, the expression features of the chat expressions to be matched are further determined, and the expression features of the chat expressions to be matched are determined as target expression features, so that when the chat expressions with the target expression features are identified in the chat information, the chat expressions can be determined as the target chat expressions to be collected.
Optionally, in another implementation manner, step 202 specifically includes:
substep 2023, determining said target expressive feature according to a second selection operation of the user.
In this step, the target rule may be preset to use a certain emoticon selected by the user as a target emoticon, and further automatically collect a chat emoticon having the target emoticon from the chat information as a target chat emoticon.
Specifically, all the expression features contained in the expression library can be called for the user to select, and after second selection operation of the user for all the expression features contained in the expression library is received, the target expression feature can be determined from all the expression features contained in the expression library according to the second selection operation of the user, so that when the chat expression with the target expression feature is identified in the chat information, the chat expression can be determined as the target chat expression for collection.
Optionally, the target rule may further be configured to use an expression feature of a chat expression stored in the electronic device by the user as a target expression feature, and further automatically collect the chat expression with the target expression feature from the chat information as the target chat expression. So that the chat emotions similar to the chat emotions stored in the electronic equipment by the user can be automatically collected from the chat information.
Step 203, determining the sent chat message.
In another implementation manner, the process of determining the target expression features according to the preset target rule may be completed through step 203 and step 204.
In this step, the target rule may be preset to use an expression feature of the chat expression sent by the user as a target expression feature, and then automatically collect the chat expression with the target expression feature from the chat information as the target chat expression.
Specifically, the sent chat information of the sender to the user can be determined from the chat information, so that the chat emotions sent by the user can be further screened out from the sent chat information, and the chat emotions similar to the chat emotions sent by the user are collected.
And 204, determining the expression characteristics corresponding to the chat expressions contained in the sent chat information as the target expression characteristics.
In this step, after the sent chat message is determined, the chat emotions contained in the sent chat message may be determined from the sent chat message, and the emotions corresponding to the chat emotions may be determined as the target emotions.
Step 205, determining the target chat information according to the third selection operation of the user.
In another implementation, the process of determining the target expression features according to the preset target rules may be completed through step 205 and step 206.
In this step, the target chat information selected by the user can be determined from the chat information through a third selection operation of the user, and further the target expressive feature is determined according to the target chat information.
Step 206, determining the expressive features corresponding to the chat expressions contained in the target chat information as the target expressive features.
In this step, after the target chat information is determined, the chat emoticons included in the target chat information may be identified, and then the emoticons corresponding to the chat emoticons included in the target chat information may be determined as the target emoticons.
And step 207, screening out the target chat emotions with the target emotion characteristics from the chat information, and storing the target chat emotions.
After the target emoticons are determined in step 202, step 204, or step 206, a target chat emoticon with the target emoticons can be further screened from the chat information according to the target emoticons, so that the target chat emoticon is used as a chat emoticon collected according to the target rules.
In the embodiment of the application, after the target expression features are determined, all chat expressions can be extracted from the chat information by scanning the obtained chat information, so that the extracted chat expressions are determined as the chat expressions to be selected, and the target chat expressions with the target expression features, namely the chat expressions which are interesting to the user and need to be collected, can be screened from the chat expressions to be selected.
Optionally, in the method for collecting chat emoticons, after the target chat emoticons are screened and stored and the chat emoticons interested by the user are stored in the electronic device, a recommended chat emoticons corresponding to the currently input chat content may be determined according to the currently input chat content of the user, so that the recommended chat emoticons are further added to the chat information when a sending operation for the recommended chat emoticons is received.
Specifically, after the chat information is acquired, the chat content currently input by the user is determined from the chat information, the recommended chat emoticon corresponding to the chat content is further determined according to the preset correspondence between the chat content and the chat emoticon, so that the recommended chat emoticon is determined to be the chat emoticon matched with the currently input chat content, and the recommended chat emoticon is sent when a sending operation for the recommended chat emoticon is received.
In addition, the emoticons matched with the keywords in the chat content can also be determined according to the corresponding relationship between the keywords and the emoticons in the chat content, so that the chat emoticons containing the emoticons are further determined as the chat emoticons corresponding to the chat content.
For example, the preset correspondence between the chat content and the chat emoticon includes: if the chat content includes keywords "too much", "like" and "ox", the corresponding chat emoticon is the chat emoticon with semantic feature "like" shown in fig. 2, therefore, if the chat content is "how good you really are," the recommended chat emoticon corresponding to the chat content can be determined to be the chat emoticon shown in fig. 2 according to the corresponding relationship, if an operation of clicking and selecting to send the chat emoticon by the user is received, the chat emoticon can be added to the chat information to complete sending of the chat emoticon, and the sent chat emoticon is matched with the chat content currently input by the user.
To sum up, the method for collecting chat emotions provided by the embodiment of the application includes: determining target expression characteristics according to a preset target rule; according to the method, the target chat expressions with the target expression characteristics are screened out from the chat information, and the target chat expressions are stored.
In addition, the scheme can complete the determination of the target expression characteristics according to a plurality of different target rules, for example, the expression characteristics of the chat expressions stored in the electronic device by the user are used as the target expression characteristics, the expression characteristics of the chat expressions selected by the user are used as the target expression characteristics, and the expression characteristics of the chat expressions sent by the user are used as the target expression characteristics, so that the user can select different target rules to automatically collect interesting chat expressions from the chat information more accurately, and the use experience of the user is further improved.
It should be noted that, in the method for collecting chat emoticons provided in the embodiment of the present application, the execution subject may be a collection device for chat emoticons, or a control module in the collection device for chat emoticons, which is used for executing a collection method for loading chat emoticons. In the embodiment of the present application, a collection method for loading chat emotions executed by a collection device for chat emotions is taken as an example, and the collection method for chat emotions provided in the embodiment of the present application is described.
Fig. 4 is a block diagram of an apparatus for collecting chat emoticons according to an embodiment of the present application, and as shown in fig. 4, the apparatus 300 includes:
the determining module 301 is configured to determine a target expression feature according to a preset target rule;
and the screening module 302 is configured to screen out a target chat emoticon with the target emoticon characteristics from the chat information, and store the target chat emoticon.
Optionally, the determining module 301 includes:
the obtaining submodule is used for obtaining an expression library stored in the electronic equipment, and the expression library comprises at least one chat expression and expression characteristics corresponding to the chat expression;
and the first determining submodule is used for determining the target expression characteristics from the expression library according to the target rule.
Optionally, the first determining sub-module includes:
the first determining unit is used for determining the chat emotions to be matched according to a first selection operation of a user from at least one chat emoticon contained in the emoticon library;
a second determining unit, configured to determine an expression feature corresponding to the chat expression to be matched as the target expression feature;
or, the first determining sub-module includes:
and the third determining unit is used for determining the target expression characteristics according to the second selection operation of the user.
Optionally, the determining module 301 includes:
the second determining submodule is used for determining the sent chat information;
and a third determining submodule, configured to determine an expressive feature corresponding to a chat expression included in the sent chat message as the target expressive feature.
Optionally, the determining module 301 includes:
the fourth determining submodule is used for determining target chat information according to the third selection operation of the user;
and a fifth determining submodule, configured to determine an expressive feature corresponding to a chat expression included in the target chat information as the target expressive feature.
The chat emotion collection device in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The chat emotion collection device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The chat emotion collection device provided in the embodiment of the present application can implement each process implemented by the chat emotion collection device in the method embodiments of fig. 1 and fig. 3, and is not described here again to avoid repetition.
To sum up, the device for collecting chat emotions provided by the embodiment of the present application includes: determining target expression characteristics according to a preset target rule; according to the method, the target chat expressions with the target expression characteristics are screened out from the chat information, and the target chat expressions are stored.
Optionally, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction is executed by the processor to implement each process of the above chat expression collection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 410 is configured to determine a target expression feature according to a preset target rule;
and screening out the target chat emoticons with the target emotion characteristics from the chat information, and storing the target chat emoticons.
According to the method and the device, firstly, the target expression characteristics of the chat expressions which the user wants to collect are determined according to the preset target rules, so that the target chat expressions with the target expression characteristics are automatically screened out from the chat information, the target chat expressions with the target expression characteristics are stored and determined as the chat expressions which the user is interested in, the chat expressions which the user is interested in can be accurately judged and screened out from the chat information containing a plurality of chat expressions, the user can accurately and comprehensively collect the chat expressions which the user is interested in, and the use experience of the user is improved.
Optionally, the processor 410 is further configured to obtain an emotion library stored in the electronic device, where the emotion library includes at least one chat emotion and an emotion feature corresponding to the chat emotion;
and determining the target expression characteristics from the expression library according to the target rules.
Optionally, the processor 410 is further configured to determine, from at least one chat emoticon included in the emoticon library, a chat emoticon to be matched according to a first selection operation of a user;
determining the expression features corresponding to the chat expressions to be matched as the target expression features;
or, determining the target expression feature according to a second selection operation of the user.
Optionally, the processor 410 is further configured to determine the sent chat message;
and determining the expression characteristics corresponding to the chat expressions contained in the sent chat information as the target expression characteristics.
Optionally, the processor 410 is further configured to determine the target chat information according to a third selection operation of the user;
and determining the expression characteristics corresponding to the chat expressions contained in the target chat information as the target expression characteristics.
According to the method and the device, firstly, the target expression characteristics of the chat expressions which the user wants to collect are determined according to the preset target rules, so that the target chat expressions with the target expression characteristics are automatically screened out from the chat information, the target chat expressions with the target expression characteristics are stored and determined as the chat expressions which the user is interested in, the chat expressions which the user is interested in can be accurately judged and screened out from the chat information containing a plurality of chat expressions, the user can accurately and comprehensively collect the chat expressions which the user is interested in, and the use experience of the user is improved.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above chat expression collection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the 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 (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the embodiment of the method for collecting chat expressions, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for collecting chat emoticons, the method comprising:
determining target expression characteristics according to a preset target rule;
and screening out the target chat emoticons with the target emotion characteristics from the chat information, and storing the target chat emoticons.
2. The method according to claim 1, wherein the step of determining the target expression features according to a preset target rule comprises:
the method comprises the steps of obtaining an expression library stored in the electronic equipment, wherein the expression library comprises at least one chat expression and expression characteristics corresponding to the chat expression;
and determining the target expression characteristics from the expression library according to the target rules.
3. The method of claim 2, wherein the step of determining the target expression feature from the expression library according to the target rule comprises:
determining chat emotions to be matched according to a first selection operation of a user from at least one chat emoticon contained in the emotion library;
determining the expression features corresponding to the chat expressions to be matched as the target expression features;
or, determining the target expression feature according to a second selection operation of the user.
4. The method according to claim 1, wherein the step of determining the target expression features according to a preset target rule comprises:
determining the sent chat information;
and determining the expression characteristics corresponding to the chat expressions contained in the sent chat information as the target expression characteristics.
5. The method according to claim 1, wherein the step of determining the target expression features according to a preset target rule comprises:
determining target chat information according to the third selection operation of the user;
and determining the expression characteristics corresponding to the chat expressions contained in the target chat information as the target expression characteristics.
6. An apparatus for collecting chat emoticons, the apparatus comprising:
the determining module is used for determining target expression characteristics according to a preset target rule;
and the screening module is used for screening out the target chat expressions with the target expression characteristics from the chat information and storing the target chat expressions.
7. The apparatus of claim 6, wherein the determining module comprises:
the obtaining submodule is used for obtaining an expression library stored in the electronic equipment, and the expression library comprises at least one chat expression and expression characteristics corresponding to the chat expression;
and the first determining submodule is used for determining the target expression characteristics from the expression library according to the target rule.
8. The apparatus of claim 7, wherein the first determining submodule comprises:
the first determining unit is used for determining the chat emotions to be matched according to a first selection operation of a user from at least one chat emoticon contained in the emoticon library;
a second determining unit, configured to determine an expression feature corresponding to the chat expression to be matched as the target expression feature;
or, the first determining sub-module includes:
and the third determining unit is used for determining the target expression characteristics according to the second selection operation of the user.
9. The apparatus of claim 6, wherein the determining module comprises:
the second determining submodule is used for determining the sent chat information;
and a third determining submodule, configured to determine an expressive feature corresponding to a chat expression included in the sent chat message as the target expressive feature.
10. The apparatus of claim 6, wherein the determining module comprises:
the fourth determining submodule is used for determining target chat information according to the third selection operation of the user;
and a fifth determining submodule, configured to determine an expressive feature corresponding to a chat expression included in the target chat information as the target expressive feature.
CN202110106761.5A 2021-01-26 2021-01-26 Chat expression collection method and device and electronic equipment Pending CN112764553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110106761.5A CN112764553A (en) 2021-01-26 2021-01-26 Chat expression collection method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110106761.5A CN112764553A (en) 2021-01-26 2021-01-26 Chat expression collection method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112764553A true CN112764553A (en) 2021-05-07

Family

ID=75705935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110106761.5A Pending CN112764553A (en) 2021-01-26 2021-01-26 Chat expression collection method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112764553A (en)

Similar Documents

Publication Publication Date Title
CN106415664A (en) System and methods of generating user facial expression library for messaging and social networking applications
US11288310B2 (en) Presenting content items based on previous reactions
CN105763420B (en) A kind of method and device of automatic information reply
RU2740785C2 (en) Image processing method and equipment, electronic device and graphical user interface
US20210099405A1 (en) Content item module arrangements
CN105204886B (en) A kind of method, user terminal and server activating application program
CN110391966B (en) Message processing method and device and message processing device
US11477143B2 (en) Trending content view count
US11425062B2 (en) Recommended content viewed by friends
US11343209B2 (en) Presenting reactions from friends
WO2021062438A1 (en) Content item module arrangements
CN112667118A (en) Method, apparatus and computer readable medium for displaying historical chat messages
US10965629B1 (en) Method for generating imitated mobile messages on a chat writer server
CN113626624B (en) Resource identification method and related device
CN107370661A (en) Message method, device and electronic equipment based on contacts list
CN108197105B (en) Natural language processing method, device, storage medium and electronic equipment
KR20180080986A (en) artificial intelligence information system for emoticon service based on machine learning
KR20180080987A (en) artificial intelligence information method for emoticon service based on machine learning
CN112383666A (en) Content sending method and device and electronic equipment
CN112764553A (en) Chat expression collection method and device and electronic equipment
CN109683760B (en) Recent content display method, device, terminal and storage medium
CN111857463A (en) New message reminding method and device, electronic equipment and medium
CN111918112A (en) Video optimization method, device, storage medium and terminal
CN111435369A (en) Music recommendation method, device, terminal and storage medium
CN111857467B (en) File processing method and electronic equipment

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