Method for starting application and electronic equipment
1. A method for starting an application is applied to an electronic device, wherein the electronic device establishes a communication connection with a first external device, and the method comprises the following steps:
the electronic equipment displays a first selection interface, wherein the first selection interface comprises at least one application icon of a first application, and the first application is used for providing services related to functions of the first external equipment;
the electronic equipment receives click operation of a user on an application icon of a second application in the first selection interface, wherein the second application is any one of the at least one first application;
the electronic equipment responds to the clicking operation of the application icon of the second application, and the second application is operated in the foreground.
2. The method of claim 1, wherein before the electronic device displays the first selection interface if the electronic device is in the lock screen state, the method further comprises:
the electronic equipment receives an unlocking operation of a user and responds to the unlocking operation to unlock successfully.
3. The method according to claim 1, wherein before the electronic device receives a user click operation on an application icon of a second application in the first selection interface if the electronic device is in the screen-locked state, the method further comprises:
the electronic equipment receives an unlocking operation of a user and responds to the unlocking operation to unlock successfully.
4. The method of any of claims 1-3, wherein the electronic device displays a first selection interface comprising:
if the electronic equipment has started a preset function, the electronic equipment displays the first selection interface;
wherein the preset functions are: displaying the function of an application icon of the associated application after the electronic equipment is successfully unlocked; the associated application is used for providing a service associated with functions of an external device of the electronic equipment for a user, wherein the external device of the electronic equipment is a device which establishes communication connection with the electronic equipment.
5. The method of claim 4, further comprising:
the electronic equipment displays a first setting interface or a notification bar, wherein the first setting interface or the notification bar comprises function options of the preset function;
and the electronic equipment responds to the opening or closing operation of the user on the function options of the preset function, and the preset function is opened or closed.
6. The method of any of claims 1-5, wherein after the electronic device displays the first selection interface, the method further comprises:
the electronic equipment receives a first operation of a user on the first selection interface;
the electronic equipment responds to the first operation and displays a main interface of the electronic equipment;
the first selection interface comprises a preset button, the preset button is used for triggering the electronic equipment to display the main interface, and the first operation is a click operation of a user on the preset button; or the first operation is a clicking operation on a blank in the first selection interface.
7. The method of any of claims 1-6, wherein prior to the electronic device displaying the first selection interface, the method further comprises:
the electronic equipment acquires the equipment type of the first external equipment;
the electronic equipment determines an application for providing a service associated with the function of the first external equipment according to the equipment type of the first external equipment.
8. The method according to any one of claims 1 to 7, further comprising:
the electronic equipment displays a second setting interface, and the second setting interface is used for setting applications corresponding to the external equipment of different equipment types; wherein, the corresponding application of the external device is as follows: an application for providing a service associated with a function of the external device;
the electronic equipment receives the setting operation of the user on the second setting interface;
and the electronic equipment responds to the setting operation and stores the corresponding relation between the external equipment of different equipment types and the application.
9. The method according to any one of claims 1 to 8, wherein the electronic device further establishes a communication connection with a second external device;
the electronic device displays a first selection interface, comprising:
and if the time for establishing the communication connection between the electronic equipment and the second external equipment is earlier than the time for establishing the communication connection between the electronic equipment and the first external equipment, displaying the first selection interface.
10. The method of claim 9, further comprising:
if the time for establishing the communication connection between the electronic equipment and the first external equipment is earlier than the time for establishing the communication connection between the electronic equipment and the second external equipment, displaying a second selection interface; the second selection interface comprises at least one application icon of a third application, and the third application is used for providing services related to the functions of the second external device for the user;
the electronic equipment receives click operation of a user on an application icon of a fourth application in the first selection interface, wherein the fourth application is any one of the at least one third application;
the electronic equipment responds to the clicking operation of the application icon of the fourth application, and the fourth application is operated in the foreground.
11. An electronic device, characterized in that the electronic device comprises:
a touch screen;
one or more processors;
a memory;
a communication module;
the communication module is used for communicating with external equipment; the memory has stored therein one or more computer programs, the one or more computer programs comprising instructions, which when executed by the processor, cause the electronic device to perform the method of any of claims 1-10.
12. A computer-readable storage medium having instructions stored therein, which when run on an electronic device, cause the electronic device to perform the method of any of claims 1-10.
Background
Generally, an electronic device (e.g., a mobile phone) can establish a communication connection with an external device (e.g., an earphone, a vehicle-mounted terminal). Taking a mobile phone connected to an earphone as an example, when a user connects the mobile phone to the earphone, the user may have a need to watch video or listen to music through the earphone. At this time, if the mobile phone of the user is in a screen-off state or a screen-on and screen-locking state, if the user wants to watch a video through the earphone, the user needs to unlock the mobile phone first to enable the mobile phone to display the main interface of the mobile phone, and then finds and opens a video application (such as a Huacheng video player) to successfully watch the video.
Obviously, after the electronic device establishes a communication connection with an external device (such as a mobile phone and an earphone), when a user needs to open a related application, the user needs to go through multiple steps to run the related application, so that the user experience is poor.
Disclosure of Invention
The embodiment of the application starting method and the electronic device can display the corresponding application icon based on the use requirement of a user, shorten the application starting time of the user and improve the user experience.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for starting an application, where the method may be applied to an electronic device. The electronic equipment establishes communication connection with the first external equipment. The method comprises the following steps: the electronic device displays a first selection interface. The first selection interface includes at least one application icon for a first application. The first application is used for providing the user with the service associated with the function of the first external device. When the user clicks the second application in the first selection interface, the electronic equipment receives the clicking operation of the user on the application icon of the second application in the first selection interface. And the electronic equipment responds to the click operation of the application icon of the second application and runs the second application in the foreground.
Taking the first external device as a bluetooth headset as an example, the bluetooth headset has a function of playing audio files, the service associated with the function of the bluetooth headset is a service of playing audio files, and the audio and video applications can be used for providing the service of playing audio files for users. Therefore, the first application in the first selection interface may be an audio-video application, such as HuachengTMVideo, cool dogTMMusic, you KuTMVideo and love artTMVideo, QQTMMusic, etc. Suppose a user clicks HuaTMApplication of videoWith the icon, the electronic device responds to the user's cheerfulTMClicking operation of application icons of videos, and operating the application icons on the foregroundTMVideo applications.
Generally, taking an electronic device as an example of a mobile phone, a user uses the mobile phone, and after the mobile phone responds to an unlocking operation of the user and is successfully unlocked, the mobile phone can display a main interface of the mobile phone. In the embodiment of the application, after the mobile phone responds to the unlocking operation of the user and is successfully unlocked, the mobile phone does not directly display the main interface but displays the first selection interface, or the mobile phone can display the first selection interface on the unlocking interface, and when the mobile phone responds to the unlocking operation of the user and is successfully unlocked, the mobile phone can operate the application icon in the first selection interface.
It can be seen that when the electronic device establishes a communication connection with the first external device, the user has a need to use the first external device. In this case, the electronic device may display an application icon of the first external device associated application in the first selection interface. The first external device associated application means: an application that may be used to provide a user with a service associated with a function of the first external device. If the user clicks any application icon in the first selection interface, the electronic device receives and responds to the clicking operation of the user, and the application corresponding to the application icon clicked by the user can be enabled to run in the foreground. Therefore, the application icon corresponding to the Bluetooth headset is displayed based on the use requirement of the user, the application starting time of the user can be shortened, and the user experience is improved.
With reference to the first aspect, in a possible design manner, if the electronic device is in the screen lock state, before the electronic device displays the first selection interface, the method may further include: the electronic equipment receives an unlocking operation of a user and responds to the unlocking operation to be successfully unlocked. In this case, after the electronic device receives that the unlocking operation of the user on the electronic device is successfully unlocked, the electronic device may display an application icon of the first external device associated application in the first selection interface. Therefore, the application icons corresponding to the Bluetooth earphones are displayed based on the use requirements of the user, so that the time for starting the application by the user is shortened, and the user experience is improved.
With reference to the first aspect, in a possible design manner, before the electronic device receives a click operation of a user on an application icon of a second application in the first selection interface if the electronic device is in a screen lock state, the method may further include: the electronic equipment receives an unlocking operation of a user and responds to the unlocking operation to be successfully unlocked. In this case, the electronic device may directly display the first selection interface on the unlocking interface, and after the electronic device responds to the unlocking operation of the user and is successfully unlocked, the user may operate the application icon in the first selection interface, that is, the electronic device may receive the click operation of the user on the application icon in the first selection interface. Therefore, the application icons corresponding to the Bluetooth earphones are displayed based on the use requirements of the user, so that the time for starting the application by the user is shortened, and the user experience is improved.
With reference to the first aspect, in one possible design manner, the displaying, by the electronic device, an application selection interface may include: if the preset function of the electronic equipment is started, the electronic equipment displays a first selection interface. Wherein, the preset function is: and displaying the function of the application icon of the associated application after the electronic equipment is successfully unlocked. The associated application is used for providing a service associated with the functions of the external equipment of the electronic equipment for a user, and the external equipment of the electronic equipment is equipment which establishes communication connection with the electronic equipment.
It should be understood that the user can set whether to start the preset function according to the requirement of the user. And if the preset function is not started, the electronic equipment responds to the unlocking operation of the user and successfully unlocks, and then the electronic equipment directly displays the main interface without displaying the first selection interface.
With reference to the first aspect, in a possible design manner, after the electronic device displays the first selection interface, the method may further include: the electronic equipment receives a first operation of a user on a first selection interface. The electronic device responds to the first operation and displays a main interface of the electronic device. The first selection interface comprises a preset button, the preset button is used for triggering the electronic equipment to display the main interface, and the first operation is clicking operation of a user on the preset button; alternatively, the first operation is a click operation on a blank in the first selection interface. In some cases, although the user has operated the electronic device to establish a communication connection with the external device, the user may temporarily not have a need to use the external device, or the first selection interface displayed by the electronic device does not have an application that the user wants to use. In this case, the user can operate the preset button of the first selection interface or the blank of the first selection interface, so that the electronic device displays the main interface of the electronic device, the user operation is facilitated, and the user experience is improved.
With reference to the first aspect, in a possible design manner, the method may further include: the electronic equipment displays a first setting interface or a notification bar, and the first setting interface or the notification bar comprises function options of preset functions. The electronic equipment responds to the opening or closing operation of the user on the function options of the preset functions, and the preset functions are opened or closed.
For example, a functionality option of "application selection interface" may be included in the first settings interface or notification bar. The electronic equipment responds to the opening or closing operation of the user on the function option of the application selection interface, and the preset function is opened or closed.
With reference to the first aspect, in one possible design manner, before the electronic device displays the first selection interface, the method further includes: the electronic equipment acquires the equipment type of the first external equipment. The electronic device determines an application for providing a service associated with a function of the first external device according to a device type of the first external device.
When the electronic equipment is connected with different types of external equipment, developers can set the associated application of the external equipment with different types in the mobile phone in advance, wherein the associated application of the external equipment refers to: may be used to provide applications for services associated with the functionality of an external device. For example, for an external device such as a headset or an external device such as a sound box, the associated application is an audio-video application. For another example, for a vehicle-mounted external device (such as a vehicle-mounted terminal), the associated applications are a navigation application and an audio application. Taking the first external device as a bluetooth headset as an example, the electronic device determines to provide the function related to the bluetooth headsetThe service application of the union can be an audio and video application, such as HuachengTMVideo, cool dogTMMusic, you KuTMVideo and love artTMVideo, QQTMMusic, etc.
With reference to the first aspect, in a possible design manner, the method may further include: and the electronic equipment displays a second setting interface, and the second setting interface is used for setting applications corresponding to the external equipment of different equipment types. Wherein, the application that external equipment corresponds is: an application for providing a service associated with a function of an external device. And the electronic equipment receives the setting operation of the user on the second setting interface. And the electronic equipment responds to the setting operation and stores the corresponding relation between the external equipment of different equipment types and the application. In order to facilitate user operation and improve user experience, a user can set associated applications (namely, applications corresponding to the external device) of the external device in a user-defined manner. For example, the user may perform an opening or closing operation on a function option of an application associated with the external device in the second setting interface, and the electronic device may receive an opening or closing operation of the function option of the application associated with the external device by the user. The electronic device may store a correspondence between the external device and the application in response to an operation of turning on or off a function selection of an application associated with the external device. For example, when a user performs a setting operation on an associated application of the bluetooth headset, the electronic device may store a corresponding relationship between the bluetooth headset and the application in response to the setting operation of the user.
With reference to the first aspect, in one possible design, the electronic device further establishes a communication connection with a second external device. In the method, the displaying, by the electronic device, the first selection interface may include: and if the time for establishing the communication connection between the electronic equipment and the second external equipment is earlier than the time for establishing the communication connection between the electronic equipment and the first external equipment, the electronic equipment displays a first selection interface. Generally, after the electronic device establishes communication connection with two external devices (e.g., a first external device and a second external device), the external device that has recently established communication connection with the electronic device is the external device that the user most wants to use at the current time. The application selection interface displayed by the electronic equipment comprises: and the application icon of the associated application of the external equipment which establishes communication connection with the electronic equipment for the last time. That is to say, if the time for establishing the communication connection between the electronic device and the second external device is earlier than the time for establishing the communication connection between the electronic device and the first external device, the first external device is the external device that has established the communication connection with the electronic device the last time, and the displayed application selection interface is the first selection interface.
With reference to the first aspect, in a possible design manner, the method may further include: if the time for establishing the communication connection between the electronic equipment and the first external equipment is earlier than the time for establishing the communication connection between the electronic equipment and the second external equipment, displaying a second selection interface; the second selection interface includes at least one application icon of a third application for providing the user with a service associated with a function of the second external device. The electronic equipment receives clicking operation of a user on an application icon of a fourth application in the first selection interface, wherein the fourth application is any one of the at least one third application. And the electronic equipment responds to the click operation of the application icon of the fourth application and runs the fourth application in the foreground. In this case, the first external device is an external device that has established communication connection with the electronic device most recently, and the displayed application selection interface is the second selection interface. That is, the displayed application selection interface includes: and the application icon of the associated application of the second external equipment.
In a second aspect, an embodiment of the present application provides an electronic device. The electronic equipment establishes communication connection with the first external equipment. The electronic device includes: a touch screen, one or more processors, memory, and a communication module. The communication module is used for communicating with external equipment; the memory has stored therein one or more computer programs, the one or more computer programs comprising instructions, which when executed by the processor, cause the electronic device to: the electronic device displays a first selection interface. The first selection interface includes at least one application icon for a first application. The first application is used for providing the user with the service associated with the function of the first external device. When the user clicks the second application in the first selection interface, the electronic equipment receives the clicking operation of the user on the application icon of the second application in the first selection interface. And the electronic equipment responds to the click operation of the application icon of the second application and runs the second application in the foreground.
In combination with the second aspect, in one possible design, the instructions, when executed by the processor, cause the electronic device to perform operations of: if the electronic equipment is in the screen locking state, before the electronic equipment displays the first selection interface, the electronic equipment receives unlocking operation of a user and responds to the unlocking operation to unlock successfully.
In combination with the second aspect, in one possible design, the instructions, when executed by the processor, cause the electronic device to perform operations of: if the electronic equipment is in the screen locking state, the electronic equipment receives unlocking operation of the user before the electronic equipment receives clicking operation of the user on the application icon of the second application in the first selection interface, and responds to the unlocking operation to successfully unlock the electronic equipment.
In combination with the second aspect, in one possible design, the instructions, when executed by the processor, cause the electronic device to perform operations of: if the preset function of the electronic equipment is started, the electronic equipment displays a first selection interface. Wherein, the preset function is: and displaying the function of the application icon of the associated application after the electronic equipment is successfully unlocked. The associated application is used for providing a service associated with the functions of the external equipment of the electronic equipment for a user, and the external equipment of the electronic equipment is equipment which establishes communication connection with the electronic equipment.
In combination with the second aspect, in one possible design, the instructions, when executed by the processor, cause the electronic device to perform operations of: the electronic equipment receives a first operation of a user on a first selection interface. The electronic device responds to the first operation and displays a main interface of the electronic device. The first selection interface comprises a preset button, the preset button is used for triggering the electronic equipment to display the main interface, and the first operation is clicking operation of a user on the preset button; alternatively, the first operation is a click operation on a blank in the first selection interface.
In combination with the second aspect, in one possible design, the instructions, when executed by the processor, cause the electronic device to perform operations of: the electronic equipment displays a first setting interface or a notification bar, and the first setting interface or the notification bar comprises function options of preset functions. The electronic equipment responds to the opening or closing operation of the user on the function options of the preset functions, and the preset functions are opened or closed.
In combination with the second aspect, in one possible design, the instructions, when executed by the processor, cause the electronic device to perform operations of: and after the electronic equipment responds to the successful unlocking of the unlocking operation, acquiring the equipment type of the first external equipment. The electronic device determines an application for providing a service associated with a function of the first external device according to a device type of the first external device.
In combination with the second aspect, in one possible design, the instructions, when executed by the processor, cause the electronic device to perform operations of: and the electronic equipment displays a second setting interface, and the second setting interface is used for setting applications corresponding to the external equipment of different equipment types. Wherein, the application that external equipment corresponds is: an application for providing a service associated with a function of an external device. And the electronic equipment receives the setting operation of the user on the second setting interface. And the electronic equipment responds to the setting operation and stores the corresponding relation between the external equipment of different equipment types and the application.
With reference to the second aspect, in one possible design, the electronic device further establishes a communication connection with a second external device. The instructions, when executed by the processor, cause the electronic device to: and if the time for establishing the communication connection between the electronic equipment and the second external equipment is earlier than the time for establishing the communication connection between the electronic equipment and the first external equipment, the electronic equipment displays a first selection interface.
With reference to the second aspect, in one possible design, the electronic device further establishes a communication connection with a second external device. The instructions, when executed by the processor, cause the electronic device to: if the time for establishing the communication connection between the electronic equipment and the first external equipment is earlier than the time for establishing the communication connection between the electronic equipment and the second external equipment, displaying a second selection interface; the second selection interface includes at least one application icon of a third application for providing the user with a service associated with a function of the second external device. The electronic equipment receives clicking operation of a user on an application icon of a fourth application in the first selection interface, wherein the fourth application is any one of the at least one third application. And the electronic equipment responds to the click operation of the application icon of the fourth application and runs the fourth application in the foreground.
In a third aspect, an embodiment of the present application provides a chip system, where the chip system is applied to an electronic device including a display screen and a plurality of cameras. The system-on-chip includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line. The interface circuit is configured to receive signals from a memory of the electronic device and to send signals to the processor, the signals including computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device performs the method as described in the first aspect and any one of its possible designs.
In a fourth aspect, the present application provides a computer-readable storage medium, which includes computer instructions, when the computer instructions are executed on the electronic device, the electronic device executes the method for starting an application according to any one of the first aspect.
In a fifth aspect, the present application provides a computer program product, which, when run on the above electronic device, causes the electronic device to execute the method for starting an application according to any of the above first aspects.
It is understood that the electronic device, the chip system, the computer-readable storage medium and the computer program product provided in the foregoing aspects are all applied to the corresponding method provided above, and therefore, the beneficial effects achieved by the electronic device, the chip system, the computer-readable storage medium and the computer program product may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Drawings
Fig. 1 is a schematic view of an application scenario applicable to a method for starting an application according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a first application scenario diagram of a method for starting an application according to an embodiment of the present application;
fig. 4 is a first flowchart of a method for starting an application according to an embodiment of the present application;
fig. 5 is a first schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a second flowchart of a method for starting an application according to an embodiment of the present application;
fig. 7 is a first schematic view of a setting interface of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a schematic view of a notification bar interface of an electronic device according to an embodiment of the present application;
fig. 9 is a second schematic view of a setting interface of an electronic device according to an embodiment of the present application;
fig. 10 is a third schematic view of a setting interface of an electronic device according to an embodiment of the present application;
fig. 11 is a second schematic view of a display interface of an electronic device according to an embodiment of the present application;
fig. 12 is a flowchart three of a method for starting an application according to an embodiment of the present application;
fig. 13A is a third schematic view of a display interface of an electronic device according to an embodiment of the present application;
fig. 13B is a fourth schematic view of a display interface of an electronic device according to an embodiment of the present application;
fig. 14 is a schematic view of a display interface of an electronic device according to an embodiment of the present application;
fig. 15 is a fourth flowchart of a method for starting an application according to an embodiment of the present application;
fig. 16 is a flowchart of a method for starting an application according to an embodiment of the present application;
fig. 17 is a fourth schematic view of a setting interface of an electronic device according to an embodiment of the present application;
fig. 18 is a schematic application scenario diagram ii of a method for starting an application according to an embodiment of the present application;
fig. 19 is a sixth schematic view of a display interface of an electronic device according to an embodiment of the present application;
fig. 20 is a seventh schematic display interface diagram of an electronic device according to an embodiment of the present disclosure;
fig. 21 is an eighth schematic display interface diagram of an electronic device according to an embodiment of the present application;
fig. 22 is a third application scenario diagram of a method for starting an application according to an embodiment of the present application;
fig. 23 is a sixth flowchart of a method for starting an application according to an embodiment of the present application;
fig. 24 is a fourth application scenario diagram of a method for starting an application according to an embodiment of the present application;
fig. 25 is a seventh flowchart of a method for starting an application according to an embodiment of the present application;
fig. 26 is an eighth flowchart of a method for starting an application according to an embodiment of the present application;
fig. 27 is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
fig. 28 is a schematic structural diagram of a chip system according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present embodiment will be described in detail below with reference to the accompanying drawings.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
The method for starting the application provided by the embodiment of the application can be applied to a scene that the electronic device 101 and the external device 102 are in communication connection as shown in fig. 1. As shown in fig. 1, an electronic device 101 may establish a communication connection with one or more external devices 102. The electronic device 101 and any one of the external devices 102 may communicate with each other in a wired or wireless manner.
It is understood that one electronic device 101 may establish a communication connection with only one external device 102, or may establish a communication connection with two or more external devices 102.
Illustratively, a wired connection may be established between the electronic device 101 and the external device 102 using a Universal Serial Bus (USB). For another example, the wireless connection between the electronic device 101 and the external device 102 may be established through a global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), time division code division multiple access (TD-SCDMA), Long Term Evolution (LTE), bluetooth, wireless fidelity (Wi-Fi), NFC, voice over Internet protocol (VoIP), or a communication protocol supporting a network slice architecture.
For example, the electronic device 101 may install an associated application program (application software), which is referred to as an application, and the electronic device 101 may further include a touch screen. The electronic device 101 may be a mobile phone, a tablet computer, a notebook computer, a vehicle-mounted device, a television (also referred to as a smart screen, a smart television, or a large screen device), a wearable electronic device, and the like, which is not limited in this embodiment. The external device 102 may be a bracelet, a sound box, an earphone, a vehicle-mounted device, a television, a notebook computer, or other devices that can establish a communication connection with the electronic device 101, which is not limited in this embodiment of the present application.
Illustratively, after the electronic device 101 establishes a communication connection with the external device 102, it indicates that the user has a need to use the external device 102. Assume that the electronic device 101 is in a screen-locked state (i.e., a screen-off state or a screen-on and screen-locked state). After the user performs an unlocking operation on the electronic device 101, the electronic device 101 responds to the unlocking operation of the user and is successfully unlocked, and the electronic device 101 may display an application icon of an application associated with the external device 102, so that the user can shorten the time for starting the application, and user experience is improved.
Taking the electronic device 101 as a mobile phone and the external device 102 as a bluetooth headset as an example, after the mobile phone establishes a communication connection with the bluetooth headset, it indicates that the user has a need to watch video or listen to music using the bluetooth headset. In this case, after the user successfully unlocks the mobile phone, the mobile phone may display an application icon of the video application or the audio application, so that the user may click the application icon of the application to quickly start the application that the user wants to use.
In the following, a mobile phone 201 is taken as an example of the electronic device 101, and fig. 2 shows a schematic structural diagram of the mobile phone 201.
As shown in fig. 2, the handset 201 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the handset 201. In other embodiments of the present application, the handset 201 may include more or fewer components than shown, or some components may be combined, some components may be separated, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
The wireless communication function of the mobile phone 201 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset 201 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 can provide a solution including wireless communication of 2G/3G/4G/5G and the like applied to the handset 201. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to the mobile phone 201, including Wireless Local Area Networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the antenna 1 of the handset 201 is coupled to the mobile communication module 150 and the antenna 2 is coupled to the wireless communication module 160 so that the handset 201 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The mobile phone 201 realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the handset 201 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The mobile phone 201 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the handset 201 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the handset 201 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. Handset 201 may support one or more video codecs. Thus, the handset 201 can play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the mobile phone 201. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the cellular phone 201 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 201. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The handset 201 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The cellular phone 201 can listen to music through the speaker 170A or listen to a hands-free call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the handset 201 answers a call or voice information, it can answer the voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The handset 201 may be provided with at least one microphone 170C. In other embodiments, the handset 201 may be provided with two microphones 170C to achieve noise reduction functions in addition to collecting sound signals. In other embodiments, the mobile phone 201 may further include three, four, or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The sensor module 180 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
Of course, the mobile phone 201 may further include a charging management module, a power management module, a battery, a key, an indicator, and 1 or more SIM card interfaces, which is not limited in this embodiment.
In the embodiment of the present application, after the mobile phone 201 establishes a wireless connection with an external device (e.g., a bluetooth headset), the bluetooth headset may be used as an audio input/output device of the mobile phone. For example, the audio module 170 may receive an audio electrical signal transmitted by the wireless communication module 160, and implement functions of answering a call, playing music, and the like through a bluetooth headset. For example, during a call or a language chat, the bluetooth headset may collect a voice signal of the user, convert the voice signal into an audio signal, and send the audio signal to the wireless communication module 160 of the mobile phone. The wireless communication module 160 transmits the audio electrical signal to the audio module 170. The audio module 170 may convert the received audio electrical signal into a digital audio signal, encode the digital audio signal, and transmit the encoded digital audio signal to the mobile communication module 150. And is transmitted to the opposite-end call device by the mobile communication module 150 to implement a call. For another example, when the user plays music using the media player of the mobile phone, the application processor may transmit an audio electrical signal corresponding to the music played by the media player to the audio module 170. The audio electrical signal is transmitted by the audio module 170 to the wireless communication module 160. The wireless communication module 160 may send the audio signal to the bluetooth headset, so that the bluetooth headset converts the audio signal into a sound signal and plays the sound signal.
In addition, the mobile phone 201 may be installed with various applications, including an audio and video application, a chat application, a map navigation application, a system application, and the like. Wherein, the audio and video applications can include HuachengTMVideo, cool dogTMMusic, you KuTMVideo and love artTMVideo, QQTMMusic, etc. Chat-like applications may include WeChatTM、QQTMAnd the like. Map navigation class applications may include hundredths of degreesTMMap, heightTMMaps, etc. The system class applications may include setup, file management, voice assistant, and the like.
By taking the audio and video applications as an example, the audio and video applications provide application services such as playing and sharing of various audio files and video files. Taking map navigation applications as an example, the map navigation applications provide application services such as location query and route navigation. Taking the system class application as an example, the system class application provides system services such as system setting, file management, voice assistance and the like.
When the mobile phone 201 establishes a communication connection with an external device (such as a bluetooth headset or a vehicle-mounted terminal), part of the services provided by the application installed in the mobile phone 201 can be implemented by the external device. Taking the bluetooth headset as an example, the bluetooth headset has a function of playing an audio file, so the audio and video applications can be used to provide services associated with the function of the bluetooth headset for a user. That is, the user can play audio or video of the audio-video application through the bluetooth headset. Taking the vehicle-mounted terminal as an example, the vehicle-mounted terminal has a route navigation function and also has an audio file playing function, so the audio and video applications and the map navigation applications can both provide services related to the functions of the vehicle-mounted terminal for users. That is to say, the user can play the audio in the audio and video application through the vehicle-mounted terminal, or realize the function of map navigation through the vehicle-mounted terminal.
The following takes the handset 201 and the bluetooth headset 202 establishing a communication connection as an example, and details a method for starting an application according to an embodiment of the present application are described with reference to the drawings.
Illustratively, as shown in fig. 3, a handset 201 may establish a bluetooth connection with a bluetooth headset 202. Generally, if the user operates the handset 201 to establish a communication connection (i.e. successfully pair) with the bluetooth headset 202, it indicates that the user may have a need to watch video or listen to music. That is, at this time, the user may have a need to use the audio-video type application.
As shown in fig. 3, the handset 201 establishes a communication connection with the bluetooth headset 202, and the handset 201 is in a screen-locked state. As shown in fig. 4, the method for starting an application provided in the embodiment of the present application may include S401-S404. The method can be applied to the mobile phone 201 which is in a screen locking state and is in communication connection with the bluetooth headset 202 as shown in fig. 3.
S401, the mobile phone receives unlocking operation of a user.
For example, the mobile phone may receive an unlocking operation of the user on the mobile phone screen locking interface 501 shown in (a) in fig. 5, such as unlocking the mobile phone by using a fingerprint unlocking manner. Certainly, the unlocking operation of the user on the mobile phone is not limited to a fingerprint unlocking mode, and may also be a sliding unlocking mode, a face unlocking mode, an iris unlocking mode, and the like, and the embodiment of the application is not particularly limited.
S402, the mobile phone responds to the unlocking operation of the user and displays a first selection interface after the unlocking operation is successfully performed. The first selection interface comprises at least one application icon of a first application, and the first application is used for providing services associated with functions of the first external device for a user.
Generally, after the mobile phone responds to the unlocking operation of the user and is successfully unlocked, the mobile phone can display a main interface of the mobile phone. In the embodiment of the application, after the mobile phone responds to the unlocking operation of the user and is successfully unlocked, the mobile phone does not directly display the main interface but displays the first selection interface. For example, after the mobile phone responds to an unlocking operation of the user on the mobile phone screen locking interface 501 shown in (a) in fig. 5 and is successfully unlocked, the mobile phone may display an application selection interface 502 (i.e., a first selection interface) shown in (b) in fig. 5.
For example, taking the first external device as the bluetooth headset 202 shown in fig. 3 as an example, the bluetooth headset 202 has an audio file playing function, and therefore, a service associated with the bluetooth headset function is an audio file playing service. The audio and video application can be used for providing a service for playing audio files for users. Therefore, the first application can be an audio and video application, such as HuachengTMVideo, cool dogTMMusic, you KuTMVideo and love artTMVideo, QQTMMusic, etc. In the application selection interface 502 shown in (b) in fig. 5, a huahua can be displayedTMVideo, QQTMMusic cool dogTMMusic, etc.
In other embodiments, the mobile phone may set whether to turn on the function of displaying the first selection interface. And when the function of displaying the first selection interface is started, the mobile phone responds to the unlocking operation of the user and displays the first selection interface after the mobile phone is successfully unlocked. And if the function of displaying the first selection interface is closed, the mobile phone does not display the first selection interface any more but directly displays the main interface of the mobile phone after responding to the unlocking operation of the user and successfully unlocking. Specifically, as shown in fig. 6, S402 may include S402 a.
S402a, after the mobile phone responds to the unlocking operation of the user and is successfully unlocked, if the mobile phone has started the preset function, displaying a first selection interface. The first selection interface comprises at least one application icon of a first application, and the first application is used for providing services associated with functions of the first external device for a user.
It should be noted that the preset function may be: and displaying the function of the application icon of the associated application after the mobile phone is successfully unlocked, namely displaying the first selection interface. The associated application can be used for providing services associated with functions of the external equipment of the mobile phone for the user. The external equipment of the mobile phone is equipment which establishes communication connection with the mobile phone. For example, taking an external device of the mobile phone 201 as the bluetooth headset 202 as an example, the associated application may be an application for providing a service associated with the bluetooth headset 202 for a user, that is, may include huayeTMVideo, cool dogTMMusic, you KuTMVideo and love artTMVideo, QQTMMusic, etc.
After the mobile phone 201 establishes a communication connection with the bluetooth headset 202, if the mobile phone 201 has started the preset function, the mobile phone 201 may display a first selection interface after responding to an unlocking operation of the user and successfully unlocking, and display an application icon of an application (i.e., an associated application) that can provide a service associated with the function of the bluetooth headset 202 for the user in the mobile phone 201 in the first selection interface. That is, a cool dog can be expectedTMMusic, you KuTMVideo and love artTMVideo, QQTMAnd displaying application icons of applications such as music and the like in a first selection interface of the mobile phone. On the contrary, if the mobile phone does not start the preset function, the mobile phone 201 may directly display the main interface of the mobile phone without displaying the first selection interface after responding to the unlocking operation of the user and successfully unlocking the mobile phone.
For the setting of the preset function, the preset function can be set through a first setting interface or a notification bar. Specifically, the mobile phone displays a first setting interface or a notification bar, and the first setting interface or the notification bar comprises function options of preset functions; and the mobile phone responds to the opening or closing operation of the function options of the preset functions by the user, and opens or closes the preset functions.
For example, as shown in fig. 7, a function option (i.e., a function switch of a preset function) of an "application selection interface" 702 is included in a device connection setting interface 701 (i.e., a first setting interface) of a mobile phone. The mobile phone can receive the user's on or off operation of the function option of the "application selection interface" 702 shown in fig. 7. The mobile phone turns on or off the function of displaying the application selection interface (i.e., the function of displaying the application icon of the associated application) in response to the user turning on or off the function option of the "application selection interface" 702.
For example, as shown in fig. 8, the notification bar 801 of the mobile phone 201 may include a function option of the preset function (e.g., a function option 802 of the application selection interface). The user can turn on or off the function option 802 of the application selection interface in the notification bar 801. The mobile phone responds to the opening or closing operation of the user on the function option 802 of the application selection interface, and opens or closes the function of the application selection interface (namely, the function of displaying the application icon of the associated application).
In some embodiments, the preset functions may be respectively set according to different device types of the external device of the mobile phone. Illustratively, as shown in fig. 9 (a), a device connection setting interface 901 of a cellular phone may include an "application selection interface setting" option 902. The handset may receive a user click operation on the "application selection interface settings" option 902. The cell phone may display an application selection interface setting interface 903 illustrated in (b) in fig. 9 in response to a click operation of the "application selection interface setting" option 902 by the user. The application selection interface settings interface 903 may include a plurality of add-on device type options, such as a "Bluetooth headset" option 904, and an "in-vehicle device" option 905.
The user can set the preset functions according to the requirements of the user and different equipment types of the external equipment of the mobile phone. Taking a bluetooth headset as an example, as shown in (a) in fig. 10, in the application selection interface setting interface 903, the mobile phone may receive a click operation of the "bluetooth headset" option 904 by the user, and in response to the click operation of the "bluetooth headset" option 904 by the user, the mobile phone displays an application selection interface setting interface 906 regarding the bluetooth headset as shown in (b) in fig. 10.
In the application selection interface setting interface 906 for the bluetooth headset as shown in (b) of fig. 10, a function option (i.e., a function switch of the above-described preset function) of the "application selection interface" 907 may be included. The mobile phone may receive a user's on or off operation of a function option of an "application selection interface" 907 shown in (b) of fig. 10, and turn on or off a function of displaying the application selection interface (i.e., a function of displaying an application icon of an associated application).
In this case, assuming that the user has turned on the function of displaying the application selection interface with respect to the cellular phone 201 through the function option of the "application selection interface" 907 shown in (b) of fig. 10, after the cellular phone 201 establishes a communication connection with the bluetooth headset 202, and the cellular phone 201 responds to the unlocking operation of the user and successfully unlocks, the application selection interface 502 shown in (b) of fig. 5 may be displayed. On the contrary, assuming that the user closes the function of displaying the application selection interface to the mobile phone 201 through the function option of the "application selection interface" 907 shown in (b) of fig. 10, after the mobile phone 201 establishes a communication connection with the bluetooth headset, and the mobile phone 201 responds to the unlocking operation of the user and is successfully unlocked, the main interface of the mobile phone 201 may be directly displayed without displaying the application selection interface 502 (i.e., the first selection interface) shown in (b) of fig. 5.
S403, the mobile phone receives click operation of the user on the application icon of the second application in the first selection interface. The second application is any one of the at least one first application.
For example, the first application may include HuaqiTMVideo, QQTMMusic cool dogTMAnd (4) music. Thus, it is possible to provideThe second application may be HuachenTMVideo, QQTMMusic, very cool dog musicTMAny one of the above applications.
After the mobile phone displays the first selection interface, the user can click a certain application icon displayed on the first selection interface according to the own requirements of the user. For example, suppose a user has a passphrase ofTMFor video viewing, the user may click on "Huaqi" displayed in the application selection interface 502 as shown in (a) of FIG. 11TMVideo "application icon 503. At this time, the mobile phone 201 may receive the user 'hua shi' in the application selection interface 502TMClick operation of the application icon 503 of video ".
S404, the mobile phone responds to the click operation of the application icon of the second application, and the second application is operated in the foreground.
For example, the cell phone responds to the user's "Huaqi" as shown in (a) of FIG. 11TMThe mobile phone can operate in the foreground for the click operation of the application icon 503 of video ″TMVideo, as shown in (b) of fig. 11. Specifically, if neither the foreground nor the background of the mobile phone is running HuaweiTMThe video application is that the mobile phone starts HuachengTMAnd the video application is displayed and runs on the foreground of the mobile phone. If the flower isTMThe video application is already applied to the background of the mobile phone, and then the mobile phone will becomeTMAnd displaying the application interface of the video to run in the foreground of the mobile phone.
In some cases, for example, the handset 201 and the bluetooth headset 202 have established a communication connection, but the user does not have a need to watch video or listen to music at this time; or after the mobile phone 201 is successfully unlocked, the application corresponding to the application icon displayed in the first selection interface does not include the application that the user wants to use. In this case, the user needs the handset 201 to display its home interface to select an application icon for another application.
In order to facilitate the user to operate and make the mobile phone display the main interface of the mobile phone, as shown in fig. 12, the method for starting the application may further include S405-S406.
S405, the mobile phone receives a first operation of the user on the first selection interface. The first selection interface may include a preset button, and the first operation may be a click operation of a user on the preset button; alternatively, the first operation is a click operation on a blank in the first selection interface.
The preset button may be an exit button for exiting the first selection interface, or may be a main interface icon for prompting display of the main interface.
For example, the mobile phone may receive a user click operation on a home interface icon in the application selection interface 502 (i.e., the first selection interface) in (a) in fig. 13A to exit the application selection interface and display the home interface of the mobile phone. The mobile phone may also receive a user's click operation on any blank in the application selection interface 502 in fig. 13B to exit the application selection interface and display the main interface of the mobile phone. The mobile phone may also detect a gesture operation of the user exiting the application selection interface 502, such as a left swipe, to exit the application selection interface and display the main interface of the mobile phone. It should be understood that, assuming that the exit button is displayed in the first selection interface displayed by the mobile phone, the mobile phone may further receive a click operation of the user on the exit button in the first selection interface to display the main interface of the mobile phone.
S406, the mobile phone responds to the first operation of the user on the first selection interface and displays the main interface of the mobile phone.
For example, the mobile phone displays the home interface as shown in (b) in fig. 13A in response to a user's click operation on the home interface icon in the application selection interface 502 (i.e., the first selection interface) in (a) in fig. 13A. For another example, the mobile phone displays the main interface as shown in (B) in fig. 13A in response to a user's click operation on any blank in the application selection interface 502 shown in (a) in fig. 13B and (B) in fig. 13B.
It can be seen that when the handset 201 establishes a communication connection with the bluetooth headset 202, the user may have a need to listen to music or watch video using the bluetooth headset 202. After the cell phone 201 receives and responds to the user's unlocking operation of the cell phone 201 and successfully unlocks, the cell phone 201 can automatically display an application icon of an application associated with the bluetooth headset 202 (i.e., can be used for providing the user with a service associated with the function of the bluetooth headset 202) in the first selection interface. If the user clicks any application icon in the first selection interface, the mobile phone 201 receives and responds to the click operation of the user, so that the application corresponding to the application icon clicked by the user can be operated in the foreground. Therefore, the application icon corresponding to the Bluetooth headset 202 can be displayed based on the use requirement of the user, the application starting time of the user can be shortened, and the user experience is improved.
As another embodiment, before the user successfully unlocks the screen locking interface of the mobile phone, the mobile phone may directly display the first selection interface, where the first selection interface may display an application icon of an application associated with a function of the first external device, but the user cannot operate the application icon applied in the first selection interface before the user successfully unlocks the screen locking interface. The specific operation flow can be as follows:
the method comprises the following steps: the mobile phone displays a first selection interface. The first selection interface comprises at least one application icon of a first application, and the first application is used for providing services associated with functions of the first external device for a user.
For example, as shown in fig. 14 (a), an application selection interface 502 (i.e., a first selection interface) is directly displayed on a lock screen interface 501 of the cell phone 201. At this time, the user may perform an unlocking operation on the mobile phone 201, but cannot operate the application icon in the application selection interface 502.
Step two: after the mobile phone receives and responds to the unlocking operation of the user and successfully unlocks, the mobile phone can receive the clicking operation of the user on the application icon of the second application in the first selection interface. The second application is any one of the at least one first application.
For example, after the user performs an unlocking operation on the mobile phone 201, the mobile phone may receive the unlocking operation of the user. After the cellular phone 201 responds to the unlocking operation at the cellular phone screen locking interface 501 and is successfully unlocked, the user can operate the application icon of the application selection interface 502, as shown in (b) of fig. 14. At this time, the mobile phone 201 may receive a click operation of the user on an application icon of one of the applications in the application selection interface 502, and the specific process may refer to S403 described above, which is not described herein again.
Step three: and the mobile phone responds to the click operation of the application icon of the second application and runs the second application in the foreground. For a specific process, reference may be made to the above S404, which is not described herein again.
For convenience of description, in the following embodiments, the first selection interface is displayed only after the mobile phone receives and responds to the unlocking operation of the user and the unlocking operation is successfully unlocked, the case that the first selection interface is directly displayed on the screen locking interface of the mobile phone can be implemented by referring to an actual flow, and the embodiment of the present application is not described in detail again.
In some embodiments, as shown in fig. 15, before the first selection interface is displayed in step S402, the method for launching an application may further include S1501 to S1502.
S1501, the mobile phone responds to the unlocking operation of the user and acquires the device type of the first external device after the unlocking operation is successfully performed.
For example, the handset 201 establishes a communication connection with the bluetooth headset 202, and the bluetooth headset 202 is a first external device. At this time, the device type of the first external device that can be acquired by the mobile phone 201 is an earphone-type external device.
S1502, determining, by the mobile phone, an application for providing a service associated with a function of the first external device according to the device type of the first external device.
It should be understood that in S1501, the mobile phone may also obtain the device type of the first external device before the unlocking operation of the user, and execute S1502 to determine the application for providing the service associated with the function of the first external device, so that the timing for obtaining the first external device type and determining the application for providing the service associated with the function of the first external device by the mobile phone in the embodiment of the present application is not particularly limited.
Exemplarily, a mobile phone may be connected to external devices of different device types, and a developer may set a related application of the external device (e.g., a first external device) in advance in the mobile phone according to the external devices of different device types, where the related application of the external device refers to: may be used to provide applications for services associated with the functionality of an external device.
For example, for external devices such as earphones or speakersThe earphone external device or the sound box external device has a function of playing audio, and the audio and video application can be used for providing an application service for playing an audio file for a user, namely the audio application can provide an application service associated with the function of the earphone external device for the user and also provide an application service associated with the function of the sound box external device for the user. Therefore, the associated application with the external device such as the earphone or the external device such as the sound box can be set as the audio and video application, that is, the associated application with the external device such as the earphone or the external device such as the sound box can include huacheng applicationTMVideo, cool dogTMMusic, you KuTMVideo and love artTMVideo, QQTMMusic, etc.
For another example, for a vehicle-mounted external device (such as a vehicle-mounted terminal), the vehicle-mounted external device has a function of route navigation and a function of playing an audio file, the vehicle-mounted application may be used to provide an application service for map query and navigation for a user, and the audio application may provide an application service for audio playing for the user. Therefore, the associated applications with the vehicle-mounted external equipment can be set to be navigation applications and audio applications, namely the associated applications with the vehicle-mounted external equipment can comprise hundreds of degreesTMMap, heightTMMap, cool dogTMMusic, QQTMMusic, etc.
In this case, after acquiring the device type of the first external device, the mobile phone may determine, according to the device type of the first external device, an application (i.e., an application associated with the first external device) for providing a service associated with the function of the first external device. For example, taking the first external device connected to the mobile phone 201 as the bluetooth headset 202 as an example, the application determined by the mobile phone 201 for providing the service associated with the function of the bluetooth headset 202 (i.e. the associated application of the bluetooth headset 202) may be an audio-video application, such as huayeTMVideo, cool dogTMMusic, you KuTMVideo and love artTMVideo, QQTMMusic, etc.
In some embodiments, the mobile phone further provides an application for associating the user-defined setting with the first external device, that is, an application for displaying the user-defined setting in the first selection interface. Generally, the associated applications of different device types of external devices are generally different. For example, the earphone-type external device is generally associated with an audio-video-type application; the vehicle-mounted external device is generally associated with an audio application or a navigation application. Therefore, the user can self-define and set the application displayed in the application selection interface according to different external equipment types. As shown in fig. 16, the method for starting an application provided in the embodiment of the present application may further include S1601-S1603.
S1601, the mobile phone displays a second setting interface. The second setting interface is used for setting applications corresponding to the external devices of different device types. The corresponding application of the external equipment is as follows: an application for providing a service associated with a function of an external device.
Illustratively, in the application selection interface setting interface 906 regarding the bluetooth headset as shown in (b) of fig. 10, a function option (i.e., a function switch of the above-described preset function) of an "application selection interface" 907 may be included to turn on or off a function of displaying the application selection interface (i.e., a function of displaying an application icon of an associated application). In the above-described application selection interface setting interface 906 for the bluetooth headset, a function option of "application setting" 1701 may also be included, as shown in (a) of fig. 17.
The mobile phone may receive a user click operation on the function option of the "application setting" 1702, and may display the application setting interface 1702 (i.e., the second setting interface) as shown in (b) of fig. 17.
S1602, the mobile phone receives the setting operation of the user on the second setting interface.
For example, in the application setting interface 1702 shown in (b) in fig. 17, there are displayed: function options of associated applications of a bluetooth headset, e.g. "HuachengTMVideo "function options 1703," Cool dogTMMusic "function option 1704. The user can carry out opening or closing operation on the function options of any application associated with the Bluetooth headset so as to set whether the application is displayed in the application selection interface. The mobile phone can receive the opening of the user to the function options of any application orThe operation is closed (i.e., a setting operation) to save the user's setting of the function options for any application. E.g. user turns on' Hua isTMVideo "function option 1703, it may indicate that the user wants to" HuachengTMAn application icon of the video "is displayed into the application selection interface 502 as shown in (b) in fig. 5. As another example, the user turns off the "Cool dogTMMusic "function option 1704, then it may indicate that the user does not wish to be coolTMAn application icon of the video is displayed into the application selection interface 502 as shown in (b) in fig. 5.
S1603, the mobile phone stores the corresponding relationship between the external devices of different device types and the application in response to the setting operation.
For example, in response to the user turning on or off the function option of the application associated with the bluetooth headset in the application setting interface 1702 shown in (b) of fig. 17, the mobile phone stores the correspondence between the bluetooth headset and the application. For example, the user turns onTMVideo function option 1703, the handset can save the bluetooth headset and huashiTMVideo "correspondence of applications.
It should be noted that, in the step S1502, the number of applications for providing the service associated with the function of the first external device may be determined by the mobile phone according to the device type of the first external device. For example, applications installed in a mobile phone for providing services associated with functions of an external device of the earphone type (hereinafter referred to as "applications associated with an external device of the earphone type") may includeTMVideo, cool dogTMMusic, you KuTMVideo, QQTMMusic and miguTMMusic, etc. Assuming that only 3 application icons can be displayed after the application selection interface 502 shown in fig. 5 (b) removes the main interface icon, the mobile phone may sort the usage frequencies of the applications associated with the headset-type external device, and display the 3 applications with the highest usage frequency in the applications associated with the headset-type external device in the application selection interface 502.
It should be understood that the use frequency of the application may be the number of times that the corresponding application is started in the whole use period of the mobile phone, or the number of times that the corresponding application is started when the mobile phone is connected to some external device (such as a bluetooth headset), and the embodiment of the present application is not particularly limited.
In addition, it should be noted that the setting operation for the application associated with the first external device in S1601-S1603 may be performed at any stage of the use of the mobile phone. For example, the relevant setting operation may be performed before S401, and then the mobile phone may be in the screen locking state, and then S401 is performed. Of course, after the host interface of the mobile phone is displayed in the step S406, the steps S1601 to S1603 may be executed to set the associated application of the first external device. Therefore, the embodiment of the present application does not specially limit the execution time of the above-mentioned S1601-S1603.
In summary, the method for starting an application provided in the embodiment of the present application is applied to an electronic device, such as a mobile phone, and the electronic device establishes a communication connection with a first external device (such as a bluetooth headset). Therefore, the method for starting the application comprises the following steps:
the method comprises the following steps: the electronic device displays a first selection interface. The first selection interface includes at least one application icon for a first application. The first application is used for providing the user with the service associated with the function of the first external device. Taking the electronic device as a mobile phone and the first external device as a bluetooth headset as an example, if the mobile phone establishes a communication connection with the bluetooth headset, the mobile phone may display an application selection interface (i.e., a first selection interface) in which an associated application of the bluetooth headset is available, such as hua shiTMVideo, cool dogTMMusic, you KuTMVideo and love artTMVideo, QQTMMusic, etc.
It should be understood that the timing for the electronic device (e.g., a mobile phone) to display the first selection interface may be based on the mobile phone displaying the first selection interface (e.g., the application selection interface 502) after the mobile phone responds to the unlocking operation of the user and is successfully unlocked as shown in (a) in fig. 5 and (b) in fig. 5, or may be based on the mobile phone displaying the first selection interface (e.g., the application selection interface 502) on the screen locking interface of the mobile phone as shown in (a) in fig. 14, and the user can only operate the application icon in the first selection interface (e.g., the application selection interface 502) after the mobile phone responds to the unlocking operation of the user and is successfully unlocked.
Step two: when the user clicks the second application in the first selection interface, the electronic equipment receives the clicking operation of the user on the application icon of the second application in the first selection interface. Taking the electronic device as a mobile phone and the first external device as a bluetooth headset as an example, the second application refers to an associated application of the bluetooth headset displayed in the first selection interface. For specific operations, reference may be made to the above S403, which is not described herein again.
Step three: and the electronic equipment responds to the click operation of the application icon of the second application and runs the second application in the foreground. Taking the electronic device as a mobile phone and the first external device as a bluetooth headset as an example, suppose the user is facing ChinaTMWhen the application icon of the video is clicked, the mobile phone operates in the foregroundTMAnd (6) video. For specific operations, reference may be made to the above S404, which is not described herein again.
The following takes the mobile phone 201 and the in-vehicle terminal 203 as an example to establish a communication connection, and details a method for starting an application according to an embodiment of the present application are described with reference to the drawings.
Illustratively, as shown in fig. 18, the mobile phone 201 and the in-vehicle terminal 203 have established a communication connection through bluetooth (i.e., bluetooth pairing is successful). Assume that the mobile phone is in a screen-locked state (i.e., a screen-off state or a screen-on and screen-locking state). The mobile phone 201 may receive an unlocking operation of the user on the mobile phone screen locking interface 1901 shown in (a) in fig. 19, for example, unlocking the mobile phone by using a sliding unlocking manner. After the cell phone 201 responds to the user's unlocking operation of the cell phone screen locking interface 1901 shown in (a) of fig. 19 and is successfully unlocked, the cell phone 201 may display an application selection interface 1902 shown in (b) of fig. 19. In this application selection interface 1902, an application icon, such as a hundred degrees, of an application for providing a service associated with a function of the in-vehicle terminal 203 (i.e., an associated application of the in-vehicle terminal 203) may be displayedTMMap, heightTMMap, cool dogTMMusic, etc.
Suppose that the user operates the mobile phone 201 to establish a communication connection with the in-vehicle terminal 203, with a demand for route navigation. In this case, the mobile phone 201 may receive a click operation of the user on the highlight map application icon in the application selection interface 1902 as shown in (a) in fig. 20, and the mobile phone 201 runs the highlight map in the foreground in response to the click operation of the user on the highlight map application icon in the application selection interface 1902 as shown in (b) in fig. 20.
Accordingly, it is assumed that there is no application that the user wants to use in the application selection interface 1902 as shown in (b) in fig. 19. At this point, the user may click on an exit button or blank in the application selection interface 1902 to display the primary interface of the handset. For example, the cell phone may receive a user click operation on an exit button in the application selection interface 1902 as shown in fig. 21, and the cell phone displays a cell phone home interface in response to the user click operation on the exit button in the application selection interface 1902.
In some application scenarios, the electronic device 101 may establish a communication connection with a plurality of external devices 102. Taking the electronic device 101 as the mobile phone 201 as an example, the mobile phone 201 may establish a communication connection with a first external device first, and then establish a communication connection with a second external device; or the handset 201 may establish a communication connection with the second external device before establishing a communication connection with the first external device.
Illustratively, as shown in fig. 22, the mobile phone 201 has established communication connection with both the bluetooth headset 202 and the in-vehicle terminal 203 successively. If the mobile phone is in the screen locking state (namely, the screen is off or the screen is on and locked). In general, the external device that has been connected to the mobile phone 201 last time is the external device that the user most wants to use at the current time. Here, it is assumed that the bluetooth headset 202 is a first external device and the in-vehicle terminal 203 is a second external device.
In this case, as shown in fig. 23, the method for starting an application according to the embodiment of the present application further includes S2301 to S2304 before executing S402.
S2301, after the mobile phone successfully unlocks in response to the unlocking operation of the user, judging whether the time for establishing the communication connection between the mobile phone and the first external device is earlier than the time for establishing the communication connection between the mobile phone and the second external device.
If the time for establishing the communication connection between the mobile phone and the first external device is later than the time for establishing the communication connection between the mobile phone and the second external device (i.e. the first external device is the external device which has recently established the communication connection with the mobile phone), the step S402 is executed, and the mobile phone displays the first selection interface. For operation after the first selection interface is displayed on the mobile phone, please refer to S403 and S404, which are not described herein again.
If the time for establishing the communication connection between the mobile phone and the first external device is earlier than the time for establishing the communication connection between the mobile phone and the second external device (i.e., the second external device is the external device that has recently established the communication connection with the mobile phone), the following S2302 is executed, and the mobile phone displays a second selection interface.
And S2302, the mobile phone displays a second selection interface. The second selection interface includes an application icon for at least one third application. The third application is used for providing the user with a service associated with the function of the second external device.
That is to say, when the second external device is the external device that has established communication connection with the mobile phone last time, the application icon of the third application in the second selection interface displayed by the mobile phone refers to the application icon of the associated application of the second external device. The associated application of the second external device may be used to provide a service associated with the function of the second external device to the user. For example, when the second external device is a vehicle-mounted terminal, the third application may be hundredths of degreesTMMap, heightTMMap, cool dogTMMusic, etc.
S2303, the mobile phone receives clicking operation of the user on the application icon of the fourth application in the first selection interface. The fourth application is any one of the at least one third application.
For example, when the second external device is the in-vehicle terminal 203, the fourth application may be any one of the third applications, such as hundredths of degreesTMMap, heightTMMap, cool dogTMMusic, etc.
S2304, the mobile phone responds to the click operation on the application icon of the fourth application, and runs the fourth application in the foreground.
For example, when the second external device is the in-vehicle terminal 203, it is assumed to be usedThe user has a need for route navigation, and the user may click on "Baidu" in the second selection interfaceTMThe fourth application is hundredth degree if the application icon of the map isTMA map. Handset response to hundreds of degreesTMThe click operation of the application icon of the map runs hundreds of degrees in the foregroundTMA map.
It should be noted that the mobile phone and different external devices may also be connected in the same connection manner, for example, as shown in fig. 22, the mobile phone establishes communication connection with the bluetooth headset and the vehicle-mounted terminal through bluetooth. The mobile phone and different external devices can be connected in different connection modes, for example, as shown in fig. 24, the mobile phone establishes communication connection with a bluetooth headset through bluetooth, and the mobile phone also establishes communication connection with a computer through a USB interface. Therefore, the embodiment of the application does not specially limit the connection mode between the mobile phone and different external devices.
For example, in the embodiment of the present application, an electronic device is taken as a mobile phone, and a communication connection is established between the mobile phone and a bluetooth headset, and a method flow for starting an application in the embodiment of the present application is introduced in combination with the method steps described in the above embodiment.
As shown in fig. 25, in S2501, the mobile phone has established a communication connection with an external device (e.g., a bluetooth headset), and the mobile phone is in a screen-locked state (i.e., a screen-off state or a screen-on and screen-locking state). In this case, the user may have a need to watch video or listen to music through a bluetooth headset. When the user unlocks the mobile phone, the mobile phone can execute S2502 to receive the unlocking operation of the user on the mobile phone, and the mobile phone responds to the unlocking operation of the user to execute unlocking and execute S2503 to judge whether the unlocking is successful. When the unlocking fails, the mobile phone executes S2504 to prompt the user that the unlocking fails, and the unlocking is carried out again; when the unlocking is successful, the mobile phone performs S2505 to determine whether a function of displaying an application selection interface is set. If the function of displaying the application selection interface is not set in the mobile phone, executing S2506 to display a main interface of the mobile phone; if the mobile phone sets up the function of displaying the application selection interface, S2507 is executed to acquire the device type of the external device connected to the mobile phone (i.e., the external device such as the earphone). At this time, the mobile phone may determine, according to the obtained device type of the external device connected to the mobile phone, an application (referred to as an associated application of the external device for short) for providing a service associated with the function of the external device (i.e., the bluetooth headset), and then execute S2508 to display an application icon (e.g., an application icon of an application such as hua-juan video and cool dog music) associated with the external device (i.e., the bluetooth headset) in the application selection interface.
After the application selection interface is displayed on the mobile phone, the user can click the application icon in the application selection interface according to the actual requirements of the user. At this time, the mobile phone may perform S2509 to receive a click operation of the user on an application icon in the application selection interface. When the mobile phone receives a click operation of the user on an application icon in the application selection interface, S2510 may be executed to determine whether to click an application icon a in the application selection interface, where the application icon a may refer to an application icon of any application in the application selection interface. If the mobile phone determines that the user clicks the application icon a in the application selection interface, the mobile phone may execute S2511 to run the application corresponding to the application icon a in the foreground in response to the click operation of the user. If the mobile phone determines that the user clicks not the application icon a but an exit button, a home interface icon, or a blank, the mobile phone may perform S2506 to display the home interface of the mobile phone.
In the above embodiment, the electronic device (e.g., a mobile phone) may also establish a communication connection with two or more external devices, and the electronic device is in a screen-locking state. In this case, the method flow of the electronic device (e.g., a mobile phone) starting the application may be as shown in fig. 26, which is different from the method flow shown in fig. 25 in that the device type of the external device that has recently established a communication connection with the mobile phone is acquired when S2507 is executed, as in S2507a in fig. 25. According to the device type of the external device (referred to as external device a for short) which has recently established communication connection with the mobile phone, the application for providing the service associated with the function of the external device a can be determined. Therefore, when the mobile phone executes S2508, the application icons displayed in the application selection interface are: and the application icon of the associated application of the external equipment A.
As shown in fig. 27, an embodiment of the present application discloses an electronic device, such as a mobile phone 201 in the above embodiment. The electronic device may specifically include: a display screen 2707; one or more processors 2702; a memory 2703; a communication module 2708; one or more applications (not shown); and one or more computer programs 2704, which may be connected via one or more communication buses 2705. Wherein the one or more computer programs 2704 are stored in the memory 2703 and configured to be executed by the one or more processors 2702, the one or more computer programs 2704 include instructions that can be used to perform the steps associated with the implementation of the handset as described above. The electronic device may also include input devices such as a touch sensor 2706 (touch sensor 2706 and display screen 2707 may be integrated into touch screen 2701), a mouse, and the like.
Embodiments of the present application also provide a chip system, as shown in fig. 28, where the chip system 2800 includes at least one processor 2801 and at least one interface circuit 2802. The processor 2801 and the interface circuit 2802 may be interconnected by wires. For example, the interface circuit 2802 may be used to receive signals from other devices (e.g., a memory of an electronic device). Also for example, the interface circuit 2802 may be used to transmit signals to other devices, such as the processor 2801. Illustratively, the interface circuit 2802 may read instructions stored in the memory and send the instructions to the processor 2801. The instructions, when executed by the processor 2801, may cause the electronic device to perform the various steps in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device is enabled to execute each function or step executed by the mobile phone in the foregoing method embodiment.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute each function or step executed by the mobile phone in the above method embodiments.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:信息提取方法和电子设备