Application awakening method and electronic device

By implementing the application wake-up method in the electronic device, recording the playback information of the sound-out device and automatically starting the last used application when connected again, the problem in the prior art that the user's expected application cannot be automatically raised in the scenarios of users' habits, and improving user experience and privacy security.

WO2025060484A1PCT designated stage expired Publication Date: 2025-03-27HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/096210
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-19
Filing Date
2024-05-30
Publication Date
2025-03-27

AI Technical Summary

Technical Problem

When connecting to sound-producing devices, existing electronic devices cannot automatically pull up the users' expected applications in scenarios that users are used to, resulting in users needing to manually switch applications, affecting user experience and privacy security.

Method used

Through an application wake-up method, after establishing a connection with the sound-out device, the electronic device records playback information, including device information and user habits. When it is disconnected and connected again, it automatically starts the application used for the last time, and plays audio through the sound-out device to ensure that the application expected by the user is pulled up in the scenes that the user is used to.

Benefits of technology

It realizes the application that users expect in scenarios that users are used to, reduces the operation of users' manual switching of applications, improves user experience, and effectively avoids user privacy leakage and driving safety risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024096210_27032025_PF_FP_ABST
    Figure CN2024096210_27032025_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to the field of artificial intelligence. Disclosed are an application awakening method and an electronic device. The method comprises: a first device establishing a connection with a sound output device; in response to a user operation, running a first application in the first device, and playing back an audio of the first application by means of the sound output device; after the connection with the sound outlet device has been cut off, detecting whether the connection with the sound outlet device has been established again; and, in response to detecting that the connection with the sound outlet device has been established again, automatically starting the first application, and playing back the audio of the first application by means of the sound outlet device. Applications expected by users can be started in scenarios on the basis of user habits.
Need to check novelty before this filing date? Find Prior Art

Description

Application wake-up method and electronic device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on September 19, 2023, with application number 202311213290.3 and application name “A method for waking up an application and an electronic device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present invention relates to the field of computer technology, and in particular to an application awakening method and electronic equipment. Background Art

[0003] There are many different types of audio devices in our daily lives, and different audio devices are used in different scenarios. To provide a better user experience, electronic devices automatically launch the last used app or pre-installed apps when connected to an audio device to meet user preferences. However, electronic devices may not launch the user's desired app in the scenario in which the user is accustomed.

[0004] Summary of the Invention

[0005] In view of this, an embodiment of the present invention provides an application wake-up method and an electronic device, which can launch an application desired by the user in a scenario that the user is accustomed to.

[0006] In a first aspect, an embodiment of the present invention provides an application wake-up method, applied to a first device, the method comprising:

[0007] Establish a connection with the sound device;

[0008] In response to a user operation, running a first application on the first device and playing audio of the first application through the sound output device; and

[0009] After disconnecting from the sound-emitting device, detecting whether a connection is established with the sound-emitting device again;

[0010] In response to detecting that a connection has been established again with the sound-emitting device, the first application is automatically started, and the audio of the first application is played through the sound-emitting device. In this embodiment of the present invention, the first device is connected to the sound-emitting device and the audio of the first application is played through the sound-emitting device. When the first device is disconnected from the sound-emitting device and then reconnected, the first device automatically launches the application that was used when it was last connected to the sound-emitting device, that is, the first application. The first device is not disturbed during the period between the first device being disconnected from and reconnected to the sound-emitting device, and can launch the user's desired application in the playback scenario that the user is accustomed to, thereby reducing the need for manual application switching.

[0011] In combination with the first aspect, in certain implementations of the first aspect, after disconnecting from the sound emitting device, detecting whether to reconnect with the sound emitting device includes:

[0012] Displaying a list of devices to be connected, wherein the list of devices to be connected includes the sound-emitting device;

[0013] In response to the user selecting to connect to the sound emitting device, the connection is re-established with the sound emitting device. When the first device is re-established with the sound emitting device, the user may manually connect the first device with the sound emitting device.

[0014] In conjunction with the first aspect, in certain implementations of the first aspect, after establishing a connection with the sound output device, the method further includes:

[0015] Obtain and record playback information, the playback information including: device information of the sound-emitting device used to play the audio of the first application, wherein the device information includes: one or more of: a device identifier, a Mac address, and a device type. In an embodiment of the present invention, after the first device establishes a connection with the sound-emitting device, if it is determined that a trust relationship exists between the first device and the sound-emitting device, the playback information of the sound-emitting device is stored in the first device, the playback information of the sound-emitting device is obtained, and the current playback information of the sound-emitting device is recorded in the playback information. The device identifier includes a unique identifier of the sound-emitting device.

[0016] In conjunction with the first aspect, in some implementations of the first aspect, the playback information further includes:

[0017] One or more of playback time, playback location, playback scene, and user habits.

[0018] Exemplarily, the playback scenes include a normal scene, a private scene, or a custom scene.

[0019] In conjunction with the first aspect, in certain implementations of the first aspect, in response to detecting that a connection is re-established with the sound output device, automatically starting the first application and playing the audio of the first application through the sound output device includes:

[0020] According to the playback information, the first application is automatically started, and the audio of the first application is played through the sound-emitting device. In an embodiment of the present invention, the first device is connected to the sound-emitting device and plays the audio of the first application through the sound-emitting device. When the first device is disconnected from the sound-emitting device and then reconnected, the playback information of the sound-emitting device is stored in the first device. The first device automatically pulls up the application used when it was last connected to the sound-emitting device, that is, the first application, based on the playback information. The first device is not disturbed during the period when the first device is disconnected from and reconnected to the sound-emitting device, and can pull up the user's desired application in the playback scenario that the user is accustomed to, thereby reducing the need for manual application switching.

