CN112099865A - Application opening method and device, mobile terminal and computer readable storage medium - Google Patents

Application opening method and device, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN112099865A
CN112099865A CN202010743288.7A CN202010743288A CN112099865A CN 112099865 A CN112099865 A CN 112099865A CN 202010743288 A CN202010743288 A CN 202010743288A CN 112099865 A CN112099865 A CN 112099865A
Authority
CN
China
Prior art keywords
name information
application name
installed application
application
character string
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
CN202010743288.7A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN202010743288.7A priority Critical patent/CN112099865A/en
Publication of CN112099865A publication Critical patent/CN112099865A/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
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures

Abstract

The disclosure provides an application opening method and apparatus, a mobile terminal, and a computer-readable storage medium. The method is applied to the mobile terminal, and the specific implementation mode comprises the following steps: acquiring a character string input by a user by using an input method application in real time; determining whether the installed application name information matched with the character string exists in the installed application name information set or not; in response to determining that the display object exists, opening the display object at a candidate entry presentation application of the input method application; in response to detecting that a user opens a preset operation of a display object for the displayed application, determining an application corresponding to installed application name information matched with the character string; opening the determined application. According to the implementation mode, another application can be quickly found and opened in any scene of starting the input method application, so that the user can open the application in the mobile terminal more conveniently, and the implementation mode of opening the application in the mobile terminal by the user is enriched.

Description

Application opening method and device, mobile terminal and computer readable storage medium
Technical Field
The disclosure relates to the technical field of mobile terminals, in particular to an application opening method and device, a mobile terminal and a computer readable storage medium.
Background
As an important component of people's daily life, mobile terminals have had a great impact on people's life and work. In order to provide convenience to people's life and work, various applications (applications) are often installed in mobile terminals. In order to facilitate the user to find and open the application, the following application opening methods mainly exist:
(1) when the fact that a user clicks a desktop icon of the mobile terminal is detected, opening an application corresponding to the desktop icon;
(2) displaying English letters on the side of a desktop of the mobile terminal, matching each application taking the selected letter as an initial letter in the installed applications according to the letter selected by the user and presenting icons of each application when the user slides and selects the displayed English letters, and then opening the corresponding application when detecting that the user slides to a certain presented application icon;
(3) and when detecting that the user slides to a negative screen or slides upwards to enter a search interface and inputs an application name, matching out the corresponding application and then opening the application.
Disclosure of Invention
The disclosure provides an application opening method and device, a mobile terminal and a computer readable storage medium.
In a first aspect, the present disclosure provides an application opening method applied to a mobile terminal, where the method includes: acquiring a character string input by a user by using an input method application in real time; determining whether the installed application name information matched with the character string exists in the installed application name information set or not; in response to determining that the display object exists, opening the display object in a candidate entry presentation application of the input method application; determining an application corresponding to the installed application name information matched with the character string in response to detecting that a user opens a preset operation of a display object for the displayed application; opening the determined application.
In some optional embodiments, the determining whether there is installed application name information matching the character string in the installed application name information set includes: calculating a first similarity between the character string and each installed application name information in the installed application name information set; and determining that the installed application name information matched with the character string exists in the installed application name information set in response to the fact that the maximum first similarity is larger than or equal to a first preset similarity threshold, wherein the maximum first similarity is the maximum value of the first similarities obtained through calculation.
In some optional embodiments, the determining the application corresponding to the installed application name information that matches the character string includes: and determining the application corresponding to the installed application name information with the maximum first similarity between the installed application name information set and the character string as the application corresponding to the installed application name information matched with the character string.
In some optional embodiments, the determining whether there is installed application name information that matches the character string in the installed application name information set further includes: in response to determining that the maximum first similarity is smaller than the first preset similarity threshold, acquiring a candidate word set corresponding to the character string and presented by a candidate entry applied by the input method; calculating a second similarity between each candidate word in the candidate word set and each installed application name information in the installed application name information set; and determining that the installed application name information matched with the character string exists in the installed application name information set in response to the fact that the maximum second similarity is larger than or equal to a second preset similarity threshold, wherein the maximum second similarity is the maximum value of the calculated second similarities.
In some optional embodiments, the determining whether there is installed application name information matching the character string in the installed application name information set includes: acquiring a candidate word set corresponding to the character string and presented by the candidate entry applied by the input method; calculating a second similarity between each candidate word in the candidate word set and each installed application name information in the installed application name information set; and determining that the installed application name information matched with the character string exists in the installed application name information set in response to the fact that the maximum second similarity is larger than or equal to a second preset similarity threshold, wherein the maximum second similarity is the maximum value of the calculated second similarities.
In some optional embodiments, the determining the application corresponding to the installed application name information that matches the character string includes: and determining the application corresponding to the installed application name information with the maximum second similarity in the installed application name information set as the application corresponding to the installed application name information matched with the character string.
In some optional embodiments, the displaying an open display object in the candidate entry presentation application applied to the input method includes: and presenting the application opening display object in the area where the target candidate word in the candidate entry is located, wherein the target candidate word is a candidate word with the largest second similarity corresponding to the candidate word set.
In some alternative embodiments, the installed application name information includes an installed application name and/or an installed application name initial.
In some optional embodiments, the method further comprises: in response to the detection of the starting of the input method application, acquiring application names of all applications installed in the mobile terminal; for each acquired application name, generating an initial letter corresponding to the application name; and generating the installed application name information set by using each acquired application name and the corresponding initial letter.
In a second aspect, the present disclosure provides an application opening apparatus applied to a mobile terminal, wherein the apparatus includes: an acquisition unit configured to acquire a character string input by a user using an input method application in real time; a matching unit configured to determine whether there is installed application name information matching the character string in an installed application name information set; a presentation unit configured to present an open display object to the application at the candidate entry of the input method application in response to determining that the application exists; the determining unit is configured to respond to the detection of a preset operation that a user opens a display object for the displayed application, and determine the application corresponding to the installed application name information matched with the character string; an opening unit configured to open the determined application.
In some optional embodiments, the matching unit includes: a first similarity calculation module configured to calculate a first similarity between the character string and each installed application name information in the installed application name information set; and a first determining module configured to determine that installed application name information matched with the character string exists in the installed application name information set in response to determining that a maximum first similarity is greater than or equal to a first preset similarity threshold, where the maximum first similarity is a maximum value among the calculated first similarities.
In some optional embodiments, the determining the application corresponding to the installed application name information that matches the character string includes: and determining the application corresponding to the installed application name information with the maximum first similarity between the installed application name information set and the character string as the application corresponding to the installed application name information matched with the character string.
In some optional embodiments, the matching unit further includes: a candidate word obtaining module configured to, in response to determining that the maximum first similarity is smaller than the first preset similarity threshold, obtain a candidate word set corresponding to the character string and presented by a candidate entry applied by the input method; a second similarity calculation module configured to calculate a second similarity between each candidate word in the candidate word set and each installed application name information in the installed application name information set; and a second determining module configured to determine that the installed application name information matched with the character string exists in the installed application name information set in response to determining that a maximum second similarity is greater than or equal to a second preset similarity threshold, where the maximum second similarity is a maximum value among the calculated second similarities.
In some optional embodiments, the matching unit includes: the candidate word acquisition module is configured to acquire a candidate word set corresponding to the character string and presented by a candidate entry applied by the input method; a second similarity calculation module configured to calculate a second similarity between each candidate word in the candidate word set and each installed application name information in the installed application name information set; and a second determining module configured to determine that the installed application name information matched with the character string exists in the installed application name information set in response to determining that a maximum second similarity is greater than or equal to a second preset similarity threshold, where the maximum second similarity is a maximum value among the calculated second similarities.
In some optional embodiments, the determining the application corresponding to the installed application name information that matches the character string includes: and determining the application corresponding to the installed application name information with the maximum second similarity in the installed application name information set as the application corresponding to the installed application name information matched with the character string.
In some optional embodiments, the presenting unit is further configured to: and presenting the application opening display object in the area where the target candidate word in the candidate entry is located, wherein the target candidate word is a candidate word with the largest second similarity corresponding to the candidate word set.
In some alternative embodiments, the installed application name information includes an installed application name and/or an installed application name initial.
In some optional embodiments, the apparatus further comprises: an application name acquisition unit configured to acquire an application name of each application installed in the mobile terminal in response to detection of start of the input method application; the first generating unit is configured to generate an initial letter corresponding to the application name for each acquired application name; a second generating unit configured to generate the above-described set of installed application name information with each of the acquired application names and the corresponding initial.
In a third aspect, the present disclosure provides a mobile terminal, including: one or more processors; a storage device, on which one or more programs are stored, which, when executed by the one or more processors, cause the one or more processors to implement the method as described in any implementation manner of the first aspect.
In a fourth aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by one or more processors, implements the method as described in any of the implementations of the first aspect.
As can be seen from the description of the background art, currently, the following ways of opening applications mainly exist in mobile terminals:
(1) and when detecting that the user clicks the desktop icon of the mobile terminal, opening the application corresponding to the desktop icon. According to the application opening mode, when the number of the installed applications in the mobile terminal is large, finding the applications is troublesome, and operation of a user is inconvenient.
(2) Displaying English letters on the side of a desktop of the mobile terminal, matching each application taking the selected letter as an initial letter in the installed applications according to the letter selected by the user and presenting application icons of each application when the user slides and selects the displayed English letters, and then opening the corresponding application when the user slides to a certain presented application icon. The application opening mode is fuzzy in positioning, sometimes, a plurality of applications can be positioned by one letter, for example, seven or eight applications can be positioned under most conditions, secondary selection is needed by a user, and the operation difficulty of the user is increased.
(3) And when detecting that the user slides to a negative screen or slides upwards to enter a search interface and inputs an application name, matching out the corresponding application and then opening the application. The application opening mode has limited scenes, and the application can be opened only after the application name is input in a search interface.
In order to solve various defects of an application opening mode of a current mobile terminal, the application opening method and device, the mobile terminal and a computer readable storage medium are provided by the disclosure, under the condition that an input method application installed in the mobile terminal is started in a plurality of applications, whether a character string input by a user is matched with application name information of the installed application is detected, and if the character string input by the user is matched with the application name information of the installed application, the matched application is opened. Namely, the function of inputting information by the input method application is effectively utilized, and another application is quickly found and opened in any scene of starting the input method application, so that the user can open the application in the mobile terminal more conveniently, and the implementation mode of opening the application in the mobile terminal by the user is enriched. For example, the user may quickly open other applications in a scenario where an input method application is started in an interface such as a short message, a note, a browser, and Instant Messaging Software (Instant Messaging Software) in the mobile terminal.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1A is a flow diagram for one embodiment of an application opening method according to the present disclosure;
FIG. 1B is an exploded flow diagram for one embodiment of step 102 according to the present disclosure;
FIG. 1C is an exploded flow chart diagram of yet another embodiment of step 102 according to the present disclosure;
2A, 2B and 2C are schematic diagrams of an application scenario for an application opening method according to the present disclosure;
FIG. 3 is a schematic structural diagram of one embodiment of an application opening apparatus according to the present disclosure;
FIG. 4 is a block diagram of a computer system suitable for use with the mobile terminal of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 shows a flow 100 of one embodiment of an application opening method according to the present disclosure, which may be applied to a mobile terminal.
As shown in fig. 1, the application opening method includes the following steps:
step 101, acquiring a character string input by a user by using an input method application in real time.
In the present embodiment, the execution subject (e.g., mobile terminal) of the application opening method may acquire a character string input by the user using the input method application in real time in a case where the user inputs characters using the input method application in the mobile terminal. Here, the character string input by the user using the input method application refers to a character string input by the user when the user has input a character string and displays at least one candidate word in the candidate word entries, but the user has not selected confirmation in the displayed candidate word entries.
Step 102, determining whether the installed application name information matched with the character string exists in the installed application name information set.
In this embodiment, the execution subject may determine whether there is installed application name information matching the character string acquired in step 101 in the installed application name information set by adopting various implementations.
Here, in the set of installed application name information, each piece of installed application name information is application name information corresponding to an application installed in the mobile terminal where the execution subject is located. And the installed application name information of the installed application in the mobile terminal is used for representing the name of the installed application.
The installed application name information set corresponding to the mobile terminal may be obtained in advance by various implementation manners.
In some alternative embodiments, the set of installed application name information may be obtained by:
first, the execution main body may acquire an application name of each application installed in the mobile terminal in response to detecting the start of the input method application.
For example, for a mobile terminal installed with an Android operating system, the executing agent may obtain an application name of each application installed in the mobile terminal by using a package management class "PackageManager" of the system.
Next, the execution agent may generate an installed application name information set of the installed application according to the obtained application names.
In some optional embodiments, the execution principal may generate an installed application name information set using the obtained application names.
In some optional embodiments, the execution subject may also generate an initial corresponding to the application name for each acquired application name, and generate an installed application name information set using each acquired application name and the corresponding initial.
Here, when the application name expressed in the target language is expressed in english letters, the initials expressed in english letters corresponding to the minimum language units in the target language for each application name may be arranged in the order of the minimum language units in the application name. For example, for the Chinese application name "A, B, C", wherein the initials of the English letters corresponding to the Chinese characters "A", "B", C "are" j "," y ", and" b ", respectively, the initials corresponding to the application name" A, B, C "are" jyb ".
It should be noted that how to determine the initial corresponding to the application name is the prior art widely studied and applied at present, and is not described herein again.
In some optional embodiments, the installed application name information may include at least one of the following for the installed application: the installed application name, the pinyin corresponding to the installed application name, and the initial corresponding to the installed application name. Accordingly, determining whether the installed application name information matches the character string acquired in step 101 may also be determining whether the installed application name, the pinyin corresponding to the installed application name, or the initial corresponding to the installed application name matches the character string acquired in step 101. In practice, when determining whether the text a and the text B match, the matching may be determined in a case where the text a and the text B are identical, or in a case where a ratio obtained by dividing a length of a repeated portion between the two texts a and B by a larger one of a length of the text a and a length of the text B is larger than a preset ratio.
In some alternative embodiments, the execution subject may execute step 102 according to the flow 102 shown in fig. 1B. FIG. 1B is an exploded flow diagram for one embodiment of step 102 according to the present disclosure. As shown in fig. 1B, step 102 may include steps 1021 and 1022:
step 1021, calculating a first similarity between the character string and each installed application name information in the installed application name information set.
Here, the execution main body may calculate the first similarity between the character string and the installed-application name information in various calculation similarity calculation manners. For example, when the installed application name includes the installed application name, the similarity between the character string and the installed application name may be determined as a first similarity between the character string and the installed application name information. For another example, when the installed application name includes the installed application name initials, the similarity between the character string and the installed application name initials may be determined as the first similarity between the character string and the installed application name information. Also for example, when the installed application name includes both the installed application name and the installed application name initials, the greater of the degree of similarity between the character string and the installed application name initials and the degree of similarity between the character string and the installed application name may be determined as the first degree of similarity between the character string and the installed application name information.
It is to be understood that various inter-text similarity calculation methods may be employed to calculate the similarity between the character string and the installed application name or the initial of the installed application name. For example, the inter-text similarity may be cosine similarity, pearson correlation coefficient, reciprocal of euclidean distance, or the like, or the inter-text similarity may be a ratio of the length of the same content part between the texts divided by the larger of the two text lengths.
In step 1022, it is determined whether the maximum first similarity is greater than or equal to a first preset similarity threshold.
Here, the maximum first similarity is the maximum value among the calculated first similarities.
Here, the execution subject may determine whether or not the maximum first similarity is equal to or greater than a first preset similarity threshold. If it is determined that the maximum first similarity is greater than or equal to the first preset similarity threshold, that is, if the maximum value of the first similarities between the installed application name information sets and the character strings is greater than or equal to the first preset similarity threshold, indicating that there is installed application name information matching the character strings in the installed application name information sets, go to step 1023 to execute.
Here, the first preset similarity threshold may be a preset constant value. Or a user setting interface can be provided, and the first similarity threshold value is set and changed by the user.
And step 1023, determining that the installed application name information matched with the character string exists in the installed application name information set.
Here, the execution main body may determine that the installed application name information matching the character string exists in the installed application name information set in a case where it is determined in step 1021 that the maximum first similarity is equal to or greater than a first preset similarity threshold.
In some optional embodiments, in the decomposition flow of step 102 shown in fig. 1B, in a case that it is determined in step 1022 that the maximum first similarity is not greater than the first preset similarity threshold, the executing entity may further go to step 1024 to execute, where step 1024 is as follows:
and step 1024, acquiring a candidate word set corresponding to the character string and presented by the candidate entry applied by the input method.
Here, in the case that it is determined in step 1022 that the maximum first similarity is not greater than the first preset similarity threshold, the execution subject may obtain a candidate word set corresponding to the character string presented by the candidate entry applied by the input method, and then go to step 1025 to execute.
Step 1025 calculates a second similarity between each candidate word in the set of candidate words and each installed application name information in the set of installed application name information.
Here, the executing agent may calculate a second similarity between each candidate word in the candidate word set acquired in step 1024 and each installed application name information in the installed application name information set, and then go to step 1026 to execute.
Here, the execution main body may calculate the second similarity between the candidate word and the installed application name information in various calculation similarity calculation manners. For example, when the installed application name information includes the installed application name, a similarity between the candidate word and the installed application name may be determined as a second similarity between the candidate word and the installed application name information. For another example, when the installed application name information includes an installed application name initial, a similarity between the candidate word and the installed application name initial may be determined as a second similarity between the candidate word and the installed application name information. Also for example, when the installed application name information includes both the installed application name and the installed application name initials, the greater of the similarity between the candidate word and the installed application name initials and the similarity between the candidate word and the installed application name may be determined as the second similarity between the candidate word and the installed application name information.
In step 1026, it is determined whether the maximum second similarity is greater than or equal to a second preset similarity threshold.
Here, the maximum second similarity is the maximum value among the calculated second similarities.
Here, the execution subject may determine whether the maximum second similarity is equal to or greater than a second preset similarity threshold. If it is determined that the maximum second similarity is greater than or equal to the second preset similarity threshold, execution may be passed to step 1023 to determine that there is installed application name information in the installed application name information set that matches the character string.
Here, the second preset similarity threshold may be a preset constant value. Or a user setting interface can be provided, and the second similarity threshold value is set and changed by the user.
In some alternative embodiments, the executing entity may also execute step 102 according to the flow 102' shown in fig. 1C. Fig. 1C is an exploded flow diagram of yet another embodiment of step 102 according to the present disclosure. As shown in fig. 1C, step 102 may include step 1021 'and step 1022':
step 1021', a candidate word set corresponding to the character string presented by the candidate entry applied by the input method is obtained.
The detailed operation of step 1021' is substantially the same as that of step 1024 in the embodiment shown in fig. 1B, and is not repeated here.
Step 1022', calculating a second similarity between each candidate word in the candidate word set and each installed application name information in the installed application name information set.
The specific operation of step 1022' is substantially the same as that of step 1025 in the embodiment shown in fig. 1B, and is not repeated here.
And 1023', in response to determining that the maximum second similarity is greater than or equal to a second preset similarity threshold, determining that the installed application name information matched with the character string exists in the installed application name information set.
Here, the maximum second similarity is the maximum value among the calculated second similarities.
Compared with the process 102 shown in fig. 1B, the process 102' shown in fig. 1C directly matches the candidate word in the candidate entry with the installed application name information in the installed application name information set, and does not pass through the step of matching the character string with the installed application name information in the installed application name information set, thereby simplifying the operation.
Step 103, responding to the determination of existence, and opening a display object in the candidate entry presenting application of the input method application.
In this embodiment, the execution subject of the application opening method may present the application opening display object in the candidate entry of the input method application in the case where it is determined in step 102 that there is installed application name information matching the character string acquired in step 101 in the set of installed application name information. It should be noted that at least one candidate word corresponding to the character string input by the user is also shown in the candidate entry applied by the input method.
Here, the application opening display object may be various display objects for instructing the user to open the application. As an example, the application open display object may be a text or an icon. For example, the application Open display object may be an icon that displays the characters "Open application", "Open APP", or "Open APP". For another example, the application Open display object may be a string "Open application", "Open APP", or "Open APP".
Here, the execution body may display the application open display object at an arbitrary position in the candidate entry for the input method application. For example, blank areas in candidate entries for input method applications are displayed.
In some alternative embodiments, when step 102 determines that there is installed application name information matching the character string in the installed application name information set from step 1021, step 1022, step 1024 to step 1025 shown in fig. 1B, or determines that there is installed application name information matching the character string in the installed application name information set by using the flow 102' shown in fig. 1C, that is, it is determined that there is installed application name information matching the character string in the installed application name information set by matching the candidate word in the candidate entry with the installed application name information set, the execution main body may execute step 103 in the following manner:
and presenting an application opening display object in the area where the target candidate word is located in the candidate entry. Here, the target candidate word is the candidate word with the largest second similarity in the candidate word set. Therefore, the user can conveniently and directly select the application opening object. For example, an application open object may be presented in the lower right corner of the target candidate word in the candidate entry.
And step 104, in response to detecting that the user opens the preset operation of the display object for the displayed application, determining the application corresponding to the installed application name information matched with the character string.
In this embodiment, the execution subject may determine the application corresponding to the installed application name information that matches the character string when detecting a preset operation of a user to open a display object for an application shown in the candidate entry of the input method application.
Here, the preset operation may be various preset operations. For example, the preset operation may be at least one of a single click, a double click, a long press, a hover, and a swipe.
It is understood that, if the user performs a preset operation on the exposed application opening display object, indicating that the user wishes to open the application, the corresponding method of determining whether the installed application name information matching the character string exists in the installed application name information set in step 102 may be adopted to determine the installed application name information matching the character string, and then determine the application corresponding to the installed application name information.
In some optional embodiments, when the execution main body determines that there is installed application name information matching the character string in the installed application name information set in the manner of step 1021, step 1022 to step 1023 shown in fig. 1B, the execution main body may determine an application corresponding to the installed application name information having the greatest first similarity between the character strings in the installed application name information set as the application corresponding to the installed application name information matching the character string.
In some alternative embodiments, when step 102 is implemented as shown in fig. 1B from step 1021, step 1022, step 1024 to step 1025 to determine that there is installed application name information matching the character string in the installed application name information set, or the process 102' shown in figure 1C is employed to determine that there is installed application name information in the set of installed application name information that matches the string, that is, when it is determined that there is installed application name information matching the character string in the installed application name information set by matching the candidate word in the candidate entry with the installed application name information set, the execution subject may determine, as the application corresponding to the installed-application name information that matches the character string, the application corresponding to the installed-application name information that has the largest second similarity in the set of installed-application name information.
Step 105, opening the determined application.
Here, the execution agent may open the application determined in step 104 after determining the application corresponding to the installed application name information that matches the character string in step 104. As an example, for a mobile terminal installed with an Android operating system, the application determined in step 104 may be opened in an Intent manner.
With continuing reference to fig. 2A, 2B, and 2C, fig. 2A, 2B, and 2C are schematic diagrams of application scenarios of the application opening method according to the present embodiment. In fig. 2A, a user has opened a browser interface in a mobile terminal. Then, as shown in fig. 2B, the user inputs the character string "jyb" 201 in the browser interface by using the input method application, and the mobile terminal determines that the candidate word "a, B, c" 202 shown in the candidate entry corresponding to the character string "jyb" 201 matches the installed application name "a, B, c". Next, the application open display object 203 "open application" is shown in the lower right corner of the candidate word "ethylene-propylene-methyl" 202 in the candidate entry of the input method application. Subsequently, after the user clicks the application opening display object 203, as shown in fig. 2C, the mobile terminal opens the application "ethylene-propylene-methyl", and the current interface of the mobile terminal is switched from the browser interface to the application "ethylene-propylene-methyl" interface.
According to the method provided by the embodiment of the disclosure, under the condition that the character string input by the user in the input method application is detected to be matched with the installed application name information of the installed application, the application opening display object is displayed in the candidate entry, and the application is opened after the preset operation of the user on the application opening display object is detected, so that the purpose of quickly and conveniently opening the installed application in the mobile terminal is achieved.
With further reference to fig. 3, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides an embodiment of an application opening apparatus, which corresponds to the method embodiment shown in fig. 1, and which may be specifically applied in various mobile terminals.
As shown in fig. 3, the application opening apparatus 300 of the present embodiment includes: an acquisition unit 301, a matching unit 302, a presentation unit 303, a determination unit 304, and an opening unit 305. The acquiring unit 301 is configured to acquire a character string input by a user using an input method application in real time; a matching unit 302 configured to determine whether there is installed application name information matching the character string in the installed application name information set; a presenting unit 303 configured to present an open display object in a candidate entry presentation application of the input method application in response to determining that the application exists; a determining unit 304, configured to determine, in response to detecting a preset operation of a user to open a display object for the presented application, an application corresponding to installed application name information that matches the character string; and an opening unit 305 configured to open the determined application.
In this embodiment, specific processes of the obtaining unit 301, the matching unit 302, the presenting unit 303, the determining unit 304, and the opening unit 305 of the application opening apparatus 300 and technical effects thereof may refer to related descriptions of step 101, step 102, step 103, step 104, and step 105 in the corresponding embodiment of fig. 1, which are not described herein again.
In some optional embodiments, the matching unit 300 may include: a first similarity calculation module (not shown in fig. 3) configured to calculate a first similarity between the character string and each of the installed application name information in the set of installed application name information; a first determining module (not shown in fig. 3) configured to determine that there is installed application name information that matches the character string in the installed application name information set in response to determining that a maximum first similarity is greater than or equal to a first preset similarity threshold, where the maximum first similarity is a maximum value among the calculated first similarities.
In some optional embodiments, the determining the application corresponding to the installed application name information that matches the character string may include: and determining the application corresponding to the installed application name information with the maximum first similarity between the installed application name information set and the character string as the application corresponding to the installed application name information matched with the character string.
In some optional embodiments, the matching unit 302 may further include: a candidate word obtaining module (not shown in fig. 3) configured to, in response to determining that the maximum first similarity is smaller than the first preset similarity threshold, obtain a candidate word set corresponding to the character string presented by a candidate entry applied by the input method; a second similarity calculation module (not shown in fig. 3) configured to calculate a second similarity between each candidate word in the candidate word set and each installed application name information in the installed application name information set; a second determining module (not shown in fig. 3) configured to determine that there is installed application name information that matches the character string in the installed application name information set in response to determining that a maximum second similarity is greater than or equal to a second preset similarity threshold, where the maximum second similarity is a maximum value among the calculated second similarities.
In some optional embodiments, the matching unit 302 may include: a candidate word acquiring module (not shown in fig. 3) configured to acquire a candidate word set corresponding to the character string presented by a candidate entry applied by the input method; a second similarity calculation module (not shown in fig. 3) configured to calculate a second similarity between each candidate word in the candidate word set and each installed application name information in the installed application name information set; a second determining module (not shown in fig. 3) configured to determine that there is installed application name information that matches the character string in the installed application name information set in response to determining that a maximum second similarity is greater than or equal to a second preset similarity threshold, where the maximum second similarity is a maximum value among the calculated second similarities.
In some optional embodiments, the determining the application corresponding to the installed application name information that matches the character string includes: and determining the application corresponding to the installed application name information with the maximum second similarity in the installed application name information set as the application corresponding to the installed application name information matched with the character string.
In some optional embodiments, the presenting unit 303 may be further configured to: and presenting the application opening display object in the area where the target candidate word in the candidate entry is located, wherein the target candidate word is a candidate word with the largest second similarity corresponding to the candidate word set.
In some alternative embodiments, the installed application name information may include an installed application name and/or an installed application name initials.
In some optional embodiments, the apparatus 300 may further include: an application name acquisition unit (not shown in fig. 3) configured to acquire an application name of each application installed in the mobile terminal in response to detection of the start of the input method application; a first generating unit (not shown in fig. 3) configured to generate, for each acquired application name, an initial corresponding to the application name; a second generating unit (not shown in fig. 3) configured to generate the above-described set of installed application name information with each of the acquired application names and the corresponding initial.
It should be noted that, for details of implementation and technical effects of each unit in the application opening apparatus provided by the present disclosure, reference may be made to descriptions of other embodiments in the present disclosure, and details are not described herein again.
Referring now to FIG. 4, a block diagram of a computer system 400 suitable for use in implementing the mobile terminal of the present disclosure is shown. The mobile terminal shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the present disclosure.
As shown in fig. 4, the computer system 400 includes a Central Processing Unit (CPU)401 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the system 400 are also stored. The CPU 401, ROM 402, and RAM 403 are connected to each other via a bus 404. An Input/Output (I/O) interface 405 is also connected to the bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, touch screen, stylus, etc.; an output section 407 including a Display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), a touch panel, and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a Network interface card such as a LAN (Local Area Network) card, a modem, a WiFi module, a mobile Network module, or the like. The communication section 409 performs communication processing via a network such as the internet.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication section 409. The above-described functions defined in the method of the present disclosure are performed when the computer program is executed by a Central Processing Unit (CPU) 401. It should be noted that the computer readable medium in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, Python, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in this disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit, a matching unit, a presentation unit, a determination unit, and an opening unit. The names of the units do not constitute a limitation to the units themselves in some cases, and for example, the acquiring unit may also be described as a "unit that acquires a character string input by a user using an input method application in real time".
As another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to implement the application opening method shown in fig. 1A and the alternative embodiment in fig. 1A.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (12)

1. An application opening method is applied to a mobile terminal, wherein the method comprises the following steps:
acquiring a character string input by a user by using an input method application in real time;
determining whether installed application name information matched with the character string exists in an installed application name information set or not;
in response to determining that the display object exists, opening a display object at a candidate entry presentation application of the input method application;
in response to detecting that a user opens a preset operation of a display object for the displayed application, determining an application corresponding to installed application name information matched with the character string;
opening the determined application.
2. The method of claim 1, wherein the determining whether there is installed application name information in the set of installed application name information that matches the string comprises:
calculating a first similarity between the character string and each installed application name information in the installed application name information set;
and in response to the fact that the maximum first similarity is larger than or equal to a first preset similarity threshold, determining that the installed application name information matched with the character string exists in the installed application name information set, wherein the maximum first similarity is the maximum value of the first similarities obtained through calculation.
3. The method of claim 2, wherein the determining an application corresponding to installed application name information that matches the string comprises:
and determining the application corresponding to the installed application name information with the maximum first similarity between the installed application name information set and the character string as the application corresponding to the installed application name information matched with the character string.
4. The method of claim 3, wherein the determining whether there is installed application name information in the set of installed application name information that matches the string further comprises:
in response to determining that the maximum first similarity is smaller than the first preset similarity threshold, acquiring a candidate word set corresponding to the character string and presented by a candidate entry applied by the input method;
calculating a second similarity between each candidate word in the candidate word set and each installed application name information in the installed application name information set;
and in response to the fact that the maximum second similarity is larger than or equal to a second preset similarity threshold, determining that the installed application name information matched with the character string exists in the installed application name information set, wherein the maximum second similarity is the maximum value of the calculated second similarities.
5. The method of claim 1, wherein the determining whether there is installed application name information in the set of installed application name information that matches the string comprises:
acquiring a candidate word set corresponding to the character string and presented by the candidate entry applied by the input method;
calculating a second similarity between each candidate word in the candidate word set and each installed application name information in the installed application name information set;
and in response to the fact that the maximum second similarity is larger than or equal to a second preset similarity threshold, determining that the installed application name information matched with the character string exists in the installed application name information set, wherein the maximum second similarity is the maximum value of the calculated second similarities.
6. The method of claim 4 or 5, wherein the presenting of the candidate entry in the input method application opens a display object, comprising:
and presenting the application opening display object in the area where the target candidate word is located in the candidate entry, wherein the target candidate word is the candidate word with the largest second similarity in the candidate word set.
7. The method of claim 4 or 5, wherein the determining an application corresponding to installed application name information that matches the string comprises:
and determining the application corresponding to the installed application name information with the maximum second similarity in the installed application name information set as the application corresponding to the installed application name information matched with the character string.
8. The method of claim 7, wherein the installed application name information comprises an installed application name and/or an installed application name initial.
9. The method of claim 8, wherein the method further comprises:
in response to the detection of the starting of the input method application, acquiring application names of all applications installed in the mobile terminal;
for each acquired application name, generating an initial letter corresponding to the application name;
and generating the installed application name information set by using each acquired application name and the corresponding initial letter.
10. An application opening device applied to a mobile terminal, wherein the device comprises:
an acquisition unit configured to acquire a character string input by a user using an input method application in real time;
a matching unit configured to determine whether there is installed application name information that matches the character string in an installed application name information set;
a presentation unit configured to present an open display object in a candidate entry presentation application of the input method application in response to determining that the presence exists;
a determining unit configured to determine, in response to detecting a preset operation of a user to open a display object for the presented application, an application corresponding to installed application name information that matches the character string;
an opening unit configured to open the determined application.
11. A mobile terminal, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by one or more processors, implements the method of any one of claims 1-9.
CN202010743288.7A 2020-07-29 2020-07-29 Application opening method and device, mobile terminal and computer readable storage medium Pending CN112099865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010743288.7A CN112099865A (en) 2020-07-29 2020-07-29 Application opening method and device, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010743288.7A CN112099865A (en) 2020-07-29 2020-07-29 Application opening method and device, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112099865A true CN112099865A (en) 2020-12-18

