CN107203279B - Keyword prompting method and device - Google Patents

Keyword prompting method and device Download PDF

Info

Publication number
CN107203279B
CN107203279B CN201710378222.0A CN201710378222A CN107203279B CN 107203279 B CN107203279 B CN 107203279B CN 201710378222 A CN201710378222 A CN 201710378222A CN 107203279 B CN107203279 B CN 107203279B
Authority
CN
China
Prior art keywords
applications
application
input
keyword
keywords
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710378222.0A
Other languages
Chinese (zh)
Other versions
CN107203279A (en
Inventor
崔建伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710378222.0A priority Critical patent/CN107203279B/en
Publication of CN107203279A publication Critical patent/CN107203279A/en
Application granted granted Critical
Publication of CN107203279B publication Critical patent/CN107203279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a keyword prompting method and a device, wherein the keyword prompting method comprises the following steps: obtaining a keyword historically input in a first application; determining a second application associated with the first application; and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation. When a user carries out a certain activity, the user often inputs the keywords in the multiple APPs based on the same keywords, so that the keywords which are input historically in the first application are prompted to be input in the second application, the operation of inputting the keywords by the user is simplified, and the user experience is improved.

Description

Keyword prompting method and device
Technical Field
The present disclosure relates to the field of electronic communications technologies, and in particular, to a keyword prompting method and device.
Background
Nowadays, various applications (english: applications, APPs) are installed on many electronic devices to satisfy various needs of users. Some applications usually use an input function in the using process, so as to facilitate user input, when a user clicks an input field, a plurality of keywords are recommended to the user, and the keywords are often words with high input frequency when the user uses the application in the past, or words with high input frequency when all the users use the application in the past are counted.
Disclosure of Invention
The embodiment of the disclosure provides a keyword prompting method and device. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, a keyword prompting method is provided, which is applied to an electronic device, and the method includes:
obtaining a keyword historically input in a first application;
determining a second application associated with the first application;
and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation.
When a user carries out a certain activity, the user often inputs the keywords in the multiple APPs based on the same keywords, so that the keywords which are input historically in the first application are prompted to be input in the second application, the operation of inputting the keywords by the user is simplified, and the user experience is improved.
In one embodiment, determining a second application associated with the first application includes:
acquiring an association database, wherein data in the association database indicates an association relation among applications;
a second application associated with the first application is determined from the association database.
The association relation among the applications is stored in the association database, and when the keywords are input in a certain application, the keywords of other applications can be prompted to the user according to the association relation among the applications, so that the operation of the user is simplified.
In one embodiment, prior to determining the second application associated with the first application, the method further comprises:
and generating a correlation database according to the input correlation operation, wherein the correlation operation indicates to establish the correlation between corresponding applications in each application.
The association relation between the applications in the association database can be generated according to the association operation input by the user, namely, the user can define which applications are associated with each other by himself, so that the requirements of different users are met, and the method is more flexible.
In one embodiment, the method includes:
and determining the association relation among the applications according to the keywords which are historically input in the applications, and generating an association database.
The incidence relation among the applications is determined according to the keywords input historically in the applications, the user does not need to define the incidence relation by himself, the user operation is further simplified, and the incidence relation determined based on the keywords input historically can objectively represent the input habits of the user.
In one embodiment, outputting the hint information includes:
keywords are displayed in the input area.
The keywords are displayed in the input area, so that a user can visually see the keywords, and further the keywords are determined to be the keywords which are not wanted to be input, and misoperation is avoided.
In one embodiment, displaying keywords in an input area includes:
displaying the keywords in the floating window;
detecting a selection operation aiming at a keyword;
in response to detecting the selection operation, displaying a keyword indicated by the selection operation in the input area.
The keywords are displayed in the floating window, and the user can determine whether the keywords are the keywords which are wanted to be input or not, and then select the keywords or cancel the keywords, so that input errors can be avoided.
In one embodiment, outputting the hint information includes:
displaying the keywords according to the target sequence;
wherein the target order is determined according to at least one of a historical input frequency, a correlation with the second application, and an input time of the keyword.
When a plurality of keywords exist, the keywords are displayed according to the target sequence, a plurality of choices are provided for the user, and the target sequence is determined according to the past input history of the user, so that the user requirements are met more flexibly.
In one embodiment, the keywords are keywords that are entered into the first application within a predetermined time period.
And prompting to input the keywords in the first application within a preset time period in the second application, so that the consistency of user input is met, and the user experience is further improved.
According to a second aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: the device comprises a history module, a correlation module and an output module;
the history module is used for acquiring keywords which are historically input in the first application;
an association module to determine a second application associated with the first application;
and the output module is used for outputting prompt information in the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation.
In one embodiment, the association module includes: obtaining a submodule and determining a submodule;
the obtaining sub-module is used for obtaining an association database, and data in the association database indicates association relations among applications;
and the determining submodule is used for determining a second application associated with the first application according to the association database.
In one embodiment, the electronic device further comprises a first generation module;
and the first generation module is used for generating a correlation database according to the input correlation operation, and the correlation operation indicates to establish the correlation between corresponding applications in each application.
In one embodiment, the electronic device further comprises a second generation module;
and the second generation module is used for determining the incidence relation among the applications according to the keywords which are historically input in the applications and generating an incidence database.
In one embodiment, the electronic device further comprises a display module;
and the display module is used for displaying the keywords in the input area.
In one embodiment, a display module includes: the window submodule, the detection submodule and the response submodule;
the window submodule is used for displaying the keywords in the floating window;
the detection submodule is used for detecting the selected operation aiming at the keyword;
and the response submodule is used for responding to the detection of the selection operation and displaying the key words indicated by the selection operation in the input area.
In one embodiment, the output module includes a sequential sub-module;
the sequence submodule is used for displaying the keywords according to the target sequence;
wherein the target order is determined according to at least one of a historical input frequency, a correlation with the second application, and an input time of the keyword.
In one embodiment, the keywords are keywords that are entered into the first application within a predetermined time period.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
obtaining a keyword historically input in a first application;
determining a second application associated with the first application;
and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation.
In one embodiment, the processor may be further configured to:
acquiring an association database, wherein data in the association database indicates an association relation among applications;
a second application associated with the first application is determined from the association database.
In one embodiment, the processor may be further configured to:
and generating a correlation database according to the input correlation operation, wherein the correlation operation indicates to establish the correlation between corresponding applications in each application.
In one embodiment, the processor may be further configured to:
and determining the association relation among the applications according to the keywords which are historically input in the applications, and generating an association database.
In one embodiment, the processor may be further configured to:
keywords are displayed in the input area.
In one embodiment, the processor may be further configured to:
displaying the keywords in the floating window;
detecting a selection operation aiming at a keyword;
in response to detecting the selection operation, displaying a keyword indicated by the selection operation in the input area.
In one embodiment, the processor may be further configured to:
displaying the keywords according to the target sequence;
wherein the target order is determined according to at least one of a historical input frequency, a correlation with the second application, and an input time of the keyword.
In one embodiment, the keywords are keywords that are entered into the first application within a predetermined time period.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a keyword prompting method in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating a historical input record, according to an exemplary embodiment;
FIG. 3 is a flow diagram illustrating a method of generating an association database in accordance with an exemplary embodiment;
FIG. 4 is an interaction diagram illustrating a keyword prompting method in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 7 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 8 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 10 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 11 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 12 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
fig. 13 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Many applications have an input function, so that the applications are convenient for users to use, and when the users input the applications, the users can recommend a plurality of keywords to the users, wherein the keywords are generally words which are input by the users with high frequency when the users use the applications in the past. However, in some application scenarios, the user inputs words other than the words that have been input before. For example, in a specific application scenario, a user inputs a restaurant in the group buying software, group-buys a voucher for the restaurant, and then inputs the restaurant as a destination using the taxi-taking software, and if the user does not frequently go to the restaurant, or the taxi-taking software does not have an input record of the restaurant as a destination before, the user needs to input the name of the restaurant again, which is troublesome.
The technical scheme provided by the embodiment of the disclosure is applied to electronic equipment, and keywords historically input in a first application are obtained; determining a second application associated with the first application; and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation. When a user carries out a certain activity, the user often inputs the keywords in the multiple APPs based on the same keywords, so that the keywords which are input historically in the first application are prompted to be input in the second application, the operation of inputting the keywords by the user is simplified, and the user experience is improved.
Fig. 1 is a flowchart illustrating a keyword prompting method according to an exemplary embodiment, where the method is applied to an electronic device, and as shown in fig. 1, the keyword prompting method includes steps 101 and 103:
in step 101, keywords historically entered in a first application are obtained.
The keywords historically entered in the first application may comprise at least one keyword that was entered by the user in the first application. It should be noted that there may be a plurality of first applications, and it is necessary to obtain a keyword historically input in each first application in the plurality of first applications, or of course, a part of the keyword historically input in the first application may also be obtained.
In one embodiment, the keywords are keywords that are entered into the first application within a predetermined time period. The keywords may be all keywords input by the first application from a history of installation to the current time, or may be keywords input by the first application in the last month or keywords input by the first application in the last three months, which is not limited by the present disclosure.
In step 102, a second application associated with the first application is determined.
The second application may be any one of applications installed on the electronic device, such as a chat application, a group purchase application, a taxi application, a mapping application, and the like.
In one embodiment, determining a second application associated with the first application includes: acquiring an association database, wherein data in the association database indicates an association relation among applications; a second application associated with the first application is determined from the association database.
The association relation among the applications is stored in the association database, and when the keywords are input in a certain application, the keywords of other applications can be prompted to the user according to the association relation among the applications, so that the operation of the user is simplified.
Illustratively, two ways of generating the association database are provided herein:
in the first mode, the association database is generated according to the input association operation, and the association operation indicates the establishment of the association relationship between the corresponding applications in each application.
The association relation between the applications in the association database can be generated according to the association operation input by the user, namely, the user can define which applications are associated with each other by himself, so that the requirements of different users are met, and the method is more flexible.
In the second method, the association relationship between the applications is determined according to the keywords historically input in the applications, and an association database is generated.
The incidence relation among the applications is determined according to the keywords input historically in the applications, the user does not need to define the incidence relation by himself, the user operation is further simplified, and the incidence relation determined based on the keywords input historically can objectively represent the input habits of the user.
For example, the association database may determine two applications that the user may continuously input for the same word as related applications, or the association database may determine two applications that the user may continuously input as related applications. The association relationship can be set according to the user preference. For example, the group purchase application and the taxi taking application may be related applications in the association database, and the mapping application and the taxi taking application may be related applications, which are only exemplified herein, and the disclosure is not limited thereto.
In step 103, in the process of running the second application, the prompt information is output.
The hint information indicates to enter the keyword in the second application by a one-step operation. It should be noted that the one-step operation is that the user can input the keyword by performing one operation, and the user does not need to input the keyword by using the pinyin input method or the handwriting input method. For example, taking the electronic device as a smart phone as an example, the output prompt information may be a pull-down menu of the input field, the pull-down menu displays a plurality of keywords, and the user only needs to click the keyword to be input in the pull-down menu to complete the input.
In one embodiment, outputting the hint information includes: keywords are displayed in the input area.
The keywords are displayed in the input area, so that a user can visually see the keywords, and further the keywords are determined to be the keywords which are not wanted to be input, and misoperation is avoided.
In one embodiment, displaying keywords in an input area includes: displaying the keywords in the floating window; detecting a selection operation aiming at a keyword; in response to detecting the selection operation, displaying a keyword indicated by the selection operation in the input area.
The keywords are displayed in the floating window, and the user can determine whether the keywords are the keywords which are wanted to be input or not, and then select the keywords or cancel the keywords, so that input errors can be avoided.
In one embodiment, outputting the hint information includes: displaying the keywords according to the target sequence;
wherein the target order is determined according to at least one of a historical input frequency, a correlation with the second application, and an input time of the keyword.
When a plurality of keywords exist, the keywords are displayed according to the target sequence, a plurality of choices are provided for the user, and the target sequence is determined according to the past input history of the user, so that the user requirements are met more flexibly.
Illustratively, two specific embodiments are presented herein to illustrate how the target order is determined:
in one embodiment, before displaying the keywords in the target order, the method further comprises: and determining a target sequence according to the sequence of the input times of at least one keyword in a first preset time period from large to small.
The keywords are sorted according to the previous input times of the user, words frequently input by the user are displayed at the front position, few words input by the user are displayed at the rear position, the input habit of the user is met, and the user can quickly find the words to be input.
In another embodiment, before displaying the keywords in the target order, the method further comprises: and determining a target sequence from a backward-forward sequence according to the time of inputting at least one keyword in the first application within a second preset time period.
The user may have consistency in the input process, and one word is input in a plurality of applications, so that the words input by the user are arranged from latest to earliest in time sequence, and the user can quickly find the latest input word.
Of course, the sorting manner is not limited to the above two manners, and the two sorting manners may be combined to sort, for example, 3 keywords input by the user most recently in the first application are ranked in the front 3 bits from the back to the front according to the input time, and the remaining keywords are ranked in the front 3 bits from the large input time to the small input time within the first preset time period.
For example, the electronic device is a smartphone, and is applied to an input process of a user in a second application, where the user needs to input a keyword in an input field of the second application. As shown in fig. 2, fig. 2 is a schematic diagram of a history input record according to an exemplary embodiment, and 10 keywords are taken as an example for explanation. In fig. 2, there are two first applications, application a and application B, the preset time periods include a first preset time period and a second preset time period, and taking the current time as 2016, 12 and 25 days, the first preset time period is a week from 2016, 12 and 19 days to 2016, 12 and 25 days, the second preset time period may be a day from 2016, 12 and 25 days, and the obtained historical input records of application a and application B may be two input records applied in a week from 2016, 12 and 19 days to 2016, 12 and 25 days. The history input record of the application A comprises 5 keywords which are respectively a1, a2, a3, a4 and B5, and the history input record of the application B comprises 5 keyword ratios which are B1, B2, B3, B4 and B5. The history input record of each application comprises the input times of each keyword and the latest input time. First, the keywords in the second preset time period are ranked, that is, the keywords with the latest input time of 2016, 12 and 25 days are ranked. In fig. 2, the keywords whose latest input time is 2016, 12, 25 have a5 and b4, which are sorted from the back to the front as a5 and b 4; secondly, sorting the keywords in the first preset time period into a3, a2, b2, a4, b4, a1, b3 and b1 in descending order of input times; the input times of a1 and b3 are both 3, and the keywords with the same input times may be sorted according to the order from the last input time to the last input time, or sorted according to the default order.
Of course, the embodiment of the present disclosure may also be combined with keywords determined in other manners, for example, in the process of inputting in the second application, the input of the keywords input historically by the first application is prompted, and meanwhile, the keywords input historically by the second application are prompted, so that the keywords that may be input by the user can be covered to a greater extent, the input operation of the user is simplified, and the user experience is improved.
The keyword prompting method provided by the embodiment of the disclosure acquires a keyword historically input in a first application; determining a second application associated with the first application; and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation. When a user carries out a certain activity, the user often inputs the keywords in the multiple APPs based on the same keywords, so that the keywords which are input historically in the first application are prompted to be input in the second application, the operation of inputting the keywords by the user is simplified, and the user experience is improved.
In the keyword prompting method provided in the embodiment corresponding to fig. 1, the source of the association database may be input by the user, or may be generated by the electronic device, where the electronic device may be a server or a terminal device, and the server may send the association database to the terminal device after generating the association database. Based on the keyword prompting method provided by the embodiment corresponding to fig. 1, a method for generating an association database is provided below, which specifically illustrates how an electronic device generates an association database. As shown in fig. 3, fig. 3 is a flowchart illustrating a method for generating an association database according to an exemplary embodiment, and referring to fig. 3, the keyword hint method provided by this embodiment includes steps 301 and 303:
in step 301, a relevance parameter for each of at least two applications is determined based on historical input records for the at least two applications.
The relevance parameter is used to indicate the relevance between two applications. For example, a correlation parameter between the first application and the second application is used to indicate a correlation between the first application and the second application. The first application and the second application are any two of the at least two applications.
The input records of the at least two applications comprise at least one keyword which is input in each application by the user within a third preset time period.
In one embodiment, determining a relevance parameter for each of at least two applications based on historical input records for the at least two applications comprises: counting the number of the same keywords in the historical input records of every two applications in at least two applications; the number of identical keywords in the history input records of every two applications is determined as the relevance parameter of every two applications.
Of course, there may be a plurality of calculation methods for the correlation parameter, and the correlation parameter may also be continuously updated, which is not necessarily listed in the embodiments of the present disclosure. Here, taking the correlation parameter between the first application and the second application as an example, how to update the correlation parameter is described in a specific manner.
The historical input records of the first application and the second application comprise keywords input by the user through the two applications within a third preset time period, for example, the third preset time period is one month. The historical input records for the first application and the second application may include keywords entered within the last month of the two applications. The correlation parameter between two applications may be according to the formula P ═ k1×P0+k2×P1Calculated, wherein P is the updated correlation parameter of the first application and the second application, P0Updating a pre-relevance parameter, P, for a first application and a second application1Correlation parameter, k, for a third preset time period for the first application and the second application1And k2Are weighting parameters. That is, P1Is a correlation parameter, P, between two applications calculated based on the historical input record of the last month0Is a correlation parameter between two applications one month ago last, if two applications have no correlation parameter one month ago last, then P0May be a default initial value. After the correlation parameters of the current two applications are obtained through calculation, a new historical input record is generated in the next month, and the two applications can be continuously processed based on the new historical input recordThe dependency parameters of the individual applications are updated. The calculated correlation parameters can be continuously adjusted according to the input condition of the user, the latest use habit of the user is met, and the keywords are more accurately determined for the user.
The server determines the correlation parameter from the historical input record, which may be obtained from the electronic device. In one embodiment, the method further comprises: and receiving historical input records of at least two applications sent by the terminal equipment.
In step 302, an association database is established according to the relevance parameters of each two applications of the at least two applications.
The association database is used to indicate a relevant application for each of the at least two applications.
In one embodiment, the method further comprises: when the correlation parameter of a first application and a second application in the at least two applications is larger than a preset threshold value, the first application and the second application are respectively determined as the correlation applications of the other side, and the first application and the second application are any two applications in the at least two applications.
If the correlation parameter is large, the correlation between the two applications is high, and when a user inputs in a certain application, the input words in the history input records in the application with high correlation are used as key words, and are likely to be words required to be input by the user, so that the user requirements can be well met.
In step 303, the association database is sent to the terminal device.
With reference to step 301 and step 303, the method for generating an association database provided by the embodiment of the present disclosure may be applied to the keyword prompting method provided by the embodiment corresponding to fig. 1, and may be a part of the keyword prompting method in the embodiment corresponding to fig. 1.
According to the method for generating the association database, the server determines the correlation parameters of every two applications in the at least two applications according to the historical input records of the at least two applications; establishing an association database according to the relevance parameters of every two applications in the at least two applications, wherein the association database is used for indicating the relevant application of each application in the at least two applications; and sending the association database to the terminal equipment. Because the server establishes the associated database according to the historical input records of each application, the calculation amount of the terminal equipment is reduced, and the associated database which accords with the input habit of the user can be established according to the historical input records, so that the user experience is improved.
Based on the keyword prompting method provided by the embodiments corresponding to fig. 1 and fig. 3, fig. 4 is an interaction diagram of a keyword prompting method shown according to an exemplary embodiment, the method is applied to a terminal device and a server, and referring to fig. 4, the keyword prompting method provided by the embodiment includes steps 401 and 407:
in step 401, the terminal device sends history input records of at least two applications to the server.
The input records of the at least two applications comprise at least one keyword which is input in each application by the user within a third preset time period.
In step 402, the server determines a relevance parameter for each of the at least two applications based on historical input records for the at least two applications.
In step 403, the server establishes an association database according to the relevance parameters of each two applications of the at least two applications.
Optionally, when the correlation parameter of the first application and the second application in the at least two applications is greater than a preset threshold, the first application and the second application may be respectively determined as the correlated applications of the other application, and the first application and the second application may be any two applications in the at least two applications.
In step 404, the server sends the association database to the terminal device.
In step 405, the terminal device acquires a keyword that is historically input in the first application.
In step 406, the terminal device determines a second application associated with the first application according to the association database.
In step 407, during the running of the second application, a prompt is output.
The hint information indicates to enter the keyword in the second application by a one-step operation.
The keyword prompting method provided by the embodiment of the disclosure acquires a keyword historically input in a first application; determining a second application associated with the first application; and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation. When a user carries out a certain activity, the user often inputs the keywords in the multiple APPs based on the same keywords, so that the keywords which are input historically in the first application are prompted to be input in the second application, the operation of inputting the keywords by the user is simplified, and the user experience is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Based on the keyword prompting method described in the embodiments corresponding to fig. 1 and fig. 4, fig. 5 is a block diagram of an electronic device according to an exemplary embodiment, which may be implemented as part or all of an electronic device through software, hardware or a combination of the two, and the electronic device is configured to perform the keyword prompting method described in the embodiments corresponding to fig. 1 and fig. 4. As shown in fig. 5, the electronic device 50 includes: a history module 501, an association module 502 and an output module 503;
a history module 501, configured to obtain a keyword historically input in a first application;
an association module 502 for determining a second application associated with the first application;
and an output module 503, configured to output a prompt message during the running of the second application, where the prompt message indicates that the keyword is input in the second application through a one-step operation.
In one embodiment, as shown in FIG. 6, FIG. 6 is a block diagram of an electronic device shown according to an exemplary embodiment, the association module 502 includes: acquiring a submodule 5021 and determining a submodule 5022;
the obtaining submodule 5021 is used for obtaining an association database, and data in the association database indicates an association relation among applications;
the determining sub-module 5022 is used for determining a second application associated with the first application according to the association database.
In one embodiment, as shown in fig. 7, fig. 7 is a block diagram of an electronic device shown according to an exemplary embodiment, the electronic device 50 further comprising a first generating module 504;
the first generating module 504 is configured to generate an association database according to an input association operation, where the association operation indicates to establish an association relationship between corresponding applications in each application.
In one embodiment, as shown in fig. 8, fig. 8 is a block diagram of an electronic device shown according to an exemplary embodiment, the electronic device 50 further includes a second generating module 505;
and a second generating module 505, configured to determine an association relationship between the applications according to the keywords historically input in the applications, and generate an association database.
In one embodiment, as shown in FIG. 9, FIG. 9 is a block diagram of an electronic device shown in accordance with an exemplary embodiment, electronic device 50 further includes a display module 506;
a display module 506 for displaying the keywords in the input area.
In one embodiment, as shown in FIG. 10, FIG. 10 is a block diagram of an electronic device shown according to an exemplary embodiment, the display module 506 comprising: window submodule 5061, detection submodule 5062 and response submodule 5063;
a window sub-module 5061 for displaying keywords in the floating window;
a detection submodule 5062 for detecting a selection operation for the keyword;
and the response sub-module 5063, configured to, in response to detecting the selection operation, display a keyword indicated by the selection operation in the input area.
In one embodiment, as shown in fig. 11, fig. 11 is a block diagram of an electronic device shown according to an exemplary embodiment, the output module 503 includes a sequence sub-module 5031;
a sequence sub-module 5031 for displaying the keywords in a target sequence;
wherein the target order is determined according to at least one of a historical input frequency, a correlation with the second application, and an input time of the keyword.
In one embodiment, the keywords are keywords that are entered into the first application within a predetermined time period.
The electronic equipment provided by the embodiment of the disclosure acquires a keyword historically input in a first application; determining a second application associated with the first application; and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation. When a user carries out a certain activity, the user often inputs the keywords in the multiple APPs based on the same keywords, so that the keywords which are input historically in the first application are prompted to be input in the second application, the operation of inputting the keywords by the user is simplified, and the user experience is improved.
Based on the methods described in the embodiments corresponding to fig. 1-4, fig. 12 is a block diagram of an electronic device according to an exemplary embodiment, which may be implemented as part or all of an electronic device through software, hardware or a combination of the two, and which is configured to perform the methods described in the embodiments corresponding to fig. 1-4. As shown in fig. 12, the electronic device 120 includes:
a processor 1201;
a memory 1202 for storing instructions executable by the processor 1201;
wherein the processor 1201 is configured to:
obtaining a keyword historically input in a first application;
determining a second application associated with the first application;
and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation.
In one embodiment, the processor 1201 may be further configured to:
acquiring an association database, wherein data in the association database indicates an association relation among applications;
a second application associated with the first application is determined from the association database.
In one embodiment, the processor 1201 may be further configured to:
and generating a correlation database according to the input correlation operation, wherein the correlation operation indicates to establish the correlation between corresponding applications in each application.
In one embodiment, the processor 1201 may be further configured to:
and determining the association relation among the applications according to the keywords which are historically input in the applications, and generating an association database.
In one embodiment, the processor 1201 may be further configured to:
keywords are displayed in the input area.
In one embodiment, the processor 1201 may be further configured to:
displaying the keywords in the floating window;
detecting a selection operation aiming at a keyword;
in response to detecting the selection operation, displaying a keyword indicated by the selection operation in the input area.
In one embodiment, the processor 1201 may be further configured to:
displaying the keywords according to the target sequence;
wherein the target order is determined according to at least one of a historical input frequency, a correlation with the second application, and an input time of the keyword.
In one embodiment, the keywords are keywords that are entered into the first application within a predetermined time period.
The electronic equipment provided by the embodiment of the disclosure acquires a keyword historically input in a first application; determining a second application associated with the first application; and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation. When a user carries out a certain activity, the user often inputs the keywords in the multiple APPs based on the same keywords, so that the keywords which are input historically in the first application are prompted to be input in the second application, the operation of inputting the keywords by the user is simplified, and the user experience is improved.
The electronic device provided by the embodiment of the present disclosure may be a terminal device as shown in fig. 13, fig. 13 is a block diagram of a terminal device shown according to an exemplary embodiment, the terminal device 130 may be a smart phone, a tablet computer, and the like, and the terminal device 130 is configured to perform the method described in the embodiment corresponding to fig. 1 to fig. 4.
Terminal device 130 may include one or more of the following components: a processing component 1301, a memory 1302, a power component 1303, a multimedia component 1304, an audio component 1305, an input/output (I/O) interface 1306, a sensor component 1307, and a communication component 1308.
The processing component 1301 generally controls the overall operation of the terminal device 130, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1301 may include one or more processors 13011 to execute instructions to perform all or part of the steps of the methods described above. Further, processing component 1301 may include one or more modules that facilitate interaction between processing component 1301 and other components. For example, the processing component 1301 may include a multimedia module to facilitate interaction between the multimedia component 1304 and the processing component 1301.
The memory 1302 is configured to store various types of data to support operations at the terminal device 130. Examples of such data include instructions for any application or method operating on terminal device 130, contact data, phonebook data, messages, pictures, videos, and so forth. The Memory 1302 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.
The power supply component 1303 provides power to the various components of the terminal device 130. The power components 1303 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal device 130.
The multimedia component 1304 includes a screen that provides an output interface between the terminal device 130 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1304 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal device 130 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1305 is configured to output and/or input an audio signal. For example, the audio module 1305 includes a Microphone (MIC) configured to receive an external audio signal when the terminal device 130 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in memory 1302 or transmitted via communication component 1308. In some embodiments, the audio component 1305 also includes a speaker for outputting audio signals.
The I/O interface 1306 provides an interface between the processing component 1301 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 1307 includes one or more sensors for providing various aspects of status assessment for the terminal device 130. For example, sensor component 1307 may detect an open/closed status of terminal device 130, the relative positioning of components, such as a display and keypad of terminal device 130, sensor component 1307 may also detect a change in the position of terminal device 130 or a component of terminal device 130, the presence or absence of user contact with terminal device 130, orientation or acceleration/deceleration of terminal device 130, and a change in the temperature of terminal device 130. The sensor assembly 1307 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor component 1307 may also include a photosensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1307 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 1308 is configured to facilitate communication between terminal device 130 and other devices in a wired or wireless manner. The terminal device 130 may access a Wireless network based on a communication standard, such as Wireless-Fidelity (WiFi), 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1308 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the Communication component 1308 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal Device 130 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components, for performing the keyword prompting method described in the embodiments corresponding to fig. 1 and 4.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as memory 1302 including instructions, that are executable by processing component 1301 of terminal device 130 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. When the instructions in the storage medium are executed by the processing component 1301 of the terminal device 130, the terminal device 130 is enabled to execute the keyword prompting method described in the embodiments corresponding to fig. 1 and fig. 4, where the method includes:
obtaining a keyword historically input in a first application;
determining a second application associated with the first application;
and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation.
In one embodiment, determining a second application associated with the first application includes:
acquiring an association database, wherein data in the association database indicates an association relation among applications;
a second application associated with the first application is determined from the association database.
In one embodiment, prior to determining the second application associated with the first application, the method further comprises:
and generating a correlation database according to the input correlation operation, wherein the correlation operation indicates to establish the correlation between corresponding applications in each application.
In one embodiment, the method includes:
and determining the association relation among the applications according to the keywords which are historically input in the applications, and generating an association database.
In one embodiment, outputting the hint information includes:
keywords are displayed in the input area.
In one embodiment, displaying keywords in an input area includes:
displaying the keywords in the floating window;
detecting a selection operation aiming at a keyword;
in response to detecting the selection operation, displaying a keyword indicated by the selection operation in the input area.
In one embodiment, outputting the hint information includes:
displaying the keywords according to the target sequence;
wherein the target order is determined according to at least one of a historical input frequency, a correlation with the second application, and an input time of the keyword.
In one embodiment, the keywords are keywords that are entered into the first application within a predetermined time period.
The terminal device provided by the embodiment of the disclosure acquires a keyword historically input in a first application; determining a second application associated with the first application; and outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation. When a user carries out a certain activity, the user often inputs the keywords in the multiple APPs based on the same keywords, so that the keywords which are input historically in the first application are prompted to be input in the second application, the operation of inputting the keywords by the user is simplified, and the user experience is improved.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A keyword prompting method is characterized by comprising the following steps:
obtaining a keyword historically input in a first application;
determining a second application associated with the first application;
outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation;
the determining a second application associated with the first application comprises:
acquiring an association database, wherein data in the association database indicates an association relation among applications;
determining the second application associated with the first application according to the association database;
the obtaining of the association database comprises:
determining a correlation parameter of each two applications in the at least two applications according to the historical input records of the at least two applications;
establishing a correlation database according to the correlation parameters of every two applications in at least two applications;
the determining the relevance parameter of each two applications of the at least two applications according to the historical input records of the at least two applications comprises:
acquiring a keyword input by a user in each of the at least two applications within a third preset time period;
determining a correlation parameter of every two applications in the at least two applications in the third preset time period according to the keyword input in each application in the at least two applications in the third preset time period;
and obtaining the updated correlation parameters of every two applications in the at least two applications according to the correlation parameters before updating of every two applications in the at least two applications and the correlation parameters of the third preset time period, and determining the updated correlation parameters of every two applications as the correlation parameters of every two applications in the at least two applications.
2. The method of claim 1, wherein prior to said determining the second application associated with the first application, the method further comprises:
and generating the association database according to the input association operation, wherein the association operation indicates to establish an association relationship between corresponding applications in each application.
3. The method according to claim 1, characterized in that it comprises:
and determining the association relation among the applications according to the keywords which are historically input in the applications, and generating the association database.
4. The method of claim 1, wherein outputting the prompt message comprises:
displaying the keyword in an input area.
5. The method of claim 4, wherein displaying the keyword in an input area comprises:
displaying the keywords in a floating window;
detecting a selected operation aiming at the keyword;
in response to detecting the selected operation, displaying a keyword indicated by the selected operation in an input area.
6. The method of claim 1, wherein outputting the prompt message comprises:
displaying the keywords according to a target sequence;
wherein the target order is determined according to at least one of a historical input frequency, a relevance to a second application, and an input time of the keyword.
7. The method according to any one of claims 1-6, wherein the keyword is a keyword that is entered into the first application within a predetermined time period.
8. An electronic device, comprising: the device comprises a history module, a correlation module and an output module;
the history module is used for acquiring keywords which are historically input in the first application;
the association module is used for determining a second application associated with the first application;
the output module is used for outputting prompt information in the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation;
the association module comprises: obtaining a submodule and determining a submodule;
the obtaining sub-module is used for obtaining an association database, and data in the association database indicates an association relation among applications;
the determining submodule is used for determining the second application associated with the first application according to the association database;
the obtaining submodule is used for determining the correlation parameters of every two applications in the at least two applications according to the historical input records of the at least two applications; establishing a correlation database according to the correlation parameters of every two applications in at least two applications;
the obtaining sub-module is specifically configured to obtain a keyword input by a user in each of the at least two applications within a third preset time period; determining a correlation parameter of every two applications in the at least two applications in the third preset time period according to the keyword input in each application in the at least two applications in the third preset time period; and obtaining the updated correlation parameters of every two applications in the at least two applications according to the correlation parameters before updating of every two applications in the at least two applications and the correlation parameters of the third preset time period, and determining the updated correlation parameters of every two applications as the correlation parameters of every two applications in the at least two applications.
9. The electronic device of claim 8, further comprising a first generation module;
the first generation module is used for generating the association database according to the input association operation, and the association operation indicates that the association relation between corresponding applications in each application is established.
10. The electronic device of claim 8, further comprising a second generation module;
and the second generation module is used for determining the incidence relation among the applications according to the keywords which are historically input in the applications and generating the incidence database.
11. The electronic device of claim 8, further comprising a display module;
the display module is used for displaying the keywords in the input area.
12. The electronic device of claim 11, wherein the display module comprises: the window submodule, the detection submodule and the response submodule;
the window submodule is used for displaying the keywords in a floating window;
the detection submodule is used for detecting the selected operation aiming at the keyword;
and the response submodule is used for responding to the detection of the selected operation and displaying the key words indicated by the selected operation in an input area.
13. The electronic device of claim 8, wherein the output module comprises a sequence submodule;
the sequence submodule is used for displaying the keywords according to a target sequence;
wherein the target order is determined according to at least one of a historical input frequency, a relevance to a second application, and an input time of the keyword.
14. The electronic device of any of claims 8-13, wherein the keyword is a keyword entered into the first application within a predetermined time period.
15. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
obtaining a keyword historically input in a first application;
determining a second application associated with the first application;
outputting prompt information during the process of running the second application, wherein the prompt information indicates that the keyword is input in the second application through one-step operation;
the determining a second application associated with the first application comprises:
acquiring an association database, wherein data in the association database indicates an association relation among applications;
determining the second application associated with the first application according to the association database;
the obtaining of the association database comprises:
determining a correlation parameter of each two applications in the at least two applications according to the historical input records of the at least two applications;
establishing a correlation database according to the correlation parameters of every two applications in at least two applications;
the determining the relevance parameter of each two applications of the at least two applications according to the historical input records of the at least two applications comprises:
acquiring a keyword input by a user in each of the at least two applications within a third preset time period;
determining a correlation parameter of every two applications in the at least two applications in the third preset time period according to the keyword input in each application in the at least two applications in the third preset time period;
and obtaining the updated correlation parameters of every two applications in the at least two applications according to the correlation parameters before updating of every two applications in the at least two applications and the correlation parameters of the third preset time period, and determining the updated correlation parameters of every two applications as the correlation parameters of every two applications in the at least two applications.
CN201710378222.0A 2017-05-24 2017-05-24 Keyword prompting method and device Active CN107203279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710378222.0A CN107203279B (en) 2017-05-24 2017-05-24 Keyword prompting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710378222.0A CN107203279B (en) 2017-05-24 2017-05-24 Keyword prompting method and device

Publications (2)

Publication Number Publication Date
CN107203279A CN107203279A (en) 2017-09-26
CN107203279B true CN107203279B (en) 2021-03-09

Family

ID=59906026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710378222.0A Active CN107203279B (en) 2017-05-24 2017-05-24 Keyword prompting method and device

Country Status (1)

Country Link
CN (1) CN107203279B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108511001B (en) * 2018-04-09 2020-05-12 上海智臻智能网络科技股份有限公司 Voice monitoring method and device, storage medium and terminal
CN114390341B (en) * 2020-10-22 2023-06-06 华为技术有限公司 Video recording method, electronic equipment, storage medium and chip

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095595A (en) * 2016-05-26 2016-11-09 深圳市金立通信设备有限公司 Information sharing method between a kind of application program and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366002B (en) * 2013-07-17 2017-08-11 北京奇虎科技有限公司 Personalized method for vertical search and device
CN104239450A (en) * 2014-09-01 2014-12-24 百度在线网络技术(北京)有限公司 Search recommending method and device
CN104935651A (en) * 2015-06-03 2015-09-23 魅族科技(中国)有限公司 Content recommending method and terminal
CN106445273A (en) * 2016-07-11 2017-02-22 深圳市金立通信设备有限公司 Display method and terminal
CN106294872A (en) * 2016-08-24 2017-01-04 深圳市金立通信设备有限公司 A kind of method of information processing and terminal
CN106484249A (en) * 2016-10-31 2017-03-08 维沃移动通信有限公司 A kind of input method and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095595A (en) * 2016-05-26 2016-11-09 深圳市金立通信设备有限公司 Information sharing method between a kind of application program and terminal

Also Published As

Publication number Publication date
CN107203279A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
EP3316105B1 (en) Instant message processing method and device
EP3041205B1 (en) Method, device and system for displaying content of short message, method and device for determining display of short message
US10372469B2 (en) Method and device for displaying information
CN104834559B (en) Notification message display method and device
US20180121040A1 (en) Method and device for managing notification messages
CN106445189B (en) Candidate word display method and device
CN106919629B (en) Method and device for realizing information screening in group chat
CN108320208B (en) Vehicle recommendation method and device
CN108629178B (en) Resource access authority configuration method and device of application program
CN106354504B (en) Message display method and device
EP3731088A1 (en) Method and device for displaying information and storage medium
EP3176999A1 (en) Method and device for processing information
CN112269556A (en) Information display method, device, system, equipment, server and storage medium
CN110674343A (en) Account information processing method and device, server and terminal
CN107402767B (en) Method and device for displaying push message
CN112131466A (en) Group display method, device, system and storage medium
CN108304078B (en) Input method and device and electronic equipment
CN107203279B (en) Keyword prompting method and device
US20160349947A1 (en) Method and device for sending message
CN104951522B (en) Method and device for searching
CN105260088B (en) Information classification display processing method and device
WO2021027709A1 (en) Page sharing method and apparatus, and electronic device
CN110417987B (en) Operation response method, device, equipment and readable storage medium
US10871832B2 (en) Method and device for obtaining operation entry, and storage medium
CN108427582B (en) Method and device for determining stuck state and computer readable storage medium

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