CN109710753B - Method and device for generating shortcut information based on personalized theme and electronic equipment - Google Patents
Method and device for generating shortcut information based on personalized theme and electronic equipment Download PDFInfo
- Publication number
- CN109710753B CN109710753B CN201811636161.4A CN201811636161A CN109710753B CN 109710753 B CN109710753 B CN 109710753B CN 201811636161 A CN201811636161 A CN 201811636161A CN 109710753 B CN109710753 B CN 109710753B
- Authority
- CN
- China
- Prior art keywords
- information
- user
- text information
- shortcut
- target
- 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
Images
Landscapes
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a method and a device for generating shortcut information based on an individualized theme and electronic equipment, wherein the method comprises the following steps: collecting text information sent by a user aiming at each theme; acquiring the sending frequency of the text information, and screening out target text information matched with a preset screening strategy; performing semantic matching on the target text information and preset expression package description information, and determining a target expression package with a semantic matching degree meeting a preset threshold; and generating shortcut information corresponding to each theme according to the target expression packet and the target text information. Therefore, the quick information corresponding to a plurality of topics commonly used by the user is provided based on the personal preference of the user, and the user satisfaction of the quick reply service is improved.
Description
Technical Field
The application relates to the technical field of internet, in particular to a method and a device for generating shortcut information based on an individualized theme and electronic equipment.
Background
With the development of internet technology, social network activities based on internet technology become common, for example, users communicate based on short messages, chat based on social software, and the like.
In the related art, a quick reply service is provided for a user on software commonly used by the user, so that the user can acquire corresponding reply information without manual input by only selecting appropriate quick reply content, however, the quick reply content provided in the prior art is relatively single, for example, the quick reply service is only provided for the user on short message software: the user has a meal, can give you a phone call at busy time and the like, so that the personalized requirements of the user are difficult to meet, and the quality of the quick response service is not high.
Content of application
The application provides a method and a device for generating quick information based on an individualized theme and electronic equipment, and aims to solve the technical problems that in the prior art, quick reply content is single and service quality is low.
An embodiment of the application provides a shortcut information generation method based on an individualized theme, which includes the following steps: presetting an acquisition period, and acquiring text information sent by a user for each theme in the acquisition period; acquiring the sending frequency of the text information, and screening out target text information matched with a preset screening strategy according to the sending frequency; performing semantic matching on the target text information and preset expression package description information, and determining a target expression package with a semantic matching degree meeting a preset threshold; and generating shortcut information corresponding to each theme in the current period according to the target expression packet and the target text information.
According to the method for generating the shortcut information based on the personalized theme, the text information sent by the user aiming at each theme in the current period is collected according to the preset period, the sending frequency of the text information is obtained, the target text information matched with the preset screening strategy is screened out, furthermore, the target text information is semantically matched with the description information of the preset expression package, the target expression package with the semantic matching degree meeting the preset threshold value is determined, and finally, the shortcut information corresponding to each theme in the current period is generated according to the target expression package and the target text information. Therefore, the quick information corresponding to a plurality of topics commonly used by the user is provided based on the personal preference of the user, and the user satisfaction of the quick reply service is improved.
In addition, the shortcut information generation method based on the personalized theme in the embodiment of the application further includes the following additional technical features:
optionally, the method further comprises: acquiring a plurality of shortcut information corresponding to a plurality of themes of the user; after a shortcut reply instruction of the user is acquired, providing the plurality of shortcut information for the user; and sending the selected target shortcut information according to the selection instruction of the user.
Optionally, before acquiring, in the preset acquisition period, text information sent by the user for each topic in the acquisition period, the method further includes: determining label information of the user according to the historical behavior information of the user; determining each topic that matches the tag information.
Optionally, before acquiring, in the preset acquisition period, text information sent by the user for each topic in the acquisition period, the method further includes: acquiring the interaction information of the current interaction scene of the user; determining each topic semantically matching the interaction information.
Optionally, before the obtaining of the quick reply instruction of the user, the method includes: setting a tab corresponding to each theme, and setting the tab on an input interface of an input method; after the shortcut reply instruction of the user is obtained, providing the shortcut information to the user includes: and acquiring the trigger operation of the user on the tab, and displaying the quick reply information corresponding to the trigger operation.
Optionally, the sending the selected target shortcut information according to the selection instruction of the user includes: and acquiring one or more target shortcut information selected by the user, and simultaneously sending the one or more target shortcut information.
Optionally, the method further comprises: acquiring the use frequency of the shortcut information in the current period; determining the shortcut information to be updated with the use frequency smaller than a preset threshold value, and acquiring new reference text information sent in the current period aiming at a theme corresponding to the shortcut information to be updated; acquiring the reference sending frequency of the new reference text information, and determining updated text information according to the reference sending frequency; and updating the shortcut information to be updated according to the updated text information in the next period.
Another embodiment of the present application provides a shortcut information generation apparatus based on personalized topics, including: the acquisition module is used for presetting an acquisition period and acquiring text information sent by a user aiming at each theme in the acquisition period; the screening module is used for acquiring the sending frequency of the text information and screening out target text information matched with a preset screening strategy according to the sending frequency; the determining module is used for performing semantic matching on the target text information and preset emotion package description information and determining a target emotion package of which the semantic matching degree meets a preset threshold; and the generating module is used for generating shortcut information corresponding to each theme in the current period according to the target expression package and the target text information.
According to the shortcut information generation device based on the personalized topics, the text information sent by the user for each topic in the current period is collected according to the preset period, the sending frequency of the text information is obtained, the target text information matched with the preset screening strategy is screened out, furthermore, the target text information is semantically matched with the description information of the preset expression package, the target expression package with the semantic matching degree meeting the preset threshold value is determined, and finally, the shortcut information corresponding to each topic in the current period is generated according to the target expression package and the target text information. Therefore, the quick information corresponding to a plurality of topics commonly used by the user is provided based on the personal preference of the user, and the user satisfaction of the quick reply service is improved.
In addition, the shortcut information generation apparatus based on personalized theme in the embodiment of the present application further includes the following additional technical features:
optionally, the method further comprises: the acquisition module is used for acquiring a plurality of shortcut information corresponding to a plurality of themes of the user; the providing module is used for providing the plurality of shortcut information to the user after acquiring the shortcut reply instruction of the user; and the selection module is used for sending the selected target shortcut information according to the selection instruction of the user.
Optionally, the obtaining module includes: the first determining unit is used for determining the label information of the user according to the historical behavior information of the user; and the second determining unit is used for determining each theme matched with the label information.
Optionally, the obtaining module includes: the acquisition unit is used for acquiring the interaction information of the current interaction scene of the user; and the third determining unit is used for determining each theme semantically matched with the interactive information.
Optionally, the setting module is configured to set a tab corresponding to each theme, and set the tab on an input interface of an input method; the providing module is specifically configured to: and acquiring the trigger operation of the user on the tab, and displaying the quick reply information corresponding to the trigger operation.
Optionally, the selecting module is specifically configured to:
and acquiring one or more target shortcut information selected by the user, and simultaneously sending the one or more target shortcut information. Another embodiment of the present application provides an electronic device, including a processor and a memory; the processor reads the executable program code stored in the memory to run the program corresponding to the executable program code, so as to implement the shortcut information generation method based on personalized themes according to the embodiment.
Another embodiment of the present application provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method for generating shortcut information based on personalized theme as described in the foregoing embodiment.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flowchart of a shortcut information generation method based on personalized theme according to an embodiment of the present application;
FIG. 2 is a flowchart of a shortcut information generation method based on personalized theme according to another embodiment of the present application;
FIG. 3-A is a schematic view of an application scenario of a shortcut information generation method based on personalized topics according to an embodiment of the present application;
FIG. 3-B is a schematic view of an application scenario of a shortcut information generation method based on personalized topics according to another embodiment of the present application;
fig. 4 is a schematic view of an application scenario of a shortcut information generation method based on personalized topics according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a shortcut information generation apparatus based on personalized theme according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a shortcut information generation apparatus based on personalized theme according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a shortcut information generation apparatus based on personalized theme according to still another embodiment of the present application;
fig. 8 is a schematic structural diagram of a shortcut information generation apparatus based on personalized theme according to still another embodiment of the present application;
fig. 9 is a schematic structural diagram of a shortcut information generation apparatus based on personalized theme according to still another embodiment of the present application; and
FIG. 10 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The following describes a shortcut information generation method and apparatus based on personalized topics and an electronic device according to an embodiment of the present application with reference to the drawings.
Aiming at the technical problems that the existing quick reply content is single and fixed and cannot meet the personalized requirements of the user easily in the background art, the method and the device provide a generation mode of quick reply meeting the personal preference of the user in combination with the personalized requirements of the user, therefore, the adoption rate of the quick reply by the user is improved, and the satisfaction degree of the user on the quality of the quick reply service is greatly improved.
Specifically, fig. 1 is a flowchart of a shortcut information generation method based on personalized topics according to an embodiment of the present application, and as shown in fig. 1, the method includes:
The theme can be understood as different communication interaction scenes of the user, and is used for classifying the quick reply information according to the theme so as to facilitate the user to quickly find out the matched quick reply, and under different application scenes, the theme can include different contents, for example, the theme can include movie and television type themes such as 'beautiful girls', for example, the theme can include game type themes such as 'royal glory', 'QQ flying car', for example, the theme can include text transmission type themes such as 'barrage', and the like.
In the actual execution process, the user can select the interested subject to conveniently formulate the corresponding shortcut information, or the preference information of the user is determined according to the historical behavior information of the user (including the chat information of the user in the frequently-used software, the frequently-discussed information in the chat software, and the like), the label information representing the subject of the user is set according to the preference information of the user, each subject matched with the label information is determined, and further, the text information sent by the user for each subject is obtained.
Certainly, in the actual execution process, the interactive information in the interactive scene where the user is currently located may also be analyzed to determine each topic matched with the interactive information semantics, and further, the text information sent by the user for each topic is obtained, so as to determine the quick reply matched with the current interactive scene, and improve the flexibility of the quick reply, for example, when the user is currently in a WeChat chat scene, the interactive information includes "Xiaoming is played by a roughneck", and "i still does not look like the roughneck", then according to the keyword recognition and semantic analysis, the topics matched with the current scene semantics are determined to be "roughneck" and "roughneck", so as to obtain the text information sent by the user for the topics "roughneck" and "roughneck".
The theme can be set by the user according to the personal preference, or can be calibrated by the system according to the application type installed by the user, for example, if the user installs 'royal glory', the corresponding theme includes 'royal glory', or can be analyzed and obtained according to the collected user behavior information.
Specifically, the text information sent by the user for each topic in the current period is collected according to a preset collection period, for example, chat information sent by the user in a "royal glory" game, barrage information sent in video playing software, and the like, wherein the duration of the preset period can be set according to the processing capability of the system.
And 102, acquiring the sending frequency of the text information, and screening out the target text information matched with a preset screening strategy according to the sending frequency.
It can be understood that the frequency of sending the text information in each topic by the user is selected to represent the preference and the common reply habit of the user, so that the sending frequency of the text information can be obtained to screen out the target text information matched with the preset screening strategy according to the sending frequency.
The preset screening strategy is that a preset number of target text messages with high sending frequency of a user are screened out, for example, the target text messages with the sending frequency of the first 10 are sent out; as another possible implementation manner, semantic recognition is performed on all target text information, text information with the same semantic similarity is clustered, an average value of transmission frequencies of the clustered text information of multiple categories is compared, and in the clustered text information with the transmission frequency of the first few digits, any one of any one category of clustered text information or text information with a higher transmission frequency is used as the target text information.
And 103, performing semantic matching on the target text information and preset emotion package description information, and determining a target emotion package with the semantic matching degree meeting a preset threshold.
It can be understood that, in this embodiment, in order to further enrich the content of the quick reply, the emoticon may be further matched based on target text information commonly used by the user, that is, the target text information is semantically matched with preset emoticon description information, where the emoticon description information may be description information added by a developer for the emoticon when the emoticon is set, or text information in an emoticon picture may be wrapped, and then, the emoticon whose semantic matching degree satisfies a preset threshold is taken as the target emoticon corresponding to the target text information.
The preset emoticon may be from an emoticon mall or from an emoticon downloaded by the user himself, which is not limited herein.
And 104, generating shortcut information corresponding to each theme in the current period according to the target expression packet and the target text information.
Specifically, shortcut information corresponding to each topic in the current period is generated according to the target emotion packet and the target text information, the shortcut information includes text information and emotion packet information, and the text information in the shortcut information may be corrected wrongly written words, simplified text information and the like.
Further, as shown in fig. 2, after acquiring the shortcut information, a shortcut reply may be provided according to a selection of the user, that is, after step 104, the method further includes:
Specifically, in consideration of the personalized requirements of the user, a plurality of pieces of shortcut information corresponding to a plurality of topics of the user are determined, where the plurality of topics may be understood as topics preferred by the user or topics related to the current interaction scenario mentioned above. In step 202, after the shortcut reply instruction of the user is obtained, a plurality of shortcut messages are provided for the user.
Specifically, after a quick reply instruction of a user is obtained, a plurality of pieces of quick information are provided for the user, so that quick reply service is provided for the user.
And step 203, sending the selected target shortcut information according to the selection instruction of the user.
It should be emphasized that, in the embodiment of the present application, one target shortcut information selected by the user may be obtained, for example, text information included in one shortcut information selected by the user, or emoticon information, or text information and emoticon information may be sent, and multiple target information selected by the user at one time may also be obtained and sent at the same time, for example, multiple emoticons in multiple shortcut information selected by the user may be sent at the same time to form a bead-and-cannon-like effect.
In the embodiment of the present application, the form of providing the shortcut service differs according to different application scenarios, and as a possible implementation, as shown in fig. 3-a and 3-B, a tab corresponding to each theme is set, and the tab is set on an input interface of an input method, thereby acquiring the trigger operation of the user on the tab, displaying the quick reply information corresponding to the trigger operation, wherein, when the quick reply information corresponding to the theme is displayed, as shown in fig. 3-a, the text information in the quick reply information can be displayed in a list form, and further when the user triggers the quick reply emoticon option, the emoticon under the theme is displayed, all controls for sending by one key are arranged on the interfaces of the expression packet information and the text information in the shortcut information so as to meet the requirement of a user for sending a plurality of shortcut information at the same time.
In this embodiment, shortcut information is set in the input method, wherein as shown in fig. 4, a specific shortcut reply menu may be set in the input method menu, and when the user triggers the menu, the shortcut information as shown in fig. 3-a and fig. 3-B is presented.
As another possible implementation manner, the shortcut information service icon may also be directly displayed in a floating window form, and after the user clicks the icon, the corresponding shortcut information is displayed for the user to select.
In the actual implementation process, the personal preference of the user is changed, and therefore, in order to adapt to the change, the shortcut information may be updated, that is, the usage frequency of the shortcut information in the current period may be obtained, the shortcut information to be updated, whose usage frequency is smaller than the preset threshold, is determined, new reference text information sent for the corresponding topic in the current period is obtained, the reference sending frequency of the new reference text information is obtained, the updated text information is determined according to the new reference sending frequency, and the shortcut information to be updated is updated according to the updated text information in the next period.
For example, it is detected that the frequency of using the shortcut reply message a under the topic 1 by the user in the current period is less than the preset value, the quick reply information a is considered not to satisfy the current preference of the user, so that a new quick reply information needs to be selected to replace the quick reply information a, that is, new reference text information sent for the topic 1 in the current period is counted, the new reference text information with higher current sending frequency is determined to be B according to the sending frequency of the reference text information, and the B is not repeated with other text information under the topic 1, therefore, in the next period, the quick reply message A is replaced by the reference text message B, when the reference text information is repeated with other text information under the subject 1, high-to-low screening is assisted according to the use frequency of the reference text information until the reference text information which is not repeated with the other text information under the subject 1 is screened out.
Certainly, in some scenarios, in order to improve the quality of the quick reply, active change of the user on the quick information may be accepted, for example, the quick information deleted by the user is permanently deleted without participating in subsequent update, the quick information manually added by the user is not involved in statistics and update of the usage rate, that is, a higher priority is set for a manual operation result of the user, so as to further meet personalized requirements of the user.
To sum up, according to the method for generating shortcut information based on personalized topics, text information sent by a user for each topic in a current period is collected according to a preset period, sending frequency of the text information is obtained, target text information matched with a preset screening strategy is screened out, furthermore, semantic matching is performed on the target text information and description information of a preset emotion bag, a target emotion bag with a semantic matching degree meeting a preset threshold is determined, and finally, shortcut information corresponding to each topic in the current period is generated according to the target emotion bag and the target text information. Therefore, the quick information corresponding to a plurality of topics commonly used by the user is provided based on the personal preference of the user, and the user satisfaction of the quick reply service is improved.
In order to implement the foregoing embodiments, an embodiment of the present application provides a shortcut information generating apparatus based on a personalized theme.
Fig. 5 is a schematic structural diagram of a shortcut information generation apparatus based on personalized theme according to an embodiment of the present application, and as shown in fig. 5, the apparatus includes: an acquisition module 10, a screening module 20, a determination module 30 and a generation module 40.
The acquisition module 10 is configured to preset an acquisition period, and acquire text information sent by a user for each topic in the acquisition period.
And the screening module 20 is configured to acquire a sending frequency of the text information, and screen out target text information matched with a preset screening policy according to the sending frequency.
The determining module 30 is configured to perform semantic matching on the target text information and the preset emoticon description information, and determine a target emoticon of which the semantic matching degree meets a preset threshold.
And the generating module 40 is configured to generate shortcut information corresponding to each topic in the current period according to the target expression package and the target text information.
In one embodiment of the present application, as shown in fig. 6, the apparatus further comprises an obtaining module 50, a providing module 60 and a selecting module 70 on the basis of that shown in fig. 5, wherein,
the obtaining module 50 is configured to obtain a plurality of shortcut information corresponding to a plurality of topics for the user.
The providing module 60 is configured to provide a plurality of shortcut information to the user after obtaining the shortcut reply instruction of the user.
And the selecting module 70 is used for sending the selected target shortcut information according to the selection instruction of the user.
In an embodiment of the present application, the selecting module 70 is specifically configured to obtain one or more target shortcut information selected by a user, and send the one or more target shortcut information at the same time.
In one embodiment of the present application, as shown in fig. 7, on the basis as shown in fig. 6, the obtaining module 50 comprises a first determining unit 51 and a second determining unit 52, wherein,
a first determining unit 51 for determining preference information of the user according to the historical behavior information of the user.
A second determining unit 52 for determining a plurality of topics matching the preference information.
In one embodiment of the present application, as shown in fig. 8, the obtaining module 50 includes a obtaining unit 53 and a third determining unit 54 on the basis of that shown in fig. 6, wherein,
the obtaining unit 53 is configured to obtain interaction information of an interaction scene where the user is currently located.
A third determining unit 54 for determining a plurality of topics semantically matching the interactive information.
In an embodiment of the present application, as shown in fig. 9, on the basis of fig. 6, the apparatus further includes a setting module 80, where the setting module 80 is configured to set a tab corresponding to each theme, and set the tab on an input interface of the input method.
The providing module 60 is specifically configured to acquire a trigger operation of the user on the tab, and display quick reply information corresponding to the trigger operation.
It should be noted that the explanation of the embodiment of the shortcut information generation method based on personalized theme is also applicable to the shortcut information generation apparatus based on personalized theme in this embodiment, and therefore, the explanation is not repeated here.
To sum up, the shortcut information generation device based on personalized topics according to the embodiment of the present application collects text information sent by a user for each topic in a current period according to a preset period, obtains a sending frequency of the text information, screens out target text information matched with a preset screening policy, performs semantic matching on the target text information and preset emotion bag description information, determines a target emotion bag with a semantic matching degree meeting a preset threshold, and finally generates shortcut information corresponding to each topic in the current period according to the target emotion bag and the target text information. Therefore, the quick information corresponding to a plurality of topics commonly used by the user is provided based on the personal preference of the user, and the user satisfaction of the quick reply service is improved.
In order to implement the foregoing embodiments, an electronic device is further provided in an embodiment of the present application, including a processor and a memory;
the processor reads the executable program codes stored in the memory to run the program corresponding to the executable program codes, so as to implement the shortcut information generation method based on personalized themes as described in the above embodiments.
FIG. 10 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present application. The electronic device 12 shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in FIG. 10, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
The processing unit 16 executes various functional applications and data processing, for example, implementing the methods mentioned in the foregoing embodiments, by executing programs stored in the system memory 28.
In order to implement the foregoing embodiments, the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for generating shortcut information based on personalized topics according to the foregoing embodiments.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (15)
1. A shortcut information generation method based on personalized themes is characterized by comprising the following steps:
presetting an acquisition period, and acquiring text information sent by a user for each theme in the acquisition period;
acquiring the sending frequency of the text information, clustering the text information with similar meanings, generating clustering text information of multiple categories, determining target clustering text information with the mean value in a preset order in the clustering text information of the multiple categories according to the mean value of the sending frequency of the text information in each clustering text information, and determining the target text information according to the sending frequency of the text information in the target clustering text information;
performing semantic matching on the target text information and preset expression package description information, and determining a target expression package with a semantic matching degree meeting a preset threshold;
and generating shortcut information corresponding to each theme in the current period according to the target expression packet and the target text information.
2. The method of claim 1, further comprising:
acquiring a plurality of shortcut information corresponding to a plurality of themes of the user;
after a shortcut reply instruction of the user is acquired, providing the plurality of shortcut information for the user;
and sending the selected target shortcut information according to the selection instruction of the user.
3. The method of claim 1, wherein before the preset collection period, obtaining the text information sent by the user for each topic in the collection period, the method further comprises:
determining label information of the user according to the historical behavior information of the user;
determining each topic that matches the tag information.
4. The method of claim 1, wherein before the preset collection period, obtaining the text information sent by the user for each topic in the collection period, the method further comprises:
acquiring the interaction information of the current interaction scene of the user;
determining each topic semantically matching the interaction information.
5. The method of claim 2, wherein before the obtaining of the shortcut reply instruction of the user, the method comprises:
setting a tab corresponding to each theme, and setting the tab on an input interface of an input method;
after the shortcut reply instruction of the user is obtained, providing the shortcut information to the user includes:
and acquiring the trigger operation of the user on the tab, and displaying the quick reply information corresponding to the trigger operation.
6. The method of claim 2, wherein the sending the selected target shortcut information according to the selection instruction of the user comprises:
and acquiring one or more target shortcut information selected by the user, and simultaneously sending the one or more target shortcut information.
7. The method of claim 1, further comprising:
acquiring the use frequency of the shortcut information in the current period;
determining the shortcut information to be updated with the use frequency smaller than a preset threshold value, and acquiring new reference text information sent in the current period aiming at a theme corresponding to the shortcut information to be updated;
acquiring the reference sending frequency of the new reference text information, and determining updated text information according to the reference sending frequency;
and updating the shortcut information to be updated according to the updated text information in the next period.
8. A shortcut information generation apparatus based on personalized theme, comprising:
the acquisition module is used for presetting an acquisition period and acquiring text information sent by a user aiming at each theme in the acquisition period;
the screening module is used for acquiring the sending frequency of the text information, clustering the text information with similar meanings, generating clustering text information of multiple categories, determining target clustering text information with the mean value in a preset sequence in the clustering text information of the multiple categories according to the mean value of the sending frequency of the text information in each clustering text information, and determining the target text information according to the sending frequency of the text information in the target clustering text information;
the determining module is used for performing semantic matching on the target text information and preset emotion package description information and determining a target emotion package of which the semantic matching degree meets a preset threshold;
and the generating module is used for generating shortcut information corresponding to each theme in the current period according to the target expression package and the target text information.
9. The apparatus of claim 8, further comprising:
the acquisition module is used for acquiring a plurality of shortcut information corresponding to a plurality of themes of the user;
the providing module is used for providing the plurality of shortcut information to the user after acquiring the shortcut reply instruction of the user;
and the selection module is used for sending the selected target shortcut information according to the selection instruction of the user.
10. The apparatus of claim 9, wherein the acquisition module comprises:
the first determining unit is used for determining the label information of the user according to the historical behavior information of the user;
and the second determining unit is used for determining each theme matched with the label information.
11. The apparatus of claim 9, wherein the acquisition module comprises:
the acquisition unit is used for acquiring the interaction information of the current interaction scene of the user;
and the third determining unit is used for determining each theme semantically matched with the interactive information.
12. The apparatus of claim 9, further comprising:
the setting module is used for setting the tabs corresponding to the themes and setting the tabs on an input interface of an input method;
the providing module is specifically configured to:
and acquiring the trigger operation of the user on the tab, and displaying the quick reply information corresponding to the trigger operation.
13. The apparatus of claim 9, wherein the selection module is specifically configured to:
and acquiring one or more target shortcut information selected by the user, and simultaneously sending the one or more target shortcut information.
14. An electronic device comprising a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the shortcut information generation method based on personalized theme according to any one of claims 1 to 7.
15. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the personalized theme based shortcut information generation method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811636161.4A CN109710753B (en) | 2018-12-29 | 2018-12-29 | Method and device for generating shortcut information based on personalized theme and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811636161.4A CN109710753B (en) | 2018-12-29 | 2018-12-29 | Method and device for generating shortcut information based on personalized theme and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109710753A CN109710753A (en) | 2019-05-03 |
CN109710753B true CN109710753B (en) | 2021-08-03 |
Family
ID=66259585
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811636161.4A Active CN109710753B (en) | 2018-12-29 | 2018-12-29 | Method and device for generating shortcut information based on personalized theme and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109710753B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110609723B (en) | 2019-08-21 | 2021-08-24 | 维沃移动通信有限公司 | Display control method and terminal equipment |
CN110738040B (en) * | 2019-10-17 | 2023-11-28 | 深圳市比量科技传媒有限公司 | Comment expansion method and comment expansion system |
CN111124208A (en) * | 2019-12-24 | 2020-05-08 | 三一重工股份有限公司 | Text sending method and system based on sending button |
CN112748828B (en) * | 2020-04-13 | 2023-11-28 | 腾讯科技(深圳)有限公司 | Information processing method, device, terminal equipment and medium |
CN111580720B (en) * | 2020-05-07 | 2021-08-24 | 腾讯科技(深圳)有限公司 | Data processing method, data processing equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870001A (en) * | 2012-12-11 | 2014-06-18 | 百度国际科技(深圳)有限公司 | Input method candidate item generating method and electronic device |
CN104063427A (en) * | 2014-06-06 | 2014-09-24 | 北京搜狗科技发展有限公司 | Expression input method and device based on semantic understanding |
CN106126709A (en) * | 2016-06-30 | 2016-11-16 | 北京奇虎科技有限公司 | Generate the method and device of chatting facial expression in real time |
US20180101576A1 (en) * | 2016-10-10 | 2018-04-12 | Alibaba Group Holding Limited | Content Recommendation and Display |
CN108062375A (en) * | 2017-12-12 | 2018-05-22 | 百度在线网络技术(北京)有限公司 | A kind of processing method, device, terminal and the storage medium of user's portrait |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106339495A (en) * | 2016-08-31 | 2017-01-18 | 广州智索信息科技有限公司 | Topic detection method and system based on hierarchical incremental clustering |
-
2018
- 2018-12-29 CN CN201811636161.4A patent/CN109710753B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870001A (en) * | 2012-12-11 | 2014-06-18 | 百度国际科技(深圳)有限公司 | Input method candidate item generating method and electronic device |
CN104063427A (en) * | 2014-06-06 | 2014-09-24 | 北京搜狗科技发展有限公司 | Expression input method and device based on semantic understanding |
CN106126709A (en) * | 2016-06-30 | 2016-11-16 | 北京奇虎科技有限公司 | Generate the method and device of chatting facial expression in real time |
US20180101576A1 (en) * | 2016-10-10 | 2018-04-12 | Alibaba Group Holding Limited | Content Recommendation and Display |
CN108062375A (en) * | 2017-12-12 | 2018-05-22 | 百度在线网络技术(北京)有限公司 | A kind of processing method, device, terminal and the storage medium of user's portrait |
Also Published As
Publication number | Publication date |
---|---|
CN109710753A (en) | 2019-05-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109710753B (en) | Method and device for generating shortcut information based on personalized theme and electronic equipment | |
US11190821B2 (en) | Methods and apparatus for alerting users to media events of interest using social media analysis | |
US9118811B2 (en) | Predicted concurrent streaming program selection | |
CN105528392B (en) | Classification label ordering method and device | |
CN108563655B (en) | Text-based event recognition method and device | |
CN106888236B (en) | Session management method and session management device | |
CN104503975B (en) | Recommendation card customization method and device | |
WO2008076997A1 (en) | Enhancing user experiences using aggregated device usage data | |
CN106021449A (en) | Searching method and device for mobile terminal and mobile terminal | |
US11374894B2 (en) | Confusion reduction in an online social network | |
CN109274999A (en) | A kind of video playing control method, device, equipment and medium | |
CN109255070B (en) | Recommendation information processing method and device, computer equipment and storage medium | |
US20140163956A1 (en) | Message composition of media portions in association with correlated text | |
CN112187624B (en) | Message reply method and device and electronic equipment | |
US20190288973A1 (en) | Augmented expression sticker control and management | |
US10306316B2 (en) | Attention diverter responsive to determination of viewer and content | |
CN109857907B (en) | Video positioning method and device | |
CN108235126B (en) | Method and device for inserting recommendation information in video | |
WO2023109831A1 (en) | Message processing method and apparatus and electronic device | |
US20190272330A1 (en) | Method and device for categorizing multimedia resources | |
CN113515336B (en) | Live room joining method, creation method, device, equipment and storage medium | |
US11700285B2 (en) | Filtering video content items | |
CN112533032B (en) | Video data processing method and device and storage medium | |
US11151612B2 (en) | Automated product health risk assessment | |
US11303683B2 (en) | Methods and systems for managing distribution of online content based on content maturity |
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 |