[0021] In conjunction with the first aspect, in certain implementations of the first aspect, after establishing a connection with the sound output device, the method further includes:

[0022] The first application is recorded as the default playback application for the sound-producing device. In this embodiment of the present invention, the user can select a sound-producing device from the current Bluetooth device list of the first device and set the first application currently playing as the default playback application. Therefore, for any sound-producing device, the user can customize the default playback application of the sound-producing device according to their own habits and usage scenarios.

[0023] In conjunction with the first aspect, in certain implementations of the first aspect, in response to detecting that a connection is re-established with the sound output device, automatically starting the first application and playing the audio of the first application through the sound output device includes:

[0024] According to the playback information, the default playback application is automatically started, and the audio of the default playback application is played through the sound-emitting device. In an embodiment of the present invention, if the user has customized the default playback application of the sound-emitting device, when the sound-emitting device is connected again, the default playback application is automatically started, and the audio of the default playback application is played through the sound-emitting device. It is not affected by the period when the first device is disconnected from the sound-emitting device and is reconnected, and the user's desired application can be pulled up in the playback scenario that the user is accustomed to, reducing the need for manual application switching.

[0025] For example, a user purchases a membership in a music app to play early childhood music. When the user brings their phone into the child's room, the phone connects to the speakers in the children's room and automatically opens the music app to play the early childhood music. The user can customize the speakers in the child's room and set the default playback app to the music app. When the user brings their phone into the child's room, the music app will automatically launch when the phone connects to the speakers, which is in line with user habits and expectations. However, if the phone automatically launches the last playback app used when connecting to the speakers in the child's room, and if the last playback app used was not the music app, the user needs to manually switch to the music app.

[0026] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0027] During the playback process, in response to the user's operation of switching the first application to the third application, the second application is added to the application list, and the third application is set as the default playback application of the application list. In an embodiment of the present invention, if the user has customized the default playback application of the sound-emitting device, during the playback process of the sound-emitting device, the first device, in response to the user's operation of switching the first application to the third application, adds the third application to the application list, and sets the third application as the default playback application of the application list. Therefore, if the user has customized the default playback application of the sound-emitting device, during the playback process of the sound-emitting device, the user can switch the default playback application by manually switching the application.

[0028] In conjunction with the first aspect, in certain implementations of the first aspect, in response to detecting that a connection is re-established with the sound output device, automatically starting the first application and playing the audio of the first application through the sound output device further includes:

[0029] In response to detecting that a connection is established with the sound device again, automatically starting an application list, and displaying the first application at the top of the application list;

[0030] In response to the user selecting the first application, the first application is launched, and the audio of the first application is played through the sound-emitting device. When the first device re-establishes a connection with the sound-emitting device, the first device automatically displays a list of applications corresponding to the sound-emitting device, and in response to the user selecting the first application, the first application is launched and the audio of the first application is played through the sound-emitting device.

[0031] In combination with the first aspect, in some implementations of the first aspect, the device type includes a common device type and a privacy device type. The embodiment of the present invention divides the sound-emitting devices into different device types from the dimensions of user privacy, habits, etc.; according to different device types, the user's desired applications are intelligently pulled up to meet the user's habit requirements and enhance the user experience. Among them, different sound-emitting device types may be different types of sound-emitting devices, such as car machines, speakers, headphones, watches, televisions, etc. are different types of sound-emitting devices. Among them, different sound-emitting device types may also refer to sound-emitting devices in different scenarios, such as sound-emitting devices in different locations (such as bedrooms, living rooms, entertainment rooms, etc.) in the whole-house smart scenario.

[0032] In the embodiment of the present invention, the device types of external sound emitting devices and high-privacy sound emitting devices are defined as privacy device types, and the device types of other types of sound emitting devices are uniformly defined as common device types.

[0033] Exemplarily, the device type is a common device type and the playback scene is a common scene; the device type is a privacy device type and the playback scene is a privacy scene.

[0034] For example, for a sound device that has been customized by the user to play an application by default, the corresponding playback scene is a customized scene.

[0035] In conjunction with the first aspect, in certain implementations of the first aspect, in response to detecting that a connection is re-established with the sound output device, automatically starting the first application and playing the audio of the first application through the sound output device further includes:

[0036] determining, based on the device type, whether to automatically start the first application and play the audio of the first application through the sound output device;

[0037] When the device type is a common device type, obtaining an application list corresponding to the common device type, and placing the first application at the top of the application list;

[0038] Automatically launch the first application and play the audio of the first application through the sound-emitting device. In an embodiment of the present invention, when the device type of the sound-emitting device is a common device type, the first device obtains an application list corresponding to the common device type, automatically launches the top application in the application list, i.e., the first application, and plays the audio of the first application through the sound-emitting device.

[0039] For common device types, the first device automatically establishes a trusted relationship between the corresponding sound device and the application. All common device types share a common application list. When waking up or opening an application, the application list is updated, placing the currently awakened application at the top of the application list.

[0040] In conjunction with the first aspect, in certain implementations of the first aspect, in response to detecting that a connection is re-established with the sound output device, automatically starting the first application and playing the audio of the first application through the sound output device further includes:

[0041] determining, based on the device type, whether to automatically start the first application and play the audio of the first application through the sound output device;

[0042] When the device type is a privacy device type, obtaining an application list corresponding to the sound-emitting device, and placing the first application at the top of the application list;

[0043] Automatically launch the first application and play the audio of the first application through the sound-emitting device. In an embodiment of the present invention, when the device type of the sound-emitting device is a privacy device type, the first device determines whether there is a trust relationship between the first device and the sound-emitting device. If it is determined that the first device and the sound-emitting device have a trust relationship, the first device obtains an application list of playback information of the sound-emitting device, automatically launches the top application in the application list, i.e., the first application, and plays the audio of the first application through the sound-emitting device.

[0044] For privacy device types, the first device automatically establishes a trusted relationship between the device information of the corresponding sound-emitting device and the application, and generates a corresponding application list for each sound-emitting device. At the same time, when the sound-emitting device establishes a relationship with the new application, the new application is placed at the top of the application list corresponding to the device information of the sound-emitting device. The next time the application is launched, the previously used application is prioritized. If the application list is empty, the pre-set application of the first device is woken up. At the same time, the pre-set application is added to the application list and pinned to the top of the application list.

[0045] For example, a user might be driving home from get off work and is accustomed to playing music apps (such as a music app) on their car's head unit. Since car computers are classified as privacy devices, the phone will establish a trust relationship between the car computer and the music app, placing the music app at the top of the car computer's app list. After returning home, the user opens an audiobook app (such as a reading app) without connecting their phone to any audio device. This scenario leaves the car computer's app list unchanged. The next day, when the user gets in their car, the phone automatically connects to the car computer. The phone retrieves the car computer's device information and activates the music app, which is the top app in the device's app list. This aligns with the user's usage habits and accurately launches the desired app, meeting their needs. However, if the phone automatically launches the last used playback app (the reading app) when connected to the car computer the next day, the user might need to switch apps on their phone while driving, compromising driving safety. If there are other passengers in the car, playing audiobook content could potentially leak the user's privacy. Therefore, the present invention meets user expectations, effectively avoiding the need for manual switching, preventing privacy leaks, and minimizing the driving safety risks associated with operating the phone while driving.

[0046] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0047] During the playback process, in response to the user switching the first application to the second application, the second application is added to the application list, and the second application is set as the top application of the application list. In an embodiment of the present invention, if the user has not set the default playback application of the sound-emitting device, during the playback process of the sound-emitting device, the first device responds to the user switching the first application to the second application, adds the second application to the application list, and sets the second application as the top application of the application list. Therefore, if the user has not customized the default playback application of the sound-emitting device, during the playback process of the sound-emitting device, the user can switch the top application of the application list by manually switching the application.

[0048] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0049] When the first device is connected to the sound-emitting device for the first time, the correspondence between the first application and the sound-emitting device is stored. In an embodiment of the present invention, when the first device is first connected to the sound-emitting device, the correspondence between the first application and the sound-emitting device is stored so that when the first device is reconnected to the sound-emitting device, the application corresponding to the sound-emitting device can be obtained based on the device information of the sound-emitting device, thereby determining which application to launch.

[0050] In conjunction with the first aspect, in certain implementations of the first aspect, storing the correspondence between the first application and the sound output device includes:

[0051] The corresponding relationship between the first application and the sound-emitting device is stored according to the device type of the sound-emitting device and the trust relationship between the first device and the sound-emitting device.

[0052] In conjunction with the first aspect, in certain implementations of the first aspect, storing the correspondence between the first application and the sound output device includes:

[0053] The correspondence between the MAC address or ID of the sound-emitting device and the first application is stored.

[0054] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes:

[0055] If the application list does not include any application, a preset application is automatically started and the audio of the preset application is played through the sound output device;

[0056] The preset application is added to the application list and displayed at the top of the application list. In an embodiment of the present invention, if the application list does not include the application, the first device automatically launches the preset application and plays the audio of the preset application through the sound device, adds the preset application to the application list, and displays the pre-set application at the top of the application list.

[0057] In a second aspect, an embodiment of the present invention provides an electronic device comprising a processor and a memory, wherein the memory is used to store a computer program, and the computer program comprises program instructions. When the processor runs the program instructions, the electronic device executes the steps of the method described above.

[0058] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program request is run by a computer, the computer is caused to execute the method as described above.

[0059] In a fourth aspect, an embodiment of the present invention provides a computer program product, which includes instructions. When the computer program product is run on a computer or any at least one processor, the computer performs the functions / steps in the above method.

[0060] In the technical solution of the application wake-up method and electronic device provided by the embodiments of the present invention, the method includes: establishing a connection between a first device and a sound-emitting device; in response to a user operation, running a first application on the first device, and playing the audio of the first application through the sound-emitting device; and after disconnecting from the sound-emitting device, detecting whether a connection is established with the sound-emitting device again; in response to detecting that a connection is established with the sound-emitting device again, automatically starting the first application and playing the audio of the first application through the sound-emitting device, which can pull up the user's desired application in the scenario that the user is accustomed to. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] FIG1 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;

[0062] FIG2 is a software structure block diagram of the electronic device 100 according to an embodiment of the present invention;

[0063] FIG3 is a flow chart of an application wake-up method provided by an embodiment of the present invention;

[0064] FIG4 is a flow chart of detecting whether to re-establish a connection with the sound emitting device after disconnecting from the sound emitting device in FIG3 ;

[0065] FIG5 is a flow chart of automatically starting the first application and playing the audio of the first application through the sound-emitting device in response to detecting that a connection is re-established with the sound-emitting device in FIG3;

[0066] FIG6 is another flowchart of automatically starting the first application and playing the audio of the first application through the sound-emitting device in response to detecting that a connection is re-established with the sound-emitting device in FIG3;

[0067] FIG7 is another flowchart of automatically starting the first application and playing the audio of the first application through the sound output device in response to detecting that the connection with the sound output device is re-established in FIG3;

[0068] FIG8 is a schematic diagram of the intelligent scene profiling stage according to an embodiment of the present invention;

[0069] FIG9 is a schematic diagram of the intelligent scene recognition stage in an embodiment of the present invention;

