CN112764553B - Chat expression collection method and device and electronic equipment - Google Patents
Chat expression collection method and device and electronic equipment Download PDFInfo
- Publication number
- CN112764553B CN112764553B CN202110106761.5A CN202110106761A CN112764553B CN 112764553 B CN112764553 B CN 112764553B CN 202110106761 A CN202110106761 A CN 202110106761A CN 112764553 B CN112764553 B CN 112764553B
- Authority
- CN
- China
- Prior art keywords
- expression
- chat
- target
- 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.)
- Active
Links
- 230000014509 gene expression Effects 0.000 title claims abstract description 547
- 101150054987 ChAT gene Proteins 0.000 title claims abstract description 405
- 101100203187 Mus musculus Sh2d3c gene Proteins 0.000 title claims abstract description 405
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000012216 screening Methods 0.000 claims abstract description 19
- 230000008451 emotion Effects 0.000 claims description 9
- 238000004891 communication Methods 0.000 abstract description 9
- 241000283690 Bos taurus Species 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 208000025174 PANDAS Diseases 0.000 description 4
- 208000021155 Paediatric autoimmune neuropsychiatric disorders associated with streptococcal infection Diseases 0.000 description 4
- 240000004718 Panda Species 0.000 description 4
- 235000016496 Panda oleosa Nutrition 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 244000269722 Thea sinensis Species 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 2
- 239000010931 gold Substances 0.000 description 2
- 229910052737 gold Inorganic materials 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 235000021110 pickles Nutrition 0.000 description 2
- 241000201297 Chelone Species 0.000 description 1
- 241000989913 Gunnera petaloidea Species 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a chat expression collection method and device and electronic equipment, and belongs to the technical field of communication. Comprising the following steps: determining target expression characteristics according to a preset target rule; the method comprises the steps of screening target chat expressions with target expression characteristics from chat information and storing the target chat expressions, wherein in the method, firstly, target expression characteristics of the chat expressions which a user wants to collect can be determined according to 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 the target chat expressions with the target expression characteristics are determined to be interesting to the user, so that the interesting chat expressions of the user can be accurately judged and screened out in the chat information containing a plurality of chat expressions, the interesting chat expressions can be accurately and comprehensively collected by the user, and the use experience of the user is improved.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a chat expression collection method and device and electronic equipment.
Background
With the development of communication technology, electronic devices are increasingly used, and users use instant messaging software of the electronic devices to communicate more and more.
In order to smooth communication and communication between users, users can talk through chat frames in instant messaging software of electronic equipment or send various expression packages mutually to express emotion difficult to be described through words, at present, most of expression packages sent by users are downloaded from third party applications specially making the expression packages and stored in the local of the electronic equipment, or depend on transmission among net friends, if the users are interested in the expression packages sent by other people in the chat frames, the expression packages can be manually added to expression package favorites of the electronic equipment, so that collection of the expression packages is completed, and when the expression packages need to be sent, corresponding expression packages are selected from the expression package favorites of the local of the electronic equipment and sent to the chat frames.
However, in the current scheme, the user needs to determine the expression package of interest from numerous information and expression packages in the chat frame, and needs to manually collect the expression package of interest, so omission easily occurs, the operation process is tedious, and the user experience is poor.
Disclosure of Invention
The embodiment of the application aims to provide a chat expression collection method, device and electronic equipment, which can solve the problems that a user is easy to miss and the operation process is complicated when collecting interesting expression packages in the prior art.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a method for collecting chat expressions, where the method includes:
determining target expression characteristics according to a preset target rule;
and screening out the target chat expression with the target expression characteristics from the chat information, and storing the target chat expression.
In a second aspect, an embodiment of the present application provides a chat expression collection apparatus, including:
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 expression with the target expression characteristic from the chat information and storing the target chat expression.
In a third aspect, embodiments of the present application further provide an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application also provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, according to a preset target rule, determining target expression characteristics; the method comprises the steps of screening target chat expressions with target expression characteristics from chat information and storing the target chat expressions, wherein in the method, firstly, target expression characteristics of the chat expressions which a user wants to collect can be determined according to 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 the target chat expressions with the target expression characteristics are determined to be interesting to the user, so that the interesting chat expressions of the user can be accurately judged and screened out in the chat information containing a plurality of chat expressions, the interesting chat expressions can be accurately and comprehensively collected by the user, and the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart of steps in a method for collecting chat expressions according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a chat emotion provided in an embodiment of the present application;
FIG. 3 is a flowchart illustrating steps of another chat emotion collection method according to an embodiment of the present application;
fig. 4 is a block diagram of a chat expression collection apparatus according to an embodiment of the present application;
fig. 5 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects 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 not limited to the number of objects, e.g., 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 following describes in detail the collection of chat expressions provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for collecting chat expressions according to an embodiment of the present application, 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 target expression features of the chat expression to be collected by the user from the chat information may be obtained, that is, the target expression features reflect expression features of the chat expression to be collected by the user, where the target rule may be a default rule preset in the electronic device or a rule preset by the user, and the rule may be used to determine the target expression features of the chat expression to be interested by the user, so that the target chat expression may be further screened from the chat information according to the target expression features.
Specifically, the user may select, through a rule selection interface of the electronic device, a target rule from a plurality of rules set in advance, for example, a first rule may be set in advance: taking the expression characteristics of the chat expressions stored in the electronic equipment with the user as target expression characteristics; a second rule: taking the expression characteristic of a chat expression selected by the user as a target expression characteristic; third rule: taking a certain expression feature selected by a user as a target expression feature; fourth rule: and taking the expression characteristics of the chat expression sent by the user as target expression characteristics.
Step 102, screening out the target chat expression with the target expression characteristic from the chat information, and storing the target chat expression.
In the step, firstly, the chat information generated in the electronic equipment can be acquired, so that the chat expressions which are interested by the user and need to be collected can be screened out from the chat information according to the determined target expression characteristics.
Wherein, the expression features refer to features in 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 expression provided in an embodiment of the present application, as shown in fig. 2, where content included in the chat expression is "Xiong Maotou", characters included in the chat expression are "praise", and image semantics of the chat expression are "praise", so that the chat expression includes image features of "Xiong Maotou", character features of "praise", and semantic features of "praise".
Correspondingly, if the user wants to collect the chat expressions including the image feature Xiong Maotou, the image feature Xiong Maotou can be determined as the target expression feature according to the target rule, so that the chat expressions including the panda head in the chat information center can be screened out, and the chat expressions are used as the target chat expressions and stored in the expression library of the electronic equipment for the user to use.
Specifically, after the chat information is obtained, all chat expressions contained in the chat information can be extracted from the chat information, and 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, the convolutional neural network can be utilized to identify information such as characters, objects, actions, positions and the like contained in the pictures of the chat expressions, so that the chat expressions are classified according to the content contained in each chat expression, for example, if the character 'the librarian' is contained in the pictures of the chat expressions, the expression characteristics of the character 'the librarian' can be determined; if the picture identifying the chat expression contains the animation image 'skin-card', determining that the chat expression contains the expression characteristics of the animation image 'skin-card'; if the picture identifying the chat expression comprises the action of erecting the thumb, the chat expression can be determined to comprise the expression characteristics of the semantic "praise".
In addition, the characters contained in the pictures of the chat expressions can be identified by utilizing an optical character recognition (Optical Character Recognition, ORC) technology, so that the character characteristics contained in each chat expression can be determined, for example, if the characters 'still cattle' are contained in the pictures of the chat expressions, the expression characteristics of the characters 'still cattle' can be determined.
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 characterize the user to be collected, and the chat expressions are used as the target chat expressions which the user to be collected, so that the target chat expressions have the target expression features corresponding to the target rules selected by the user.
For example, if the user selected target rule is: the user selects a certain expression feature as a target expression feature, and determines the expression feature Xiong Maotou as the target expression feature, which indicates that the user wants to automatically collect the chat expressions containing Xiong Maotou in the chat information, so that all the chat expressions contained in the chat information can be extracted first, and the chat expressions containing the target expression feature panda head can be screened from all the chat expressions and stored in the local of the electronic device for the user to use.
For example, if three chat expressions are extracted from the chat information, they are respectively chat expression 1: pictures of haha laughing of the museum of gold; chat expression 2: pickle take-off picture; chat expression 3: the embarrassing smiling panda head picture can determine the expression characteristics of the three chat expressions respectively: the expression characteristics contained in the chat expression 1 are the character of a character "gold librarian"; the chat expression 2 contains expression features of cartoon images of 'Pickle'; chat expression 3 contains an expression feature of the character "Xiong Maotou". Since chat emotion 3 has the target emotion feature "Xiong Maotou", it can be determined that the user is interested in chat emotion 3, so that chat emotion 3 is collected and stored locally on the electronic device for use by the user.
In summary, the method for collecting chat expressions provided in the embodiment of the present application includes: determining target expression characteristics according to a preset target rule; the method comprises the steps of screening target chat expressions with target expression characteristics from chat information and storing the target chat expressions, wherein in the method, firstly, target expression characteristics of the chat expressions which a user wants to collect can be determined according to 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 the target chat expressions with the target expression characteristics are determined to be interesting to the user, so that the interesting chat expressions of the user can be accurately judged and screened out in the chat information containing a plurality of chat expressions, the interesting chat expressions can be accurately and comprehensively collected by the user, and the use experience of the user is improved.
Fig. 3 is a flowchart of steps of another chat expression collection method provided in an embodiment of the present application, as shown in fig. 3, where the method may include:
step 201, obtaining an expression library stored in an electronic device, wherein the expression library comprises at least one chat expression and expression features corresponding to the chat expression.
In one implementation, the process of determining the target expression feature according to the preset target rule may be completed through step 201 and step 202.
In this step, a library of expressions stored in the electronic device may be first obtained, where the library of expressions includes at least one chat expression and expression features corresponding to the chat expression.
Specifically, the expression library of the electronic device may be used for storing chat expressions collected by the user through the electronic device, and may further identify and analyze the chat expressions in the expression library, so as to identify expression features of each chat expression, and store the identified expression features in the expression library.
Optionally, the expression features may include one or more of image features reflecting content contained in the chat expression, text features reflecting text contained in the chat expression, and semantic features reflecting semantics of the chat expression. Table 1 is a schematic diagram of expression features stored in an expression library, and as shown in table 1, scanning and analyzing chat expressions stored in the expression library, so that expression features of each chat expression can be determined, for example, if the chat expression shown in fig. 2 is stored in the expression library, image features with image Xiong Maotou, text features including text "still cattle" and semantic features with image semantics "like" can be identified in the chat expression library, so that the identified expression features can be respectively stored in the expression library according to the categories of the expression features, and in addition, the expression library can also include image features such as character "golden librarian", cartoon image "skin-card" and animal image "panda head", "water turtle head" and "movie fragment" including movie scenes; the tea making machine comprises character characteristics such as the characters of 'returning cattle', 'thank you boss', 'cattle', 'full stiffness', 'tea delivery for dalao' and 'I can', and the like; semantic features characterizing the semantics of "praise", "sell loving", "fun", "tired", "cloudy yang strange air" 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 of the target chat expression required to be collected by the user for screening can be determined according to the determined target rule, that is, the target expression feature reflects an expression feature of the chat expression required to be collected by the user.
Optionally, step 202 specifically includes:
sub-step 2021, determining, from at least one chat expression contained in the expression library, a chat expression to be matched according to a first selection operation of the user.
In this step, the target rule may be preset to set the expression feature of a certain chat expression selected by the user as a target expression feature, so as to automatically collect the chat expression with the target expression feature from the chat information as a target chat expression.
Specifically, after receiving the first selection operation of the user for all chat expressions contained in the expression library, the user can determine the chat expression to be matched from all chat expressions contained in the expression library according to the first selection operation of the user, that is, the user selects the chat expression of interest from the expression library as the chat expression to be matched, so that the expression feature corresponding to the expression to be matched is determined as the target expression feature, and the target chat expression collected according to the target expression feature is the chat expression similar to the chat expression to be matched.
And step 2022, determining the expression characteristic corresponding to the chat expression to be matched as the target expression characteristic.
In the step, after the chat expression to be matched, which is interested by the user, is determined, the expression features of the chat expression to be matched can be determined in the expression library, and the expression features of the chat expression to be matched are determined to be target expression features.
Specifically, the user wishes to collect the chat expressions similar to the chat expressions to be matched, and the specific implementation process is to collect the chat expressions having the same expression characteristics as the chat expressions to be matched, so that after the chat expressions to be matched are determined, the expression characteristics of the chat expressions to be matched are further determined, the expression characteristics of the chat expressions to be matched are determined to be target expression characteristics, and therefore when the chat expressions with the target expression characteristics are identified in the chat information, the chat expressions can be determined to be target chat expressions to be collected.
Optionally, in another implementation, step 202 specifically includes:
sub-step 2023, determining the target expression feature according to a second selection operation by the user.
In this step, the target rule may be preset to set a certain expression feature selected by the user as a target expression feature, so as to automatically collect, from the chat information, a chat expression having the target expression feature as a target chat expression.
Specifically, all the expression features contained in the expression library can be called for selection by the user, after the second selection operation of the user for all the expression features contained in the expression library is received, the target expression features 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 features is identified in the chat information, the chat expression can be determined to be the target chat expression for collection.
Optionally, the target rule may further use an expression feature of a chat expression stored in the electronic device with the user as a target expression feature, so as to automatically collect the chat expression with the target expression feature from the chat information as a target chat expression. Thereby, the chat expressions similar to the chat expressions stored in the electronic equipment by the user can be automatically collected from the chat information.
Step 203, determining the transmitted chat information.
In another implementation, the process of determining the target expression feature 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 set the expression feature of the chat expression sent by the user as a target expression feature, so as to automatically collect the chat expression with the target expression feature from the chat information as a target chat expression.
Specifically, the transmitted chat information of the user can be determined from the chat information, so that the chat expression transmitted by the user can be further screened from the transmitted chat information, and further the chat expression similar to the chat expression transmitted by the user is collected.
And 204, determining the expression characteristic corresponding to the chat expression contained in the sent chat information as the target expression characteristic.
In this step, after the transmitted chat information is determined, the chat expressions included in the transmitted chat information may be determined from the transmitted chat information, and expression features corresponding to the chat expressions may be determined as target expression features.
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 feature according to the preset target rule may be completed through step 205 and step 206.
In this step, the target chat information selected by the user may be determined from the chat information through a third selection operation of the user, and further, the target expression feature may be determined according to the target chat information.
And 206, determining the expression characteristics corresponding to the chat expressions contained in the target chat information as the target expression characteristics.
In this step, after the target chat information is determined, the chat expression included in the target chat information may be identified, and further, the expression feature corresponding to the chat expression included in the target chat information may be determined as the target expression feature.
Step 207, screening out the target chat expression with the target expression characteristic from the chat information, and storing the target chat expression.
After the target expression feature is determined in step 202, step 204 or step 206, a target chat expression with the target expression feature may be further screened from the chat information according to the target expression feature, so that the target chat expression is used as a chat expression collected according to the target rule.
In the embodiment of the application, after the target expression feature is determined, all chat expressions can be extracted from the chat information by scanning the acquired chat information, so that the extracted chat expressions are determined to be the chat expressions to be selected, and the target chat expressions with the target expression feature, namely the chat expressions which are interested by the user and need to be collected, are screened from the chat expressions to be selected.
Optionally, in the method for collecting chat expressions, after the target chat expressions are screened and saved, and the chat expressions interested by the user are saved in the electronic device, the recommended chat expressions 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 expressions may be further added to the chat information when a sending operation for the recommended chat expressions is received.
Specifically, after the chat information is obtained, the chat content currently input by the user can be determined from the chat information, and further, the recommended chat expression corresponding to the chat content is determined according to the corresponding relation between the preset chat content and the chat expression, so that the recommended chat expression is determined to be the chat expression matched with the chat content currently input, and the recommended chat expression is transmitted under the condition that the transmitting operation for the recommended chat expression is received.
In addition, according to the corresponding relation between the keywords in the chat content and the expression features, the expression features matched with the keywords in the chat content can be determined, so that the chat expression containing the expression features is further determined to be the chat expression corresponding to the chat content.
For example, the preset correspondence between chat content and chat expression includes: the chat content contains keywords of "severe", "praise" and "cow", and the corresponding chat expression is the chat expression with semantic feature of "praise" as shown in fig. 2, so if the chat content is "you really good" and the chat expression corresponding to the chat content is determined to be the chat expression shown in fig. 2 according to the corresponding relation, if the operation of clicking and selecting to send the chat expression by the user is received, the chat expression can be added into the chat information to complete the sending of the chat expression, and the sent chat expression is mutually matched with the chat content currently input by the user.
In summary, the method for collecting chat expressions provided in the embodiment of the present application includes: determining target expression characteristics according to a preset target rule; the method comprises the steps of screening target chat expressions with target expression characteristics from chat information and storing the target chat expressions, wherein in the method, firstly, target expression characteristics of the chat expressions which a user wants to collect can be determined according to 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 the target chat expressions with the target expression characteristics are determined to be interesting to the user, so that the interesting chat expressions of the user can be accurately judged and screened out in the chat information containing a plurality of chat expressions, the interesting chat expressions can be accurately and comprehensively collected by the user, and the use experience of the user is improved.
In addition, the method and the device can finish the determination of the target expression features according to various different target rules, for example, the expression features of the chat expressions stored in the electronic equipment with the user are used as the target expression features, the expression features of the chat expressions selected by the user are used as the target expression features, the certain expression features selected by the user are used as the target expression features, and the expression features of the chat expressions sent by the user are used as the target expression features, so that the user can automatically collect interesting chat expressions from the chat information more accurately through selecting different target rules, and the use experience of the user is further improved.
It should be noted that, in the chat expression collection method provided in the embodiment of the present application, the executing body may be a chat expression collection device, or a control module in the chat expression collection device, where the control module is used to execute the chat expression collection method. In the embodiment of the present application, a method for collecting chat expressions by using a chat expression collecting device to perform a chat expression loading collection method is described.
Fig. 4 is a block diagram of a chat emotion collection apparatus according to an embodiment of the present application, and as shown in fig. 4, the apparatus 300 includes:
a determining module 301, configured to determine a target expression feature according to a preset target rule;
and the screening module 302 is configured to screen the target chat expression with the target expression characteristic from the chat information, and store the target chat expression.
Optionally, the determining module 301 includes:
the electronic equipment comprises an acquisition submodule, a storage submodule and a storage submodule, wherein the expression library is used for acquiring 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 rules.
Optionally, the first determining sub-module includes:
the first determining unit is used for determining chat expressions to be matched according to a first selection operation of a user from at least one chat expression contained in the expression library;
the second determining unit is used for determining the expression characteristics corresponding to the chat expressions to be matched as the target expression characteristics;
alternatively, the first determining submodule includes:
and a third determining unit, configured to determine the target expression feature according to a second selection operation of the user.
Optionally, the determining module 301 includes:
the second determining submodule is used for determining the transmitted chat information;
and the third determining submodule is used for determining the expression characteristic corresponding to the chat expression contained in the sent chat information as the target expression characteristic.
Optionally, the determining module 301 includes:
a fourth determining sub-module, configured to determine target chat information according to a third selection operation of the user;
and a fifth determining submodule, configured to determine an expression feature corresponding to the chat expression included in the target chat information as the target expression feature.
The chat expression collecting device in the embodiment of the application can be a device, and also can be a component, an integrated circuit or a chip in the 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 the embodiments of the present application are not limited in particular.
The chat expression collection device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The chat expression collecting device provided in the embodiment of the present application can implement each process implemented by the chat expression collecting device in the method embodiment of fig. 1 and fig. 3, and in order to avoid repetition, a detailed description is omitted here.
In summary, the device for collecting chat expressions provided in the embodiment of the present application includes: determining target expression characteristics according to a preset target rule; the method comprises the steps of screening target chat expressions with target expression characteristics from chat information and storing the target chat expressions, wherein in the method, firstly, target expression characteristics of the chat expressions which a user wants to collect can be determined according to 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 the target chat expressions with the target expression characteristics are determined to be interesting to the user, so that the interesting chat expressions of the user can be accurately judged and screened out in the chat information containing a plurality of chat expressions, the interesting chat expressions can be accurately and comprehensively collected by the user, and the use experience of the user is improved.
Optionally, the embodiment of the present application further provides an electronic device, including 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 implements each process of the chat expression collection method embodiment when executed by the processor, and the process can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio frequency 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 also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 410 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. 5 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 410 is configured to determine a target expression feature according to a preset target rule;
and screening out the target chat expression with the target expression characteristics from the chat information, and storing the target chat expression.
According to the method and the device, firstly, the target expression characteristics of the chat expressions which the user wants to collect can be 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 are determined to be the chat expressions which the user is interested in, and therefore the chat expressions which the user is interested in can be accurately judged and screened out in the chat information containing a plurality of chat expressions, the chat expressions which the user is interested in can be accurately and comprehensively collected, and the use experience of the user is improved.
Optionally, the processor 410 is further configured to obtain an expression library stored in the electronic device, where the expression library includes at least one chat expression and expression features corresponding to the chat expression;
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 expression included in the expression library, a chat expression to be matched according to a first selection operation of the user;
determining the expression characteristics corresponding to the chat expressions to be matched as the target expression characteristics;
or determining the target expression characteristic according to a second selection operation of the user.
Optionally, the processor 410 is further configured to determine the transmitted chat information;
and determining the expression characteristic corresponding to the chat expression contained in the transmitted chat information as the target expression characteristic.
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 characteristic corresponding to the chat expression contained in the target chat information as the target expression characteristic.
According to the method and the device, firstly, the target expression characteristics of the chat expressions which the user wants to collect can be 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 are determined to be the chat expressions which the user is interested in, and therefore the chat expressions which the user is interested in can be accurately judged and screened out in the chat information containing a plurality of chat expressions, the chat expressions which the user is interested in can be accurately and comprehensively collected, 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, each process of the embodiment of the chat expression collection method is implemented, and the same technical effect can be achieved, so that repetition is avoided, and no further description is provided herein.
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, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or an instruction, implementing each process of the chat expression collection method embodiment, and achieving the same technical effect, so as to avoid repetition, and no further description is provided 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 also 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 software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in 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 of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (6)
1. A method for collecting chat expressions, the method comprising:
determining target expression characteristics according to a preset target rule, wherein the target rule is used for screening target expression characteristics of target chat expressions which need to be collected by a user from the chat information;
screening out the target chat expression with the target expression characteristics from the chat information, and storing the target chat expression;
the step of determining the target expression characteristics according to the preset target rules comprises the following steps:
determining transmitted chat information;
determining expression features corresponding to the chat expressions contained in the transmitted chat information as the target expression features; or,
the step of determining the target expression characteristics according to the preset target rules comprises the following steps:
determining target chat information according to a third selection operation of the user;
and determining the expression characteristic corresponding to the chat expression contained in the target chat information as the target expression characteristic.
2. The method of claim 1, wherein the step of determining the target expression feature according to a preset target rule comprises:
acquiring an expression library stored in 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 expressions to be matched from at least one chat expression contained in the expression library according to a first selection operation of a user;
determining the expression characteristics corresponding to the chat expressions to be matched as the target expression characteristics;
or determining the target expression characteristic according to a second selection operation of the user.
4. A chat emotion collection device, the device comprising:
the determining module is used for determining target expression characteristics according to preset target rules, wherein the target rules are used for screening target expression characteristics of target chat expressions which need to be collected by a user from the chat information;
the screening module is used for screening out the target chat expression with the target expression characteristics from the chat information and storing the target chat expression;
the determining module includes:
the second determining submodule is used for determining the transmitted chat information;
a third determining submodule, configured to determine an expression feature corresponding to a chat expression included in the sent chat information as the target expression feature; or,
the determining module includes:
a fourth determining sub-module, configured to determine target chat information according to a third selection operation of the user;
and a fifth determining submodule, configured to determine an expression feature corresponding to the chat expression included in the target chat information as the target expression feature.
5. The apparatus of claim 4, wherein the determining module comprises:
the electronic equipment comprises an acquisition submodule, a storage submodule and a storage submodule, wherein the expression library is used for acquiring 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 rules.
6. The apparatus of claim 5, wherein the first determination submodule comprises:
the first determining unit is used for determining chat expressions to be matched according to a first selection operation of a user from at least one chat expression contained in the expression library;
the second determining unit is used for determining the expression characteristics corresponding to the chat expressions to be matched as the target expression characteristics;
alternatively, the first determining submodule includes:
and a third determining unit, configured to determine the target expression feature according to a second selection operation of the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110106761.5A CN112764553B (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 CN112764553B (en) | 2021-01-26 | 2021-01-26 | Chat expression collection method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112764553A CN112764553A (en) | 2021-05-07 |
CN112764553B true CN112764553B (en) | 2024-04-02 |
Family
ID=75705935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110106761.5A Active CN112764553B (en) | 2021-01-26 | 2021-01-26 | Chat expression collection method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112764553B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103905293A (en) * | 2012-12-28 | 2014-07-02 | 北京新媒传信科技有限公司 | Method and device for obtaining expression information |
CN105447164A (en) * | 2015-12-02 | 2016-03-30 | 小天才科技有限公司 | Method and apparatus for automatically pushing chat expressions |
CN105975563A (en) * | 2016-04-29 | 2016-09-28 | 腾讯科技(深圳)有限公司 | Facial expression recommendation method and apparatus |
CN106020622A (en) * | 2016-07-12 | 2016-10-12 | 百度在线网络技术(北京)有限公司 | Method and device for collecting emoticons |
CN107239551A (en) * | 2017-06-07 | 2017-10-10 | 邹时月 | A kind of group chat software for carrying out information regeneration |
CN107729419A (en) * | 2017-09-27 | 2018-02-23 | 惠州Tcl移动通信有限公司 | A kind of intelligence preserves method, mobile terminal and the storage medium of picture and video |
CN107818160A (en) * | 2017-10-31 | 2018-03-20 | 上海掌门科技有限公司 | Expression label updates and realized method, equipment and the system that expression obtains |
CN109831572A (en) * | 2018-12-14 | 2019-05-31 | 深圳壹账通智能科技有限公司 | Chat picture control method, device, computer equipment and storage medium |
CN110659512A (en) * | 2019-09-27 | 2020-01-07 | Oppo(重庆)智能科技有限公司 | Picture management method, device, terminal and storage medium |
CN111010335A (en) * | 2019-12-18 | 2020-04-14 | 网易(杭州)网络有限公司 | Chat expression sending method and device, electronic equipment and medium |
EP3671405A1 (en) * | 2018-12-17 | 2020-06-24 | Beijing Xiaomi Mobile Software Co., Ltd. | Method for operating a smart device, apparatus and storage medium |
CN111897990A (en) * | 2019-05-06 | 2020-11-06 | 阿里巴巴集团控股有限公司 | Method, device and system for acquiring expression information |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063427A (en) * | 2014-06-06 | 2014-09-24 | 北京搜狗科技发展有限公司 | Expression input method and device based on semantic understanding |
-
2021
- 2021-01-26 CN CN202110106761.5A patent/CN112764553B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103905293A (en) * | 2012-12-28 | 2014-07-02 | 北京新媒传信科技有限公司 | Method and device for obtaining expression information |
CN105447164A (en) * | 2015-12-02 | 2016-03-30 | 小天才科技有限公司 | Method and apparatus for automatically pushing chat expressions |
CN105975563A (en) * | 2016-04-29 | 2016-09-28 | 腾讯科技(深圳)有限公司 | Facial expression recommendation method and apparatus |
CN106020622A (en) * | 2016-07-12 | 2016-10-12 | 百度在线网络技术(北京)有限公司 | Method and device for collecting emoticons |
CN107239551A (en) * | 2017-06-07 | 2017-10-10 | 邹时月 | A kind of group chat software for carrying out information regeneration |
CN107729419A (en) * | 2017-09-27 | 2018-02-23 | 惠州Tcl移动通信有限公司 | A kind of intelligence preserves method, mobile terminal and the storage medium of picture and video |
CN107818160A (en) * | 2017-10-31 | 2018-03-20 | 上海掌门科技有限公司 | Expression label updates and realized method, equipment and the system that expression obtains |
CN109831572A (en) * | 2018-12-14 | 2019-05-31 | 深圳壹账通智能科技有限公司 | Chat picture control method, device, computer equipment and storage medium |
EP3671405A1 (en) * | 2018-12-17 | 2020-06-24 | Beijing Xiaomi Mobile Software Co., Ltd. | Method for operating a smart device, apparatus and storage medium |
CN111897990A (en) * | 2019-05-06 | 2020-11-06 | 阿里巴巴集团控股有限公司 | Method, device and system for acquiring expression information |
CN110659512A (en) * | 2019-09-27 | 2020-01-07 | Oppo(重庆)智能科技有限公司 | Picture management method, device, terminal and storage medium |
CN111010335A (en) * | 2019-12-18 | 2020-04-14 | 网易(杭州)网络有限公司 | Chat expression sending method and device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN112764553A (en) | 2021-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11288310B2 (en) | Presenting content items based on previous reactions | |
US11962547B2 (en) | Content item module arrangements | |
CN109614482B (en) | Label processing method and device, electronic equipment and storage medium | |
CN110286976A (en) | Interface display method, device, terminal and storage medium | |
US11425062B2 (en) | Recommended content viewed by friends | |
CN108351880A (en) | Image processing method, device, electronic equipment and graphic user interface | |
US11706166B2 (en) | Presenting reactions from friends | |
US11477143B2 (en) | Trending content view count | |
EP4350535A2 (en) | Content item module arrangements | |
CN111480158B (en) | File management method and electronic equipment | |
CN105373580A (en) | Method and device for displaying subjects | |
CN108197105B (en) | Natural language processing method, device, storage medium and electronic equipment | |
CN113392178A (en) | Message reminding method, related device, equipment and storage medium | |
CN113626624B (en) | Resource identification method and related device | |
CN113593614B (en) | Image processing method and device | |
CN112764553B (en) | Chat expression collection method and device and electronic equipment | |
CN111897441B (en) | Expression adding method and device and electronic equipment | |
CN112383666B (en) | Content sending method and device and electronic equipment | |
CN114666643A (en) | Information display method and device, electronic equipment and storage medium | |
CN113835594A (en) | Interaction method and device, electronic equipment and readable storage medium | |
CN114020384A (en) | Message display method and device and electronic equipment | |
CN111694999A (en) | Information processing method and device and electronic equipment | |
CN112464027A (en) | Video detection method, device and storage medium | |
CN114154465B (en) | Structure reconstruction method and device of structure diagram, electronic equipment 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |