CN110764843A - Application program control method, terminal and computer readable storage medium - Google Patents

Application program control method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110764843A
CN110764843A CN201911020413.5A CN201911020413A CN110764843A CN 110764843 A CN110764843 A CN 110764843A CN 201911020413 A CN201911020413 A CN 201911020413A CN 110764843 A CN110764843 A CN 110764843A
Authority
CN
China
Prior art keywords
target
application program
rule
preset
character
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
CN201911020413.5A
Other languages
Chinese (zh)
Inventor
肖明
李凌志
陆伟峰
朱荣昌
夏程杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Shenzhen Transsion Holdings 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 Shenzhen Transsion Holdings Co Ltd filed Critical Shenzhen Transsion Holdings Co Ltd
Priority to CN201911020413.5A priority Critical patent/CN110764843A/en
Publication of CN110764843A publication Critical patent/CN110764843A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/33Querying
    • G06F16/3331Query processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an application program control method, a terminal and a computer readable storage medium, wherein the method comprises the following steps: acquiring character content, and analyzing the character content with a preset rule; and acquiring a target application program to process the character content according to the analysis result. According to the embodiment, the application program can be automatically matched aiming at the characters, and the efficiency of calling the application program is improved.

Description

Application program control method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an application control method, a terminal, and a computer-readable storage medium.
Background
The popularization of intelligent terminals (e.g., mobile phones) greatly facilitates people's life, study and work. A user usually uses a plurality of Applications (APPs) in the process of using the intelligent terminal, and if the user needs to execute an operation in another application in the process of executing the operation by using a certain application, the user usually returns to the main interface first, and then clicks the icon of the application to be opened in the main interface to open the application. However, with the development of computer technology, more and more applications are installed in the smart terminal, which may cause a user to spend a long time in finding an icon of an application that needs to be opened.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide an application program control method terminal and a computer-readable storage medium, which can automatically match an application program for a character and improve the efficiency of calling the application program.
In a first aspect, an embodiment of the present invention provides an application program control method, where the method includes:
acquiring character content, and analyzing the character content with a preset rule;
and acquiring a target application program to process the character content according to the analysis result.
In one embodiment, the preset rule includes: at least one of a time rule, a duration rule, a name rule, a number rule, and an event rule.
In an embodiment, the analyzing the character content with a preset rule includes:
acquiring a target character string meeting a preset rule in the character content;
acquiring a target application program associated with the satisfied preset rule;
in one embodiment, the obtaining the target application program associated with the satisfied preset rule includes:
searching for the associated target application program according to the satisfied preset rule;
after the target application program associated with the satisfied preset rule is obtained, the method further comprises:
and displaying the associated target application program according to a preset display mode.
In an embodiment, the displaying the associated target application according to the preset display mode includes:
displaying a call frame of a related target application program in a first display area according to the input sequence of the target character string, wherein the call frame comprises: a corresponding target string, and/or an identification of a target application; and/or the presence of a gas in the gas,
displaying a call frame of a target application program corresponding to N target character strings meeting the same preset rule in a first display area, wherein N is a positive integer greater than or equal to 1, and the call frame comprises: the N target character strings and/or the identification of the target application program; and/or the presence of a gas in the gas,
and displaying the identifier of the corresponding at least one target application program at a preset position of the target character string meeting the preset rule.
In one embodiment, after the target application associated with the satisfied preset rule is obtained, the method further includes:
associating a target application program associated with the satisfied preset rule with the target character string;
and displaying the associated target character strings according to a preset attribute rule.
In one embodiment, the preset attribute rule includes at least one of font type, font color, font background color, font bolding, font underlining, and font tilting.
In one embodiment, the acquiring the target application program processes the character content, including: adding the character content and/or the target character string to a corresponding location in the target application, and/or,
searching and/or displaying the target content matched with the character content or the target character string.
In an embodiment, before analyzing the character content with a preset rule, the method further includes:
splitting the character content according to a preset splitting rule to obtain a split character string;
displaying a text selection box corresponding to the split character string in a second display area, wherein the text selection box displays the corresponding character string;
and when the touch operation aiming at the text selection box is detected, executing the operation corresponding to the text selection box.
In an embodiment, the preset splitting rule includes:
splitting the character content into at least one of a single character string, a phrase, a sentence and a character string meeting the preset rule;
the operation corresponding to the text selection box comprises the following steps: the target string displayed in the text selection box is copied and/or cut.
In a second aspect, an embodiment of the present invention provides an application program control apparatus, where the apparatus includes a unit configured to execute the application program control method according to any one of the first aspect.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a memory, and a user interface, where the processor, the memory, and the user interface are connected to each other, where the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the application control method according to any one of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, the computer program including program instructions, which, when executed by a processor, cause the processor to execute any one of the application control methods described in the first aspect.
According to the embodiment of the invention, the character content is acquired, the character content is analyzed with the preset rule, and the target application program is acquired according to the analysis result to process the character content, so that the application program can be automatically matched aiming at the character, and the efficiency of calling the application program is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an application control method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another method for controlling an application according to an embodiment of the present invention;
FIG. 3 is a diagram of a display interface according to a first embodiment of the present invention;
FIG. 4 is a diagram of a display interface according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an application control apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The embodiment of the invention discloses an application program control method, a terminal and a computer readable storage medium, which are used for automatically matching an application program aiming at characters so as to improve the efficiency of calling the application program. The terminal in the embodiment of the present invention may be a smart phone (e.g., an Android phone), a tablet computer, a Mobile Internet Device (MID), a computer, or the like.
Fig. 1 is a schematic flowchart of an application control method according to a first embodiment of the present invention. The application program control method described in the embodiment of the present invention may include:
s101, the terminal obtains character content and analyzes the character content and a preset rule.
In the embodiment of the invention, the character content can be input by a user. When detecting that the user inputs character content, the terminal acquires the character content input by the user. The user can input character content through an input device configured by the terminal, wherein the input device can be a keyboard configured by the terminal, and the keyboard can be physical or virtual; the input device can also be a touch screen configured by the terminal; the input device can also be a keyboard, a writing board and the like which are externally connected with the terminal. In another embodiment, the character content may also be selected by the user for the text displayed by the terminal. For example, a segment of characters is displayed on a terminal display interface, and when the selection operation of the user on the segment of characters is detected, the terminal acquires the character content selected by the selection operation. In yet another embodiment, the character content may also be intelligently recognized by the terminal for the text it displays. For example, a section of characters is displayed on a terminal display interface, and the terminal intelligently identifies the section of characters and acquires the character contents intelligently identified. It should be noted that, in the above manner of obtaining the character content, the obtained character content is all the character content input by the user or all the character content selected by the user for the characters displayed by the terminal, that is, all the character content input by the user or all the character content selected by the user needs to be analyzed with the preset rule. In another embodiment, after receiving all the character contents input by the user or acquiring all the character contents selected by the user for the characters displayed by the terminal, the terminal acquires a part of the character contents from all the character contents input by the user or all the character contents selected by the user, and only analyzes the part of the character contents with a preset rule. The selected part of the character content may be a continuous piece of content, or may be a category of content, such as chinese, english, numeric, etc.
And the terminal acquires a target character string which meets a preset rule in the selected character content. Wherein, the target character string can be one or more. When the target character strings are multiple, the preset rules satisfied by the multiple target character strings may be the same or different. The preset rules include time rules, duration rules, name rules, number rules or event rules, etc. In one embodiment, satisfying the time rule means that the target character string conforms to a common writing rule of time, or the target character string can clearly indicate specific time; for example, when the target string is "9: 30", "9 AM", "6 PM", or "10 AM 10 min", it may be determined that the target string satisfies the time rule. The target character string meets the common writing rule of the duration, or the target character string can clearly indicate the specific duration; for example, when the target character string is "30 s", "5 min", "1 hour", or "10 minutes", it may be determined that the target character string satisfies the duration rule. Satisfying the name rule means that the target string conforms to a common name rule of names, or the target string can clearly indicate a specific name; the name may be a person name, a business name, a government agency name, a school name, a bridge name, a road name, a cell name, a store name, a place name, etc. For example, when the target string is "Zhang three", "James", "XX bridge", "XX road", or "XX school", it may be determined that the target string satisfies the name rule. Satisfying the number rule means that the target character string conforms to the common arrangement or coding rule of the number, or the target character string can clearly indicate the number with special meaning; the number may be a telephone number, a postal code, an enterprise code, a product identification code, an identification number, or the like. For example, when the target string is "132 xxxxxxxxxx", "400 XXX", or "500 xxxxxxxxxxxxxxxxxx", it may be determined that the target string satisfies the number rule. Satisfying the event rule means that the target string can clearly indicate a specific event; for example, when the target character string is "do XX things tomorrow to XX place", "take a meeting today in the afternoon", "visit by XX country president", or "tsunami occurs XX", it may be determined that the target character string satisfies the event rule.
Further, the target application program associated with the satisfied preset rule is obtained. After acquiring a target character string meeting preset rules in the character content, the terminal respectively acquires target application programs associated with the preset rules met by the target character string; the target application associated with a certain preset rule may be one or more. The terminal may preset a mapping relationship between a preset rule and a target application program in advance, and the terminal determines the target application program associated with each preset rule that the target character string satisfies by searching the mapping relationship. For example, the target applications associated with the time rules include an alarm clock application, a world clock application, and the like. The target applications associated with the duration rules include a timer application and the like. The target applications associated with the name rules include address book applications, search applications, and the like. The destination applications associated with the number rules include address book applications, memo applications, dialing applications, search applications, and the like. The target applications associated with the event rules include a memo application, a search application, and the like. The search application includes an application that can search for content from a network, an application that can search for content stored locally at a terminal, and the like. The application that can search for content from the network is, for example, a browser or the like configured by the terminal.
In one embodiment, after the target application program associated with the satisfied preset rule is obtained, the target application program associated with the satisfied preset rule is associated with the target character string; and displaying the target character string associated with the preset rule according to the preset attribute rule. The preset attribute rule comprises at least one of font type, font color, font background color, font bolding, font underlining and font tilting. In other embodiments, the target character string and the target application associated therewith may be displayed in association, including displaying the target character string and the application name of the target application associated therewith as the same attribute rule, for example, as the same font type, the same font color, the same font background color, and at the same time, as bold, underline, or slant.
In another embodiment, after acquiring the target application program associated with the satisfied preset rule, displaying the associated target application program according to a preset display mode includes: displaying a call frame of a related target application program in a first display area according to the input sequence of the target character string, wherein the call frame comprises: a corresponding target string, and/or an identification of a target application; and/or displaying a calling frame of a target application program corresponding to N target character strings meeting the same preset rule in a first display area, wherein N is a positive integer greater than or equal to 1, and the calling frame comprises: the N target character strings and/or the identification of the target application program; and/or displaying the identifier of the corresponding at least one target application program at the preset position of the target character string meeting the preset rule. In other embodiments, the identifier of the target application program associated with the target character string may be displayed beside the target character string, and the identifier may be an application icon or an application name of the target application program.
Optionally, when there are multiple target applications associated with the target character string displayed in the target application call box, the target application with the highest use frequency may be selected from the multiple associated target applications for display according to the target character string meeting the preset rule obtained by statistics in advance for the user. The plurality of associated target application programs can also be sequenced according to the use frequency of each associated target application program, and the plurality of associated target application programs are displayed in the associated target application program calling frame according to the sequencing result, so that the display result is more in line with the habit of the user, and the user experience is improved.
In another embodiment, before analyzing the acquired character content and a preset rule, the terminal splits the acquired character content according to the preset splitting rule to obtain M split character strings, where M is a positive integer greater than or equal to 1; and then, in a second display area in the terminal display interface, displaying a text selection box corresponding to each character string in the M character strings, and displaying the corresponding character string in each text selection box. The second display area may be a lower display area of the display interface. Further, when the triggering operation for the text selection box is detected, the operation corresponding to the text selection box is executed. Wherein, the preset splitting rule is as follows: splitting the acquired character content into one or more of single character strings, phrases, sentences and character strings meeting preset rules; the operation corresponding to the text selection box comprises the following steps: copying the character string displayed in the text selection box; the trigger operation may be a single-click or double-click operation, etc.
And S102, acquiring a target application program to process the character content according to the analysis result.
In the embodiment of the present invention, a terminal opens a target application, displays an interface of the target application, and processes a target character string satisfying a preset rule through the target application, including: and filling the character content and/or the target character string selected in the step S101 into a corresponding position in the target application program, and/or searching and/or displaying the target content and the like matched with the selected character content or the target character string. For example, if the target character string satisfies the number rule, specifically, the target character string satisfies the telephone number layout rule, and the trigger is the identifier of the dialing application program associated with the number rule, the dialing application program is opened, and the target character string is filled in the position of the dialing number in the interface of the dialing application program. For another example, if the target string is "tsunami occurs XX", the event rule is satisfied, and the identification of the search application associated with the event rule is triggered, the search application is opened, and the content matching the target string "tsunami occurs XX" is searched from the network by the search application. By adopting the application program control method in the embodiment of the invention, the application programs can be automatically matched aiming at the characters, the identification of the associated application program is displayed in the associated target application program calling frame, and the corresponding application program can be successfully called only by triggering the identification, so that the scheme can achieve the purposes of quickly calling the application program and effectively improving the efficiency of calling the application program. For another example, if the target character string satisfies the number rule or the mailbox rule, specifically, the target character string satisfies the telephone number or the mailbox layout rule, and the identifier of the short message/email application program associated with the number rule is triggered, or the identifier of the email application program associated with the mailbox rule is triggered, the short message/email application program is opened, or the email application program is opened, the target character string is filled in the position of the recipient in the interface of the short message, email or email application program, and the selected character content is filled in the text content of the interface of the short message, email or email application program.
According to the embodiment of the invention, the character content is acquired, the character content is analyzed with the preset rule, and the target application program is acquired according to the analysis result to process the character content, so that the application program can be automatically matched aiming at the character, and the efficiency of calling the application program is improved.
Fig. 2 is a flowchart illustrating an application control method according to a second embodiment of the present invention. The application program control method described in the embodiment of the present invention may include:
s201, the terminal acquires character content.
In the embodiment of the invention, the character content can be input by a user. When detecting that the user inputs character content, the terminal acquires the character content input by the user. The user can input character content through an input device configured by the terminal, wherein the input device can be a keyboard configured by the terminal, and the keyboard can be physical or virtual; the input device can also be a touch screen configured by the terminal; the input device can also be a keyboard, a writing board and the like which are externally connected with the terminal. In another embodiment, the character content may also be selected by the user for the text displayed by the terminal. For example, a segment of characters is displayed on a terminal display interface, and when the selection operation of the user on the segment of characters is detected, the terminal acquires the character content selected by the selection operation. In yet another embodiment, the character content may also be intelligently recognized by the terminal for the text it displays. For example, a section of characters is displayed on a terminal display interface, and the terminal intelligently identifies the section of characters and acquires the character contents intelligently identified.
In an embodiment, after the terminal acquires the character content, the acquired character content may be displayed in a preset display area in a display interface of the terminal. The preset display area may be an upper display area of the display interface.
S202, the terminal acquires a target character string meeting a preset rule in the character content.
In the embodiment of the invention, the terminal acquires the target character strings meeting the preset rule in the character content, and the number of the target character strings can be one or more. When the target character strings are multiple, the preset rules satisfied by the multiple target character strings may be the same or different. The preset rules include time rules, duration rules, name rules, number rules or event rules, etc.
In one embodiment, satisfying the time rule means that the target character string conforms to a common writing rule of time, or the target character string can clearly indicate specific time; for example, when the target string is "9: 30", "9 AM", "6 PM", or "10 AM 10 min", it may be determined that the target string satisfies the time rule. The target character string meets the common writing rule of the duration, or the target character string can clearly indicate the specific duration; for example, when the target character string is "30 s", "5 min", "1 hour", or "10 minutes", it may be determined that the target character string satisfies the duration rule. Satisfying the name rule means that the target string conforms to a common name rule of names, or the target string can clearly indicate a specific name; the name may be a person name, a business name, a government agency name, a school name, a bridge name, a road name, a cell name, a store name, a place name, etc. For example, when the target string is "Zhang three", "James", "XX bridge", "XX road", or "XX school", it may be determined that the target string satisfies the name rule. Satisfying the number rule means that the target character string conforms to the common arrangement or coding rule of the number, or the target character string can clearly indicate the number with special meaning; the number may be a telephone number, a postal code, an enterprise code, a product identification code, an identification number, or the like. For example, when the target string is "132 xxxxxxxxxx", "400 XXX", or "500 xxxxxxxxxxxxxxxxxx", it may be determined that the target string satisfies the number rule. Satisfying the event rule means that the target string can clearly indicate a specific event; for example, when the target character string is "do XX things tomorrow to XX place", "take a meeting today in the afternoon", "visit by XX country president", or "tsunami occurs XX", it may be determined that the target character string satisfies the event rule.
S203, the terminal acquires the target application program associated with the preset rule, and displays the target character string and the identification of the target application program in a first display area in a display interface according to a preset display mode.
In the embodiment of the invention, after acquiring a target character string meeting preset rules in the character content, a terminal respectively acquires target application programs associated with each preset rule met by the target character string; the target application associated with a certain preset rule may be one or more. The terminal may preset a mapping relationship between a preset rule and a target application program in advance, and the terminal determines the target application program associated with each preset rule that the target character string satisfies by searching the mapping relationship. In one embodiment, the target applications associated with the time rules include an alarm clock application, a world clock application, and the like. The target applications associated with the duration rules include a timer application and the like. The target applications associated with the name rules include address book applications, search applications, and the like. The destination applications associated with the number rules include address book applications, memo applications, dialing applications, search applications, and the like. The target applications associated with the event rules include a memo application, a search application, and the like. The search application includes an application that can search for content from a network, an application that can search for content stored locally at a terminal, and the like. The application that can search for content from the network is, for example, a browser or the like configured by the terminal.
Further, after the terminal acquires the target application program associated with each preset rule met by the target character string, the terminal displays the target character string and the identifier of the target application program in a first display area in a terminal display interface according to a preset display mode. The first display area may be a middle display area of the display interface.
In an embodiment, the manner that the terminal displays the target character string and the identifier of the target application program in the first display area in the display interface according to the preset display manner may be that: firstly, displaying an application program calling frame corresponding to each target character string in at least one target character string meeting a preset rule in a first display area in a display interface; then displaying corresponding target character strings and the identification of the target application program in each application program calling frame; the target application program displayed in the application program calling frame is an application program matched with a preset rule met by the target character string displayed in the application program calling frame. When a plurality of target application programs matched with the preset rule met by the target character string displayed in the application program calling frame are available, the frequency of each target application program can be selected from the target application programs according to the target character string meeting the preset rule obtained by statistics in advance, the target application programs are sequenced, and the target application programs are displayed in the application program calling frame according to the sequencing result, so that the display result is more in line with the habit of the user, and the user experience is improved.
In an embodiment, the manner of displaying, in the first display area of the display interface, the application call box corresponding to each target character string in the at least one target character string that meets the preset rule by the terminal may be: acquiring an input sequence of at least one target character string meeting a preset rule; and displaying the application program calling boxes corresponding to each target character string in the at least one target character string according to the input sequence in a first display area in the display interface. For example, the application call box corresponding to the target character string input first is displayed above or in front of the application call box corresponding to the target character string input later.
In another embodiment, the number of the target character strings meeting the preset rule in the character content is at least two, and the manner of displaying the target character string and the identifier of the target application program by the terminal in the first display area in the display interface according to the preset display manner may be: firstly, respectively obtaining Y character strings meeting the same preset rule in at least two target character strings meeting the preset rule, and grouping the Y character strings meeting the same preset rule into the same group, wherein Y is a positive integer greater than or equal to 2; then displaying an application program calling frame corresponding to each group of character strings in a first display area in a display interface; then displaying corresponding character strings and the identification of the target application program in each application program calling frame; the character strings displayed in the application program calling frame are Y character strings in the same group, and the target application program displayed in the application program calling frame is an application program matched with the preset rule met by the Y character strings displayed in the application program calling frame. That is, in an application program call box corresponding to a preset rule, all the Y character strings satisfying the preset rule in the character content and the identifier of the target application program matching the preset rule are displayed.
For a better understanding of the above, the following examples are given for a detailed description. Referring to fig. 3, fig. 3 is a schematic diagram of a display interface according to a first embodiment of the present invention. In fig. 3, an area 301 is a preset display area of a terminal display interface, and is used for displaying character content acquired by a terminal; the area shown in 302 is a first display area of the terminal display interface, and is used for displaying an application program call box. As shown in fig. 3, the character content acquired by the terminal is "xxxxxx" and, assuming that the character string "xxxxxx" shown at 3011 satisfies the preset rule 1, the target application program matched with the preset rule 1 is APP 1; 3012, the character string "×" satisfies preset rule 2, and the target application programs matched with preset rule 2 are APP2 and APP 3; 3013, the string "XX" satisfies the preset rule 3, and the target applications matching the preset rule 3 are APP4, APP2, and APP 5. An application call box 3021 corresponding to the character string "xxxxxx" satisfying the preset rule 1 is displayed in the first display area 302, and the character string "xxxxxx" satisfying the preset rule 1 and the target application APP1 matching the preset rule 1 are displayed in the application call box 3021; displaying an application call box 3022 corresponding to the character string "×" meeting the preset rule 2 in the first display area 302, and displaying the character string "×" meeting the preset rule 2 and the target applications APP2 and APP3 matching the preset rule 2 in the application call box 3022; an application call box 3023 corresponding to the character string "XX" satisfying the preset rule 3 is displayed in the first display area 302, and the character string "XX" satisfying the preset rule 3 and the target applications APP4, APP2, and APP5 matching the preset rule 3 are displayed in the application call box 3023.
And S204, when the trigger operation aiming at the identifier is detected, the terminal opens the target application program and executes the operation corresponding to the target character string through the target application program.
In the embodiment of the invention, the trigger operation can be click operation or long-time press operation, and the click operation can be single-click operation or multi-click operation. And when the terminal detects the trigger operation aiming at the identifier of a certain target application program in the application program calling frame, opening the target application program, outputting an interface of the target application program, and executing the operation corresponding to the target character string through the target application program. Wherein, the operation corresponding to the target character string comprises: filling the target character string into a corresponding position in the target application program, and/or searching the content matched with the target character string, and the like. For example, if the target character string satisfies the number rule, specifically, the target character string satisfies the telephone number layout rule, and the trigger is the identifier of the dialing application program associated with the number rule, the dialing application program is opened, and the target character string is filled in the position of the dialing number in the interface of the dialing application program. For another example, if the target string is "tsunami occurs XX", the event rule is satisfied, and the identification of the search application associated with the event rule is triggered, the search application is opened, and the content matching the target string "tsunami occurs XX" is searched from the network by the search application. By adopting the application program control method in the embodiment of the invention, the application program can be automatically matched aiming at the characters, the identification of the matched application program is displayed in the application program calling frame, and the corresponding application program can be successfully called only by triggering the identification, so that the scheme can achieve the purposes of quickly calling the application program and effectively improving the efficiency of calling the application program.
In the embodiment of the invention, the terminal can also split the character content acquired by the terminal according to a preset splitting rule to obtain M character strings, wherein M is a positive integer greater than or equal to 1; and then, in a second display area in the terminal display interface, displaying a text selection box corresponding to each character string in the M character strings, and displaying the corresponding character string in each text selection box. The second display area may be a lower display area of the display interface. Further, when the triggering operation for the text selection box is detected, the operation corresponding to the text selection box is executed. Wherein, the preset splitting rule is as follows: splitting character content acquired by a terminal into one or more of single character strings, phrases, sentences and character strings meeting preset rules; the operation corresponding to the text selection box comprises the following steps: copying the character string displayed in the text selection box; the trigger operation may be a single-click or double-click operation, etc. With reference to fig. 4 in conjunction with the aforementioned example, fig. 4 is a schematic diagram of a display interface according to a second embodiment of the present invention, and compared to the display interface shown in fig. 3, the display interface shown in fig. 4 further includes a second display area 303 for displaying a text selection box. As shown in fig. 4, assuming that the character content "XXXX × XX" acquired by the terminal is split into character strings "XXXX", "X × XX", and "XX", the character string "XXXX" is displayed in the text selection box 3031, the character string "X × is displayed in the text selection box 3032, and the character string" XX "is displayed in the text selection box 3033. Further, if a one-click operation to the text selection box 3033 is detected, the character string "XX" displayed in the text selection box 3033 is copied so as to paste the character string "XX" displayed in the text selection box 3033 to other positions.
According to the embodiment of the invention, the character content is obtained, the target character string meeting the preset rule in the character content is obtained, then the target application program associated with the preset rule is obtained, the target character string and the identification of the target application program are displayed according to the preset display mode, when the trigger operation aiming at the identification is detected, the target application program is opened, and the operation corresponding to the target character string is executed through the target application program, so that the application program can be automatically matched aiming at the character, and the efficiency of calling the application program is improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an application control device according to an embodiment of the present invention. The application control device described in this embodiment may include:
an obtaining unit 501, configured to obtain character content;
the processing unit 502 is further configured to analyze the character content and a preset rule, and obtain a target application program to process the character content according to an analysis result.
In one embodiment, the preset rule includes: at least one of a time rule, a duration rule, a name rule, a number rule, and an event rule.
In an embodiment, when the processing unit 502 analyzes the character content and a preset rule, it is specifically configured to: acquiring a target character string meeting a preset rule in the character content; and acquiring the target application program associated with the satisfied preset rule.
In an embodiment, when the processing unit 502 acquires the target application program associated with the satisfied preset rule, it is specifically configured to: searching for the associated target application program according to the satisfied preset rule;
the apparatus further includes a display unit 503, configured to display the associated target application according to a preset display manner.
In an embodiment, when the display unit 503 displays the associated target application according to a preset display manner, the display unit is specifically configured to:
displaying a call frame of a related target application program in a first display area according to the input sequence of the target character string, wherein the call frame comprises: a corresponding target string, and/or an identification of a target application; and/or the presence of a gas in the gas,
displaying a call frame of a target application program corresponding to N target character strings meeting the same preset rule in a first display area, wherein N is a positive integer greater than or equal to 1, and the call frame comprises: the N target character strings and/or the identification of the target application program; and/or the presence of a gas in the gas,
and displaying the identifier of the corresponding at least one target application program at a preset position of the target character string meeting the preset rule.
In an embodiment, the processing unit 502 is further configured to associate a target application associated with the satisfied preset rule with the target character string;
the display unit 503 is further configured to display the associated target character string according to a preset attribute rule.
In one embodiment, the preset attribute rule includes at least one of font type, font color, font background color, font bolding, font underlining, and font tilting.
In an embodiment, when the processing unit 502 obtains the target application program to process the character content, the processing unit is specifically configured to: adding the character content and/or the target character string to a corresponding position in the target application program; and/or the presence of a gas in the gas,
searching and/or displaying the target content matched with the character content or the target character string.
In an embodiment, the processing unit 502 is further configured to split the character content according to a preset splitting rule, so as to obtain a split character string;
the display unit 503 is further configured to display a text selection box corresponding to the split character string in a second display area, where the text selection box displays the corresponding character string;
the processing unit 502 is further configured to, when a touch operation for the text selection box is detected, execute an operation corresponding to the text selection box.
In an embodiment, the preset splitting rule includes: splitting the character content into at least one of a single character string, a phrase, a sentence and a character string meeting the preset rule; the operation corresponding to the text selection box comprises the following steps: the target string displayed in the text selection box is copied and/or cut.
It can be understood that the functions of each functional unit of the application program control apparatus according to the embodiment of the present invention can be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process of the method embodiment may refer to the related description of the foregoing method embodiment, which is not described herein again.
According to the embodiment of the invention, the character content is acquired, the character content is analyzed with the preset rule, and the target application program is acquired according to the analysis result to process the character content, so that the application program can be automatically matched aiming at the character, and the efficiency of calling the application program is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal described in the embodiment of the present invention includes: the method comprises the following steps: a processor 601, a user interface 602, a communication interface 603, and a memory 604. The processor 601, the user interface 602, the communication interface 603, and the memory 604 may be connected by a bus or other means, and the embodiment of the present invention is exemplified by being connected by a bus.
The processor 601 (or Central Processing Unit, CPU) is a computing core and a control core of the terminal, and can analyze various instructions in the terminal and process various data of the terminal, for example: the CPU can be used for analyzing a power-on and power-off instruction sent to the terminal by a user and controlling the terminal to carry out power-on and power-off operation; the following steps are repeated: the CPU may transmit various types of interactive data between the internal structures of the terminal, and so on. The user interface 602 is a medium for implementing interaction and information exchange between a user and a terminal, and may be embodied by a Display screen (Display) for outputting, a Keyboard (Keyboard) for inputting, a touch screen, and the like, where it is to be noted that the Keyboard may be an entity Keyboard, a touch screen virtual Keyboard, or a Keyboard that is a combination of an entity and a touch screen in a virtual manner. The communication interface 603 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI, mobile communication interface, etc.), and may be controlled by the processor 603 for transceiving data; the communication interface 603 may also be used for transmission and interaction of terminal internal signaling or instructions. A Memory 604(Memory) is a Memory device in the terminal for storing programs and data. It is understood that the memory 604 may comprise a built-in memory of the terminal, and may also comprise an extended memory supported by the terminal. The memory 604 provides storage space that stores the operating system of the terminal, which may include, but is not limited to: android system, iOS system, Windows Phone system, etc., which are not limited in this respect.
In the embodiment of the present invention, the processor 601 executes the executable program code in the memory 604 to perform the following operations:
acquiring character content, and analyzing the character content with a preset rule;
and acquiring a target application program to process the character content according to the analysis result.
In one embodiment, the preset rule includes: at least one of a time rule, a duration rule, a name rule, a number rule, and an event rule.
In an embodiment, when the processor 601 analyzes the character content and a preset rule, the method is specifically configured to: acquiring a target character string meeting a preset rule in the character content; and acquiring the target application program associated with the satisfied preset rule.
In an embodiment, when the processor 601 obtains the target application program associated with the satisfied preset rule, it is specifically configured to: searching for the associated target application program according to the satisfied preset rule;
after the processor 601 obtains the target application program associated with the satisfied preset rule, the processor is further configured to: the associated target application is displayed in a preset display manner through the user interface 602.
In an embodiment, when the processor 601 displays the associated target application program according to a preset display mode through the user interface 602, the specific application program is specifically configured to: displaying a call box of the associated target application program in the first display area according to the input sequence of the target character string through the user interface 602, wherein the call box comprises: a corresponding target string, and/or an identification of a target application; and/or the presence of a gas in the gas,
displaying, by a user interface 602, a call frame of a target application program corresponding to N target character strings that satisfy the same preset rule in a first display area, where N is a positive integer greater than or equal to 1, where the call frame includes: the N target character strings and/or the identification of the target application program; and/or the presence of a gas in the gas,
at a preset position of the target character string satisfying the preset rule, an identification of the corresponding at least one target application is displayed through the user interface 602.
In one embodiment, after the processor 601 obtains the target application program associated with the satisfied preset rule, it is further configured to: associating a target application program associated with the satisfied preset rule with the target character string; and displaying the associated target character strings according to preset attribute rules through the user interface 602.
In one embodiment, the preset attribute rule includes at least one of font type, font color, font background color, font bolding, font underlining, and font tilting.
In an embodiment, when the processor 601 obtains the target application program to process the character content, the processor is specifically configured to: adding the character content and/or the target character string to a corresponding position in the target application program; and/or the presence of a gas in the gas,
searching and/or displaying the target content matched with the character content or the target character string.
In an embodiment, before the processor 601 analyzes the character content with the preset rule, it is further configured to: splitting the character content according to a preset splitting rule to obtain a split character string; displaying a text selection box corresponding to the split character string in a second display area through a user interface 602, wherein the text selection box displays the corresponding character string; and when the touch operation aiming at the text selection box is detected, executing the operation corresponding to the text selection box.
In an embodiment, the preset splitting rule includes: splitting the character content into at least one of a single character string, a phrase, a sentence and a character string meeting the preset rule; the operation corresponding to the text selection box comprises the following steps: the target string displayed in the text selection box is copied and/or cut.
In a specific implementation, the processor 601, the user interface 602, the communication interface 603, and the memory 604 described in this embodiment may execute the implementation of the terminal described in the application control method provided in this embodiment of the present invention, and may also execute the implementation of the application control apparatus provided in fig. 4 in this embodiment of the present invention, which is not described herein again.
According to the embodiment of the invention, the character content is acquired, the character content is analyzed with the preset rule, and the target application program is acquired according to the analysis result to process the character content, so that the application program can be automatically matched aiming at the character, and the efficiency of calling the application program is improved.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, where the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to execute the application program control method described in the above method embodiment.
Embodiments of the present invention further provide a computer program product including instructions, which when run on a computer, cause the computer to execute the application control method described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device provided by the embodiment of the invention can be combined, divided and deleted according to actual needs.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. An application control method, comprising:
acquiring character content, and analyzing the character content with a preset rule;
and acquiring a target application program to process the character content according to the analysis result.
2. The method of claim 1, wherein the preset rules comprise: at least one of a time rule, a duration rule, a name rule, a number rule, and an event rule.
3. The method according to claim 2, wherein the analyzing the character content with a preset rule comprises:
acquiring a target character string meeting a preset rule in the character content;
and acquiring the target application program associated with the satisfied preset rule.
4. The method of claim 3, wherein obtaining the target application associated with the satisfied preset rule comprises:
searching for the associated target application program according to the satisfied preset rule;
after the target application program associated with the satisfied preset rule is obtained, the method further comprises:
and displaying the associated target application program according to a preset display mode.
5. The method according to claim 4, wherein the displaying the associated target application program according to the preset display mode comprises:
displaying a call frame of a related target application program in a first display area according to the input sequence of the target character string, wherein the call frame comprises: a corresponding target string, and/or an identification of a target application; and/or the presence of a gas in the gas,
displaying a call frame of a target application program corresponding to N target character strings meeting the same preset rule in a first display area, wherein N is a positive integer greater than or equal to 1, and the call frame comprises: the N target character strings and/or the identification of the target application program; and/or the presence of a gas in the gas,
and displaying the identifier of the corresponding at least one target application program at a preset position of the target character string meeting the preset rule.
6. The method of claim 3, wherein after obtaining the target application associated with the satisfied preset rule, the method further comprises:
associating a target application program associated with the satisfied preset rule with the target character string;
and displaying the associated target character strings according to a preset attribute rule.
7. The method of claim 6, wherein the preset attribute rules include at least one of font type, font color, font background color, font boldness, font underlining, and font skewing.
8. The method of any one of claims 1 to 7, wherein the obtaining the target application program processes the character content, and comprises:
adding the character content and/or the target character string to a corresponding position in the target application program; and/or the presence of a gas in the gas,
searching and/or displaying the target content matched with the character content or the target character string.
9. The method according to claim 1, wherein before analyzing the character content with a preset rule, the method further comprises:
splitting the character content according to a preset splitting rule to obtain a split character string;
displaying a text selection box corresponding to the split character string in a second display area, wherein the text selection box displays the corresponding character string;
and when the touch operation aiming at the text selection box is detected, executing the operation corresponding to the text selection box.
10. The method of claim 9, wherein the preset splitting rule comprises:
splitting the character content into at least one of a single character string, a phrase, a sentence and a character string meeting the preset rule;
the operation corresponding to the text selection box comprises the following steps: the target string displayed in the text selection box is copied and/or cut.
11. A terminal comprising a processor, a memory and a user interface, wherein the memory is for storing a computer program comprising program instructions, and the processor is configured to invoke the program instructions to perform an application control method according to any one of claims 1 to 10.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to execute the application control method according to any one of claims 1 to 10.
CN201911020413.5A 2019-10-25 2019-10-25 Application program control method, terminal and computer readable storage medium Pending CN110764843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911020413.5A CN110764843A (en) 2019-10-25 2019-10-25 Application program control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911020413.5A CN110764843A (en) 2019-10-25 2019-10-25 Application program control method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110764843A true CN110764843A (en) 2020-02-07

Family

ID=69333537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911020413.5A Pending CN110764843A (en) 2019-10-25 2019-10-25 Application program control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110764843A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844379A (en) * 2017-10-19 2018-03-27 深圳市金立通信设备有限公司 A kind of method for operating application program, terminal and computer-readable recording medium
CN108052255A (en) * 2017-10-30 2018-05-18 努比亚技术有限公司 Quick method, terminal and the computer storage media searched and start application program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844379A (en) * 2017-10-19 2018-03-27 深圳市金立通信设备有限公司 A kind of method for operating application program, terminal and computer-readable recording medium
CN108052255A (en) * 2017-10-30 2018-05-18 努比亚技术有限公司 Quick method, terminal and the computer storage media searched and start application program

Similar Documents

Publication Publication Date Title
CN109857327B (en) Information processing apparatus, information processing method, and storage medium
US20170076181A1 (en) Converting text strings into number strings, such as via a touchscreen input
US8756527B2 (en) Method, apparatus and computer program product for providing a word input mechanism
EP2579251B1 (en) Interactive text editing
US9244905B2 (en) Communication context based predictive-text suggestion
CN110073349B (en) Word order suggestion considering frequency and formatting information
US8726171B1 (en) Communication initiation control
CN103180849A (en) Searching multiple data sources using mobile computing device
US20050249346A1 (en) Conference call dialing
CN112181253A (en) Information display method and device and electronic equipment
US20180322213A1 (en) Processor-implemented method, computing system and computer program for invoking a search
CN104363349A (en) Short message processing method and portable terminal using same
CN104281560B (en) Display method, device and terminal of memory text information
US20180129300A1 (en) Input-based candidate word display method and apparatus
CN106970899B (en) Text processing method and device
CN107357481B (en) Message display method and message display device
KR100942123B1 (en) System and method for filtering far east language
US10291766B2 (en) Information processing method and apparatus
CN110764843A (en) Application program control method, terminal and computer readable storage medium
US9020931B2 (en) System and method for enhancing search experience of a user of a communication device
CN104657433A (en) Intelligent recommendation method and system based on contacts in address list
RU2741322C1 (en) Method and device for displaying possible word and graphical user interface
JP6221275B2 (en) Character input program and character input device
RU2525748C2 (en) Text input using two alphabets and key selection function
CN111966267A (en) Application comment method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination