CN113589956A - Commonly used word processing method and device, mobile terminal and storage medium - Google Patents

Commonly used word processing method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN113589956A
CN113589956A CN202110789346.4A CN202110789346A CN113589956A CN 113589956 A CN113589956 A CN 113589956A CN 202110789346 A CN202110789346 A CN 202110789346A CN 113589956 A CN113589956 A CN 113589956A
Authority
CN
China
Prior art keywords
commonly used
current application
list
mobile terminal
application scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110789346.4A
Other languages
Chinese (zh)
Inventor
刘松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shareit Information Technology Co Ltd
Original Assignee
Beijing Shareit Information Technology 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 Shareit Information Technology Co Ltd filed Critical Beijing Shareit Information Technology Co Ltd
Priority to CN202110789346.4A priority Critical patent/CN113589956A/en
Publication of CN113589956A publication Critical patent/CN113589956A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/38Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/387Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • G06F40/216Parsing using statistical methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computational Linguistics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosed embodiment relates to a common word processing method and device, a mobile terminal and a storage medium. The commonly used word processing method comprises the following steps: determining a current application scene; determining commonly used phrases associated with the current application scenario; displaying the commonly used phrases associated with the current application scenario when a commonly used phrase input opportunity is detected.

Description

Commonly used word processing method and device, mobile terminal and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for processing commonly used phrases, a mobile terminal, and a storage medium.
Background
The commonly used term may be a kind of input content configured in advance. Through the setting of the commonly used words, the user can call out the corresponding commonly used words to realize one-key input of one sentence under the condition of directly not inputting each word one by one. The use of commonly used words simplifies the text input of the user and improves the information communication efficiency.
However, in some cases, the usage frequency of the common words is not high or the usage effect is not good. For example, sometimes it is difficult for a user to find a commonly used term that the user wants.
Disclosure of Invention
The embodiment of the disclosure provides a commonly used word processing method and device, a mobile terminal and a storage medium.
A first aspect of an embodiment of the present disclosure provides a method for processing commonly used phrases, including:
determining a current application scene;
determining commonly used phrases associated with the current application scenario;
displaying the commonly used phrases associated with the current application scenario when a commonly used phrase input opportunity is detected.
Based on the above scheme, the method further comprises:
updating a commonly used expression list according to commonly used expressions associated with the current application scene;
when the commonly used expression input opportunity is detected, displaying commonly used expressions associated with the current application scene, wherein the displaying comprises:
and when the commonly used expression input opportunity is detected, displaying commonly used expressions associated with the current application scene according to the updated commonly used expression list.
Based on the above scheme, the commonly used phrase list is: a first type list or a second type list;
the updating the commonly used expression list according to the commonly used expressions associated with the current application scene comprises:
adding commonly used expressions associated with the current application scene to a first-class list, and deleting at least one commonly used expression which is added to the first-class list and used least frequently;
alternatively, the first and second electrodes may be,
sorting the common expression associated with the current application scene into a head area of a second type list, and moving at least one common expression which is located in the head area and is not associated with the current application scene into a tail area of the second type list.
Based on the above scheme, when detecting an entry opportunity of a commonly used expression, displaying the commonly used expression associated with the current application scenario includes:
when the commonly used expression list is the first type list and the commonly used expression input time is detected, displaying all commonly used expressions in the first type list;
alternatively, the first and second electrodes may be,
when the commonly used expression list is the second-type list and the commonly used expression input timing is detected, displaying commonly used expressions of a head area of the second-type list.
Based on the above scheme, the method further comprises:
when a sliding operation on the second-type list is detected, a commonly used term located in a tail area of the second-type list is displayed.
Based on the above scheme, the method further comprises:
and deleting the commonly used expressions in the tail area of the second type list according to the use frequency of the commonly used expressions in the tail area of the second type list.
Based on the above scheme, the determining the current application scenario includes at least one of:
acquiring geographical position information of a mobile terminal, and determining the current application scene according to the geographical position information;
acquiring the moving speed of the mobile terminal, and determining the current application scene according to the moving speed of the mobile terminal;
and acquiring the current application scene generated according to the current chat record.
Based on the above scheme, the obtaining geographic position information of the mobile terminal and determining the current application scenario according to the geographic position information includes:
acquiring geographical position information of the mobile terminal and schedule data of a holding user of the mobile terminal;
and determining the current application scene according to the purpose of the geographic position indicated by the geographic position information and the item content indicated by the schedule data.
Based on the above scheme, the acquiring the current application scenario generated according to the current chat record includes:
receiving commonly used phrases which are generated by the chat server based on the keywords of the current chat records;
alternatively, the first and second electrodes may be,
and receiving commonly used phrases generated by the chat server based on the words contained in the current chat records and the network trending topics.
Based on the above scheme, the method further comprises at least one of the following steps:
when a commonly used expression input operation is detected, determining that the commonly used expression input time is detected;
predicting content to be input according to current input, and determining the input opportunity of the commonly used expressions when the content to be input is predicted to be the commonly used expressions corresponding to the current application scene.
A second aspect of an embodiment of the present disclosure provides a commonly used term processing apparatus, including:
the first determining module is used for determining the current application scene;
a second determination module for determining a commonly used term associated with the current application scenario;
and the display module is used for displaying the commonly used phrases related to the current application scene when the commonly used phrase input opportunity is detected.
Based on the above scheme, the apparatus further comprises:
the updating module is used for updating the commonly used expression list according to the commonly used expressions related to the current application scene;
the display module is specifically configured to display the commonly used phrases associated with the current application scenario according to the updated commonly used phrase list when the commonly used phrase input timing is detected.
Based on the above scheme, the commonly used phrase list is: a first type list or a second type list;
the updating module is specifically configured to add a commonly used term associated with the current application scenario to a first-class list, and delete at least one commonly used term that has been added to the first-class list and is used least frequently; or sorting the common expression associated with the current application scene into a head area of a second type list, and moving at least one common expression which is located in the head area and is not associated with the current application scene into a tail area of the second type list.
Based on the above scheme, the display module is specifically configured to display all commonly used phrases in the first-class list when the commonly used phrase list is the first-class list and the commonly used phrase input timing is detected; or, when the common expression list is the second-type list and the input timing of the common expressions is detected, displaying the common expressions in the head region of the second-type list.
Based on the above scheme, the display module is further configured to display the commonly used phrases located in the tail area of the second-class list when the sliding operation acting on the second-class list is detected.
Based on the above scheme, the apparatus further comprises:
and the deleting module is used for deleting the commonly used expressions in the tail area of the second type list according to the use frequency of the commonly used expressions in the tail area of the second type list.
Based on the above scheme, the first determining module is specifically configured to execute at least one of:
acquiring geographical position information of a mobile terminal, and determining the current application scene according to the geographical position information;
and acquiring the current application scene generated according to the current chat record.
Based on the scheme, the first determining module is specifically configured to obtain geographic position information of the mobile terminal and schedule data of a user holding the mobile terminal; and determining the current application scene according to the purpose of the geographic position indicated by the geographic position information and the item content indicated by the schedule data.
Based on the above scheme, the first determining module is specifically configured to receive commonly used phrases generated by the chat server based on the keywords of the current chat record alone; or receiving commonly used phrases generated by the chat server based on the words contained in the current chat records and the network trending topics.
Based on the scheme, the device further comprises a third determining module;
the third determining module is specifically configured to execute at least one of:
when a commonly used expression input operation is detected, determining that the commonly used expression input time is detected;
predicting content to be input according to current input, and determining the input opportunity of the commonly used expressions when the content to be input is predicted to be the commonly used expressions corresponding to the current application scene.
A third aspect of the embodiments of the present disclosure provides a mobile terminal, including:
a memory for storing processor-executable instructions;
a processor coupled to the memory;
wherein the processor is configured to execute the common word processing method provided in any technical solution of the first aspect.
A fourth aspect of the embodiments of the present disclosure provides a non-transitory computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions implement the common phrase processing method provided in any of the foregoing technical solutions of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme provided by the embodiment of the disclosure, commonly used expressions associated with the current application scene can be determined according to the current application scene of the mobile terminal, when the input time of commonly used expressions is detected, the commonly used expressions associated with the current application scene are displayed, the probability that the displayed commonly used expressions are input into the commonly used expressions wanted by a user is greatly improved, the probability that the user selects to input the commonly used expressions is also improved, and the efficiency of the user input and the message interaction scene can be improved through the improvement of the use probability of the commonly used expressions.
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 invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a method for processing commonly used phrases according to an embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a method for processing commonly used phrases according to an embodiment of the present disclosure.
Fig. 3 is a schematic diagram illustrating an effect of an application interface of an IM application or a social application according to an embodiment of the present disclosure.
Fig. 4 is a schematic effect diagram of an application interface of an IM application or a social application shown in the embodiment of the present disclosure.
Fig. 5 is a flowchart illustrating a method for processing commonly used phrases according to an embodiment of the present disclosure.
Fig. 6 is a flowchart illustrating a method for processing commonly used phrases according to an embodiment of the present disclosure.
Fig. 7 is a schematic structural diagram of a common term processing apparatus according to an embodiment of the present disclosure.
Fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
As shown in fig. 1, an embodiment of the present disclosure provides a commonly used phrase processing method, including:
s110: determining a current application scene;
s120: determining commonly used phrases associated with the current application scenario;
s130: displaying the commonly used phrases associated with the current application scenario when a commonly used phrase input opportunity is detected.
The execution device of the commonly used word processing method may be various types of terminal devices, and the terminal device may be, for example: a mobile terminal, etc. The mobile terminal includes but is not limited to: the mobile phone, the tablet personal computer, the wearable device and other terminal devices are convenient for human bodies to carry and wear. The mobile terminal may further include: vehicle-mounted devices, and the like.
The S110 may include at least one of:
when a display screen of the mobile terminal is in a bright screen state, determining a current application scene of the mobile terminal according to a preset time interval; namely, when the display screen of the mobile terminal is in a screen-off state, the mobile terminal cannot acquire the current application scene;
determining the current application scenario when detecting to chat using an Instant Messaging (IM) application;
when a social application or an IM application is detected to be opened and a text input box is displayed on the social application or the IM application, determining the current application scene. Fig. 3 shows an application interface of an IM application or a social application, which displays a text input box.
When the display screen is in the bright screen state, the probability that the user uses the mobile terminal to input the text is very high, in order to determine the commonly used phrases associated with the current application scene as soon as possible and reduce the commonly used phrase display delay perceived by the user, the current application scene can be determined according to a preset time interval when the display screen is in the bright screen state, and the accuracy of the current application scene can be ensured.
Further, when the display screen is in a bright screen state and the duration of continuous bright screen reaches a preset value, detecting the current application scene of the mobile terminal according to a preset time interval. This may reduce unnecessary detection of the current application scene when the display screen is briefly lit.
In some embodiments, any two of the preset time intervals may be preset equal time intervals, or unequal time intervals. If the time intervals are equal, the mobile terminal periodically determines the current application scene.
Aiming at time intervals with different lengths, the occurrence frequency of occasions when the terminal equipment uses common phrases in different time periods can be determined according to the historical use condition of the mobile terminal, and the occurrence frequency is negatively correlated with the duration of the time intervals.
In some embodiments, the preset time interval may be dynamically determined according to the mobility of the mobile terminal in a period before the current time. The mobility of the device is inversely related to the duration of the preset time interval. That is, the higher the mobility of the device is, the higher the frequency of the application scene change of the mobile terminal is, and correspondingly, the shorter the duration of the preset time interval is, so as to implement high-accuracy detection of the current application scene.
Mobile terminals are often used to conduct chats, and common IM applications available for chatting include, but are not limited to: WeChat, QQ, Facebook (Facebook), or microblog, etc. When the application interface of the IM application is opened in the foreground of the mobile terminal and the IM application is used for chatting, the current commonly used phrases can be considered to be used with higher probability, and the current application scene is acquired once, so that the commonly used phrases associated with the current application scene can be determined in advance.
In still other cases, although the mobile terminal displays application interfaces for social applications or IM applications, the user may simply use these applications for information browsing, for example, the user browses a friend circle using WeChat or browses articles of public numbers, in which case the frequency of commonly used phrases actually used by the user is not too high. In view of this, the current application scene is confirmed only in the case where the text input box is displayed, thereby reducing unnecessary confirmation.
In some embodiments, the determination of the current application scenario may also be when a commonly used phrase input opportunity is detected. For example, the information processing speed of the mobile terminal itself and/or the information interaction speed between the mobile terminal and the server are fast, and when the moment of inputting the commonly used phrases is detected, the current application scenario is determined and the commonly used phrases related to the current application scenario are determined, the delay experienced at the user plane is also small. In this case, unnecessary ordinary term updates and the like can be reduced.
Of course, the above is only an example of the timing or the determining manner for determining the current application scenario, and the specific implementation is not limited to the above example.
Because the text information received or input by the mobile terminal is greatly related to the current application scene in the current application scene, the commonly used expressions are set to be related to the current application scene, and the probability of detecting that the user selects the input of the corresponding commonly used expressions is improved when the commonly used expressions are displayed.
For example, in the current application scenario that a user has a meal in a restaurant, the content of the user chatting with other users using the mobile terminal may relate to meal-related content, and if the common expressions are set as meal-related content, the probability of the user selecting and inputting the meal-related common expressions after displaying is increased. For example, a certain restaurant a's signboard xxx is endorsed by many guests, if one of the commonly used phrases: the probability of being displayed for selection input increases for restaurant a's signboard xxx being too favored.
Of course, the above is merely an example, and the specific implementation is not limited thereto.
In some embodiments, the S130 may include:
when the call input of the commonly used phrases is detected, it is confirmed that the input timing of the commonly used phrases is detected.
For example, the mobile terminal displays a commonly used term call control, and when a touch operation acting on the commonly used term call control is detected, it is determined that a commonly used term input timing is detected. Fig. 4 shows an application interface with a call control annotated with a text by a "common term", which is, of course, only an example, and the specific implementation is not limited to the above example.
For another example, when the mobile terminal enters the automatic detection mode of the input timing of the commonly used phrases, and when a text is input in the text input box, a possible input text of the user is predicted according to the input text, and if the predicted possible input text of the user has content relevance with the commonly used phrases in a certain current application scenario, the input timing of the commonly used phrases can be considered to be detected.
In the embodiment of the present disclosure, at least the commonly used phrases associated with the current application scenario are displayed at the input timing when the commonly used phrases are detected. Of course, when the number of the common expressions associated with the current application scenario is less than the displayable number, one or more common expressions that are not associated with the current application scenario and have the highest usage frequency may be displayed according to the usage frequency of the common expressions that are not associated with the current application scenario.
In one embodiment, the commonly used phrases are displayed around the text entry box for easy selection by the user.
When a selection operation acting on a certain common expression is detected, the selected common expression is inserted into the position of the current cursor in the text box, and therefore one-key input of the common expression is achieved.
The selection operation includes, but is not limited to: the method comprises the steps of acting on touch operation in a commonly used term display area; a numeric input operation corresponding to the number of the commonly used term. The selection operation is merely an example, and the specific implementation is not limited thereto.
Illustratively, at least the commonly used phrases associated with the current application scenario are displayed above the input text box in the form of a tagged bubble or a list or the like. The display direction and the specific display position of the commonly used phrases are related to the user's familiar input hand. Illustratively, according to the input habit of the user, it is determined that the user inputs by left hand, and at least commonly used phrases associated with the current application scene are displayed in the left hand holding area of the mobile terminal. And if the fact that the user is right-handed input is determined according to the input habit of the user, displaying commonly used phrases at least related to the current application scene in a right-handed holding area of the mobile terminal held by the right hand. The left-hand grip area and the right-hand grip area may correspond to different areas of the mobile terminal, and are generally symmetrically distributed on both sides of a central axis of the mobile terminal.
In summary, in the embodiment of the present disclosure, the commonly used phrases are displayed at adjacent positions or peripheral positions of the text input box, which is convenient for the user to select the text input box to be input.
In some embodiments, the method further comprises:
determining whether a commonly used term hiding condition is satisfied;
and when detecting that the condition for hiding the commonly used words is met, hiding the currently displayed commonly used words.
The detection that the commonly used word hiding condition is met includes but is not limited to at least one of the following:
and detecting the commonly used term hiding input and determining that the commonly used term hiding condition is met. For example, when the common terms are displayed in a small interface superimposed on the application interface, a hidden control is also displayed on the small interface, and the hidden control may be a control with a word pattern indicating hidden meaning such as "hidden", "closed", or may be an icon control using a fork. The small interface may be an interface having an area smaller than a display area of the display screen. In some embodiments, a shortcut input that triggers the hiding of a commonly used term is detected, and the commonly used term hiding input is also considered detected;
determining that a commonly used term hiding condition is met when the commonly used term display reaches a preset time and the selecting operation of the commonly used term is not detected;
when the displayed commonly used phrases do not reach the preset time length and at least one commonly used phrase is selected by user operation, determining that the commonly used phrase hiding condition is met;
determining that a commonly used phrase hiding condition is met when it is predicted that subsequent input content is irrelevant to the displayed commonly used phrases according to input content in the text box;
and determining that the common expression hiding condition is met when the text input triggering the display of the common expressions is finished. For example, when a user triggers the triggering of the common expressions in a certain IM message, and when the current IM message is sent or the current IM message is not sent but the input characters are deleted, it is determined that the text input is finished, the probability that the user uses the common expressions currently is decreased, and in order to reduce the occlusion caused by displaying the common expressions on the application interface, it can be determined that the condition for hiding the common expressions is satisfied.
When the condition for hiding the commonly used phrases is met, the commonly used phrases are hidden, after the commonly used phrases are hidden, the commonly used phrases displayed on the display interface disappear, and a user cannot see the commonly used phrases on the mobile terminal.
The above is an example of hiding in the common word processing, and the specific implementation is not limited thereto.
In some embodiments, the common expression list may be provided with a plurality of common expression lists of different application scenarios according to different application scenarios involved. For example, a list of commonly used phrases related to a movie theater scene is involved near the theater. If the movies shown in the movie theater are different in different time periods, the commonly used phrases contained in the commonly used phrase list related to the scenes of the movie theater in different time periods can comprise: the name of the most recently shown movie, the title list of the most popular movie, etc. But may of course also include commonly used phrases related to movie reviews and/or recommendations. Of course, this is merely an example, and the specific implementation is not limited to this example.
In one embodiment, after confirming the commonly used phrases associated with the current application scenario, the commonly used phrases associated with the current application scenario may be added to a cache of the mobile terminal, and the commonly used phrases associated with the current application scenario may be directly read from the cache in S130.
In one embodiment, as shown in fig. 2, the method further comprises:
s121: updating a commonly used expression list according to commonly used expressions associated with the current application scene;
the S130 may include:
and when the commonly used expression input opportunity is detected, displaying commonly used expressions associated with the current application scene according to the updated commonly used expression list.
In the embodiment of the present disclosure, the mobile terminal maintains a commonly used term list, which may be a commonly used term list of the entire mobile terminal, or a commonly used term list of an application program that is currently opened, or a commonly used term list of an input method that is currently opened.
The commonly used term list updated in S121 may be the commonly used term associated with the current application scenario or the commonly used term list related to different ranges (for example, the whole mobile terminal, the whole APP or one input method).
After determining the commonly used expressions associated with the current application scene, the commonly used expressions associated with the current application scene are updated to a commonly used expression list, and then when the commonly used expression input opportunity is detected, the commonly used expressions are read from the commonly used expression list and displayed. If the commonly used phrase associated with the current application scene is added to the commonly used phrase list, the commonly used phrase associated with the current application scene will be displayed when the commonly used phrases in the commonly used phrase list are displayed.
In one embodiment, the list of commonly used phrases is: a first type list or a second type list.
In some embodiments, the first-type list contains a smaller number of commonly used terms than the second-type list. Of course, in other embodiments, the first-type list and the second-type list are two different types of lists, and the difference between the two types of lists may be represented by the number of commonly used phrases contained in the lists, and may also be represented by whether there is a difference in table attributes such as dividing into different areas in the lists.
For example, the first-type list may be a small list, which may store a small number of commonly used phrases, and for such a commonly used phrase list, when a new commonly used phrase is added, an old commonly used phrase is to be deleted. Thus, for the first category list, the S121 may include: adding the commonly used expression associated with the current application scene to a first-class list, and deleting at least one commonly used expression which is added to the first-class list and used least frequently.
In some embodiments, if the first-type list can contain a number of commonly used terms, the new conditional N commonly used terms in the first-type list have N old commonly used terms deleted from the first-type list.
In another embodiment, the first-type list may contain a limited number of words, in which case the number of terms newly added may or may not be equal to the number of terms deleted from the first-type list. For example, if the total number of words of a commonly used term newly added to the first-type list is M, the total number of words of the number of deleted old commonly used terms originally located in the first-type list is not less than M, and the smallest number of old commonly used terms having the total number of words not less than M is usually deleted.
When the commonly used phrases are displayed in S130, some or all of the commonly used phrases in the first-type list may be displayed. If the common term list is a second type list, and the second type list is divided into a head region and a tail region, the head region and the tail region are only referred to as two different regions.
In one embodiment, S121 may include:
sorting the common expression associated with the current application scene into a head area of a second type list, and moving at least one common expression which is located in the head area and is not associated with the current application scene into a tail area of the second type list.
Commonly used phrases associated with the current application scenario will be sorted to the head region of the second type list, while commonly used phrases not associated with the current scenario may be moved to the tail region.
In some embodiments, the head region may contain a limited number of common terms or a limited total number of words of a common term; and the tail region may not have the number of bars or total number of words of the common term.
In another embodiment, the tail region may contain more commonly used terms than the head region, or the tail region may contain more commonly used terms than the head region.
In view of this, the S130 may include: when the commonly used expression list is the first type list and the commonly used expression input time is detected, displaying all commonly used expressions in the first type list; or, when the common expression list is the second-type list and the input timing of the common expressions is detected, displaying the common expressions in the head region of the second-type list.
Illustratively, the first-type list may include 3 commonly used expressions, the second-type list may include 10 commonly used expressions, and the mobile terminal displays only 3 commonly used expressions at one time, so that if the commonly used expression list is the first-type list, all (3) commonly used expressions in the entire first-type list are displayed in S130, and if the second-type list is the second-type list, only 3 commonly used expressions located in the head region are displayed.
In one embodiment, the method further comprises:
when a sliding operation on the second-type list is detected, a commonly used term located in a tail area of the second-type list is displayed.
The sliding operation may include a sliding operation of a slide bar acting on the small interface displaying the common expressions, or may be a sliding operation of sliding in a preset direction across the small interface displaying the common expressions. For example, if the common expressions are arranged in a stacking direction from bottom to bottom, the sliding operation may be a top-down sliding operation. If the commonly used expressions are stacked and arranged in a manner of S bars from top to bottom at a time, but the pages with different commonly used expressions are displayed by sliding left and right, which corresponds to the case where the sliding operation is performed in the same direction as the page turning direction of the commonly used expressions, the commonly used expressions in the display head region may be switched to the commonly used expressions in the display tail region by turning the pages left and right. S can be any positive integer.
In this case, if the commonly used phrase currently displayed is not the commonly used phrase desired by the user, other commonly used phrases unrelated to the current scene in the tail area of the second-type list can be displayed based on the sliding operation, so that the intelligence and the user experience of the mobile terminal are improved.
In one embodiment, the method further comprises:
and deleting the commonly used expressions in the tail area of the second type list according to the use frequency of the commonly used expressions in the tail area of the second type list.
After one or more commonly used term updates are performed, a tail area of the second-type list may store a large amount of commonly used terms, which results in a large storage space occupied by the commonly used term list. Alternatively, when the number of commonly used phrases or total words stored in the tail region reaches the limit of the tail region, one or more commonly used phrases located in the tail region may be deleted according to the frequency of usage of commonly used phrases in the tail region.
In another embodiment, when there is a commonly used expression transferred from the head region to the tail region, the tail region is triggered to delete the commonly used expression with the corresponding number or not less than the total number of commonly used expressions newly added to the tail region.
There are many ways to delete common words in the second category list and many times to delete common words, and the specific implementation is not limited to this.
There are many ways to determine the application scenario, and several alternative implementations are provided below, i.e. the S110 may include at least one of:
acquiring geographical position information of a mobile terminal, and determining the current application scene according to the geographical position information;
acquiring the moving speed of the mobile terminal, and determining the current application scene according to the moving speed of the mobile terminal;
and acquiring the current application scene generated according to the current chat record.
Different geographical location information can correspond to different application scenarios. For example, the mobile terminal may perform positioning in combination with its own positioning module, or may know its own geographic location through interaction between positioning signals and other devices such as a base station, where the geographic location is indicated by the foregoing geographic location information. The geographical location information may specifically include: the latitude and longitude of the mobile terminal, etc.
After the geographic position information is determined, the current application scene can be determined by combining the settings of a map application or a taxi taking application and the like. For example, various Points OF Interest (POIs) are marked on a map application, and the current application scene is determined according to the geographic position indicated by the current geographic position information.
For another example, in determining the geographic location information, the current application scenario may be determined by default as a home address and/or a company address according to a taxi taking setting in combination with a map application or a taxi taking application.
In some embodiments, the S110 may further include:
and determining a time interval between the determination time of the last determined historical application scene and the current time, and if the time interval is smaller than a preset time interval, determining the last determined historical application scene as the current application scene. The time interval may be 10s or 1 minute or 2 minutes etc. Considering that some mobile terminals have mobility but have less mobility, when the time interval between two adjacent application scenes is small, the last historical application scene can be directly used as the current application scene determined at this time.
In other embodiments, the S110 may further include:
and determining the distance between the geographical position of the last determined historical application scene and the geographical position of the mobile terminal at the current moment, and if the distance is smaller than a distance threshold, determining the last determined historical application scene as the current application scene. And determining that the change of the geographic position of the mobile terminal is small according to the geographic position information, so that the probability of the change of the application scene of the mobile terminal is small.
In some embodiments, if the current application scenario of the mobile terminal does not send a change with respect to the last determined historical application scenario, it is considered that no update of the commonly used phrases is performed, i.e., the commonly used phrases currently stored or acquired by the mobile terminal are maintained. And if the current application scene of the mobile terminal changes relative to the last determined application scene, updating the commonly used phrases stored or acquired by the mobile terminal according to the current application scene.
In other embodiments, the schedule data stored by the mobile terminal may also be combined, and may include at least one of the following, for example:
schedule data recorded in a calendar application based on user input;
recording schedule data generated based on a trip plan based on a trip application;
schedule data recorded in the memo;
schedule data recorded in one or more mails in the mail application;
office schedule data in an office application is recorded.
In summary, the operating system of the mobile terminal may collect various schedule data generated by applications capable of generating schedule data, and illustratively, the operating system calls the schedule data of each Application based on an Application Programming Interface (API) between the operating system and the Application.
And based on the schedule data and the current geographic position of the mobile terminal, the current application scene is more accurately determined.
For example, the schedule data shows that the user is in a meeting at the current time, but the geographical location information shows that the user is not currently located at a geographical location with a meeting room, such as a company or a meeting place, and the current application scenario may be determined according to the geographical location indicated by the geographical location information at this time. That is, when the current application scenario indicated by the schedule data conflicts with the application scenario indicated by the geographical location information, the geographical location information or the schedule data with high confidence may be selected to determine the current application scenario. Here, the confidence may be preset, for example, the confidence of the geographical location information may be preset to be higher than the confidence of the schedule data. The confidence coefficient can be dynamically determined according to big data statistics, so that the condition that the two pieces of information indicate the current application scene conflict is solved, and the determination accuracy of the current application scene is improved.
For another example, if the geographical location information indicates that the user is at a company and the schedule data indicates that the user should be in a meeting at the current time, it may be determined that the current application scenario is a meeting scenario.
The travel applications include, but are not limited to: various trip applications for trips, train tickets purchased by the train trip applications; a ticket ordering application ordered tickets, etc. Typical travel applications include, but are not limited to: 12306 official booking applications, and also taxi-along or where to go such third party booking applications. Various travel tickets can be used for determining the travel time and/or the travel place, so the travel plan data or the ticket purchasing data are also schedule data.
For another example, the travel application may also include, but is not limited to: various taxi or private car calling applications can determine whether a user is going out according to the going-out application, and the going-out data is also schedule data.
And if the schedule data acquired from the travel application indicates that the user is traveling, indicating that the mobile terminal carried or worn by the user is in a travel application scene.
In some embodiments, the mobile terminal may be carried by a user on a train, a high-speed rail, a subway, a public bus, or the like, and in a high-speed moving scene of the mobile terminal, it is inconvenient for the user to process work or edit information, but message interaction may still be required. At this time, if the current application scene of the mobile terminal can also be determined according to the moving speed of the mobile terminal. For example, the current application scenario may include: the mobile terminal is moved in a high speed scene with the moving speed greater than the speed threshold value, or in a low speed scene with the moving speed less than or equal to the speed threshold value.
For another example, the current application scenario may further identify a vehicle currently taken by the mobile terminal according to the specific speed of the mobile terminal, so that the current application scenario is determined according to the taken vehicle. For example, when it is detected that the speed of the mobile terminal meets the moving rule that the subway repeatedly accelerates, decelerates and moves at a short distance between different stations, it can be determined that the subway or express transportation is currently carried.
As another example, a bus also has stops, but the speed of the bus may not be as fast as a subway or express.
As another example, a high-speed rail or train also has stations, but the distance between adjacent stations of the high-speed rail or train is greater.
In a word, the movement rule of the mobile terminal is analyzed according to the movement speed of the mobile terminal, and the currently-taken transportation means is determined according to the movement characteristics of the transportation means which are met by the movement rule.
When determining the vehicles to be ridden, the vehicles to be ridden by the mobile terminal can be determined according to the historical movement record, the current time period and the like of the mobile terminal. For example, in the time period between work and work, when it is detected that the speed of the mobile terminal meets the movement rule that the subway repeatedly accelerates, decelerates at a constant speed and a short distance between different stations, it can be determined that the subway or the express transportation is currently taken.
The moving speed of the mobile terminal can be detected by a speed sensor and the like built in the mobile terminal, and in short, the moving speed detection modes of the mobile terminal are various and are not repeated here.
In some embodiments, the mobile terminal may not be moving or located currently, and the current application scenario may also be determined directly from the chat log that has been generated. This way it is determined that the application scenario is a mobile scenario associated with the current chat content.
For example, when the user a and the user B discuss a basketball game at yesternight by using WeChat, input such as basketball, a star, goal, or score must be necessarily input in the chat records, at this time, it can be determined that the current chat scene is a basketball scene according to the existing chat records, and the common expressions can be set to be related to basketball.
Here, the current application scenario may be determined by the mobile terminal itself based on the current chat history, or the chat history may be recorded in the chat server during the chat process of the mobile terminal, and the determination of the current application scenario may be determined by the server and requested by the client from the chat server.
In some embodiments, the determination of the current application scenario may be generated based solely on the keywords of the chat log, or may be generated in conjunction with trending topics associated with the keywords. The keyword may be a topic keyword of the current chat history. Taking basketball as an example again, yesterday evening has a basketball with very high discussion degree, the basketball is a hot topic, and at this time, the common phrases can be determined without being limited to the keywords of the current chat records or the current chat records by combining the hot topic.
For example, at the beginning of chatting, the name of the ball star which shows the best or worst at last night is not referred to, but since the keyword basketball is extracted, the name of the ball star which shows the worst or worst at last night or the description of the ball star can be expressed in the ball game which is most discussed at last night in combination with the network trending topic, and the utterance which is the most typical expression is used as the common expression, so that when the initials or the first words of the ball star are input, the corresponding common expression is called up and displayed, and the text can be rapidly input by the common expression without character-by-character or text-by-text based on the common expression.
In some embodiments, the obtaining the current application scenario generated according to the current chat record includes:
receiving commonly used phrases which are generated by the chat server based on the keywords of the current chat records;
alternatively, the first and second electrodes may be,
and receiving commonly used phrases generated by the chat server based on the words contained in the current chat records and the network trending topics.
The client generates a task of a commonly used phrase generated based on a chat log by the server in consideration of the standby time period of the mobile terminal.
In one embodiment, the method further comprises at least one of:
when a commonly used expression input operation is detected, determining that the commonly used expression input time is detected;
predicting content to be input according to current input, and determining the input opportunity of the commonly used expressions when the content to be input is predicted to be the commonly used expressions corresponding to the current application scene.
The commonly used phrase input operation includes, but is not limited to, at least one of:
a touch operation applied to a control for calling a commonly used term, for example, a commonly used term calling control is displayed on a text input interface, and when a click operation applied to the control is detected, it can be considered that a commonly used term input opportunity is detected;
detecting the input of a character string for calling a commonly used phrase, which may include the input of one or more predefined numbers, letters or symbols, input from a physical keyboard or a virtual keyboard; the virtual keyboard includes but is not limited to: distinguishing a keyboard displayed on a display screen except the physical keyboard or a keyboard projected by a projector; the character string can be the input of the characters of the preset calling commonly used phrases; illustratively, the character string "a × h" of the commonly used word is detected in the text input box, and it should be noted that this is only an example, and the specific implementation is not limited to this example;
a shortcut input is detected that invokes the commonly used phrase. For example, the mobile terminal is configured to consider that a commonly used shortcut input is detected to be invoked when the text entry meet detects that the keys ctrl and Fm of the physical keyboard or the virtual keyboard are pressed simultaneously. For example, the mobile terminal and/or the chat server may run a machine learning model or the like, may predict a next text input according to the current input, and may determine that a timing for inputting a commonly used term is detected if the predicted text input is associated with the commonly used term or if an expression content of the spoken text input matches a content of the commonly used term associated with a certain current scene. The m can be any positive integer. The above is merely an example of detecting the input timing of the commonly used phrases, and the specific implementation is not limited thereto.
The research finds that the commonly used words in the related art are provided with the following problems:
first, commonly used phrases are fixed by default;
secondly, even if the commonly used words are updated, the updating is only carried out according to the use frequency;
third, although commonly used phrases can be edited, the user needs to enter a specific editing page, and input the commonly used phrases word by word, which results in poor experience.
In view of the above, an embodiment of the present disclosure provides a commonly used word processing scheme, which first provides a processing system for improving commonly used words, and the system may include:
semantic analysis system
And the semantic analysis system analyzes the user message and extracts the keywords so as to obtain the commonly used phrases corresponding to the keywords. Illustratively, three new idioms are derived from the keywords, which can be used to replace the first three of the ten default idioms.
For example: the chat history of the user is about the recent movie topic.
If the keywords are returned to the server or the server extracts the keywords based on the chat records, the server returns the following commonly used phrases:
1) recent movie hero
2) Movie main content
3) And (4) performing film evaluation, namely forming three commonly used expressions respectively and placing the three commonly used expressions in a commonly used expression array.
After receiving the commonly used expressions returned by the server, the client updates the list of the commonly used expressions of the client, and then can display and call the commonly used expressions related to electricity in the application scene of chatting and recording related to the movie topics. On one hand, the dynamic updating of the commonly used expressions is realized, on the other hand, the updating of the association of the commonly used expressions and the application scenes is realized, the use experience of the commonly used expressions is improved, and further, the frequency of improving the commonly used expressions by the user is promoted.
The above-mentioned common word processing system may further include: an intelligent scene analysis system.
The intelligent scene analysis system can be used for analyzing the current application scene of the text input.
Scenario example 1:
the client application is associated with a mobile phone calendar, and reminders are provided in the calendar, for example: at 2 pm, the conference room is in a meeting. The client side obtains the current position of the mobile phone, if the user is in a company and the current time is 2 pm, commonly used phrases are automatically added: i am in a meeting and please contact later.
Further, at the colleague who automatically adds the new common expressions, phrases which are not commonly used in the common expressions or common expressions which are not related to the current application scene can be removed.
Scenario example 2: every time the client side obtains the geographic position of the user in a period T, the fact that the user goes home is detected, and the following terms are automatically added in common terms: i at home, and contact you to the company.
Scenario example 3:
if the acquisition user is moving, for example, on a subway, the commonly used phrases are automatically added: i are now on the train and contact you later.
The commonly used word processing system may further include: automatic editing system for commonly used words
The preset commonly used phrases are ten, and are modified according to the analysis result of the semantic analysis system or the intelligent scene analysis system, so that a user can conveniently obtain the commonly used phrases which are most consistent with the current scene and the current semantic meaning.
Exemplarily, a specific processing flow of the common phrase processing method of the embodiment of the present disclosure is provided as follows, as shown in fig. 5, and includes, but is not limited to, the following:
s101: in the chat process between one client and another client, the client starts message monitoring and monitors the received and transmitted messages; the client here may be run in the aforementioned mobile terminal.
S102: analyzing the chat topic, for example, extracting keywords of the chat from the transmitted and received messages, and analyzing the chat topic by combining the message analysis system and the background big data;
s103: extracting keywords of the chat topic, for example, summarizing keywords of the chat topic, which may be exemplarily: football, basketball, or movies, etc.;
s104: based on the keyword, the server is requested to issue a commonly used expression, for example, the keyword summarized in S103 is sent to the background server, and the background server is requested to return the keyword return commonly used expression which represents the current application scenario.
S105: and the server returns the most relevant commonly used phrases to the client based on the keywords and the hot topics through data analysis. For example, the server receives a keyword of the client, searches out a hot topic related to the keyword and the most relevant commonly used phrases, and returns the hot topic and the most relevant commonly used phrases to the client;
s106: the client replaces the commonly used phrases and updates the commonly used phrase list, and the updating rules of the commonly used phrase list include but are not limited to: replacing the least frequently used commonly used phrases in the current commonly used phrase list with the received new commonly used phrases.
The most frequently used idioms can be determined by the frequency with which each idiom is used. The commonly used word with the lowest frequency is the one that is used least often.
Further exemplarily, a specific processing flow of the common word processing method of the embodiment of the present disclosure is provided below, as shown in fig. 6, the processing flow includes, but is not limited to, the following:
s201: the client side initiates a geographical position request at regular time, and the client side determines the geographical position once every a period of time T, so that the current geographical position information of the client side can be obtained conveniently, and the current position of the mobile terminal operated by the client side can be known through the geographical position information. The client may correspond to an Application (APP) running within the mobile terminal. The geographic position request can be requested from a client to an operating system of the mobile terminal, the operating system can trigger a positioning chip and the like to position the mobile terminal after receiving the request, and the geographic position obtained by positioning is returned to the client.
S202: acquiring a current geographic position;
s203: and synchronizing data records in the calendar and the memorandum. Examples are: for example: at 2 pm, the conference room is in a meeting. The client acquires the current position of the mobile phone, positions that if the user is in a company and 2 pm, commonly used phrases are automatically added: i am in a meeting and please contact later. Meanwhile, phrases which are not commonly used in commonly used phrases are removed; other application scenarios may also be extended. The data record of the calendar or memo chinese here may be one specific example of the aforementioned schedule data.
S204: and generating a new commonly used term, and replacing at least part of the commonly used term in the commonly used term list. The rules adopted for replacing commonly used phrases are: the alternative commonly used term is a commonly used term that is used least often by the user and can be determined by the frequency of use by the user.
As shown in fig. 7, an embodiment of the present disclosure provides a commonly used term processing apparatus, including:
a first determining module 110, configured to determine a current application scenario;
a second determining module 120, configured to determine a commonly used term associated with the current application scenario;
a display module 130, configured to display the commonly used phrases associated with the current application scenario when the commonly used phrase input timing is detected.
In some embodiments, the first determining module 110, the second determining module 120, and the display module 130 can all be program modules; the program module can realize the determination of the current application scene and the determination of the commonly used expressions related to the current application scene after being executed, and the displayed commonly used expressions are related to the current application scene.
In some embodiments, the first determining module 110, the second determining module 120, and the display module 130 can be a combination of hardware and software modules; the soft and hard combining module includes but is not limited to: various programmable circuits; the programmable circuitry includes, but is not limited to: field programmable circuitry and/or complex programmable circuitry.
In still other embodiments, the first determining module 110, the second determining module 120, and the display module 130 can all be purely hardware circuits; including but not limited to application specific integrated circuits.
In some embodiments, the apparatus further comprises:
the updating module is used for updating the commonly used expression list according to the commonly used expressions related to the current application scene;
the display module 130 is specifically configured to display the commonly used phrases associated with the current application scenario according to the updated commonly used phrase list when the commonly used phrase input timing is detected.
In some embodiments, the list of commonly used phrases is: a first type list or a second type list;
the updating module is specifically configured to add a commonly used term associated with the current application scenario to a first-class list, and delete at least one commonly used term that has been added to the first-class list and is used least frequently; or sorting the common expression associated with the current application scene into a head area of a second type list, and moving at least one common expression which is located in the head area and is not associated with the current application scene into a tail area of the second type list.
In some embodiments, the first-type list contains a smaller number of commonly used terms than the second-type list.
In some embodiments, the display module 130 is specifically configured to display all commonly used phrases in the first-class list when the commonly used phrase list is the first-class list and the commonly used phrase input timing is detected; or, when the common expression list is the second-type list and the input timing of the common expressions is detected, displaying the common expressions in the head region of the second-type list.
In some embodiments, the display module 130 is further configured to display the commonly used phrases located in the tail area of the second-type list when the sliding operation acting on the second-type list is detected.
In some embodiments, the apparatus further comprises:
and the deleting module is used for deleting the commonly used expressions in the tail area of the second type list according to the use frequency of the commonly used expressions in the tail area of the second type list.
In some embodiments, the determining the first determining module 110 is specifically configured to perform at least one of:
acquiring geographical position information of a mobile terminal, and determining the current application scene according to the geographical position information;
and acquiring the current application scene generated according to the current chat record.
In some embodiments, the first determining module 110 is specifically configured to obtain geographic location information of the mobile terminal and schedule data of a user holding the mobile terminal; and determining the current application scene according to the purpose of the geographic position indicated by the geographic position information and the item content indicated by the schedule data.
In some embodiments, the first determining module 110 is specifically configured to receive a commonly used phrase generated by the chat server based on the keywords of the current chat record alone; or receiving commonly used phrases generated by the chat server based on the words contained in the current chat records and the network trending topics.
In some embodiments, the apparatus further comprises a third determining module;
the third determining module is specifically configured to execute at least one of:
when a commonly used expression input operation is detected, determining that the commonly used expression input time is detected;
predicting content to be input according to current input, and determining the input opportunity of the commonly used expressions when the content to be input is predicted to be the commonly used expressions corresponding to the current application scene.
The embodiment of the present disclosure provides a mobile terminal, including:
a memory for storing processor-executable instructions;
the processors are respectively connected with the memories;
wherein the processor is configured to execute the common word processing method provided by any of the foregoing technical solutions by executing the computer-executable instructions stored on the memory.
The mobile terminal includes but is not limited to: terminal equipment such as cell-phone, panel computer, intelligent wrist-watch, intelligent bracelet or mobile unit.
The processor may include various types of storage media, which are non-transitory computer storage media capable of continuing to remember the information stored thereon after power has been removed from the mobile terminal.
The processor may be connected to the memory via a bus or the like for reading the executable program stored on the memory, e.g. capable of performing at least one of the methods as shown in fig. 1, fig. 2 and any of fig. 5 to fig. 6.
Fig. 8 is a block diagram illustrating a mobile terminal 800 according to an example embodiment. For example, the mobile terminal 800 may be a mobile phone, a mobile computer, or the like.
Referring to fig. 8, a mobile terminal 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the mobile terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on mobile terminal 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices 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 or optical disks.
Power components 806 provide power to the various components of mobile terminal 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the mobile terminal 800.
The multimedia component 808 includes a screen that provides an output interface between the mobile terminal 800 and a 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 808 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 device 800 is in an operating state, such as a shooting state or a video state. 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 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the mobile terminal 800 is in an operating state, such as a call state, a recording state, and a voice recognition state. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 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 814 includes one or more sensors for providing various aspects of state assessment for the mobile terminal 800. For example, sensor assembly 814 may detect the open/closed state of device 800, the relative positioning of components, such as a display and keypad of mobile terminal 800, sensor assembly 814 may detect a change in the position of mobile terminal 800 or a component of mobile terminal 800, the presence or absence of user contact with mobile terminal 800, orientation or acceleration/deceleration of mobile terminal 800, and a change in the temperature of mobile terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the mobile terminal 800 and other devices in a wired or wireless manner. The mobile terminal 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (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 mobile terminal 800 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the mobile terminal 800 to perform the above-described method is also provided. 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.
The disclosed embodiments provide a non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the common term processing method provided in any of the foregoing embodiments, and to perform at least one of the methods shown in fig. 1, fig. 2, and fig. 5 to fig. 6.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention 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 invention is limited only by the appended claims.

Claims (22)

1. A method for processing commonly used phrases, comprising:
determining a current application scene;
determining commonly used phrases associated with the current application scenario;
displaying the commonly used phrases associated with the current application scenario when a commonly used phrase input opportunity is detected.
2. The method of claim 1, further comprising:
updating a commonly used expression list according to commonly used expressions associated with the current application scene;
when the commonly used expression input opportunity is detected, displaying commonly used expressions associated with the current application scene, wherein the displaying comprises:
and when the commonly used expression input opportunity is detected, displaying commonly used expressions associated with the current application scene according to the updated commonly used expression list.
3. The method of claim 2, wherein the list of commonly used phrases is: a first type list or a second type list;
the updating the commonly used expression list according to the commonly used expressions associated with the current application scene comprises:
adding commonly used expressions associated with the current application scene to a first-class list, and deleting at least one commonly used expression which is added to the first-class list and used least frequently;
alternatively, the first and second electrodes may be,
sorting the common expression associated with the current application scene into a head area of a second type list, and moving at least one common expression which is located in the head area and is not associated with the current application scene into a tail area of the second type list.
4. The method of claim 3, wherein displaying the commonly used phrases associated with the current application scenario when a commonly used phrase input opportunity is detected comprises:
when the commonly used expression list is the first type list and the commonly used expression input time is detected, displaying all commonly used expressions in the first type list;
alternatively, the first and second electrodes may be,
when the commonly used expression list is the second-type list and the commonly used expression input timing is detected, displaying commonly used expressions of a head area of the second-type list.
5. The method of claim 4, further comprising:
when a sliding operation on the second-type list is detected, a commonly used term located in a tail area of the second-type list is displayed.
6. The method of claim 3, further comprising:
and deleting the commonly used expressions in the tail area of the second type list according to the use frequency of the commonly used expressions in the tail area of the second type list.
7. The method of any of claims 1 to 6, the determining a current application scenario comprising at least one of:
acquiring geographical position information of a mobile terminal, and determining the current application scene according to the geographical position information;
acquiring the moving speed of the mobile terminal, and determining the current application scene according to the moving speed of the mobile terminal;
and acquiring the current application scene generated according to the current chat record.
8. The method according to claim 7, wherein the obtaining geographic location information of the mobile terminal and determining the current application scenario according to the geographic location information comprises:
acquiring geographical position information of the mobile terminal and schedule data of a holding user of the mobile terminal;
and determining the current application scene according to the purpose of the geographic position indicated by the geographic position information and the item content indicated by the schedule data.
9. The method of claim 7, wherein the obtaining the current application scenario generated according to a current chat log comprises:
receiving commonly used phrases which are generated by the chat server based on the keywords of the current chat records;
alternatively, the first and second electrodes may be,
and receiving commonly used phrases generated by the chat server based on the words contained in the current chat records and the network trending topics.
10. The method according to any one of claims 1 to 6, further comprising at least one of:
when a commonly used expression input operation is detected, determining that the commonly used expression input time is detected;
predicting content to be input according to current input, and determining the input opportunity of the commonly used expressions when the content to be input is predicted to be the commonly used expressions corresponding to the current application scene.
11. A commonly used word processing apparatus, comprising:
the first determining module is used for determining the current application scene;
a second determination module for determining a commonly used term associated with the current application scenario;
and the display module is used for displaying the commonly used phrases related to the current application scene when the commonly used phrase input opportunity is detected.
12. The apparatus of claim 11, further comprising:
the updating module is used for updating the commonly used expression list according to the commonly used expressions related to the current application scene;
the display module is specifically configured to display the commonly used phrases associated with the current application scenario according to the updated commonly used phrase list when the commonly used phrase input timing is detected.
13. The apparatus of claim 12, wherein the list of commonly used phrases is: a first type list or a second type list;
the updating module is specifically configured to add a commonly used term associated with the current application scenario to a first-class list, and delete at least one commonly used term that has been added to the first-class list and is used least frequently; or sorting the common expression associated with the current application scene into a head area of a second type list, and moving at least one common expression which is located in the head area and is not associated with the current application scene into a tail area of the second type list.
14. The apparatus according to claim 13, wherein the display module is specifically configured to display all commonly used phrases in the first-class list when the commonly used phrase list is the first-class list and an input timing of the commonly used phrases is detected; or, when the common expression list is the second-type list and the input timing of the common expressions is detected, displaying the common expressions in the head region of the second-type list.
15. The apparatus according to claim 14, wherein the display module is further configured to display the commonly used phrases located in a tail area of the second-type list when the sliding operation on the second-type list is detected.
16. The apparatus of claim 13, further comprising:
and the deleting module is used for deleting the commonly used expressions in the tail area of the second type list according to the use frequency of the commonly used expressions in the tail area of the second type list.
17. The apparatus according to any one of claims 11 to 16, wherein the determining a first determination module is specifically configured to perform at least one of:
acquiring geographical position information of a mobile terminal, and determining the current application scene according to the geographical position information;
and acquiring the current application scene generated according to the current chat record.
18. The apparatus according to claim 17, wherein the first determining module is specifically configured to obtain geographic location information of the mobile terminal and schedule data of a user holding the mobile terminal; and determining the current application scene according to the purpose of the geographic position indicated by the geographic position information and the item content indicated by the schedule data.
19. The apparatus according to claim 179, wherein said first determining module is specifically configured to receive commonly used phrases generated by a chat server based solely on keywords of said current chat log; or receiving commonly used phrases generated by the chat server based on the words contained in the current chat records and the network trending topics.
20. The apparatus according to any one of claims 11 to 17, wherein the apparatus further comprises a third determining module;
the third determining module is specifically configured to execute at least one of:
when a commonly used expression input operation is detected, determining that the commonly used expression input time is detected;
predicting content to be input according to current input, and determining the input opportunity of the commonly used expressions when the content to be input is predicted to be the commonly used expressions corresponding to the current application scene.
21. A mobile terminal, comprising:
a memory for storing processor-executable instructions;
a processor coupled to the memory;
wherein the processor is configured to perform the method of processing commonly used phrases as provided in any one of claims 1 to 10.
22. A non-transitory computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, implement the idiom processing method provided in any one of claims 1 to 10.
CN202110789346.4A 2021-07-13 2021-07-13 Commonly used word processing method and device, mobile terminal and storage medium Pending CN113589956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110789346.4A CN113589956A (en) 2021-07-13 2021-07-13 Commonly used word processing method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110789346.4A CN113589956A (en) 2021-07-13 2021-07-13 Commonly used word processing method and device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113589956A true CN113589956A (en) 2021-11-02

Family

ID=78247565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110789346.4A Pending CN113589956A (en) 2021-07-13 2021-07-13 Commonly used word processing method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113589956A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115271668A (en) * 2022-08-01 2022-11-01 苏州七星天专利运营管理有限责任公司 Project management method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050036945A (en) * 2005-04-04 2005-04-20 김민겸 Alphabet input apparatus in a keypad and method thereof
CN102736831A (en) * 2011-04-14 2012-10-17 腾讯科技(深圳)有限公司 Input method and device applied to mobile terminal comprising virtual keyboard
CN105094357A (en) * 2014-05-15 2015-11-25 阿里巴巴集团控股有限公司 Input method and device as well as electronic equipment
CN110609723A (en) * 2019-08-21 2019-12-24 维沃移动通信有限公司 Display control method and terminal equipment
CN110825243A (en) * 2019-11-01 2020-02-21 深圳传音控股股份有限公司 Shortcut phrase input method, terminal device and computer-readable storage medium
CN112684908A (en) * 2020-12-25 2021-04-20 科大讯飞股份有限公司 Input method interface tool item recommendation method and device, storage medium and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050036945A (en) * 2005-04-04 2005-04-20 김민겸 Alphabet input apparatus in a keypad and method thereof
CN102736831A (en) * 2011-04-14 2012-10-17 腾讯科技(深圳)有限公司 Input method and device applied to mobile terminal comprising virtual keyboard
CN105094357A (en) * 2014-05-15 2015-11-25 阿里巴巴集团控股有限公司 Input method and device as well as electronic equipment
CN110609723A (en) * 2019-08-21 2019-12-24 维沃移动通信有限公司 Display control method and terminal equipment
CN110825243A (en) * 2019-11-01 2020-02-21 深圳传音控股股份有限公司 Shortcut phrase input method, terminal device and computer-readable storage medium
CN112684908A (en) * 2020-12-25 2021-04-20 科大讯飞股份有限公司 Input method interface tool item recommendation method and device, storage medium and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115271668A (en) * 2022-08-01 2022-11-01 苏州七星天专利运营管理有限责任公司 Project management method and system
CN115271668B (en) * 2022-08-01 2023-10-31 苏州七星天专利运营管理有限责任公司 Project management method and system

Similar Documents

Publication Publication Date Title
US11784951B1 (en) Determining contextually relevant application templates associated with electronic message content
US10296201B2 (en) Method and apparatus for text selection
EP3407215B1 (en) Method, device, and computer-readable storage medium for collecting information resources
US9483475B2 (en) Content recommendation method
US20170315681A1 (en) Information display method and device
EP3173948A1 (en) Method and apparatus for recommendation of reference documents
KR20170048964A (en) Method and apparatus of providing message, Method and apparatus of controlling display and computer program for executing one of the method
CN107621886B (en) Input recommendation method and device and electronic equipment
US10791187B2 (en) Information displaying method and apparatus, and storage medium
TW201923547A (en) Processing method, device, apparatus, and machine-readable medium
CN103914502A (en) Method for intelligent search service using situation recognition and terminal thereof
TW201923630A (en) Processing method, device, apparatus, and machine-readable medium
CN110391966B (en) Message processing method and device and message processing device
KR102053196B1 (en) Mobile terminal and control method thereof
CN112035031B (en) Note generation method and device, electronic equipment and storage medium
KR20140113155A (en) Mobile device and control method for the same
CN113589956A (en) Commonly used word processing method and device, mobile terminal and storage medium
CN106776990B (en) Information processing method and device and electronic equipment
CN110020082B (en) Searching method and device
CN115547330A (en) Information display method and device based on voice interaction and electronic equipment
CN109144286B (en) Input method and device
CN111489131A (en) Information recommendation method and device
CN107846347B (en) Communication content processing method and device and electronic equipment
CN115577192A (en) Search result display method and device, mobile terminal and storage medium
CN108983992B (en) Candidate item display method and device with punctuation marks

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