[0070] FIG10 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0071] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0072] It should be understood that the embodiments described are only a portion of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative work are within the scope of protection of the present invention.

[0073] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "an", "the" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.

[0074] It should be understood that the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.

[0075] FIG1 shows a schematic structural diagram of an electronic device 100 .

[0076] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, 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, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0077] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0078] The processor 110 may include one or more processing units. For example, 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 video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0079] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0080] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0081] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0082] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.

[0083] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0084] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0085] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0086] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include 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), BT, GNSS, WLAN, NFC, FM, and / or IR technology. 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).

[0087] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0088] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.

[0089] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0090] The camera 193 is used to capture still images or videos. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0091] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.

[0092] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0093] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0094] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.

[0095] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system with a layered architecture is used as an example to illustrate the software structure of the electronic device 100.

[0096] FIG2 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present invention.

[0097] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0098] The application layer can include a series of application packages.

[0099] As shown in Figure 2, an application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, GPS, and NFC. GPS can be included in maps and navigation, and NFC can also be included in applications that use NFC.

[0100] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0101] As shown in FIG2 , the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, settings, and the like.

[0102] The window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.

[0103] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0104] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0105] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including answering, hanging up, etc.).

[0106] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0107] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.

[0108] Settings include all menu items in the system device, such as dark mode (also known as "night mode"), status (vibrate, silent or ring), airplane mode, screen brightness, volume, etc.

[0109] Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.

[0110] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0111] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0112] The system library can include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), database engine, etc.

[0113] The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.

[0114] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0115] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0116] A 2D graphics engine is a drawing engine for 2D drawings.

[0117] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver, sensor driver, WIFI driver, Bluetooth driver, GPS driver, and NFC driver.

[0118] The following describes the workflow of the software and hardware of the electronic device 100 in conjunction with capturing a photo scene.

[0119] When the touch sensor 180K receives a touch operation, the corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the touch operation into a raw input event (including touch coordinates, touch operation timestamp, and other information). The raw input event is stored in the kernel layer. The application framework layer obtains the raw input event from the kernel layer and identifies the control corresponding to the input event. For example, if the touch operation is a touch single-click operation and the control corresponding to the single-click operation is the control of the camera application icon, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer to capture a still image or video through the camera 193.

[0120] After connecting to a sound device, the electronic device automatically launches the last used application or the preset application. There are many types of sound devices in life, and different sound devices are used in different scenarios. In order to provide users with a better experience, the electronic device will automatically launch the last used playback application or the preset application when connected to the sound device to meet user habits. However, in public places, if the electronic device launches a more sensitive application, it will leak the user's privacy. In the car computer, if the electronic device cannot wake up the application correctly, the user may switch applications while driving, which will have a great hidden danger to driving safety.

[0121] Therefore, the electronic device cannot intelligently identify the user's usage scenario and sound device, and cannot pull up the user's desired application in the user's accustomed scenario, requiring the user to manually switch applications.

[0122] Based on the above technical problems, embodiments of the present invention provide an application wake-up method and an electronic device, which can launch a user's desired application in a scenario that the user is accustomed to, thereby reducing user manual intervention.

[0123] FIG3 is a flow chart of an application wake-up method provided by an embodiment of the present invention. As shown in FIG3 , the method includes:

[0124] Step 202: Establish a connection with a sound device.

[0125] In the embodiment of the present invention, each step is performed by the first device.

[0126] The first device may be an electronic device. The hardware structure and software structure of the first device provided in the embodiment of the present invention can refer to the relevant description of the electronic device 100 in Figures 1 and 2. For example, the first device is a mobile phone.

[0127] After the first device is connected to the sound-emitting device, the sound-emitting device will send an automatic play instruction to the mobile phone, and the first device will decide which application to launch. The application wake-up method provided in the embodiment of the present invention can solve the problem that the first device does not match the user's expectations when launching the application.

[0128] Optionally, after step 202, the method further includes step 2031: acquiring and recording playback information.

[0129] The playback information includes: device information of a sound device used to play the audio of the first application.

[0130] For example, when the first device is connected to the sound-emitting device for the first time, the correspondence between the first application and the sound-emitting device is stored, so that when the first device is connected to the sound-emitting device again, the application corresponding to the sound-emitting device can be obtained according to the device information of the sound-emitting device, thereby deciding which application to launch.

[0131] Specifically, the first device stores the correspondence between the first application and the sound-emitting device based on the device type of the sound-emitting device and the trust relationship between the first device and the sound-emitting device. Specifically, the first device stores the correspondence between the MAC address or ID of the sound-emitting device and the first application.

[0132] The device information includes one or more of a device identifier, a media access control address (MAC address), and a device type.

[0133] The device identification includes a unique identification of the sound-emitting device.

[0134] Device types include common device types and privacy device types.

[0135] The embodiment of the present invention divides the sound-emitting devices into different device types based on the user's privacy, habits, etc.; according to the different device types, the user's desired applications are intelligently pulled up to meet the user's habit requirements and improve the user experience. Among them, different sound-emitting device types can be different types of sound-emitting devices, such as car machines, speakers, headphones, watches, TVs, etc. are different types of sound-emitting devices. Among them, different sound-emitting device types can also refer to sound-emitting devices in different scenarios, such as sound-emitting devices in different locations (such as bedrooms, living rooms, entertainment rooms, etc.) in the whole-house smart scene.

[0136] In the embodiment of the present invention, the device types of external sound emitting devices and high-privacy sound emitting devices are defined as privacy device types, and the device types of other types of sound emitting devices are uniformly defined as common device types.

[0137] The playback information also includes one or more of: playback time, playback location, playback scene, and user habits.

[0138] Exemplarily, the playback scenes include a normal scene, a private scene, or a custom scene.

[0139] Exemplarily, the device type is a common device type and the playback scene is a common scene; the device type is a privacy device type and the playback scene is a privacy scene.

[0140] For example, for a sound device that has been customized by the user to play an application by default, the corresponding playback scene is a customized scene.

[0141] Optionally, after step 202, the method further includes step 2032: recording the first application as a default playback application of the sound-producing device.

[0142] For example, the user can select a sound device from the current Bluetooth device list of the first device and set the first application currently playing as the default playback application. Therefore, for any sound device, the user can customize the default playback application of the sound device according to their own habits and usage scenarios.

[0143] Step 204: In response to the user operation, run the first application on the first device, and play the audio of the first application through the sound device.

[0144] After the first device is connected to the sound-producing device, when the first application is run and the audio of the first application is played through the sound-producing device, the first device will record the playback information in the playback information of the sound-producing device, and the first application will be displayed at the top in the application list corresponding to the sound-producing device.

[0145] Step 206: After disconnecting from the sound device, check whether to reconnect to the sound device.

[0146] In some possible embodiments, step 206 specifically includes: after disconnecting from the sound device, reconnecting to the sound device in response to a user operation. As shown in FIG4 , step 206 specifically includes: steps 2062 to 2064.

[0147] Step 2062: Display a list of devices to be connected, which includes sound-emitting devices.

[0148] Step 2064: In response to the user selecting to connect to the sound device, re-establish a connection with the sound device.

[0149] In some possible embodiments, step 206 specifically includes: automatically establishing a connection with the sound emitting device after disconnecting from the sound emitting device.

[0150] Therefore, when the first device and the sound emitting device are connected again, the user may manually connect the first device and the sound emitting device, or the first device and the sound emitting device may be automatically connected.

[0151] Step 208: In response to detecting that a connection with the sound output device is reestablished, automatically start the first application and play the audio of the first application through the sound output device.

[0152] In an embodiment of the present invention, a first device is connected to a sound-emitting device and plays the audio of a first application through the sound-emitting device. When the first device is disconnected from and reconnected to the sound-emitting device, the first device automatically pulls up the application that was used when it was last connected to the sound-emitting device, that is, the first application; it is not disturbed during the period when the first device is disconnected from and reconnected to the sound-emitting device, and can pull up the application desired by the user in the playback scenario that the user is accustomed to, thereby reducing manual switching of applications.

[0153] In some possible embodiments, when the first device reconnects to the sound-emitting device, the first device automatically displays a list of applications corresponding to the sound-emitting device. In response to the user selecting the first application, the first application is launched and the audio of the first application is played through the sound-emitting device. As shown in FIG5 , step 208 specifically includes steps 2082 to 2084.

[0154] Step 2082: In response to detecting that a connection with the sound device is reestablished, the application list is automatically started, and the first application in the application list is displayed at the top.

[0155] Step 2084: In response to the user selecting the first application, the first application is started, and the audio of the first application is played through the sound device.

[0156] If the application list does not include the application, the first device automatically starts the preset application and plays the audio of the preset application through the sound device; adds the preset application to the application list, and displays the preset application at the top of the application list.

[0157] In some possible embodiments, if the user has not set a default playback application for the sound device, step 208 specifically includes: automatically starting the first application according to the playback information, and playing the audio of the first application through the sound device.

[0158] For example, before the first device automatically launches the application for the first time, it will ask the user whether to agree to the system automatically launching the application. After the user agrees, the application will be added to the application list according to the device type, and the application will be automatically launched subsequently without further questions.

[0159] In some possible embodiments, as shown in FIG6 , step 208 specifically includes: step 208A to step 208C.

[0160] Step 208A: Determine whether to automatically start the first application based on the device type, and play the audio of the first application through the sound device.

[0161] Step 208B: When the device type is a privacy device type, obtain an application list corresponding to the sound-emitting device, and place the first application on the application list at the top.

[0162] Step 208C: Start the first application and play the audio of the first application through the sound device.

[0163] When the device type of the sound-emitting device is a privacy device type, the first device determines whether there is a trust relationship between the first device and the sound-emitting device. If it is determined that there is a trust relationship between the first device and the sound-emitting device, the first device obtains an application list of playback information of the sound-emitting device, automatically starts the top application in the application list, that is, the first application, and plays the audio of the first application through the sound-emitting device.

[0164] For privacy device types, the first device automatically establishes a trusted relationship between the device information of the corresponding sound-emitting device and the application, and generates a corresponding application list for each sound-emitting device. At the same time, when the sound-emitting device establishes a relationship with the new application, the new application is placed at the top of the application list corresponding to the device information of the sound-emitting device. The next time the application is launched, the previously used application is prioritized. If the application list is empty, the pre-set application of the first device is woken up. At the same time, the pre-set application is added to the application list and pinned to the top of the application list.

[0165] For example, a user might be driving home from get off work and is accustomed to playing music apps (such as a music app) on their car's head unit. Since car computers are classified as privacy devices, the phone will establish a trust relationship between the car computer and the music app, placing the music app at the top of the car computer's app list. After returning home, the user opens an audiobook app (such as a reading app) without connecting their phone to any audio device. This scenario leaves the car computer's app list unchanged. The next day, when the user gets in their car, the phone automatically connects to the car computer. The phone retrieves the car computer's device information and activates the music app, which is the top app in the device's app list. This aligns with the user's usage habits and accurately launches the desired app, meeting their needs. However, if the phone automatically launches the last used playback app (the reading app) when connected to the car computer the next day, the user might need to switch apps on their phone while driving, compromising driving safety. If there are other passengers in the car, playing audiobook content could potentially leak the user's privacy. Therefore, the present invention meets user expectations, effectively avoiding the need for manual switching, preventing privacy leaks, and minimizing the driving safety risks associated with operating the phone while driving.

[0166] In some possible embodiments, as shown in FIG7 , step 208 specifically includes: steps 208 a to 208 c.

[0167] Step 208a: Determine whether to automatically start the first application based on the device type, and play the audio of the first application through the sound device;

[0168] Step 208b: When the device type is a common device type, obtain an application list corresponding to the common device type, and place the first application on the application list at the top.

[0169] Step 208c: Automatically start the first application and play the audio of the first application through the sound device.

[0170] For common device types, the first device automatically establishes a trusted relationship between the corresponding sound device and the application. All common device types share a common application list. When waking up or opening an application, the application list is updated, placing the currently awakened application at the top of the application list.

[0171] Optionally, if the user has not set a default playback application for the sound-producing device, step 208 may further include: during playback, in response to the user switching from the first application to the second application, adding the second application to the application list and setting the second application as the top application in the application list. Therefore, if the user has not customized the default playback application for the sound-producing device, the user can manually switch the application to the top application in the application list during playback on the sound-producing device.

[0172] In some possible embodiments, if the user has set a default playback application for the sound output device, step 208 specifically includes: automatically starting the default playback application according to the playback information, and playing the audio of the default playback application through the sound output device.

[0173] If the user has customized the default playback app for a sound device, the default playback app will automatically launch when the device is reconnected to the sound device, and the audio from the default playback app will be played through the sound device. This will not be affected by the time the first device is disconnected and reconnected to the sound device, and the user's desired app can be launched in the user's favorite playback scenario, reducing the need for manual app switching.

[0174] For example, a user purchases a membership in a music app to play early childhood music. When the user brings their phone into the child's room, the phone connects to the speakers in the children's room and automatically opens the music app to play the early childhood music. The user can customize the speakers in the child's room and set the default playback app to the music app. When the user brings their phone into the child's room, the music app will automatically launch when the phone connects to the speakers, which is in line with user habits and expectations. However, if the phone automatically launches the last playback app used when connecting to the speakers in the child's room, and if the last playback app used was not the music app, the user needs to manually switch to the music app.

[0175] Optionally, after step 208 , the method further includes: during the playback process, in response to the user switching the first application to the third application, adding the third application to the application list, and setting the third application as the default playback application of the application list.

[0176] If the user has customized the default playback application for the sound-producing device, during playback on the sound-producing device, in response to the user switching from the first application to the third application, the first device adds the third application to the application list and sets the third application as the default playback application in the application list. Therefore, if the user has customized the default playback application for the sound-producing device, during playback on the sound-producing device, the user can switch the default playback application by manually switching the application.

[0177] In summary, the application wake-up method provided by the embodiment of the present invention is mainly divided into two stages:

[0178] Phase 1: Smart Scene Profiling. During the Smart Scene Profiling phase, the first device will identify, record, and analyze the user's usage habits and scenarios, profile the user's behavioral data, and establish a trusted relationship between the sound-emitting device and the application.

[0179] Figure 8 is a schematic diagram of the intelligent scene profiling stage in an embodiment of the present invention. Taking a mobile phone as an example, as shown in Figure 8, after the mobile phone is connected to a speaker f1 and plays music through application A, the mobile phone generates the first playback information. Because the speaker is a relatively private device, the playback scene of the first playback information is a private scene; the first playback information also includes the speaker's device identifier f1, Mac address xx:xx:xx:a5, and application A.

[0180] Then, as shown in Figure 8, after the phone connects to the car computer f2 and plays music through application B, the phone generates a second playback message. Because the car computer is also a relatively private device, the playback scenario of the second playback message is private; the second playback message also includes the car computer's device identifier f2, Mac address xx:xx:xx:a5, and application B.

[0181] Then, as shown in Figure 8 , after the phone connects to earphone f3 and plays music through application C, the phone generates a third piece of play information. Since earphones are also ordinary devices, the playback scenario of the third piece of play information is ordinary; the third piece of play information also includes the earphone's device identifier f3, Mac address xx:xx:xx:a5, and application C.

[0182] Then, as shown in Figure 8, after the phone is reconnected to speaker f1 and music is played through application D, since the phone contains the playback information of speaker f1, the phone updates the first playback information based on application D. Compared with the first playback information, the updated first playback information also includes application D, and application D is displayed at the top.

[0183] Then, as shown in Figure 8, after the phone connects to watch f4 and plays music through application E, since the watch is a standard device, the corresponding playback scene is the standard scene. Since the phone already has a playback information with the standard playback scene, and a phone can only have one playback information with the standard playback scene, the phone updates the third playback information based on the device information of watch f4 and application E. Compared to the third playback information, the device information in the updated third playback information is the watch's device identifier f4, Mac address xx:xx:xx:a5, and the application list includes application C and application E, with application E displayed at the top.

[0184] Then, as shown in Figure 8, the phone connects to speaker f5 and plays music through application F. In response to the user setting application F as the default application for speaker f5 in the Bluetooth list, the phone generates a fourth play message. Because this is a user-defined setting, the playback scenario of the fourth play message is the customized scenario. The fourth play message also includes the speaker's device identifier f5, its Mac address xx:xx:xx:a5, and application F, which is displayed at the top.

[0185] Phase 2: Intelligent scene recognition phase.

[0186] Figure 9 is a schematic diagram of the intelligent scene recognition stage in an embodiment of the present invention. Taking the first device as a mobile phone as an example, as shown in Figure 9, after the mobile phone is automatically connected to the speaker f1, since there is playback information corresponding to the speaker f1 in the mobile phone, that is, the first playback information, and there is an application in the application list of the first playback information, the mobile phone automatically pulls up the top application in the application list of the first playback information, that is, application D.

[0187] Then, as shown in Figure 9, after the mobile phone is automatically connected to the car computer f2, since there is playback information corresponding to the car computer f2 in the mobile phone, that is, the second playback information, and there is an application in the application list of the second playback information, the mobile phone automatically pulls up the top application in the application list of the second playback information, that is, application B.

[0188] Then, as shown in Figure 9, after the phone automatically connects to earphone f3, since there is no playback information corresponding to earphone f3 in the phone, and the corresponding playback scene is determined to be a normal scene based on the device information of earphone f3, and the phone has playback information corresponding to the normal scene, namely the fourth playback information, and the application list of the fourth playback information includes the application. Therefore, the phone automatically pulls up the top application in the application list of the fourth playback information, namely application E, and updates the device information in the fourth playback information based on the device information of earphone f3. The updated device information in the fourth playback information contains the device identifier f3 and Mac address xx:xx:xx:a5 of the earphone, and the application list remains unchanged.

[0189] Then, as shown in Figure 9, after the phone and watch f4 are automatically connected, since there is no playback information corresponding to watch f4 on the phone, and the corresponding playback scene is determined to be a normal scene based on the device information of watch f4, and the phone has playback information corresponding to the normal scene, namely the fourth playback information, and the application list of the fourth playback information includes the application. Therefore, the phone automatically pulls up the top application in the application list of the fourth playback information, namely application E, and updates the device information in the fourth playback information based on the device information of watch f4. The updated device information in the fourth playback information is the watch's device identifier f4 and Mac address xx:xx:xx:a5, and the application list remains unchanged.

[0190] Therefore, the embodiment of the present invention associates the application usage scenario and records the application usage record through the type information of the sound device connected for the first time and the user-defined information, so that the first device can pull up the correct application when it subsequently connects to the sound device and receives a play instruction request.

[0191] In the technical solution of the application wake-up method provided by an embodiment of the present invention, the method includes: establishing a connection between a first device and a sound-emitting device; in response to a user operation, running a first application on the first device, and playing the audio of the first application through the sound-emitting device; and after disconnecting from the sound-emitting device, detecting whether a connection is established with the sound-emitting device again; in response to detecting that a connection is established with the sound-emitting device again, automatically starting the first application and playing the audio of the first application through the sound-emitting device, which can pull up the user's desired application in the scenario that the user is accustomed to.

[0192] FIG10 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. It should be understood that the electronic device 400 can execute each step of the above-mentioned application wake-up method. To avoid repetition, the steps are not described in detail here. The electronic device 400 includes: a processing unit 401 and a display unit 402.

[0193] The processing unit 401 is configured to execute step 202 , step 204 , step 206 and step 208 .

[0194] Optionally, after the processing unit 401 is disconnected from the sound output device, the display unit 402 is configured to execute step 2062 ; the processing unit 401 is specifically configured to execute step 2064 .

[0195] Optionally, after establishing a connection with the sound-emitting device, the processing unit 401 is also used to: obtain and record playback information, the playback information including: device information of the sound-emitting device used to play the audio of the first application, wherein the device information includes: one or more of: device identification, Mac address, and device type.

[0196] Optionally, the playback information further includes:

[0197] One or more of playback time, playback location, playback scene, and user habits.

[0198] Optionally, the processing unit 401 is specifically configured to automatically start the first application according to the playback information, and play the audio of the first application through the sound output device.

[0199] Optionally, after the processing unit 401 establishes a connection with the sound-emitting device, the processing unit 401 is further configured to record the first application as a default playback application of the sound-emitting device.

[0200] Optionally, the processing unit 401 is specifically configured to automatically start the default playback application according to the playback information, and play the audio of the default playback application through the sound output device.

[0201] Optionally, the processing unit 401 is further configured to, during playback, in response to a user switching the first application to a second application, add the second application to the application list and set the second application as the default playback application in the application list.

[0202] Optionally, the processing unit 401 is further configured to execute step 2082 and step 2084 .

[0203] Optionally, the device type includes a common device type and a privacy device type.

[0204] Optionally, the processing unit 401 is further configured to execute step 208a, step 208b, and step 208c.

[0205] Optionally, the processing unit 401 is further configured to execute step 208A, step 208B, and step 208C.

[0206] Optionally, the processing unit 401 is further configured to, during playback, in response to a user switching the first application to a third application, add the third application to the application list and set the third application as the top application in the application list.

[0207] Optionally, the processing unit 401 is further configured to store a correspondence between the first application and the sound emitting device when the first application is connected to the sound emitting device for the first time.

[0208] Optionally, the processing unit 401 is specifically configured to store a correspondence between the first application and the sound emitting device according to a device type of the sound emitting device and a trust relationship between the first device and the sound emitting device.

[0209] Optionally, the processing unit 401 is specifically configured to store a correspondence between the MAC address or ID of the sound-emitting device and the first application.

[0210] Optionally, the processing unit 401 is further configured to automatically start a preset application if the application list does not include an application, and play the audio of the preset application through the sound output device;

[0211] The preset application is added to the application list, and the preset application is displayed at the top of the application list.

[0212] It should be understood that the electronic device 400 here is embodied in the form of a functional unit. The term "unit" here can be implemented in the form of software and / or hardware, and is not specifically limited to this. For example, a "unit" can be a software program, a hardware circuit, or a combination of the two that implements the above-mentioned functions. The hardware circuit may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group processor, etc.) and memory for executing one or more software or firmware programs, a combined logic circuit, and / or other suitable components that support the described functions.