Family

ID=73749836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010743288.7A Pending CN112099865A (en) 2020-07-29 2020-07-29 Application opening method and device, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112099865A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510159A (en) * 2009-03-30 2009-08-19 腾讯科技(深圳)有限公司 Application program start-up method and browser
CN101963975A (en) * 2010-09-14 2011-02-02 深圳桑菲消费通信有限公司 System and method for quickly searching application program of mobile terminal
CN103049288A (en) * 2012-12-10 2013-04-17 广东欧珀移动通信有限公司 Method and device for starting applications of Android device and device
WO2014161292A1 (en) * 2013-08-14 2014-10-09 中兴通讯股份有限公司 Method, device and terminal for starting application program
WO2016202101A1 (en) * 2015-06-16 2016-12-22 北京奇虎科技有限公司 Method and device for displaying candidate item based on input method
CN107273457A (en) * 2017-06-01 2017-10-20 珠海市魅族科技有限公司 A kind of searching method and device, computer installation and computer-readable recording medium
CN109271579A (en) * 2018-11-16 2019-01-25 珠海市魅族科技有限公司 A kind of application recommended method, electronic equipment and storage medium based on input information

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510159A (en) * 2009-03-30 2009-08-19 腾讯科技(深圳)有限公司 Application program start-up method and browser
CN101963975A (en) * 2010-09-14 2011-02-02 深圳桑菲消费通信有限公司 System and method for quickly searching application program of mobile terminal
CN103049288A (en) * 2012-12-10 2013-04-17 广东欧珀移动通信有限公司 Method and device for starting applications of Android device and device
WO2014161292A1 (en) * 2013-08-14 2014-10-09 中兴通讯股份有限公司 Method, device and terminal for starting application program
CN104375845A (en) * 2013-08-14 2015-02-25 中兴通讯股份有限公司 Application startup method and device and terminal
WO2016202101A1 (en) * 2015-06-16 2016-12-22 北京奇虎科技有限公司 Method and device for displaying candidate item based on input method
CN107273457A (en) * 2017-06-01 2017-10-20 珠海市魅族科技有限公司 A kind of searching method and device, computer installation and computer-readable recording medium
CN109271579A (en) * 2018-11-16 2019-01-25 珠海市魅族科技有限公司 A kind of application recommended method, electronic equipment and storage medium based on input information

