CN108279948B - Application program starting method and mobile terminal - Google Patents

Application program starting method and mobile terminal Download PDF

Info

Publication number
CN108279948B
CN108279948B CN201810018040.7A CN201810018040A CN108279948B CN 108279948 B CN108279948 B CN 108279948B CN 201810018040 A CN201810018040 A CN 201810018040A CN 108279948 B CN108279948 B CN 108279948B
Authority
CN
China
Prior art keywords
mobile terminal
application program
started
target
bluetooth connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810018040.7A
Other languages
Chinese (zh)
Other versions
CN108279948A (en
Inventor
陶飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810018040.7A priority Critical patent/CN108279948B/en
Publication of CN108279948A publication Critical patent/CN108279948A/en
Application granted granted Critical
Publication of CN108279948B publication Critical patent/CN108279948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention provides an application program starting method and a mobile terminal, wherein the method comprises the following steps: if the mobile terminal establishes Bluetooth connection with target equipment, acquiring the times of the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment and an application program started by the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment each time; determining an application program to be started according to the number of times of the mobile terminal and the target equipment which establish the Bluetooth connection historically and the application program started by the mobile terminal and the target equipment which establish the Bluetooth connection historically each time; and starting the application program to be started. By the application program starting method provided by the invention, after the Bluetooth connection is established between the mobile terminal and the target equipment, the application program started by establishing the Bluetooth connection with the target equipment in history according to the mobile terminal can be automatically determined and started.

Description

Application program starting method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an application program starting method and a mobile terminal.
Background
With the development of Bluetooth (i.e. Bluetooth) technology, the application of Bluetooth to terminal devices is becoming more and more popular, for example, Bluetooth of mobile phone, Bluetooth in vehicle, Bluetooth television, Bluetooth speaker, etc. The connection between the terminal devices is established through the Bluetooth, so that the connection is convenient and fast, and the winding of electric wires can be effectively reduced. However, when the mobile terminal needs to establish bluetooth connection with other devices, it needs to enter a bluetooth setting interface to start a bluetooth switch, select a device to be connected to perform bluetooth connection, return to a desktop of the mobile terminal, and search for and start bluetooth-related applications, such as a music application, a map application, and the like, which is cumbersome to operate.
Disclosure of Invention
The embodiment of the invention provides an application program starting method and a mobile terminal, and aims to solve the problem that the operation of starting a Bluetooth related application program by the mobile terminal in the prior art is complex.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an application program starting method. The method comprises the following steps:
if the mobile terminal establishes Bluetooth connection with target equipment, acquiring the times of the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment and an application program started by the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment each time;
determining an application program to be started according to the number of times of the mobile terminal and the target equipment which establish the Bluetooth connection historically and the application program started by the mobile terminal and the target equipment which establish the Bluetooth connection historically each time;
and starting the application program to be started.
In a second aspect, an embodiment of the present invention further provides a mobile terminal. The mobile terminal includes:
the acquisition module is used for acquiring the times of the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment and the application program started by the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment each time;
the determining module is used for determining an application program to be started according to the times of the mobile terminal and the target equipment which establish the Bluetooth connection historically and the application program started by the mobile terminal and the target equipment establishing the Bluetooth connection historically each time;
and the starting module is used for starting the application program to be started.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the application starting method described above.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the application starting method are implemented.
In the embodiment of the invention, if the mobile terminal establishes the Bluetooth connection with the target equipment, the times of the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment and the started application program of the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment each time are obtained; determining an application program to be started according to the number of times of the mobile terminal and the target equipment which establish the Bluetooth connection historically and the application program started by the mobile terminal and the target equipment which establish the Bluetooth connection historically each time; and starting the application program to be started. Therefore, by using the scheme of the embodiment of the invention, the application program related to the Bluetooth can be automatically determined and started according to the application program started by the mobile terminal after the Bluetooth connection between the mobile terminal and the target device is established historically, and the user does not need to return to the desktop of the mobile terminal after the Bluetooth connection between the mobile terminal and the target device is established, search and start the application program related to the Bluetooth, thereby solving the problem that the operation of starting the application program related to the Bluetooth by the mobile terminal is complicated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of an application starting method according to an embodiment of the present invention;
FIG. 2 is a flowchart of an application startup method according to another embodiment of the present invention;
FIG. 3 is a flowchart of an application startup method according to another embodiment of the invention;
fig. 4 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to still another embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to still another embodiment of the present invention;
fig. 7 is a block diagram of a mobile terminal according to still another embodiment of the present invention;
fig. 8 is a block diagram of a mobile terminal according to still another embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an application program starting method. Referring to fig. 1, fig. 1 is a flowchart of an application starting method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101, if a mobile terminal establishes a bluetooth connection with a target device, acquiring the times of the mobile terminal establishing the bluetooth connection with the target device in history, and acquiring an application program started by the mobile terminal establishing the bluetooth connection with the target device each time in history.
In the embodiment of the present invention, the mobile terminal may be a mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal digital assistant (PDA for short), a Wearable Device (Wearable Device), or the like, which supports bluetooth connection. The target device may be any device that supports bluetooth connectivity, such as a vehicle, a stereo, a television, a headset, etc., that supports bluetooth connectivity.
Specifically, when the mobile terminal establishes the bluetooth connection with the target device, the number of times that the mobile terminal has historically established the bluetooth connection with the target device and an application program started when the mobile terminal has historically established the bluetooth connection with the target device each time may be obtained, where the historical establishment of the bluetooth connection between the mobile terminal and the target device may refer to the bluetooth connection established between the mobile terminal and the target device in the past. It is understood that the mobile terminal may record information related to establishing a bluetooth connection with a device, such as identification information of the device, time of establishing the bluetooth connection with the device, identification information (e.g., icon, name, etc.) of an application program started by establishing the bluetooth connection with the device, and time of starting the application program, after establishing the bluetooth connection with the device.
And 102, determining an application program to be started according to the times of the mobile terminal establishing the Bluetooth connection with the target equipment in history and the application program started by the mobile terminal establishing the Bluetooth connection with the target equipment each time in history.
The embodiment of the invention can determine the application program to be started according to the relevant information of the historical Bluetooth connection establishment between the mobile terminal and the target equipment, for example, when the number of times of the historical Bluetooth connection establishment between the mobile terminal and the target equipment is more than a certain preset number of times, the application program which is started by the mobile terminal with the most number of times in the application program started by the historical Bluetooth connection establishment between the mobile terminal and the target equipment is determined as the application program to be started, or when the number of times of the historical Bluetooth connection establishment between the mobile terminal and the target equipment is more than a certain preset number of times, the same application program which is started by the historical Bluetooth connection establishment between the mobile terminal and the target equipment each time is determined as the application program to be started, and the like.
And step 103, starting the application program to be started.
According to the application program starting method, if the Bluetooth connection is established between the mobile terminal and the target equipment, the times of the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment and the application program started by the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment each time are obtained; determining an application program to be started according to the number of times of the mobile terminal and the target equipment which establish the Bluetooth connection historically and the application program started by the mobile terminal and the target equipment which establish the Bluetooth connection historically each time; and starting the application program to be started. According to the embodiment of the invention, after the Bluetooth connection is established between the mobile terminal and the target equipment, the application program related to the Bluetooth is automatically determined and started according to the application program started by the mobile terminal after the Bluetooth connection is established between the mobile terminal and the target equipment historically, and a user does not need to return to the desktop of the mobile terminal after the Bluetooth connection is established between the mobile terminal and the target equipment to search and start the application program related to the Bluetooth, so that the problem that the operation of starting the application program related to the Bluetooth by the mobile terminal is complicated is solved.
Referring to fig. 2, fig. 2 is a flowchart of an application starting method according to another embodiment of the present invention. The difference between the embodiment of the present invention and the previous embodiment is mainly that step 101 is further defined, in the embodiment of the present invention, in step 101, that is, the determining, according to the number of times the mobile terminal establishes the bluetooth connection with the target device historically and the application program started by the mobile terminal establishing the bluetooth connection with the target device historically each time, the application program to be started includes: and if the number of times of the mobile terminal establishing the Bluetooth connection with the target equipment in history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the Bluetooth connection with the target equipment in history are the same target application program, determining the target application program as the application program to be started.
As shown in fig. 2, the application starting method provided in the embodiment of the present invention includes the following steps:
step 201, if the mobile terminal establishes a bluetooth connection with a target device, acquiring the number of times of the mobile terminal establishing the bluetooth connection with the target device in history, and acquiring an application program started by the mobile terminal establishing the bluetooth connection with the target device each time in history.
This step is the same as the step 101, and is not described herein again to avoid repetition.
Step 202, if the number of times of the mobile terminal establishing the bluetooth connection with the target device in the history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the bluetooth connection with the target device each time in the history are the same target application program, determining the target application program as the application program to be started.
In the embodiment of the present invention, the first preset times may be reasonably set according to actual situations, for example, 2 times, 3 times, 4 times, or 5 times. Specifically, the number of times of establishing the bluetooth connection between the mobile terminal and the target device in the history is greater than a first preset number of times, and the application programs started by establishing the bluetooth connection between the mobile terminal and the target device in the history are all the same target application program, which indicates that the user may be used to start the target application program when the mobile terminal and the target device are used, and at this time, the target application program may be recommended to the user, that is, the target application program is determined to be the application program to be started.
For example, after the bluetooth connection between the user's mobile phone and the audio a is established every time in history, the music application a is started to play music, which indicates that the user is used to play music through the audio a, and then the music application a can be automatically started to play music after the bluetooth connection between the user's mobile phone and the audio a is established next time.
Optionally, in order to improve the accuracy of the application program recommended to the user and related to bluetooth, in step 202, that is, if the number of times that the mobile terminal establishes bluetooth connection with the target device in history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing bluetooth connection with the target device each time in history are the same target application program, determining the target application program as the application program to be started includes:
if the number of times of the mobile terminal establishing the Bluetooth connection with the target equipment in history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the Bluetooth connection with the target equipment in each history are the same target application program, respectively judging whether the time interval between the time of establishing the Bluetooth connection with the target equipment in each history and the time of starting the target application program of the mobile terminal is smaller than a preset time interval;
and if the time interval of the time when the mobile terminal establishes the Bluetooth connection with the target equipment every time in history and the time when the target application program is started is determined to be smaller than the preset time interval, determining the target application program as the application program to be started.
In practical applications, when the mobile terminal establishes a bluetooth connection with a device, a bluetooth-related application is usually started immediately, and the application is also usually the application that the mobile terminal most needs to use to establish the bluetooth connection with the device. However, there are some situations, where a user is used to establish a bluetooth connection between a mobile terminal and a certain device, and then start a corresponding application program when a certain function is required, for example, when the user gets into a vehicle, the user establishes a bluetooth connection between a mobile phone of the user and the vehicle, and during driving of the vehicle, if a vehicle navigation is required, a map application program installed in the mobile phone of the user is started, and if music playing is required, a music application program installed in the mobile phone of the user is started.
In the embodiment of the present invention, when the number of times of the mobile terminal establishing the bluetooth connection with the target device in the history is greater than a first preset number of times, and the applications started by the mobile terminal establishing the bluetooth connection with the target device in each history are all the same target application, it may be further determined whether a time interval between a time of the mobile terminal establishing the bluetooth connection with the target device in each history and a time of starting the target application is smaller than a preset time interval, where the preset time interval may be reasonably set according to an actual situation, for example, 3 minutes, 5 minutes, or 10 minutes, and when it is determined that the time interval between the time of the mobile terminal establishing the bluetooth connection with the target device in each history and the time of starting the target application is smaller than the preset time interval, it is determined that the target application is an application that the mobile terminal conventionally uses to establish the bluetooth connection with the target device, the target application may be determined to be the application to be launched.
It can be understood that if the time interval between the time when the mobile terminal historically establishes the bluetooth connection with the target device and the time when the target application program is started is greater than or equal to the preset time interval, the process may be ended, the recommendation of the application program related to the bluetooth is not performed, or an icon of the application program corresponding to the type of the target device may be displayed, so that the user may select the application program to be started.
For example, the first preset number of times is 3, the preset time interval is 5 minutes, the number of times of the user mobile phone establishing bluetooth connection with the vehicle B in history is 4, the applications started by the user mobile phone establishing bluetooth connection with the vehicle B in history are all the map application B, if the time interval between the time of the user mobile phone establishing bluetooth connection with the vehicle B for the first time and the time of starting the map application B is 2 minutes, the time interval between the time of the user mobile phone establishing bluetooth connection with the vehicle B for the second time and the time of starting the map application B is 1 minute, the time interval between the time of the user mobile phone establishing bluetooth connection with the vehicle B for the third time and the time of starting the map application B is 2 minutes, the time interval between the time of the user mobile phone establishing bluetooth connection with the vehicle B for the fourth time and the time of starting the map application B is 2.5 minutes, and the time interval of the moment when the mobile phone of the user establishes the Bluetooth connection with the vehicle B every time in history and the moment when the map application program B is started is smaller than the preset time interval, and the map application program B can be determined as the application program to be started.
When the time interval of the mobile terminal between the time of establishing the Bluetooth connection with the target equipment and the time of starting the target application program in each historical time is determined to be smaller than the preset time interval, the target application program is determined as the application program to be started and started, the accuracy of recommending the application program to be started related to the Bluetooth to the user can be improved, and the probability of recommending the application program to be started to the user under the condition that the user does not need to start the application program related to the Bluetooth is reduced.
And step 203, starting the application program to be started.
According to the application program starting method provided by the embodiment of the invention, the number of times of establishing the Bluetooth connection between the mobile terminal and the target equipment in the history is greater than the first preset number of times, the application programs started by establishing the Bluetooth connection between the mobile terminal and the target equipment in each history are the same target application program, and the target application program is determined as the application program to be started and is started, so that the convenience of starting the application program related to the Bluetooth can be improved, and the accuracy of recommending the application program related to the Bluetooth to a user can be improved.
Optionally, in step 102, that is, the determining the application to be started according to the number of times of the mobile terminal establishing the bluetooth connection with the target device in history and the application started by the mobile terminal establishing the bluetooth connection with the target device each time in history includes:
if the number of times of the mobile terminal and the target device for establishing the Bluetooth connection in the history is greater than a first preset number of times, acquiring an application program with the starting number greater than a second preset number of times from application programs started by the mobile terminal and the target device for establishing the Bluetooth connection in the history;
if at least two application programs with the parallel running times larger than a third preset time exist in the application programs with the starting times larger than a second preset time, determining that each application program in the at least two application programs is an application program to be started;
and if at least two application programs with the parallel running times larger than a third preset time do not exist in the application programs with the starting times larger than a second preset time, determining the application program which is started most recently in the application programs with the starting times larger than the second preset time as the application program to be started.
In the embodiment of the present invention, the first preset number, the second preset number, and the third preset number may be reasonably set according to actual situations, for example, the first preset number is 5, the second preset number is 3, and the third preset number is 3. The following describes embodiments of the present invention with reference to examples:
for example, the first preset number of times is 5, the second preset number of times is 3, the third preset number of times is 3, the number of times of establishing the bluetooth connection between the mobile terminal and the target device history is 7, the application program started by the mobile terminal and the target device history and having the number of times of starting exceeding 3 includes an application program a1, an application program B1 and an application program C1, and when the bluetooth connection between the mobile terminal and the target device history is established, only the application program a1 and the application program B1 run in parallel more than 3 times, it is determined that the application program a1 and the application program B1 are both to-be-started application programs.
It can be understood that the determining whether the two applications run in parallel may be determining whether the two applications are in a running state at the same time, and is not limited to the two applications being started to run at the same time, for example, the mobile terminal may start the application a1 first, and may start the application B1 before the application a1 is closed, so that the application a1 and the application B1 are in a running state at the same time, that is, the application a1 and the application B1 run in parallel; if application B1 was launched after application A1 was closed, then application A1 and application B1 are not running in parallel.
Specifically, if at least two applications with the parallel running times greater than the third preset time exist in the applications with the starting times greater than the second preset time, it is determined that each of the at least two applications is an application to be started, for example, the applications with the starting times greater than the second preset time include application a1 and application B1, and when the parallel running times of application a1 and application B1 exceed the third preset time, both application a1 and application B1 may be determined as applications to be started; if at least two applications with the parallel running times greater than the third preset times do not exist in the applications with the starting times greater than the second preset times, it is determined that the application which is started most recently in the applications with the starting times greater than the second preset times is the application to be started, for example, the application with the starting times greater than the second preset times includes application a1 and application B1, and when the parallel running times of application a1 and application B1 are less than the third running times and the application which is started most recently is application a1, it may be determined that application a1 is the application to be started.
In the embodiment of the invention, at least two application programs with the parallel running times larger than a third preset time exist in the application programs with the starting times larger than the second preset time, and each application program in the at least two application programs is determined to be the application program to be started; and if at least two application programs with the parallel running times larger than the third preset times do not exist in the application programs with the starting times larger than the second preset times, determining the application program which is started most recently in the application programs with the starting times larger than the second preset times as the application program to be started, so that the convenience of starting the application programs related to the Bluetooth can be improved, and the started application programs can better accord with the use habits of users.
Optionally, in step 102, that is, the determining the application to be started according to the number of times of the mobile terminal establishing the bluetooth connection with the target device historically and the application started by the mobile terminal establishing the bluetooth connection with the target device historically each time includes:
if the number of times of the mobile terminal and the target device for establishing the Bluetooth connection in the history is greater than a first preset number of times, acquiring an application program with the starting number greater than a fourth preset number of times from application programs started by the mobile terminal and the target device for establishing the Bluetooth connection in the history, wherein the fourth preset number of times is less than or equal to the first preset number of times;
displaying icons of the application programs with the starting times larger than the fourth preset times;
and if the triggering operation aiming at the icon of the target application program in the application programs with the starting times larger than the fourth preset times is received, determining the target application program as the application program to be started.
In the embodiment of the present invention, the fourth preset number is less than or equal to the first preset number, and both the fourth preset number and the first preset number may be reasonably set according to actual situations, for example, the fourth preset number is 3, and the first preset number is 5. The trigger operation may be a click operation, a long press operation, a heavy press operation, a slide operation, or the like.
Specifically, when the number of times of the historical bluetooth connection establishment between the mobile terminal and the target device is greater than the first preset number of times, the application programs started by the historical bluetooth connection establishment between the mobile terminal and the target device are acquired, and icons of the application programs with the starting number greater than the fourth preset number of times are displayed for the user to select. When a trigger operation for an icon of a target application program with a starting number greater than a fourth preset number is received, the target application program can be determined as an application program to be started.
It can be understood that, when there is no application program whose starting number is greater than the fourth preset number in the application programs started by the mobile terminal and the target device to establish the bluetooth connection historically, the process may be ended, or all the application programs started by the mobile terminal and the target device to establish the bluetooth connection historically may be displayed on the screen of the mobile terminal for the user to select.
It can be understood that, when the number of times of the mobile terminal establishing the bluetooth connection with the target device in the history is less than or equal to a first preset number of times, the process may be ended, or all the applications started by the mobile terminal establishing the bluetooth connection with the target device in the history may be displayed in the screen of the mobile terminal for the user to select.
In the embodiment of the invention, the application programs with the starting times larger than the fourth preset times are obtained from the application programs started by the mobile terminal and the target equipment through establishing the Bluetooth connection historically, and the icons of the application programs with the starting times larger than the fourth preset times are displayed, so that a user can conveniently select the application programs to be started according to needs.
Optionally, in step 102, that is, the determining the application to be started according to the number of times of the mobile terminal establishing the bluetooth connection with the target device in history and the application started by the mobile terminal establishing the bluetooth connection with the target device each time in history includes:
if the number of times of the mobile terminal and the target equipment for establishing the Bluetooth connection is smaller than a first preset number of times, identifying the type of the target equipment;
acquiring a target application program set corresponding to the type of the target equipment, wherein the target application program set comprises at least one application program installed in the mobile terminal;
displaying an icon for each application in the set of target applications;
and if the triggering operation aiming at the icon of the target application program in the target application program set is received, determining the target application program as the application program to be started.
In the embodiment of the invention, if the number of times of the mobile terminal establishing the Bluetooth connection with the target equipment in history is less than a first preset number of times, the type of the target equipment is identified, wherein the type of the target equipment can comprise types of vehicles, sounds or televisions and the like. Optionally, the embodiment of the present invention may identify the type of each device according to the identifier of each bluetooth-enabled device, for example, when the user mobile phone currently establishes a bluetooth connection with a device identified as "CAR-BT", the type of the device may be determined as a vehicle according to the identifier "CAR-BT", and when the user mobile phone currently establishes a bluetooth connection with a device identified as "SoundBox", the type of the device may be determined as a sound according to the identifier "SoundBox".
Optionally, a corresponding relationship between the device type and the application set may be pre-established, for example, the vehicle type may correspond to all map-class applications and music-class applications installed in the mobile terminal, the sound type may correspond to all music-class applications installed in the mobile terminal, and the television type may correspond to all video-class applications installed in the mobile terminal, so that after the type of the target device is identified, the corresponding application set (that is, the target application set) may be quickly obtained according to the type of the target device, and an icon of each application in the target application set is displayed, so that the user may select the application to be started. Optionally, the icon displaying each application program in the target application program set may be an icon displaying each application program in the target application program set in a list form.
Specifically, when a trigger operation (for example, a click operation, a long press operation, a heavy press operation, a sliding operation, or the like) for an icon of a target application program in the target application program set is received, the target application program is determined as an application program to be started and started, so that the application program related to bluetooth can be quickly started.
When the number of times of establishing the Bluetooth connection between the mobile terminal and the target device is smaller than a first preset number of times, the type of the target device is identified, the icon of each application program in the target application program set corresponding to the type of the target device is displayed, so that a user can conveniently and quickly select the application program to be started, and when the triggering operation aiming at the icon of the target application program in the target application program set is received, the target application program is determined as the application program to be started and is started, so that the quick starting of the application program related to the Bluetooth can be realized.
It can be understood that, in the embodiment of the present invention, a display button of the bluetooth-related application may also be set on the bluetooth setting interface, and when a trigger operation for the display button is received, a list of the bluetooth-related application is displayed for the user to select, without the user returning to the mobile terminal desktop to search for the bluetooth-related application and start the bluetooth-related application.
Referring to fig. 3, fig. 3 is a flowchart of an application starting method according to another embodiment of the present invention. The difference between the embodiment of the present invention and the previous embodiment is mainly that the step 101 is further defined.
As shown in fig. 3, the application starting method provided in the embodiment of the present invention includes the following steps:
step 301, if the mobile terminal establishes a bluetooth connection with a target device, acquiring the number of times of the mobile terminal establishing the bluetooth connection with the target device in history, and acquiring an application program started by the mobile terminal establishing the bluetooth connection with the target device each time in history.
Step 302, judging whether the number of times of the mobile terminal establishing the bluetooth connection with the target device in history is greater than a first preset number of times, and whether the application programs started by the mobile terminal establishing the bluetooth connection with the target device each time in history are the same target application program.
Specifically, when the number of times that the mobile terminal establishes the bluetooth connection with the target device in the history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the bluetooth connection with the target device each time in the history are the same target application program, step 303 is executed, otherwise step 305 is executed.
And 303, respectively judging whether the time interval between the time when the mobile terminal establishes the Bluetooth connection with the target equipment every time in history and the time when the target application program is started is smaller than a preset time interval.
Specifically, when the time interval between the time when the mobile terminal establishes the bluetooth connection with the target device every time in history and the time when the target application program is started is smaller than the preset time interval, step 304 is executed, otherwise, the process is ended.
And step 304, determining the target application program as an application program to be started and starting the target application program.
Step 305, judging whether the number of times of the mobile terminal establishing the bluetooth connection with the target device in history is greater than a first preset number of times, and whether the mobile terminal includes an application program with the starting number greater than a second preset number of times in the application programs started by establishing the bluetooth connection with the target device in history.
Specifically, when the number of times of the mobile terminal establishing the bluetooth connection with the target device in the history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the bluetooth connection with the target device in the history each time include at least two identical application programs, step 306 is executed, otherwise, the process is ended.
Step 306, acquiring the application programs with the starting times larger than a second preset time from the application programs started by the mobile terminal and the target device through the historical establishment of the Bluetooth connection.
And 307, judging whether at least two application programs with the parallel running times larger than a third preset time exist in the application programs with the starting times larger than the second preset time.
Specifically, when at least two application programs with the parallel running times larger than the third preset time exist in the application programs with the starting times larger than the second preset time, step 308 is executed, otherwise, step 309 is executed.
And 308, determining that each application program in the at least two application programs is an application program to be started and starting the application program.
Step 309, determining the application program which is started most recently in the application programs with the starting times larger than the second preset times as the application program to be started and starting the application program.
According to the embodiment of the invention, the application program to be started can be determined and started according to the times of the mobile terminal establishing the Bluetooth connection with the target equipment in history and the application program started by the mobile terminal establishing the Bluetooth connection with the target equipment in each history, so that the convenience of starting the application program related to the Bluetooth can be improved, and the started application program can be more in line with the use habit of a user.
Referring to fig. 4, fig. 4 is a block diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 4, the mobile terminal 400 includes: an obtaining module 401, a determining module 402 and a starting module 403, wherein:
an obtaining module 401, configured to obtain, if a mobile terminal establishes a bluetooth connection with a target device, a number of times that the mobile terminal has historically established the bluetooth connection with the target device, and an application program started when the mobile terminal has historically established the bluetooth connection with the target device each time;
a determining module 402, configured to determine an application program to be started according to the number of times that the mobile terminal establishes a bluetooth connection with the target device in history, and the application program started when the mobile terminal establishes a bluetooth connection with the target device each time in history;
a starting module 403, configured to start the application to be started.
Optionally, referring to fig. 5, the determining module 402 includes:
the first determining unit 4021 is configured to determine the target application as an application to be started if the number of times that the mobile terminal establishes bluetooth connection with the target device in the history is greater than a first preset number of times, and the applications started by the mobile terminal establishing bluetooth connection with the target device each time in the history are the same target application.
Optionally, the first determining unit 4021 is specifically configured to:
if the number of times of the mobile terminal establishing the Bluetooth connection with the target equipment in history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the Bluetooth connection with the target equipment in each history are the same target application program, respectively judging whether the time interval between the time of establishing the Bluetooth connection with the target equipment in each history and the time of starting the target application program of the mobile terminal is smaller than a preset time interval;
and if the time interval of the time when the mobile terminal establishes the Bluetooth connection with the target equipment every time in history and the time when the target application program is started is determined to be smaller than the preset time interval, determining the target application program as the application program to be started.
Optionally, referring to fig. 6, the determining module 402 includes:
a first obtaining unit 4022, if the number of times of establishing the bluetooth connection between the mobile terminal and the target device history is greater than a first preset number of times, obtaining an application program of which the starting number of times is greater than a second preset number of times from application programs started by establishing the bluetooth connection between the mobile terminal and the target device history;
a second determining unit 4023, determining that each of the at least two application programs is an application program to be started if at least two application programs with the parallel running times greater than a third preset time exist in the application programs with the starting times greater than a second preset time;
the third determining unit 4024 determines, if at least two applications with the running times greater than the third preset time do not exist in the applications with the starting times greater than the second preset time, that the application started most recently in the applications with the starting times greater than the second preset time is the application to be started.
Optionally, referring to fig. 7, the determining module 402 includes:
a second obtaining unit 4025, configured to obtain, if the number of times that the mobile terminal establishes the bluetooth connection with the target device in the history is greater than a first preset number of times, an application program whose starting number is greater than a fourth preset number of times from application programs started when the mobile terminal establishes the bluetooth connection with the target device in the history, where the fourth preset number of times is less than or equal to the first preset number of times;
the first display unit 4026 is configured to display icons of the application programs of which the startup times are greater than a fourth preset time;
a fourth determining unit 4027, configured to determine the target application program as the application program to be started if a trigger operation for an icon of the target application program in the application programs whose starting times are greater than a fourth preset time is received.
Optionally, referring to fig. 8, the determining module 402 includes:
the identification unit 4028 is configured to identify the type of the target device if the number of times that the mobile terminal establishes bluetooth connection with the target device historically is less than a first preset number of times;
a third obtaining unit 4029, configured to obtain a target application set corresponding to the type of the target device, where the target application set includes at least one application installed in the mobile terminal;
a second display unit 40210, configured to display an icon of each application in the target application set;
a fifth determining unit 40211, configured to determine, if a trigger operation for an icon of a target application program in the target application program set is received, the target application program as an application program to be started.
The mobile terminal 400 provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
In the mobile terminal 400 of the embodiment of the present invention, the obtaining module 401 is configured to obtain, if a bluetooth connection is established between the mobile terminal and a target device, the number of times that the bluetooth connection is established between the mobile terminal and the target device in history, and an application program started when the bluetooth connection is established between the mobile terminal and the target device in history each time; a determining module 402, configured to determine an application program to be started according to the number of times that the mobile terminal establishes a bluetooth connection with the target device in history, and the application program started when the mobile terminal establishes a bluetooth connection with the target device each time in history; a starting module 403, configured to start the application to be started. According to the embodiment of the invention, after the Bluetooth connection is established between the mobile terminal and the target equipment, the application program related to the Bluetooth is automatically determined and started according to the application program started by the mobile terminal after the Bluetooth connection is established between the mobile terminal and the target equipment historically, and a user does not need to return to the desktop of the mobile terminal after the Bluetooth connection is established between the mobile terminal and the target equipment to search and start the application program related to the Bluetooth, so that the problem that the operation of starting the application program related to the Bluetooth by the mobile terminal is complicated is solved.
Fig. 9 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. Referring to fig. 9, the mobile terminal 900 includes, but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 9 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 910 is configured to, if a mobile terminal establishes a bluetooth connection with a target device, obtain the number of times that the mobile terminal has historically established the bluetooth connection with the target device, and obtain an application program started when the mobile terminal has historically established the bluetooth connection with the target device each time; determining an application program to be started according to the number of times of the mobile terminal and the target equipment which establish the Bluetooth connection historically and the application program started by the mobile terminal and the target equipment which establish the Bluetooth connection historically each time; and starting the application program to be started.
According to the embodiment of the invention, after the Bluetooth connection is established between the mobile terminal and the target equipment, the application program related to the Bluetooth is automatically determined and started according to the application program started by the mobile terminal after the Bluetooth connection is established between the mobile terminal and the target equipment historically, and a user does not need to return to the desktop of the mobile terminal after the Bluetooth connection is established between the mobile terminal and the target equipment to search and start the application program related to the Bluetooth, so that the problem that the operation of starting the application program related to the Bluetooth by the mobile terminal is complicated is solved.
Optionally, the processor 910 is further configured to:
and if the number of times of the mobile terminal establishing the Bluetooth connection with the target equipment in history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the Bluetooth connection with the target equipment in history are the same target application program, determining the target application program as the application program to be started.
Optionally, the processor 910 is further configured to:
if the number of times of the mobile terminal establishing the Bluetooth connection with the target equipment in history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the Bluetooth connection with the target equipment in each history are the same target application program, respectively judging whether the time interval between the time of establishing the Bluetooth connection with the target equipment in each history and the time of starting the target application program of the mobile terminal is smaller than a preset time interval;
and if the time interval of the time when the mobile terminal establishes the Bluetooth connection with the target equipment every time in history and the time when the target application program is started is determined to be smaller than the preset time interval, determining the target application program as the application program to be started.
Optionally, the processor 910 is further configured to:
if the number of times of the mobile terminal and the target device for establishing the Bluetooth connection in the history is greater than a first preset number of times, acquiring an application program with the starting number greater than a second preset number of times from application programs started by the mobile terminal and the target device for establishing the Bluetooth connection in the history;
if at least two application programs with the parallel running times larger than a third preset time exist in the application programs with the starting times larger than a second preset time, determining that each application program in the at least two application programs is an application program to be started;
and if at least two application programs with the parallel running times larger than a third preset time do not exist in the application programs with the starting times larger than a second preset time, determining the application program which is started most recently in the application programs with the starting times larger than the second preset time as the application program to be started.
Optionally, the processor 910 is further configured to:
if the number of times of the mobile terminal and the target device for establishing the Bluetooth connection in the history is greater than a first preset number of times, acquiring an application program with the starting number greater than a fourth preset number of times from application programs started by the mobile terminal and the target device for establishing the Bluetooth connection in the history, wherein the fourth preset number of times is less than or equal to the first preset number of times;
displaying icons of the application programs with the starting times larger than the fourth preset times;
and if the triggering operation aiming at the icon of the target application program in the application programs with the starting times larger than the fourth preset times is received, determining the target application program as the application program to be started.
Optionally, the processor 910 is further configured to:
if the number of times of the mobile terminal and the target equipment for establishing the Bluetooth connection is smaller than a first preset number of times, identifying the type of the target equipment;
acquiring a target application program set corresponding to the type of the target equipment, wherein the target application program set comprises at least one application program installed in the mobile terminal;
displaying an icon for each application in the set of target applications;
and if the triggering operation aiming at the icon of the target application program in the target application program set is received, determining the target application program as the application program to be started.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 901 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 910; in addition, the uplink data is transmitted to the base station. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 902, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as sound. Also, the audio output unit 903 may also provide audio output related to a specific function performed by the mobile terminal 900 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
The input unit 904 is used to receive audio or video signals. The input Unit 904 may include a Graphics Processing Unit (GPU) 9041 and a microphone 9042, and the Graphics processor 9041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 906. The image frames processed by the graphic processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sounds and can process such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 901 in case of the phone call mode.
The mobile terminal 900 also includes at least one sensor 905, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 9061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 9061 and/or backlight when the mobile terminal 900 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described in detail herein.
The display unit 906 is used to display information input by the user or information provided to the user. The Display unit 906 may include a Display panel 9061, and the Display panel 9061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 907 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 9071 (e.g., operations by a user on or near the touch panel 9071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 9071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 910, receives a command from the processor 910, and executes the command. In addition, the touch panel 9071 may be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 907 may include other input devices 9072 in addition to the touch panel 9071. Specifically, the other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, and the like), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 9071 may be overlaid on the display panel 9061, and when the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 provides a corresponding visual output on the display panel 9061 according to the type of the touch event. Although in fig. 9, the touch panel 9071 and the display panel 9061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 908 is an interface through which an external device is connected to the mobile terminal 900. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 908 may be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within the mobile terminal 900 or may be used to transmit data between the mobile terminal 900 and external devices.
The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 909 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 910 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 909 and calling data stored in the memory 909, thereby performing overall monitoring of the mobile terminal. Processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 910.
The mobile terminal 900 may also include a power supply 911 (e.g., a battery) for powering the various components, and preferably, the power supply 911 is logically connected to the processor 910 through a power management system that provides power management functions to manage charging, discharging, and power consumption.
In addition, the mobile terminal 900 includes some functional modules that are not shown, and thus will not be described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 910, a memory 909, and a computer program stored in the memory 909 and capable of running on the processor 910, where the computer program, when executed by the processor 910, implements each process of the above-mentioned application program starting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned application program starting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. An application program starting method is applied to a mobile terminal, and is characterized by comprising the following steps:
if the mobile terminal establishes Bluetooth connection with target equipment, acquiring the times of the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment and an application program started by the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment each time;
determining an application program to be started according to the number of times of the mobile terminal and the target equipment which establish the Bluetooth connection historically and the application program started by the mobile terminal and the target equipment which establish the Bluetooth connection historically each time;
starting the application program to be started;
the determining the application program to be started according to the number of times of the mobile terminal establishing the Bluetooth connection with the target device in history and the application program started by the mobile terminal establishing the Bluetooth connection with the target device each time in history comprises the following steps:
if the number of times of the mobile terminal establishing the Bluetooth connection with the target equipment in history is larger than a first preset number of times, and the application programs started by the mobile terminal establishing the Bluetooth connection with the target equipment in each history are the same target application program, determining the target application program as the application program to be started;
if the number of times of the mobile terminal establishing the Bluetooth connection with the target device in the history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the Bluetooth connection with the target device in the history are the same target application program, determining the target application program as the application program to be started, including:
if the number of times of the mobile terminal establishing the Bluetooth connection with the target equipment in history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the Bluetooth connection with the target equipment in each history are the same target application program, respectively judging whether the time interval between the time of establishing the Bluetooth connection with the target equipment in each history and the time of starting the target application program of the mobile terminal is smaller than a preset time interval;
and if the time interval of the time when the mobile terminal establishes the Bluetooth connection with the target equipment every time in history and the time when the target application program is started is determined to be smaller than the preset time interval, determining the target application program as the application program to be started.
2. The method according to claim 1, wherein the determining the application to be started according to the number of times the mobile terminal has historically established bluetooth connection with the target device and the application started by the mobile terminal after establishing bluetooth connection with the target device each time in history further comprises:
if the number of times of the mobile terminal and the target device for establishing the Bluetooth connection in the history is greater than a first preset number of times, acquiring an application program with the starting number greater than a second preset number of times from application programs started by the mobile terminal and the target device for establishing the Bluetooth connection in the history;
if at least two application programs with the parallel running times larger than a third preset time exist in the application programs with the starting times larger than a second preset time, determining that each application program in the at least two application programs is an application program to be started;
and if at least two application programs with the parallel running times larger than a third preset time do not exist in the application programs with the starting times larger than a second preset time, determining the application program which is started most recently in the application programs with the starting times larger than the second preset time as the application program to be started.
3. The method according to claim 1, wherein the determining the application to be started according to the number of times the mobile terminal has historically established bluetooth connection with the target device and the application started by the mobile terminal each time the mobile terminal has historically established bluetooth connection with the target device further comprises:
if the number of times of the mobile terminal and the target device for establishing the Bluetooth connection in the history is greater than a first preset number of times, acquiring an application program with the starting number greater than a fourth preset number of times from application programs started by the mobile terminal and the target device for establishing the Bluetooth connection in the history, wherein the fourth preset number of times is less than or equal to the first preset number of times;
displaying icons of the application programs with the starting times larger than the fourth preset times;
and if the triggering operation aiming at the icon of the target application program in the application programs with the starting times larger than the fourth preset times is received, determining the target application program as the application program to be started.
4. The method according to any one of claims 1 to 3, wherein the determining the application to be started according to the number of times that the mobile terminal establishes the Bluetooth connection with the target device historically and the application started by the mobile terminal establishing the Bluetooth connection with the target device historically each time, further comprises:
if the number of times of the mobile terminal and the target equipment for establishing the Bluetooth connection is smaller than a first preset number of times, identifying the type of the target equipment;
acquiring a target application program set corresponding to the type of the target equipment, wherein the target application program set comprises at least one application program installed in the mobile terminal;
displaying an icon for each application in the set of target applications;
and if the triggering operation aiming at the icon of the target application program in the target application program set is received, determining the target application program as the application program to be started.
5. A mobile terminal, comprising:
the acquisition module is used for acquiring the times of the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment and the application program started by the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment each time;
the determining module is used for determining an application program to be started according to the times of the mobile terminal and the target equipment which establish the Bluetooth connection historically and the application program started by the mobile terminal and the target equipment establishing the Bluetooth connection historically each time;
the starting module is used for starting the application program to be started;
the determining module comprises:
the first determining unit is used for determining the target application program as the application program to be started if the number of times of the mobile terminal establishing the Bluetooth connection with the target equipment in history is greater than a first preset number of times and the application programs started by the mobile terminal establishing the Bluetooth connection with the target equipment in history are the same target application program;
the first determining unit is specifically configured to:
if the number of times of the mobile terminal establishing the Bluetooth connection with the target equipment in history is greater than a first preset number of times, and the application programs started by the mobile terminal establishing the Bluetooth connection with the target equipment in each history are the same target application program, respectively judging whether the time interval between the time of establishing the Bluetooth connection with the target equipment in each history and the time of starting the target application program of the mobile terminal is smaller than a preset time interval;
and if the time interval of the time when the mobile terminal establishes the Bluetooth connection with the target equipment every time in history and the time when the target application program is started is determined to be smaller than the preset time interval, determining the target application program as the application program to be started.
6. The mobile terminal of claim 5, wherein the determining module further comprises:
the first obtaining unit is used for obtaining the application programs of which the starting times are greater than second preset times from the application programs started by the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment if the number of times of the historical establishment of the Bluetooth connection between the mobile terminal and the target equipment is greater than first preset times;
a second determining unit, configured to determine that each of the at least two applications is an application to be started if at least two applications whose parallel operation times are greater than a third preset time exist in the applications whose start times are greater than a second preset time;
and a third determining unit, configured to determine, if at least two applications with parallel running times greater than a third preset time do not exist in the applications with the starting times greater than the second preset time, that the application which is started most recently in the applications with the starting times greater than the second preset time is the application to be started.
7. The mobile terminal of claim 5, wherein the determining module further comprises:
a second obtaining unit, configured to obtain, from application programs started when the mobile terminal and the target device historically establish a bluetooth connection, an application program whose starting frequency is greater than a fourth preset frequency if the number of times of the mobile terminal and the target device historically establishing the bluetooth connection is greater than a first preset frequency, where the fourth preset frequency is less than or equal to the first preset frequency;
the first display unit is used for displaying the icons of the application programs with the starting times larger than the fourth preset times;
and the fourth determining unit is used for determining the target application program as the application program to be started if the triggering operation of the icon of the target application program in the application programs with the starting times larger than the fourth preset times is received.
8. The mobile terminal according to any of claims 5 to 7, wherein the determining module further comprises:
the identification unit is used for identifying the type of the target equipment if the number of times of the mobile terminal establishing Bluetooth connection with the target equipment in history is less than a first preset number of times;
a third obtaining unit, configured to obtain a target application set corresponding to a type of the target device, where the target application set includes at least one application installed in the mobile terminal;
the second display unit is used for displaying an icon of each application program in the target application program set;
a fifth determining unit, configured to determine, if a trigger operation for an icon of a target application program in the target application program set is received, the target application program as an application program to be started.
9. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on said memory and executable on said processor, said computer program, when executed by said processor, implementing the steps of the application launching method according to any of claims 1 to 4.
CN201810018040.7A 2018-01-09 2018-01-09 Application program starting method and mobile terminal Active CN108279948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810018040.7A CN108279948B (en) 2018-01-09 2018-01-09 Application program starting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810018040.7A CN108279948B (en) 2018-01-09 2018-01-09 Application program starting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108279948A CN108279948A (en) 2018-07-13
CN108279948B true CN108279948B (en) 2021-07-09

Family

ID=62803308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810018040.7A Active CN108279948B (en) 2018-01-09 2018-01-09 Application program starting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108279948B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110062104A (en) * 2019-03-13 2019-07-26 维沃移动通信有限公司 Application program launching method, device and mobile terminal
CN110086926A (en) * 2019-04-15 2019-08-02 努比亚技术有限公司 Starting method, apparatus, mobile terminal and the storage medium of terminal applies
CN109996371A (en) * 2019-04-24 2019-07-09 深圳尚一互联技术有限公司 The method of gesture control light for Intelligent bracelet
CN110855826A (en) * 2019-09-23 2020-02-28 华为技术有限公司 Atomic service presentation method and device
CN110784846B (en) * 2019-10-10 2023-06-27 RealMe重庆移动通信有限公司 Vehicle-mounted Bluetooth equipment identification method and device, electronic equipment and storage medium
CN112379947A (en) * 2020-11-26 2021-02-19 Oppo广东移动通信有限公司 Display method, electronic equipment and storage medium
CN113473434A (en) * 2021-08-17 2021-10-01 杭州涂鸦信息技术有限公司 Bluetooth connection method, device, computer equipment and computer readable storage medium
CN115019418B (en) * 2021-11-26 2023-09-05 荣耀终端有限公司 Bluetooth car key car control method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815518A (en) * 2005-02-05 2006-08-09 联想(北京)有限公司 Method and system for long-distance controlling device
CN104571498A (en) * 2014-12-10 2015-04-29 深圳市金立通信设备有限公司 Application program starting method
CN105554295A (en) * 2015-12-25 2016-05-04 珠海格力电器股份有限公司 Application program starting method and device
CN106843923A (en) * 2016-12-14 2017-06-13 广东小天才科技有限公司 A kind of startup method and device of the audio application of mobile terminal
CN107203318A (en) * 2017-05-23 2017-09-26 珠海市魅族科技有限公司 The open method and device of a kind of application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815518A (en) * 2005-02-05 2006-08-09 联想(北京)有限公司 Method and system for long-distance controlling device
CN104571498A (en) * 2014-12-10 2015-04-29 深圳市金立通信设备有限公司 Application program starting method
CN105554295A (en) * 2015-12-25 2016-05-04 珠海格力电器股份有限公司 Application program starting method and device
CN106843923A (en) * 2016-12-14 2017-06-13 广东小天才科技有限公司 A kind of startup method and device of the audio application of mobile terminal
CN107203318A (en) * 2017-05-23 2017-09-26 珠海市魅族科技有限公司 The open method and device of a kind of application program

Also Published As

Publication number Publication date
CN108279948A (en) 2018-07-13

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN108279948B (en) Application program starting method and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN110109593B (en) Screen capturing method and terminal equipment
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108897473B (en) Interface display method and terminal
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN108958593B (en) Method for determining communication object and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN111143002A (en) Application sharing method, electronic equipment and computer readable storage medium
CN108304108B (en) Icon display method of application program and mobile terminal
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN111417929A (en) Interface display method and control terminal
CN111061404A (en) Control method and first electronic device
CN111061446A (en) Display method and electronic equipment
CN108021315B (en) Control method and mobile terminal
CN111209072B (en) Application sharing method, first electronic device and readable storage medium
CN111163227B (en) Sharing method and electronic equipment
CN109491572B (en) Screen capturing method of mobile terminal and mobile terminal
CN110990029A (en) Application processing method and electronic equipment
CN108549807B (en) Screen unlocking method and mobile terminal
CN110928616A (en) Shortcut icon management method and electronic equipment
CN108089799B (en) Control method of screen edge control and mobile terminal

Legal Events

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