[0213] Therefore, the various exemplary units described in the embodiments of the present invention can be implemented using electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0214] An embodiment of the present application provides an electronic device, which may be a terminal device or a circuit device built into the terminal device. The electronic device may be used to perform the functions / steps of the above method embodiment.

[0215] An embodiment of the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal device, the terminal device executes the functions / steps in the above-mentioned method embodiment.

[0216] An embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer or at least one processor, enables the computer to execute the functions / steps in the above-mentioned method embodiment.

[0217] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0218] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0219] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0220] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0221] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.

Claims

1. An application wake-up method, characterized in that: Applied to a first device, comprising: Establish a connection with the sound device; In response to a user operation, running a first application on the first device, and playing the audio of the first application through the sound output device; and After disconnecting from the sound-emitting device, detecting whether to reconnect with the sound-emitting device; In response to detecting that a connection is established again with the sound output device, the first application is automatically started, and the audio of the first application is played through the sound output device.

2. The application wake-up method according to claim 1, characterized in that: After disconnecting from the sound output device, detecting whether to reconnect with the sound output device comprises: Display a list of devices to be connected, wherein the list of devices to be connected includes the sound-emitting device; In response to the user selecting an operation of connecting to the sound emitting device, a connection is established with the sound emitting device again.

3. The application wake-up method according to claim 1 or 2, characterized in that: After establishing a connection with the sound output device, the method further includes: Acquire and record playback information, the playback information including: device information of the sound device used to play the audio of the first application, wherein the device information includes: one or more of a device identifier, a media access control address (Mac address), and a device type.

4. The application wake-up method according to claim 3, characterized in that: The playback information also includes: One or more of playback time, playback location, playback scene, and user habits.

5. The application wake-up method according to claim 3 or 4, characterized in that: In response to detecting that the connection with the sound output device is established again, automatically starting the first application and playing the audio of the first application through the sound output device includes: The first application is automatically started according to the play information, and the audio of the first application is played through the sound output device.

6. The application wake-up method according to claim 1 or 2, characterized in that: After establishing a connection with the sound output device, the method further includes: The first application is recorded as a default playback application of the sound output device.

7. The application wake-up method according to claim 6, characterized in that: In response to detecting that the connection with the sound output device is established again, automatically starting the first application and playing the audio of the first application through the sound output device includes: According to the playback information, the default playback application is automatically started, and the audio of the default playback application is played through the sound output device.

8. The application wake-up method according to claim 6 or 7, characterized in that: The method further comprises: During the playback process, in response to a user's operation of switching the first application to a third application, the third application is added to an application list, and the third application is set as a default playback application of the application list.

9. The application wake-up method according to any one of claims 1 to 8, characterized in that: In response to detecting that the connection with the sound output device is established again, automatically starting the first application and playing the audio of the first application through the sound output device further includes: In response to detecting that a connection is established with the sound output device again, automatically starting an application list, and displaying the first application at the top of the application list; In response to the user selecting the first application, the first application is started, and the audio of the first application is played through the sound output device.

10. The application wake-up method according to claim 3, characterized in that: The device type includes a common device type and a privacy device type.

11. The application wake-up method according to claim 10, characterized in that: In response to detecting that the connection with the sound output device is established again, automatically starting the first application and playing the audio of the first application through the sound output device further includes: Determine, according to the device type, whether to automatically start the first application and play the audio of the first application through the sound output device; When the device type is a common device type, obtaining an application list corresponding to the common device type, and placing the first application at the top of the application list; The first application is automatically started, and the audio of the first application is played through the sound output device.

12. The application wake-up method according to claim 9 or 10, characterized in that: In response to detecting that the connection with the sound output device is established again, automatically starting the first application and playing the audio of the first application through the sound output device further includes: Determine whether to automatically start the first application according to the device type, and play the audio of the first application through the sound output device. frequency; When the device type is a privacy device type, obtaining an application list corresponding to the sound-emitting device, and placing the first application at the top of the application list; The first application is started, and the audio of the first application is played through the sound output device.

13. The application wake-up method according to any one of claims 9 to 12, characterized in that: The method further comprises: During the playback process, in response to a user's operation of switching the first application to a second application, the second application is added to the application list, and the second application is set as a top application in the application list.

14. The application wake-up method according to any one of claims 1 to 13, characterized in that: The method further comprises: When the first application is connected to the sound device, the corresponding relationship between the first application and the sound device is stored.

15. The application wake-up method according to claim 14, characterized in that: The storing the correspondence between the first application and the sound output device includes: According to the device type of the sound emitting device and the trust relationship between the first device and the sound emitting device, a correspondence between the first application and the sound emitting device is stored.

16. The application wake-up method according to claim 14 or 15, characterized in that: The storing the correspondence between the first application and the sound output device includes: The correspondence between the MAC address or ID of the sound-emitting device and the first application is stored.

17. The application wake-up method according to any one of claims 8 to 16, characterized in that: The method further comprises: If the application list does not include an application, a preset application is automatically started, and the audio of the preset application is played through the sound output device; The preset application is added to the application list, and the preset application is displayed at the top of the application list.

18. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory is used to store a computer program, and the computer program comprises program instructions. When the processor runs the program instructions, the electronic device executes the steps of the method as claimed in any one of claims 1 to 17.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program request is executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • Method and vehicular multimedia device allowing cellphone APP (application) startup by cellphone interconnection

    CN104363331A

  • Playing device management method and apparatus

    CN106506292A

  • Application startup method and mobile terminal

    CN108279948A

  • Connection method and device and electronic equipment

    CN114390724A