Similar Documents

Publication Publication Date Title
CN106484266B (en) Text processing method and device
US20150161246A1 (en) Letter inputting method, system and device
US20140317495A1 (en) Retroactive word correction
CN107948437B (en) Screen-off display method and device
CN106886594B (en) Method and device for displaying information
CN112287206A (en) Information processing method and device and electronic equipment
WO2021254251A1 (en) Input display method and apparatus, and electronic device
CN111339295A (en) Method, apparatus, electronic device and computer readable medium for presenting information
CN111273830A (en) Data display method and device, electronic equipment and computer readable medium
CN114373460A (en) Instruction determination method, device, equipment and medium for vehicle-mounted voice assistant
CN107835305B (en) Information input method and device for terminal equipment with screen
CN107239209B (en) Photographing search method, device, terminal and storage medium
CN113590756A (en) Information sequence generation method and device, terminal equipment and computer readable medium
CN113010248A (en) Operation guiding method and device and electronic equipment
CN107357481B (en) Message display method and message display device
CN117312140A (en) Method and device for generating test case, electronic equipment and storage medium
CN110232920B (en) Voice processing method and device
US10769372B2 (en) Synonymy tag obtaining method and apparatus, device and computer readable storage medium
CN112099865A (en) Application opening method and device, mobile terminal and computer readable storage medium
CN106896936B (en) Vocabulary pushing method and device
CN111221951B (en) Text processing method and device
CN111324244B (en) Method and device for switching picture display types
CN109299294B (en) Resource searching method and device in application, computer equipment and storage medium
CN113988011A (en) Document content identification method and device
CN109992121B (en) Input method, input device and input device

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