Control method of electronic equipment, electronic equipment, storage medium and chip
The method allows control of Bluetooth devices from different brands by displaying a popup window with controls, enhancing user experience by providing access to device information and settings, thus overcoming limitations in existing solutions.
Patent Information
- Application Number
- CN202410034311.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-08
- Publication Date
- 2025-07-15
AI Technical Summary
Users cannot control Bluetooth devices outside their manufacturer's ecosystem through their mobile phones, affecting the user experience.
By displaying pop-up windows and cards of the Bluetooth device after the phone is connected to the Bluetooth device, the user allows the user to operate the controls to control Bluetooth devices outside the ecosystem, including displaying device information, battery information, sound effect adjustments and scene cards.
It improves the convenience and effectiveness of users being able to control ecological external Bluetooth devices and improves the user experience.
Smart Images

Figure CN120321331A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminals, and in particular, to a control method for an electronic device, an electronic device, a storage medium, and a chip. Background Art
[0002] Currently, various Bluetooth devices using Bluetooth technology have been widely used in various fields, bringing convenience to people's lives and work. During the daily use of Bluetooth devices, users can control Bluetooth devices through an electronic device. For example, users can reduce the noise of a Bluetooth headset and adjust the volume of the Bluetooth headset through a mobile phone.
[0003] Generally, a mobile phone can control a Bluetooth device through an application (App). In related solutions, a mobile phone can control Bluetooth devices within the ecosystem of the manufacturer corresponding to the mobile phone (for example, Bluetooth headsets of the same brand as the mobile phone) through the App, but cannot control Bluetooth devices outside the ecosystem of the manufacturer corresponding to the mobile phone (for example, Bluetooth headsets of a different brand from the mobile phone) through the App. When the Bluetooth device used by the user is a Bluetooth device outside the ecosystem of the manufacturer corresponding to the mobile phone, the user cannot control the Bluetooth device through the mobile phone, affecting the user experience. Summary of the Invention
[0004] This application provides a control method for an electronic device, an electronic device, a storage medium, and a chip, which can enable a user to control a Bluetooth device outside the ecosystem of the manufacturer corresponding to the electronic device when the Bluetooth device used by the user is a Bluetooth device outside the ecosystem of the manufacturer corresponding to the electronic device, improving the user experience.
[0005] In a first aspect, a control method for a Bluetooth device is provided, which is applied to a first electronic device (such as a mobile phone). The method includes: the first electronic device establishes a connection with a second electronic device (such as a Bluetooth headset), the second electronic device and the first electronic device are devices of different brands, and the second electronic device is an electronic device of a specified type (for example, the Bluetooth headset and the mobile phone are devices of different brands, and the Bluetooth headset is a Bluetooth device outside the ecosystem of the manufacturer corresponding to the mobile phone); the first electronic device displays a first pop-up window corresponding to the second electronic device (such as Figure 11 the shown pop-up window 1111), the first pop-up window includes a first control (such as Figure 11 the control 1113 in Figure 15 the shown interface 1510), the first interface includes a card corresponding to the second electronic device (such as Figure 15 the card 1511 in Figure 13The shown interface 1350), where the second interface includes controls for controlling the second electronic device.
[0006] In related solutions, after the first electronic device is connected to an electronic device within the ecosystem of the manufacturer corresponding to the first electronic device, the first electronic device can display a pop-up window corresponding to the electronic device. In response to an operation on the pop-up window, the first electronic device displays cards corresponding to the electronic devices within the ecosystem. In response to an operation on the card, the first electronic device can display controls for controlling the electronic devices within the ecosystem. However, in related solutions, after the first electronic device is connected to an electronic device outside the ecosystem of the manufacturer corresponding to the first electronic device, the first electronic device does not display a pop-up window corresponding to the electronic device outside the ecosystem (such as Figure 11 the shown pop-up window 1111), so that the first electronic device does not display a card corresponding to the electronic device outside the ecosystem (such as Figure 15 the card 1511 in), so when the second electronic device used by the user is a device outside the ecosystem of the manufacturer corresponding to the first electronic device, the user cannot control the second electronic device through the card corresponding to the second electronic device outside the ecosystem, affecting the user experience.
[0007] In the embodiments of the present application, since after the first electronic device is connected to the second electronic device, the first electronic device can display a first pop-up window corresponding to the second electronic device, the second electronic device and the first electronic device are devices of different brands, and the second electronic device is a specified type of electronic device (such as the second electronic device is a device outside the ecosystem of the manufacturer corresponding to the first electronic device), the user can operate the first control in the first pop-up window, so that the first electronic device can display a card corresponding to the second electronic device in the first interface. Therefore, when the second electronic device used by the user is a device of a different brand from the first electronic device and is a specified type of device (a device outside the ecosystem), the user can operate the card corresponding to the second electronic device. In response to the operation on the card, the first electronic device can display a second interface, and the second interface includes controls for controlling the second electronic device, so that the user can control the second electronic device through the second interface, improving the user experience.
[0008] In combination with the first aspect, in some implementations of the first aspect, the specified type of electronic device includes a Bluetooth headset.
[0009] In related solutions, the first electronic device cannot display a pop-up window corresponding to a Bluetooth headset outside the ecosystem of the manufacturer corresponding to the first electronic device, so that the first electronic device does not display a card for the Bluetooth headset outside the ecosystem. Therefore, when the user uses the Bluetooth headset, the user cannot control the Bluetooth headset through the card for the Bluetooth headset outside the ecosystem, affecting the user experience.
[0010] In the embodiment of the present application, since the first electronic device can display a first pop-up window corresponding to the Bluetooth headset, and the Bluetooth headset is an electronic device of a specified type (the Bluetooth headset is a Bluetooth device outside the producer ecosystem corresponding to the first electronic device), the user can operate the first control in the first pop-up window, so that the first electronic device can display a card corresponding to the Bluetooth headset in the first interface. Therefore, when the Bluetooth headset used by the user is an electronic device of a specified type, the user can operate the card corresponding to the Bluetooth headset. In response to the operation on the card, the first electronic device can display a second interface, and the second interface includes controls for controlling the Bluetooth headset, thereby enabling the user to control the Bluetooth headset through the second interface and improving the user experience.
[0011] In combination with the first aspect, in some implementation manners of the first aspect, the second interface further includes: device information of the second electronic device (such as Figure 13 the name of the second electronic device shown in the interface 1350 shown, such as the A brand and A1 model), the icon of the second electronic device (such as Figure 13 the image 1351 of the second electronic device shown in the interface 1350 shown) and the power information of the second electronic device (such as Figure 13 the power information 1354 shown in the interface 1350 shown).
[0012] In the embodiment of the present application, the second interface displayed by the first electronic device includes the device information of the second electronic device and the icon of the second electronic device. The user can distinguish that the second electronic device and the first electronic device are of different brands and are electronic devices of a specified type through the device information of the second electronic device and the icon of the second electronic device, enabling the user to clearly know that the second interface is an interface for controlling a second electronic device that is of a different brand from the first electronic device and is of a specified type, thus improving the user experience.
[0013] In addition, in the related solutions, the user cannot control an electronic device produced outside the producer corresponding to the first electronic device through the first electronic device, so that the user cannot view the power information of the electronic device outside the ecosystem. However, in the embodiment of the present application, the user can control a second electronic device of a specified type (an electronic device outside the ecosystem) through the second interface, and the second interface includes the power information of the electronic device of the specified type. The user can view the power information of the electronic device of the specified type through the second interface, improving the user experience.
[0014] In combination with the first aspect, in some implementation manners of the first aspect, the second interface further includes: a sound effect adjustment card, and the sound effect adjustment card includes one or more selectable sound effect controls (such as Figure 13 the controls 1355 to 1358 in the interface 1350 shown).
[0015] In related solutions, the user cannot control an electronic device other than the one produced by the manufacturer corresponding to the first electronic device through the first electronic device, so that the user cannot switch the playback sound effect of an electronic device outside the ecosystem through the first electronic device, which affects the user experience.
[0016] In the embodiments of the present application, the user can control a second electronic device (an electronic device outside the ecosystem) of a specified type through a second interface, and the second interface includes one or more sound effect controls that allow the user to select. The user can operate the sound effect controls to switch the playback sound effect of the electronic device of the specified type, improving the user experience.
[0017] In combination with the first aspect, in some implementation manners of the first aspect, the second interface further includes: at least one scene card (such as Figure 20 the controls 2010 and 2012 shown in the interface 2000 shown), and at least one scene card is used to instruct the second electronic device to execute the tasks included in the scene card.
[0018] In related solutions, the user cannot control an electronic device other than the one produced by the manufacturer corresponding to the first electronic device through the first electronic device, so that the electronic device outside the ecosystem cannot execute the tasks included in the scene card. When the user needs to complete tasks in real life, it cannot provide help to the user, affecting the user experience.
[0019] In the embodiments of the present application, the user can control an electronic device of a specified type through a second interface, and the second interface includes at least one scene card. The first electronic device can make the second electronic device execute the tasks included in the scene card through the scene card, helping the user better complete the tasks that need to be executed in real life and improving the user experience.
[0020] In combination with the first aspect, in some implementation manners of the first aspect, the establishment of a connection between the first electronic device and the second electronic device includes: the first electronic device establishes an Nth connection with the second electronic device, where N is an integer greater than 1. The method further includes:
[0021] Before the first electronic device establishes the Nth connection with the second electronic device, the first electronic device establishes an (N - 1)th connection with the second electronic device (for example, the (N - 1)th connection refers to the first connection or reconnection (reconnection) between the first electronic device and the second electronic device); the first electronic device displays a first pop-up window corresponding to the second electronic device (such as Figure 11 the pop-up window 1111 shown), and the first pop-up window includes a first control (such as Figure 11 the control 1113 in Figure 13 In response to an operation on the first control, the first electronic device displays a third interface of a first application (such asFigure 13 The name of the second electronic device (A brand, model A1) and the second control (such as Figure 13 the control 1332 included in the interface 1330 shown in); in response to an operation on the second control, the first electronic device adds the second electronic device to the control scope of the first application; wherein, after the first electronic device adds the second electronic device to the control scope of the first application, the first interface of the first application includes a card corresponding to the second electronic device (such as Figure 15 the card 1511 included in the interface 1510 shown in).
[0022] In an embodiment of the present application, when the first electronic device adds the second electronic device in the first application, the first electronic device may display a first pop-up window corresponding to the second electronic device to guide the user to add the second electronic device. Specifically, a first control is displayed in the first pop-up window, and the user can operate on the first control in the first pop-up window. The first electronic device displays a third interface of the first application in response to the user's operation on the first pop-up window. The user can add the second electronic device in the third interface. Specifically, the user can operate on the second control included in the third interface. The first electronic device adds the second electronic device to the control scope of the first application in response to the user's operation on the second control. After that, a card corresponding to the second electronic device is displayed on the first interface of the first application. As can be seen from the above, the first electronic device can guide the user to add the second electronic device, enabling the user to conveniently add the second electronic device in the first application. Moreover, after the user adds the second electronic device in the first application, a card corresponding to the second electronic device can be displayed on the first interface of the first application, and the user can quickly enter the second interface through the card corresponding to the second electronic device, improving the user experience.
[0023] In combination with the first aspect, in some implementation manners of the first aspect, the first pop-up window further includes a third control (such as Figure 11 the control 1112 in), after the first electronic device displays the first pop-up window corresponding to the second electronic device, the method further includes:
[0024] In response to an operation on the third control, the first electronic device cancels the display of the first pop-up window; after the first electronic device cancels the display of the first pop-up window, in response to an operation of opening the first application, the first electronic device displays the first interface of the first application (such as Figure 13 the interface 1320 shown in), the first interface includes a second pop-up window corresponding to the second electronic device (such as the pop-up window 1321 included in the interface 1320), and the second pop-up window includes a fourth control (such as the control 1323 included in the pop-up window 1321); in response to an operation on the fourth control, the first electronic device displays the third interface of the first application (such as Figure 13The interface shown in Figure 13 the name of the second electronic device included in the interface 1330 shown in Figure 13 (Model A1 of Brand A) and the second control (such as Figure 15 the control 1332 included in the interface 1330 shown in
[0025] In the embodiment of the present application, when the first electronic device adds the second electronic device in the first application, the first electronic device can guide the user to add the second electronic device by displaying a first pop-up window corresponding to the second electronic device. For example, a first control is displayed in the first pop-up window. In the case that the user does not add the second electronic device by using the first pop-up window, the first electronic device can guide the user to add the second electronic device through another guiding method. For example, a third control is displayed in the first pop-up window, and the user can click the third control. In response to the operation on the third control, the first electronic device cancels the display of the first pop-up window. After the first electronic device cancels the display of the first pop-up window, in response to the operation of opening the first application, the first electronic device displays the first interface of the first application. The first interface includes a second pop-up window corresponding to the second electronic device. The user can operate on the fourth control included in the second pop-up window. In response to the operation on the fourth control, the first electronic device displays the third interface of the first application. The user can add the second electronic device in the third interface. Specifically, the user can operate on the second control included in the third interface. The first electronic device, in response to the operation of the user on the second control, adds the second electronic device to the control range of the first application. After that, the first interface of the first application displays a card corresponding to the second electronic device. As can be seen from the above, in the case that the user does not add the second electronic device by using the first pop-up window, the first electronic device can guide the user to add the second electronic device by displaying the second pop-up window, which enables the user to conveniently add the second electronic device in the first application. Moreover, after the user adds the second electronic device in the first application, the first interface of the first application can display a card corresponding to the second electronic device, and the user can quickly enter the second interface through the card corresponding to the second electronic device, improving the user experience.
[0026] In combination with the first aspect, in some implementation manners of the first aspect, before the first electronic device displays the first pop-up window corresponding to the second electronic device, determining whether the second electronic device is an electronic device of a specified type includes:
[0027] Obtain the service information of the second electronic device (for example, the service information may be the type information of the second electronic device, the name of the second electronic device, etc.); in response to the service information of the second electronic device including the identifier corresponding to the audio head-mounted device and the service information of the second electronic device including the power information of the second electronic device, the first electronic device determines that the second electronic device is an electronic device of a specified type; in response to the service information of the second electronic device not including the identifier corresponding to the audio head-mounted device, the first electronic device determines that the second electronic device is not an electronic device of a specified type.
[0028] It should be understood that some audio head-mounted devices outside the manufacturer's ecosystem corresponding to the first electronic device have the ability to report power information to the first electronic device. Therefore, in the embodiments of the present application, based on the above characteristics, the first electronic device can determine whether the second electronic device is an electronic device of a specified type (an audio head-mounted device outside the manufacturer's ecosystem corresponding to the first electronic device) according to the identifier corresponding to the audio head-mounted device included in the service information of the second electronic device and the power information of the second electronic device. Specifically, the first electronic device can, in response to the service information of the second electronic device including the identifier corresponding to the audio head-mounted device and the service information of the second electronic device including the power information of the second electronic device, enable the first electronic device to quickly and accurately determine that the second electronic device is an electronic device of a specified type.
[0029] In combination with the first aspect, in some implementation manners of the first aspect, when the first electronic device determines that the second electronic device is an electronic device of a specified type, it further includes: in response to the service information of the second electronic device including the identifier corresponding to the audio head-mounted device and the device name of the second electronic device being within the preset whitelist, the first electronic device determines that the second electronic device is an electronic device of a specified type.
[0030] It should be understood that some audio head-mounted devices outside the producer ecosystem corresponding to the first electronic device do not have the ability to report power information to the first electronic device. Therefore, in the embodiments of the present application, the names of the electronic devices outside the producer ecosystem corresponding to the first electronic device that do not have the ability to report power information to the first electronic device can be configured in a preset whitelist, or in the embodiments of the present application, the names of the electronic devices outside the producer ecosystem corresponding to the first electronic device can be configured in the preset whitelist. When the first electronic device determines whether the second electronic device is a specified type of electronic device, it can determine whether the second electronic device is a specified type of electronic device (an audio head-mounted device outside the producer ecosystem corresponding to the first electronic device) according to the identifier corresponding to the audio head-mounted device included in the service information of the second electronic device and the preset whitelist. Specifically, the first electronic device can respond to the service information of the second electronic device including the identifier corresponding to the audio head-mounted device and the device name of the second electronic device being in the preset whitelist, so that the first electronic device can quickly and accurately determine that the second electronic device is a specified type of electronic device.
[0031] In a second aspect, an electronic device is provided, and the electronic device is used to execute the method provided in the first aspect above. Specifically, the electronic device may include a processing unit for executing any possible implementation manner in the first aspect above.
[0032] In a third aspect, an electronic device is provided, including: one or more processors; one or more memories; the one or more memories store one or more computer programs, and the one or more computer programs include instructions. When the instructions are executed by the one or more processors, the electronic device executes the method in any possible implementation in the first aspect above.
[0033] In a fourth aspect, a computer-readable storage medium is provided, including computer instructions. When the computer instructions run on an electronic device, the electronic device executes the method described in the first aspect above.
[0034] In a fifth aspect, a chip is provided, including a memory for storing instructions; and also including a processor for calling and running the instructions from the memory, so that an electronic device installed with the chip executes the method described in the first aspect above. Description of the Drawings
[0035] Figure 1 It is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
[0036] Figure 2 It is a schematic diagram of the software structure of the electronic device 100 according to an embodiment of the present application.
[0037] Figure 3It is a schematic diagram of an electronic device discovering a Bluetooth device provided by an embodiment of the present application.
[0038] Figure 4 It is another schematic diagram of an electronic device discovering a Bluetooth device provided by an embodiment of the present application.
[0039] Figure 5 It is a schematic diagram of an electronic device connecting to a Bluetooth device provided by an embodiment of the present application.
[0040] Figure 6 It is a schematic diagram of a pop-up window 511 provided by an embodiment of the present application.
[0041] Figure 7 It is another schematic diagram of a pop-up window 511 provided by an embodiment of the present application.
[0042] Figure 8 It is another schematic diagram of a pop-up window 511 provided by an embodiment of the present application.
[0043] Figure 9 It is another schematic diagram of an electronic device connecting to a Bluetooth device provided by an embodiment of the present application.
[0044] Figure 10 It is a schematic diagram of a pop-up window 911 provided by an embodiment of the present application.
[0045] Figure 11 It is a schematic diagram of a pop-up window 1111 provided by an embodiment of the present application.
[0046] Figure 12 It is another schematic diagram of a pop-up window 1111 provided by an embodiment of the present application.
[0047] Figure 13 It is a schematic diagram of an electronic device adding a Bluetooth device provided by an embodiment of the present application.
[0048] Figure 14 It is a schematic diagram of an interface 1410 provided by an embodiment of the present application.
[0049] Figure 15 It is a schematic diagram of an interface 1510 provided by an embodiment of the present application.
[0050] Figure 16 It is a schematic diagram of an interface 1610 provided by an embodiment of the present application.
[0051] Figure 17 It is a schematic diagram of an image of a Bluetooth device within an ecosystem provided by an embodiment of the present application.
[0052] Figure 18 It is a schematic diagram showing the battery levels of multiple device units provided by an embodiment of the present application.
[0053] Figure 19 It is the sound effect details page of Histen provided by an embodiment of the present application.
[0054] Figure 20 It is a schematic diagram of an interface 2000 provided by an embodiment of the present application.
[0055] Figure 21 It is a schematic diagram of an electronic device displaying the details page of a creation scenario provided by an embodiment of the present application.
[0056] Figure 22 It is a schematic diagram of another electronic device displaying the details page of a creation scenario provided by an embodiment of the present application.
[0057] Figure 23 It is a schematic diagram of a creation scenario provided by an embodiment of the present application.
[0058] Figure 24 It is a schematic diagram of an interface 2400 provided by an embodiment of the present application.
[0059] Figure 25 It is a schematic diagram of another creation scenario provided by an embodiment of the present application.
[0060] Figure 26 It is a schematic diagram of a control interface in a related solution provided.
[0061] Figure 27 It is a schematic diagram of another electronic device adding a Bluetooth device provided by an embodiment of the present application.
[0062] Figure 28 It is a schematic diagram of another interface 2810 provided by an embodiment of the present application.
[0063] Figure 29 It is a schematic diagram of another electronic device adding a Bluetooth device provided by an embodiment of the present application.
[0064] Figure 30 It is a schematic diagram of another adding control provided by an embodiment of the present application.
[0065] Figure 31 It is a schematic diagram of another electronic device adding a Bluetooth device provided by an embodiment of the present application.
[0066] Figure 32 It is a schematic flowchart of a method 3200 for determining that a Bluetooth device is a Bluetooth device outside the ecosystem provided by an embodiment of the present application.
[0067] Figure 33 It is a schematic flowchart of a method 3300 for an electronic device to display an image of a Bluetooth device provided by an embodiment of the present application.
[0068] Figure 34 It is a schematic flowchart of a method 3400 for an electronic device to display an image of a Bluetooth device provided by an embodiment of the present application.
[0069] Figure 35 It is a schematic flowchart of a method 3500 for an electronic device to display power information of a Bluetooth device provided by an embodiment of the present application.
[0070] Figure 36 It is a schematic structural diagram of a Bluetooth device 3600 provided by an embodiment of the present application.
[0071] Figure 37 It is a schematic flowchart of a control method 3700 for an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0072] Next, the technical solutions in the embodiments of the present application will be described with reference to the accompanying drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may mean A or B; herein, "and / or" is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B may mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" or "multiple" means two or more than two.
[0073] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of this embodiment, unless otherwise specified, the meaning of "a plurality of" is two or more than two.
[0074] Some terms in the embodiments of the present application are explained below to facilitate the understanding of those skilled in the art.
[0075] The Bluetooth device within the ecosystem of the corresponding manufacturer of the mobile phone refers to the Bluetooth device that has passed the certification of the corresponding manufacturer of the mobile phone. For example, the corresponding manufacturer of the mobile phone can authenticate the Bluetooth device by determining whether the broadcast name during the Bluetooth device's broadcast conforms to the naming rules specified by the corresponding manufacturer of the mobile phone. Assuming that the broadcast name during the Bluetooth device's broadcast conforms to the naming rules specified by the corresponding manufacturer of the mobile phone, then the Bluetooth device can pass the certification of the corresponding manufacturer of the mobile phone, and this Bluetooth device can be considered as a Bluetooth device within the ecosystem of the corresponding manufacturer of the mobile phone.
[0076] A Bluetooth device outside the ecosystem of the manufacturer corresponding to the mobile phone refers to a Bluetooth device that has not passed the certification of the manufacturer corresponding to the mobile phone. A Bluetooth device outside the ecosystem of the manufacturer corresponding to the mobile phone can be a Bluetooth device produced by another manufacturer (the other manufacturer is different from the manufacturer corresponding to the mobile phone). For example, if a Bluetooth device of brand B has not passed the certification of the manufacturer corresponding to the mobile phone of brand A, then the Bluetooth device of brand B is a Bluetooth device outside the ecosystem of the manufacturer corresponding to the mobile phone of brand A. A Bluetooth device outside the ecosystem of the manufacturer corresponding to the mobile phone can also be a Bluetooth device produced by the manufacturer corresponding to the mobile phone. For example, if a Bluetooth device of brand A is a Bluetooth device produced by the manufacturer corresponding to the mobile phone of brand A and the Bluetooth device of brand A has not passed the certification of the manufacturer corresponding to the mobile phone of brand A, then the Bluetooth device of brand A is a Bluetooth device outside the ecosystem of the manufacturer corresponding to the mobile phone of brand A.
[0077] User interface (UI). UI is a media interface for interaction and information exchange between an application program or an operating system and a user, and it realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is source code written in specific computer languages such as Java and Extensible Markup Language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content recognizable by the user, such as controls like pictures, texts, and buttons. A control (also known as a widget) is a basic element of the user interface. Typical controls include a toolbar, a menubar, a textbox, a button, a scrollbar, pictures, and texts. The attributes and content of the controls in the interface are defined by tags or nodes. For example, XML through <textview> 、 <imgview> 、 <videoview>Nodes such as these are used to specify the controls included in the interface. One node corresponds to one control or property in the interface, and after being parsed and rendered, the node presents as visible content to the user. A commonly used form of the user interface is the graphic user interface (GUI), which refers to the user interface related to computer operations presented in a graphical manner. It can be interface elements such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the controls can include visible interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. The interface involved in the following embodiments refers to the graphic user interface GUI.
[0078] Currently, various Bluetooth devices using Bluetooth technology have been widely applied in various fields, bringing convenience to people's lives and work. For example, Bluetooth headsets apply Bluetooth technology to hands-free headsets, allowing users to be free from the entanglement of wires and enabling them to use the headsets conveniently. Another example is Bluetooth speakers, which are audio devices that use Bluetooth connections to replace traditional wired connections. By connecting to Bluetooth playback devices such as mobile phones, tablets, and computers, they achieve the purpose of convenience and speed.
[0079] During the daily use of Bluetooth devices, users can control Bluetooth devices through an electronic device (such as a mobile phone). For example, users can reduce the noise of Bluetooth devices and adjust the volume of Bluetooth devices through the mobile phone.
[0080] Generally, a mobile phone can control Bluetooth devices through an application (App). Before controlling a Bluetooth device, the mobile phone needs to add the Bluetooth device in the App. In related solutions, the mobile phone can add Bluetooth devices within the ecosystem of the manufacturer corresponding to the mobile phone in the App, and cannot add Bluetooth devices outside the ecosystem of the manufacturer corresponding to the mobile phone. When a user uses a Bluetooth device outside the ecosystem of the manufacturer corresponding to the mobile phone, the user cannot control the Bluetooth device through the mobile phone, which affects the user experience.
[0081] To solve the above problems, the embodiments of the present application provide a method for controlling Bluetooth devices, which enables a mobile phone to add Bluetooth devices outside the ecosystem of the manufacturer corresponding to the mobile phone. When a user uses a Bluetooth device outside the ecosystem of the manufacturer of the mobile phone, the user can control the Bluetooth device through the mobile phone, improving the user experience.
[0082] The control method for a Bluetooth device provided by an embodiment of this application is applied to an electronic device. The electronic device can also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The electronic device can be a mobile phone, smart TV, wearable device, tablet computer (Pad), computer with wireless transceiver function, virtual reality (VR) electronic device, augmented reality (AR) electronic device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, and so on. The embodiments of this application do not limit the specific technologies and specific device forms adopted by the electronic device.
[0083] The Bluetooth device involved in the embodiments of this application can be a Bluetooth headset, wearable headset, over-ear noise-canceling headset, Bluetooth speaker, in-vehicle device, virtual reality (VR) device, augmented reality (AR) device, and other devices with audio playback functions. The embodiments of this application do not limit the specific device forms of the Bluetooth device.
[0084] The Bluetooth technology involved in the embodiments of this application can be Bluetooth low energy (BLE) wireless technology, traditional Bluetooth, or other Bluetooth technologies. The embodiments of this application do not limit this.
[0085] Figure 1 It is a schematic structural diagram of an electronic device 100 (taking a mobile phone as an example) provided by an embodiment of this application. 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, antenna 1, antenna 2, a mobile communication module 140, a wireless communication module 150, a sensor module 160, a pressure sensor 160A, a touch sensor 160B, a display screen 170, etc.
[0086] It can be understood that the structure illustrated in the embodiments of the present application 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 those illustrated, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0087] The processor 110 may include one or more processing units. For example, the processor 110 may include an Application Processor (App), 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. Among them, different processing units may be independent devices or integrated in one or more processors.
[0088] Specifically in the embodiments of the present application, the processor 110 may obtain the power information of the Bluetooth device, and determine whether the Bluetooth device is a Bluetooth device outside the manufacturer's ecosystem corresponding to the electronic device according to the information of the Bluetooth device (such as the name of the Bluetooth device, the type information of the Bluetooth device, etc.). The processor 110 may also receive a user operation, and add a Bluetooth device outside the manufacturer's ecosystem corresponding to the electronic device according to the user operation to implement control of the Bluetooth device. The processor 110 may also determine the image of the Bluetooth device corresponding to the model identifier according to the information of the Bluetooth device (such as the model identifier of the Bluetooth device). The processor 110 may also obtain the power information of the Bluetooth device to display the power information of the Bluetooth device.
[0089] A memory may also be provided in the processor 110 for storing instructions and data. Specifically in the embodiments of the present application, the memory may store image resources of the Bluetooth device, a list of the names of Bluetooth devices outside the manufacturer's ecosystem corresponding to the electronic device, etc.
[0090] The wireless communication function of the electronic device 100 may be implemented by the antenna 1, antenna 2, the mobile communication module 140, the wireless communication module 150, the modem processor, and the baseband processor, etc. Specifically in the embodiments of the present application, the electronic device 100 may be connected to the Bluetooth device through the antenna 1, antenna 2, the mobile communication module 140, the wireless communication module 150, etc., so that the electronic device 100 and the Bluetooth device can implement the wireless communication function.
[0091] The display screen 170 is used to display images, videos, etc. Specifically, in the embodiments of this application, one or more app icons are displayed on the display screen 170, and visual interface elements such as buttons, tabs, and text boxes in an APP are also displayed on the display screen 170.
[0092] The external memory interface 120 can be used to connect to an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. Specifically, in the embodiments of this application, the external memory card can store image resources of Bluetooth devices, a name list of Bluetooth devices outside the corresponding manufacturer ecosystem of the electronic device, etc., and the processor 110 can obtain the above data from the external memory card.
[0093] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. Specifically, in the embodiments of this application, image resources of Bluetooth devices, a name list of Bluetooth devices outside the corresponding manufacturer ecosystem of the electronic device, etc. can also be stored in the internal memory 121, and the processor 110 can obtain the above data from the external memory card.
[0094] The pressure sensor 160A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 160A can be disposed on the display screen 170. There are many types of pressure sensors 160A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. Specifically, in the embodiments of this application, the electronic device 100 can detect user operations through the pressure sensor 160A.
[0095] The touch sensor 160B, also known as the "touch panel". The touch sensor 160B can be disposed on the display screen 170, and the touch sensor 160B and the display screen 170 form a touch screen, also known as the "touch screen". The touch sensor 160B is used to detect touch operations acting on or near it. Specifically, in the embodiments of this application, the electronic device 100 can also detect user operations through the touch sensor 160B.
[0096] This concludes the introduction to the hardware structure of the electronic device 100. It can be understood that Figure 1 The components included in the shown hardware structure do not constitute a specific limitation on the electronic device 100. The electronic device 100 may have more or fewer components than those shown in the figure, may combine two or more components, or may have different component configurations. The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.
[0097] In addition, an operating system runs on the above components. For example, the iOS operating system developed by Apple Inc., the Android open-source operating system developed by Google Inc., the Windows operating system developed by Microsoft Corporation, etc. Application programs can be installed and run on this operating system.
[0098] The operating system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of this application, the Android system with a layered architecture is taken as an example to exemplarily illustrate the operating system of the electronic device 100.
[0099] Figure 2 It is a schematic diagram of the software structure of the electronic device 100 in the embodiments of this application. The software structure includes several layers, each layer has a clear role and division of labor, and communication between layers is through software interfaces. In some embodiments, the software structure is sequentially divided into an application layer, an application framework layer, a system library, and a kernel layer from top to bottom.
[0100] The application layer may include a series of application program packages. For example, camera, gallery, calendar, map, navigation, smart space, etc. In the embodiments of this application, the electronic device can add a Bluetooth device in the smart space and control the Bluetooth device through the smart space.
[0101] The application framework layer, simply referred to as the framework layer, provides APIs and programming frameworks for the application programs in the application layer. The framework layer includes some predefined functions. When the application programs in the application layer are run, the relevant functions of the application programs can be implemented by calling the APIs.
[0102] In the embodiments of this application, the application layer includes a device connection layer, a device addition layer, and a device control layer. The device connection layer is used to scan and connect Bluetooth devices to complete the connection between the electronic device and the Bluetooth device. The device addition layer is used to add the Bluetooth device into the smart space of the electronic device. The device control layer includes a power management module, a sound effect management module, and a scenario management module. Among them, the power management module is used to obtain the power of the Bluetooth device and display the power in the App. The sound effect management module is used to provide different sound effect strategies, which can enable the Bluetooth device to switch between different sound effects. The scenario management module can create scenarios to enable the Bluetooth device to perform different tasks according to the created scenarios, such as: drinking water reminder, taking medicine reminder, etc.
[0103] The system library may include multiple functional modules. For example: Surface manager, Media Libraries, 3D graphics processing library (such as: OpenGL ES), 2D graphics engine (such as: SGL), etc.
[0104] The kernel layer may include multiple driver modules. For example, display driver, camera driver, audio driver, sensor driver, etc.
[0105] It can be understood that Figure 2 The layers in the shown software structure and the components included in each layer do not constitute a specific limitation on the electronic device. In some other embodiments of the present application, the electronic device may include more or fewer layers than those shown, and each layer may include more or fewer components. For example, the software structure may further include a hardware abstraction layer, a hardware layer, etc., and the present application does not make any limitation thereto.
[0106] It can be understood that in order for the electronic device to implement the control method of the Bluetooth device in the embodiments of the present application, it includes the corresponding hardware and / or software modules for executing various functions. Combining the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the manner of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described function for each specific application in combination with the embodiments.
[0107] It should be noted that although the embodiments of the present application are described by taking the Android system as an example, its basic principle also applies to electronic devices based on operating systems such as iOS or Windows.
[0108] The execution subject of the control method of the Bluetooth device provided by the embodiments of the present application can be the above-mentioned electronic device, or a functional module and / or functional entity in the electronic device that can implement the control method of the Bluetooth device, and the solution of the present application can be implemented in a hardware and / or software manner, which can be specifically determined according to actual usage requirements, and the embodiments of the present application do not make any limitation thereto.
[0109] Next, taking the electronic device as a mobile phone as an example, the control method of the Bluetooth device provided by the embodiments of the present application will be described exemplarily with reference to the accompanying drawings. It should be noted that unless otherwise specified, the Bluetooth devices involved in the following embodiments all refer to Bluetooth devices outside the corresponding manufacturer's ecosystem of the electronic device. For the convenience of description in the following embodiments, the Bluetooth devices outside the corresponding manufacturer's ecosystem of the electronic device are referred to as Bluetooth devices outside the ecosystem, and the Bluetooth devices within the corresponding manufacturer's ecosystem of the electronic device are referred to as Bluetooth devices within the ecosystem.
[0110] The control method of the Bluetooth device provided by the present application includes stages such as device discovery, device connection, and device addition. The device discovery stage is used to instruct the electronic device to discover connectable Bluetooth devices, the device connection stage is used to instruct the electronic device to connect to the Bluetooth device, and the device addition stage is used to instruct the electronic device to add the Bluetooth device in the App.
[0111] The following embodiments introduce application scenarios of the device discovery phase in conjunction with the accompanying drawings.
[0112] Please refer to Figure 3 , Figure 3 1 is a schematic diagram of an electronic device discovering a Bluetooth device provided by an embodiment of the present application, which illustrates the process of the electronic device discovering a Bluetooth device when a user turns on the Bluetooth switch through the "settings" icon in the main interface of the electronic device.
[0113] Please refer to Figure 3 The interface 310 shown in (a) of FIG. 1 includes an icon 311. The user can click the icon 311. In response to the user's operation on the icon 311, the electronic device displays the following Figure 3 The interface 320 shown in (b) of FIG. 1 includes a control 321. The user can click the control 321. In response to the user's operation on the control 321, the electronic device displays the following information: Figure 3 The interface 330 shown in (c1) includes a button 331, and the button 331 is in a closed state. The user can click or slide the button 331. In response to the user clicking or sliding the button 331, the electronic device can control the button 331 to switch from a closed state to an open state.
[0114] When button 331 is in the on state, the user can bring the electronic device close to the Bluetooth device (the Bluetooth device is in the scanning state, for example, the Bluetooth device is a Bluetooth headset, and the lid of the charging box of the Bluetooth headset is in the open state), and the electronic device responds to the user's operation of bringing the electronic device close to the Bluetooth device. The electronic device can display the name of the searched Bluetooth device and the name of the paired Bluetooth device in interface 330. For example, please refer to Figure 3 The interface 330 shown in (c2) in the figure has a button 331 in the on state. The interface 330 may include the names of multiple Bluetooth devices, for example, Bluetooth device name 332, Bluetooth device name 333, Bluetooth device name 334, Bluetooth device name 335 and Bluetooth device name 336, wherein Bluetooth device name 332 and Bluetooth device name 333 represent Bluetooth devices that have been paired with the electronic device, and Bluetooth device name 334, Bluetooth device name 335 and Bluetooth device name 336 represent Bluetooth devices that have been searched for but not paired by the electronic device.
[0115] It should be understood that the electronic device may also include a wireless communication module in the Bluetooth device, and the wireless communication module may provide a wireless communication solution of near field communication (NFC) technology for the Bluetooth device. The electronic device may display a signal in response to the user touching the Bluetooth device with the electronic device. Figure 3 The interface 330 shown in (c2) in it. When the electronic device can also include a QR code that can be scanned and paired in the Bluetooth device, the electronic device can display in response to the user's operation of scanning the QR code in the Bluetooth device through the electronic device. Figure 3 The interface 330 shown in (c2) in it.
[0116] Please refer to Figure 4 , Figure 4 which is a schematic diagram of another electronic device discovering a Bluetooth device provided by an embodiment of the present application. It shows that the user turns on the Bluetooth switch through the control center of the electronic device, and the process of the electronic device discovering the Bluetooth device.
[0117] Please refer to Figure 4 In the interface 410 shown in (a) in it, the user can perform a downward sliding operation on the upper right side of the screen top in the interface 410. In response to the user's downward sliding operation, the electronic device displays Figure 4 the interface 420 shown in (b1) in it. The interface 420 includes an icon 421, and the icon 421 is in the off state. The user can click on the icon 421, and the electronic device controls the icon 421 to switch from the off state to the on state in response to the user's operation of clicking on the icon 421. Exemplarily, please refer to Figure 4 the interface 420 shown in (b2) in it, where the icon 421 in the interface 420 is in the on state.
[0118] When the icon 421 is in the on state, the user can bring the electronic device close to the Bluetooth device, or touch the Bluetooth device with the electronic device, or scan the QR code in the Bluetooth device through the electronic device. The electronic device can search for Bluetooth devices in a state where they can be scanned in response to the above operations of the user.
[0119] It should be understood that in addition to the user being able to perform a downward sliding operation on the upper right side of the screen in the interface 410 shown in (a) in Figure 4 to open the control center, the user can also perform a downward sliding operation on the upper right side of the screen in other interfaces, such as Figure 3 the interface 320 shown in (b) in it to open the control center. The embodiments of the present application do not limit this.
[0120] The following embodiments introduce the application scenarios in the device connection stage in combination with the drawings.
[0121] Please refer to Figure 5 , Figure 5 which is a schematic diagram of an electronic device connecting to a Bluetooth device provided by an embodiment of the present application. It shows the process of the electronic device connecting to the Bluetooth device for the first time.
[0122] When the user passes through Figure 3 When the operation shown makes the button 331 in the open state, or when the user passes through Figure 4 When the operation shown makes the icon 421 in the open state, the electronic device can search for Bluetooth devices in a scannable state. When the electronic device searches for a Bluetooth device, it can display a pop-up window 511 in the Figure 5 interface 510 shown. The pop-up window 511 includes a control 512 and a control 513. The user can click the control 512, and the electronic device cancels the connection process with the Bluetooth device in response to the user's operation of clicking the control 512. The user can click the control 513, and the electronic device executes the connection process with the Bluetooth device in response to the user's operation of clicking the control 513.
[0123] It should be understood that in the above embodiments, the electronic device is in a state where the user passes through Figure 3 the operation shown, or the user passes through Figure 4 the operation shown to make the Bluetooth switch (such as Figure 3 the button 331 in Figure 4 ), the icon 421 in Figure 5 in the open state. After that, the user brings the electronic device close to the Bluetooth device, or touches the electronic device to the Bluetooth device, or scans the QR code in the Bluetooth device through the electronic device. The electronic device can display the pop-up window 511 in the Figure 3 or Figure 4 interface 510 shown in response to the above user operations. In some scenarios, the Bluetooth switch of the electronic device is originally in the open state, and the user can display the pop-up window 511 in the Figure 5 interface 510 shown without performing the
[0124] Continue to refer to Figure 5 , Figure 5 The pop-up window 511 in the interface 510 shown also includes an image 514 of the Bluetooth device. In the embodiments of the present application, when the electronic device connects to multiple different Bluetooth devices outside the ecosystem (for example, a mobile phone connects to a Bluetooth headset, a Bluetooth speaker, etc. outside the ecosystem), the images displayed in the pop-up window 511 are the same, for example, Figure 5 the 514 shown. In some embodiments, when the electronic device connects to multiple different Bluetooth devices within the ecosystem, the electronic device can display different images in the pop-up window 511 according to the type, model, etc. of the Bluetooth device. For example, please refer to Figure 6 , Figure 6 is a schematic diagram of a pop-up window 511 provided by an embodiment of the present application. Figure 6 The image 611 of the Bluetooth device shown in (a) represents a Bluetooth headset of brand B, model B1. Figure 6 The image 612 of the Bluetooth device shown in (b) represents a Bluetooth speaker of brand B, model C. Figure 6 The image 613 of the Bluetooth device shown in (c) represents a Bluetooth headset of brand B, model B2. Figure 6 The images shown in (a) and (b) represent two different types of Bluetooth devices. Figure 6 The images shown in (a) and (c) represent Bluetooth devices of the same type but different models.
[0125] Continuing to refer to Figure 5 , Figure 5 The pop-up window 511 shown also includes a battery icon 515 and battery information 516. For example, Figure 5 The battery information 516 shown represents that the remaining battery of the Bluetooth device is 20%. In some embodiments, the Bluetooth device may include multiple device units. For example, a Bluetooth headset includes a left earphone, a right earphone, and a charging case. The battery information of each device unit may also be displayed in the pop-up window 511. Please refer to Figure 7 , Figure 7 which is a schematic diagram of another pop-up window 511 provided by an embodiment of the present application. Figure 7 The pop-up window 511 shown includes a label 711, a label 712, and a label 713. The battery information on the label 711 represents the remaining battery of the left earphone of the Bluetooth headset connected to the electronic device. For example, the remaining battery of the left earphone is 100%. The battery information on the label 712 represents the remaining battery of the right earphone of the Bluetooth headset connected to the electronic device. For example, the remaining battery of the right earphone is 100%. The battery information on the label 713 represents the remaining battery of the charging case of the Bluetooth headset connected to the electronic device. For example, the remaining battery of the charging case is 20%.
[0126] Continuing to refer to Figure 5 , Figure 5 The pop-up window 511 shown also includes the name 517 of the Bluetooth device. For example, the name 517 of the Bluetooth headset is of brand A, model A1.
[0127] In some embodiments, when the user makes the button 331 in the open state through the operation shown in Figure 3 , the electronic device can search for Bluetooth devices in a scannable state. When the electronic device searches for a Bluetooth device, it can display the pop-up window 511. The pop-up window 511 displayed by the electronic device can be referred to Figure 8 , Figure 8 which is a schematic diagram of another pop-up window 511 provided by an embodiment of the present application. Figure 8 In Figure 5 The visual interface elements included in the pop-up window 511 are the same, which will not be elaborated here.
[0128] In related solutions, when an electronic device is first connected to a Bluetooth device within the ecosystem of the electronic device manufacturer, the user can click or slide a button 331 in the interface 330 shown in (c1) below. In response to the user's operation of clicking or sliding the button 331 and the user's operation of bringing the electronic device closer to the Bluetooth device, or touching the Bluetooth device with the electronic device, or scanning the QR code in the Bluetooth device through the electronic device, the electronic device can Figure 3 display the Bluetooth device names 334, 335, and 336 in the interface 330 shown in (c2) below. The user needs to query the Bluetooth device to be connected among multiple Bluetooth device names and click on the Bluetooth device to be connected before the electronic device can complete the connection with the Bluetooth device. Figure 3 As can be seen from the above, in related solutions, the user needs to perform relatively complex operations to complete the connection of the Bluetooth device, and the user needs to query the name of the Bluetooth device to be connected among multiple Bluetooth device names. Usually, the name of the Bluetooth device is composed of numbers and letters. For example, the Bluetooth device name 334 is ABC123, the Bluetooth device name 335 is DEF456, and the Bluetooth device name 336 is ADE456. The user is not sure which combination of numbers and letters among multiple Bluetooth device names represents the name of the Bluetooth device to be connected, which may lead to the user clicking on the name of a Bluetooth device other than the one to be connected, resulting in a connection failure, reducing the connection efficiency, and affecting the user experience.
[0129] In an embodiment of the present application, when the Bluetooth switch of the electronic device is in the on state, the electronic device can display a connection pop-up window. The user can use the connection pop-up window to complete the connection between the electronic device and the Bluetooth device. Compared with related solutions, in the embodiment of the present application, when connecting the Bluetooth device, the user does not need to query the name of the Bluetooth device to be connected among multiple Bluetooth device names and click on the name of the Bluetooth device to be connected for connection. The user can directly use the connection pop-up window to complete the connection between the electronic device and the Bluetooth device, improving the convenience of connecting the Bluetooth device and enhancing the user experience.
[0130] The connection pop-up window in the embodiment of the present application further includes the name of the Bluetooth device, which can explicitly display the name of the Bluetooth device to be connected to the user. Therefore, when connecting the Bluetooth device, the step of the user querying the name of the Bluetooth device to be connected among multiple Bluetooth device names composed of numbers and letters can be omitted, reducing the probability of an event where the user may click on the name of a Bluetooth device other than the one to be connected, resulting in a connection failure, and improving the connection efficiency.
[0131]
[0132] The connection pop-up window in the embodiment of the present application further includes an image of the Bluetooth device. Since the images displayed in the connection pop-up window are different when the electronic device connects to Bluetooth devices inside and outside the connection ecosystem, users can distinguish that the Bluetooth device is a Bluetooth device outside the ecosystem through the image of the Bluetooth device, improving the user experience.
[0133] The connection pop-up window in the embodiment of the present application further includes power information. Users can know the power of the Bluetooth device by viewing the power information. When the power of the Bluetooth device is insufficient, the Bluetooth device can be charged in time, improving the user experience.
[0134] Please refer to Figure 9 , Figure 9 FIG. is a schematic diagram of another electronic device connecting to a Bluetooth device provided by an embodiment of the present application. It shows the process of the electronic device reconnecting to the Bluetooth device (reconnection).
[0135] It should be understood that the electronic device and the Bluetooth device are connected in a paired and bound manner. When the electronic device and the Bluetooth device are connected for the first time (initial connection), the devices need to exchange security keys and cache the keys during the pairing process. When the electronic device reconnects to the Bluetooth device (reconnection), there is no need to repeat the pairing process, and the connection can be achieved with a faster secure startup speed.
[0136] For example, when the Bluetooth switch of the electronic device is in the on state, the user can bring the electronic device close to the Bluetooth device, or touch the electronic device to the Bluetooth device, or scan the QR code in the Bluetooth device through the electronic device. In response to the above operations of the user, the electronic device can search for Bluetooth devices in a state where they can be scanned. After the electronic device searches for the Bluetooth device and completes the connection with the Bluetooth device through reconnection, the electronic device can Figure 9 display a pop-up window 911 in the interface 910 shown. The pop-up window 911 includes a control 912. The user can click the control 912, and the electronic device, in response to the user's operation of clicking the control 912, cancels the display of the pop-up window 911 in the interface 310.
[0137] Figure 9 The pop-up window 911 shown further includes an image 913 of the Bluetooth device. The content shown in the image 913 of the Bluetooth device is the same as the content shown in the image 514 of the Bluetooth device, which will not be elaborated here.
[0138] Figure 9 The pop-up window 911 shown further includes a battery icon 914 and battery information 915. In some embodiments, the Bluetooth device may include multiple devices. For example, a Bluetooth headset includes a left earphone, a right earphone, and a charging case. The pop-up window 911 can also display the battery information of each device unit. Please refer to Figure 10 , Figure 10 It is a schematic diagram of another pop-up window 911 provided by an embodiment of the present application. Figure 10 The shown pop-up window 911 includes identifier 1011, identifier 1012, and identifier 1013.
[0139] Figure 9 The shown pop-up window 911 further includes a connection state 916 and the name 917 of a Bluetooth device. For example, Figure 9 The shown connection state 916 represents that the electronic device has completed the connection with the Bluetooth headset, Figure 9 The name 917 of the shown Bluetooth headset is Model A1 of Brand A.
[0140] In an embodiment of the present application, when the electronic device successfully reconnects with the Bluetooth device, it can explicitly prompt the user through the reconnection pop-up window; the reconnection pop-up window includes an image of the Bluetooth device. Since the image displayed in the reconnection pop-up window is different when the electronic device connects to Bluetooth devices inside and outside the connection ecosystem, the user can distinguish that the Bluetooth device is a device outside the ecosystem through the image of the Bluetooth device; the reconnection pop-up window includes power information, and the user can know the power of the Bluetooth device by viewing the power information, improving the user experience.
[0141] In some embodiments, after the electronic device completes the connection with the electronic device through the first connection method, or after the electronic device completes the connection with the Bluetooth device through the reconnection method, the electronic device can Figure 11 display the pop-up window 1111 in the shown interface 1110. Please refer to Figure 11 , Figure 11 It is a schematic diagram of a pop-up window 1111 provided by an embodiment of the present application. The pop-up window 1111 includes a control 1112 and a control 1113. The user can click on the control 1112. Assuming that the electronic device has not executed the process of adding a Bluetooth device ( Figure 13 the shown process), then, in response to the user's operation of clicking on the control 1112, the electronic device cancels the display of the pop-up window 1111 in the interface 1110. After that, the user can perform Figure 13 the shown operation to add a Bluetooth device. Assuming that the electronic device has executed the process of adding a Bluetooth device, then, in response to the user's operation of clicking on the control 1112, the electronic device cancels the display of the pop-up window 1111 in the interface 1110. After that, the user can control the added Bluetooth device in the Figure 15 shown interface 1510. The user can also click on the control 1113 shown in the pop-up window 1111. Assuming that the electronic device has not executed the process of adding a Bluetooth device, then the electronic device, in response to the user's operation of clicking on the control 1113, executes the process of adding a Bluetooth device. Assuming that the electronic device has executed the process of adding a Bluetooth device, then, in response to the user's operation of clicking on the control 1113, the electronic device can display the following embodiments Figure 15 The shown interface 1510 will not be elaborated here for the time being.
[0142] Figure 11 The shown pop-up window 1111 also includes an image 1114 of a Bluetooth device. The content shown in the image 1114 of the Bluetooth device is the same as the content shown in the image 514 of the Bluetooth device, which will not be elaborated here.
[0143] Figure 11 The shown pop-up window 1111 also includes a battery icon 1115 and battery information 1116. In some embodiments, the Bluetooth device may include multiple device units. For example, a Bluetooth headset includes a left earphone, a right earphone, and a charging case. The battery information of each device unit may also be displayed in the pop-up window 1111. Please refer to Figure 12 , Figure 12 It is a schematic diagram of another pop-up window 1111 provided by an embodiment of the present application. Figure 12 The shown pop-up window 1111 includes an identifier 1211, an identifier 1212, and an identifier 1213. The battery information on the identifier 1211, the identifier 1212, and the identifier 1213 respectively represents the battery information of the device unit.
[0144] Figure 11 The shown pop-up window 1111 also includes a connection status 1117 and the name 1118 of the Bluetooth device.
[0145] The following embodiments introduce the application scenarios of the addition stage in combination with the accompanying drawings.
[0146] Please refer to Figure 13 , Figure 13 It is a schematic diagram of an electronic device adding a Bluetooth device provided by an embodiment of the present application. It shows that before the Smart Space App is started, the electronic device executes the connection process with the Bluetooth device. After the electronic device is connected to the Bluetooth device, the Smart Space App is started, and the process of adding the Bluetooth device in the App.
[0147] Figure 13 In (a) of Figure 5 or Figure 8 In the pop-up window 511 shown, the user can click the control 513. In response to the user's operation of clicking the control 513, the electronic device executes the connection process with the Bluetooth device to complete the connection with the Bluetooth device. After the electronic device is connected to the Bluetooth device, the user can click the icon 1311 in the interface 1310 shown in (a) of Figure 13
[0148] In some embodiments, the user can be in Figure 9 Click on the control 912 in the pop-up window 911 shown. In response to the user's operation of clicking on the control 912, the electronic device determines that it has successfully connected to the Bluetooth device. After that, the user can Figure 13 click on the icon 1311 in the interface 1310 shown in (a) of
[0149] In some embodiments, the user can Figure 11 click on the control 1112 in the pop-up window 1111 shown. In response to the user's operation of clicking on the control 1112, the electronic device determines that it has successfully connected to the Bluetooth device and cancels the display of the pop-up window 1111. After that, the user can Figure 13 click on the icon 1311 in the interface 1310 shown in (a) of
[0150] In some embodiments, the user can Figure 5 or Figure 8 click on the control 513 in the pop-up window 511 shown. In response to the user's operation of clicking on the control 513, the electronic device executes the connection process with the Bluetooth device and completes the connection with the Bluetooth device. After the electronic device is connected to the Bluetooth device, the electronic device displays Figure 11 the pop-up window 1111 shown. The user can click on the control 1112 in the pop-up window 1111. In response to the user's operation of clicking on the control 1112, the electronic device cancels the display of the pop-up window 1111. After that, the user can Figure 13 click on the icon 1311 in the interface 1310 shown in (a) of
[0151] In response to the user's operation of clicking on the icon 1311, the electronic device displays the interface 1320 shown in (b) of Figure 13 The interface 1320 includes a pop-up window 1321. The pop-up window 1321 includes a control 1322 and a control 1323. The user can click on the control 1322. In response to the user's operation of clicking on the control 1322, the electronic device cancels the process of adding the Bluetooth device. The user can click on the control 1323. In response to the user's operation of clicking on the control 1323, the electronic device displays the interface 1330 shown in (c) of Figure 13
[0152] In some embodiments, the way for the electronic device to display Figure 13 the interface 1330 shown in (c) can also be: when the Bluetooth device is in the on state, the electronic device can search for Bluetooth devices in the scannable state. When a Bluetooth device is found, the electronic device completes the connection with the Bluetooth device and displays Figure 11 the pop-up window 1111 shown. The user can Figure 11 click on the control 1113 in the pop-up window 1111 shown. In response to the user's operation of clicking on the control 1113, the electronic device displays the interface as shown in Figure 13 The interface 1330 shown in (c) therein.
[0153] In some embodiments, the electronic device displays Figure 13 The interface 1330 shown in (c) therein in the following manner: when the Bluetooth device is in the on state, the electronic device can search for Bluetooth devices in a scannable state. When a Bluetooth device is found, the electronic device can display Figure 5 or Figure 8 The pop-up window 511 shown, and the user can click on the control 513 in Figure 5 or Figure 8 The pop-up window 511 shown. In response to the user's operation of clicking on the control 513, the electronic device executes the connection process with the Bluetooth device to complete the connection with the Bluetooth device. After the electronic device is connected to the Bluetooth device, the electronic device displays Figure 11 The pop-up window 1111 shown. The user can click on the control 1113 in the pop-up window 1111. In response to the user's operation of clicking on the control 1113, the electronic device displays the interface 1330 shown in (c) as Figure 13 therein.
[0154] Figure 13 The interface 1330 shown in (c) therein includes a control 1331. Figure 13 The control 1331 shown in (c) therein is in the on state. It should be understood that in the case where the control 1331 is in the on state, the electronic device can display the pop-up window 1321 in the interface 1320 shown in (b) therein. In the case where the control 1331 is in the off state, Figure 13 The pop-up window 1321 is not displayed in the interface 1320 shown in (b) therein. Figure 13 Figure 13 The interface 1330 shown in (c) therein further includes a control 1332. The user can click on the control 1332. In response to the user's operation of clicking on the control 1332, the electronic device displays Figure 13 The interface 1340 shown in (d) therein.
[0155] It should be understood that when the electronic device is connected to multiple Bluetooth devices outside the ecosystem (such as Bluetooth headsets and Bluetooth speakers), the interface 1330 can further include multiple controls. For example, please refer to Figure 14 , Figure 14 which is a schematic diagram of an interface 1410 provided by an embodiment of the present application. Figure 14 The interface 1410 shown therein includes a control 1332 and a control 1333. The user can click on the control 1332 or the control 1333. In response to the user's operation of clicking on the control 1332 or the control 1333, the electronic device displays Figure 13 The interface 1340 shown in (d) therein. An embodiment of the present application is illustrated by the user clicking on the control 1332.
[0156] Continue to refer to Figure 13 the interface 1340 shown in (d) of [], the interface 1340 includes a pop-up window 1341, and the pop-up window includes controls 1342 and 1343. The user can click on control 1342, and the electronic device responds to the user's operation of clicking on control 1342 to cancel the display of the pop-up window 1341 in the interface 1340. The user can click on control 1343, and the electronic device responds to the user's operation of clicking on control 1343 to display the interface 1350 as shown in Figure 13 (e) of [].
[0157] Figure 13 The pop-up window 1341 of the interface 1340 shown in (d) of [] further includes text 1344, which is used to remind the user that the electronic device has successfully added a Bluetooth device. After the electronic device successfully adds a Bluetooth device, the electronic device can create a new control 1511 in the interface 1510 shown in Figure 15 (). Figure 15 is a schematic diagram of an interface 1510 provided by an embodiment of the present application. The user can click on control 1511 in the interface 15100, and the electronic device responds to the user's operation of clicking on control 1511 to display the interface 1350 as shown in Figure 13 (e) of [].
[0158] In some embodiments, the way the electronic device displays the interface 1510 shown in[] is also as follows: after the electronic device is initially connected or reconnected to the Bluetooth device, and the user has added the Bluetooth device to the electronic device through the operation shown in Figure 15 (), and then the electronic device reconnects to the Bluetooth device again. After the electronic device is connected to the Bluetooth device, it displays the pop-up window 1111 shown in Figure 13 (), or the pop-up window 1111 shown in Figure 11 or Figure 12 . The user can click on control 1113 in the pop-up window 1111, and the electronic device responds to the user's operation of clicking on control 1113 to display the interface 1510 shown in Figure 15 (), and the interface 1510 includes control 1511.
[0159] In some embodiments, the user can add multiple Bluetooth devices, Figure 15 and the interface 1510 shown in[] may include multiple controls. For example, please refer to Figure 16 (), Figure 16 which is a schematic diagram of an interface 1610 provided by an embodiment of the present application. Figure 16 The interface 1610 shown in (a1) of [] may include multiple controls, such as control 1511 and control 1522. The user can control the Bluetooth headset through control 1511, and the user can control the Bluetooth speaker through control 1522.
[0160] An electronic device can display multiple controls in the Figure 16 (a1) interface 1610 in the following manner: For example, when the user clicks on control 1332 in the interface 1410 shown in Figure 14 , in response to the operation of clicking on control 1332, the electronic device executes a process of adding a Bluetooth headset, creates a new control in interface 1610, and displays Figure 13 (d) the pop-up window 1341 shown in, and the user can click on control 1342 in the pop-up window 1341. In response to the user clicking on control 1342, the electronic device displays Figure 14 the interface 1410 shown in, and when the user clicks on control 1333 in the interface 1410 shown in Figure 14 , in response to the operation of clicking on control 1333, the electronic device executes a process of adding a Bluetooth speaker and creates a new control in interface 1610. Through the above operations by the user, the electronic device can display multiple controls in the Figure 16 (a1) interface 1610 shown in.
[0161] In some embodiments, the user can add multiple Bluetooth devices, and interface 1610 may include a control for centrally controlling multiple Bluetooth devices. For example, Figure 16 the control 1513 included in the interface 1610 shown in (a2). When the user desires to control a specific Bluetooth device, the user can click on control 1513, and in response to the user clicking on control 1513, the electronic device displays Figure 16 (b) the interface 1620 shown in. Interface 1620 includes control 1511 and control 1522. Assuming the user desires to control a Bluetooth headset, the user can click on control 1511, and in response to the user clicking on control 1511, the electronic device displays the interface 1350 as shown in Figure 13 (e).
[0162] In related solutions, the user needs to use multiple apps to control multiple Bluetooth devices. For example, when the user desires to control a Bluetooth headset and a Bluetooth speaker, the user needs to download the app corresponding to the Bluetooth headset and the app corresponding to the Bluetooth speaker on the electronic device. When the user controls the Bluetooth headset in the app corresponding to the Bluetooth headset, the user needs to switch from the app corresponding to the Bluetooth headset to the app corresponding to the Bluetooth speaker to control the Bluetooth speaker, which is cumbersome and affects the user experience. In the embodiments of the present application, the user can add multiple Bluetooth devices in a smart space app, and the smart space app can centrally control multiple Bluetooth devices, eliminating the need for the user to perform the operation of switching apps, simplifying the user operation, and enhancing the user experience. Moreover, the app may include a control for centrally controlling multiple Bluetooth devices, and through this control, the interface of the app ( Figure 16 The interface 1610 shown in (a2) is more concise.
[0163] Continuing to refer to Figure 13 , Figure 13 The interface 1350 shown in (e) includes the name 1351 of the Bluetooth device. For example, the name of the Bluetooth headset is Model A1 of Brand A.
[0164] Figure 13 The interface 1350 shown in (e) also includes the image 1351 of the Bluetooth device. The content shown in the image 1351 of the Bluetooth device is the same as that shown in the image 514 of the Bluetooth device described above, and will not be elaborated here. It should be understood that when the electronic device is connected to multiple different Bluetooth devices outside the ecosystem, Figure 5 the images shown in the interface 1350 shown in (e) are the same; when the electronic device is connected to multiple different Bluetooth devices within the ecosystem, the electronic device can display different images in the interface 1350 according to the type, model, etc. of the Bluetooth device. For example, please refer to Figure 13 , Figure 17 , Figure 17 which is a schematic diagram of an image of a Bluetooth device within the ecosystem provided by an embodiment of the present application. Figure 17 The image 1710 of the Bluetooth device shown in (a) represents a Bluetooth headset of Model B1 of Brand B. Figure 17 The image 1711 of the Bluetooth device shown in (b) represents a Bluetooth speaker of Model C of Brand B. Figure 17 The image 1712 of the Bluetooth device shown in (c) represents a Bluetooth headset of Model B2 of Brand B. Figure 17 The images shown in (a) and (b) represent two different types of Bluetooth devices. Figure 17 The images shown in (a) and (c) represent Bluetooth devices of the same type but different models.
[0165] In an embodiment of the present application, the electronic device can display the image of the Bluetooth device, and the user can identify whether the Bluetooth device is a Bluetooth device outside the ecosystem according to the image of the Bluetooth device, improving the user experience.
[0166] Continuing to refer to Figure 13 (e) in Figure 13 The interface 1350 shown in (e) also includes the connection status 1352. For example, the connection status 1352 is connected.
[0167] Figure 13 The interface 1350 shown in (e) also includes a battery icon 1353 and battery information 1354. In some embodiments, a Bluetooth device may include multiple device units. For example, a Bluetooth headset includes a left earphone, a right earphone, and a charging case. The interface 1350 may also display the battery information of each device unit. Please refer to Figure 18 , Figure 18 which is a schematic diagram showing the battery levels of multiple device units provided by an embodiment of the present application. Figure 18 The interface shown includes identifier 1811, identifier 1812, and identifier 1813. The battery information on identifier 1811 represents the remaining battery level of the left earphone of the Bluetooth headset connected to the electronic device. The battery information on identifier 1812 represents the remaining battery level of the right earphone of the Bluetooth headset connected to the electronic device. The battery information on identifier 1813 represents the remaining battery level of the charging case of the Bluetooth headset connected to the electronic device.
[0168] In related solutions, the user cannot control Bluetooth devices outside the ecosystem through the electronic device, and thus cannot learn about the battery levels of Bluetooth devices outside the ecosystem. In the embodiments of the present application, the electronic device can Figure 13 display the battery information in the interface 1350 shown in (e). The user can view the battery levels of Bluetooth devices outside the ecosystem in the interface 1350, improving the user experience.
[0169] In some embodiments, some Bluetooth devices outside the ecosystem do not have the ability to report the battery level to the electronic device. Then, when the electronic device displays Figure 13 the interface 1350 shown in (e), the battery information of this Bluetooth device is not displayed in the interface 1350.
[0170] Continuing to refer to Figure 13 (e) in Figure 13 The interface 1350 shown in (e) also includes at least one sound effect control. The at least one sound effect control includes the original sound effect when the Bluetooth device is playing, such as the sound effect corresponding to control 1355, and also includes the sound effects provided by the electronic device through its own audio management module, such as the sound effect of multi-dimensional spatial audio based on sound objects (DTS:X Ultra) corresponding to control 1356. DTS:X Ultra can make the sound sound more realistic and natural. The spatial audio sound effect corresponding to control 1357 can place the sound in almost any orientation within the space, providing an immersive surround sound experience. The sound effect enhancement technology sound effect (Histen) corresponding to control 1358 can correct the sound distortion problem, make the frequency response curve imaging smoother, and ultimately enable the user to obtain a pure tone auditory enjoyment, etc.
[0171] The user can switch the sound effect when the Bluetooth device is playing by clicking the sound effect control. For example, assuming that the sound effect when the Bluetooth device is playing is the original sound effect, the user clicks control 1356. In response to the user clicking the control 1356, the electronic device controls the sound effect of the Bluetooth device to switch from the original sound effect to DTS:X Ultra.
[0172] Continue to refer Figure 13 In (e), the interface 1350 also includes a control 1359, and the user can click the control 1359. In response to the user clicking the control 1359, the electronic device can display the sound effect details page of the sound effect provided by the electronic device through the audio management module, for example, please refer to Figure 19 , Figure 19 This is the sound effect details page of Histen provided in the embodiment of the present application, and the user can slide Figure 19 As shown in the control 1910, the electronic device adjusts the relevant parameters of Histen, such as the ultra-low bass parameter, in response to the user sliding the control 1910.
[0173] In the related solutions, electronic devices cannot add Bluetooth devices outside the ecosystem, and thus cannot change the playback sound effects of Bluetooth devices outside the ecosystem through the electronic devices, which affects the user experience. In the embodiments of the present application, on the premise that the electronic device adds a Bluetooth device outside the ecosystem, the electronic device can switch the playback sound effects of the Bluetooth device through the sound effect control, thereby improving the user experience.
[0174] In some embodiments, Figure 13 (e) in the figure shows the scene control that can also be included in the interface 1350. For example, please refer to Figure 20 , Figure 20 is a schematic diagram of an interface 2000 provided in an embodiment of the present application, Figure 20 The interface 2000 shown in (a1) in the figure also includes at least one control, such as control 2010 and control 2011. Control 2010 may be a control corresponding to the "weather forecast" scene. The "weather forecast" scene is used to enable the electronic device to broadcast the weather conditions to the user through the Bluetooth device. For example, the user clicks on control 2010, and the electronic device responds to the user's operation of clicking on control 210 by broadcasting the weather conditions of the day to the user through the Bluetooth headset. For another example, at 10 o'clock every morning, the electronic device broadcasts the weather conditions of the day to the user through the Bluetooth headset. Control 2011 may be a control corresponding to the "punch-in reminder" scene. The "punch-in reminder" scene is used to enable the electronic device to remind the user to punch in through the Bluetooth headset. For example, the user is reminded to punch in through the Bluetooth headset after arriving at the workplace.
[0175] Figure 20 In the interface 2000 shown in (a1), it may further include a control 2012. By controlling the control 2012, the user can enable or disable the execution of the scenario task created by the user on the electronic device. For example, by controlling the control 2012, the user can make the control 2012 in the Figure 20 open state shown in (a1). Then, after the user arrives at the workplace, the electronic device can remind the user to punch in through the Bluetooth headset. For another example, when the user clicks the control 2012, in response to the user's operation of clicking the control 2012, the electronic device can control the control 2012 to switch from the open state to the closed state. The closed state can be referred to Figure 20 the interface shown in (a2). When the control 2012 is in the closed state, the electronic device does not execute the task of reminding the user to punch in.
[0176] It should be understood that after the user creates a scenario in the electronic device, Figure 20 scene controls can be displayed in the interface 2000 shown, such as: control 2010 and control 2011.
[0177] The process of creating a scenario is introduced as follows: It should be understood that the electronic device needs to create a scenario in the create scenario details page. Figure 21 is a schematic diagram of an electronic device displaying the create scenario details page provided by an embodiment of the present application. The user can click the control 2111 in the Figure 21 interface 2110 shown in (a). In response to the user's operation of clicking the control 2111, the electronic device displays the control 2121 as shown in Figure 21 (b). The user can click the control 2121. In response to the user's operation of clicking the control 2121, the electronic device displays the interface 2130 as shown in Figure 21 (c). The interface 2130 is the create scenario details page.
[0178] Figure 22 is another schematic diagram of an electronic device displaying the create scenario details page provided by an embodiment of the present application. The user can click the control 2211 in the Figure 22 interface 2210 shown in (a). In response to the user's operation of clicking the control 2211, the electronic device displays the interface 2220 as shown in Figure 22 (b). The interface 2220 is the create scenario details page.
[0179] Figure 23 is a schematic diagram of creating a scenario provided by an embodiment of the present application.
[0180] Figure 23 In the interface 2310 shown in (a), it includes a control 2311. The user can click the control 2311. In response to the user's operation of clicking the control 2311, the electronic device displays as shown in Figure 23 The interface 2320 shown in (b) therein includes controls 2321, 2322, and 2323. Through controls 2321, 2322, and 2323, a user can specify the trigger conditions of a scenario. Suppose the scenario created by the user is: reminding the user to take medicine through a Bluetooth headset at 8:00 am every day. Then the user can click on control 2321. In response to the user's operation of clicking on control 2321, the electronic device displays time options (not shown in the figure). The user can select the specified time, which is 8:00 am every day, through the time options. Then, at 8:00 am every morning, the electronic device can be triggered to remind the user to take medicine through the Bluetooth headset. Suppose the scenario created by the user is: reminding the user to punch in through the Bluetooth headset after arriving at the company location. Then the user can click on control 2322. In response to the user's operation of clicking on control 2322, the electronic device displays location options (not shown in the figure). The user can select the specified location, which is the company, through the location options. Then, after the user arrives at the company, the electronic device can be triggered to remind the user to punch in through the Bluetooth headset. Suppose the scenario created by the user is: after the user manually clicks on a control, the electronic device broadcasts the weather forecast to the user through the Bluetooth headset. Then the user can click on control 2323. After the operation of the user clicking on control 2323, the scenario created by the electronic device uses the click on the control as the trigger condition. For example, when the user clicks on Figure 20 the control 2010 shown, in response to the user's operation of clicking on control 2010, the electronic device broadcasts the weather condition of the day to the user through the Bluetooth headset.
[0181] After the user creates the trigger conditions through the above operations, the user can click on Figure 23 the control 2324 shown in (b) therein. In response to the user's operation of clicking on control 2324, the electronic device returns Figure 23 the interface 2130 shown in (a) therein. The user can click on control 2312 in interface 2130. In response to the user's operation of clicking on control 2312, the electronic device can display Figure 23 the interface 2330 shown in (c) therein. The interface 2330 includes controls 2331 and 2332. Through controls 2331 and 2332, the user can specify the Bluetooth device and task required when performing a task. Suppose the scenario created by the user is: reminding the user to take medicine through the Bluetooth headset at 8:00 am every day. Then the user can click on control 2331. In response to the user's operation of clicking on control 2331, the electronic device can display the added Bluetooth device options (not shown in the figure). The user can select the Bluetooth device for performing the task, such as a Bluetooth headset, through the Bluetooth device options. The user can also click on Figure 23 In the manner of the control 2332 shown in (c), in response to the user's operation of clicking on the control 2332, the electronic device may display a task creation interface (not shown in the figure), and the electronic device may create a task in the task creation interface. For example, the created task may be to remind the user to take medicine.
[0182] After the user creates the trigger condition and the execution task through the above operations, the user may click Figure 23 on the control 2333 shown in (c) of, and in response to the user's operation of clicking on the control 2333, the electronic device displays Figure 23 the interface 2340 shown in (d) of. The interface 2340 includes the created trigger condition 2341 and the created execution task 2342. The interface 2340 also includes a control 2343. The user may click on the control 2343, and in response to the user's operation of clicking on the control 2343, the electronic device determines that the creation of the user's current scenario is completed. After that, when displaying Figure 20 the interface 2000 shown, the interface 2000 includes scenario controls, such as the control 2010 and the control 2011.
[0183] In some embodiments, the electronic device may also recommend scenarios to the user through Figure 13 the interface 1350 shown in (e) of. Exemplarily, please refer to Figure 24 , Figure 24 which is a schematic diagram of an interface 2400 provided by an embodiment of the present application. Figure 24 The interface 2400 shown includes a control 2410 and a control 2420. The recommended scenario corresponding to the control 2410 is a daily water drinking reminder. For example, at 10:00 am every day, the user is reminded to drink water through a Bluetooth device. The recommended scenario corresponding to the control 2420 is a weather forecast. For example, at 10:00 am every day, the user is informed of the weather of the day through a Bluetooth headset.
[0184] Figure 25 is a schematic diagram of another scenario creation provided by an embodiment of the present application. It shows the process of the user creating a scenario through the scenarios recommended by the electronic device.
[0185] The user may click on the control 2410 in Figure 24 the interface 2400 shown. In response to the user's operation of clicking on the control 2410, the electronic device displays an interface 2500 as shown in Figure 25 . The interface includes a control 2510 and a control 2511. The user may click on the control 2510. In response to the user's operation of clicking on the control 2510, the electronic device creates a recommended scenario. For example, the created scenario may be to remind the user to drink water through a Bluetooth device at 10:00 am every day. After the user clicks on the control 2510, the user may click on the control 2511. In response to the user's operation of clicking on the control 2511, the electronic device determines that the creation of the recommended scenario is completed. After that, when displaying Figure 20 When the interface 2000 as shown, the interface 2000 includes scene controls, such as control 2010 and control 2011.
[0186] In related solutions, when an electronic device controls a Bluetooth device within the ecosystem, it can control basic parameters of the Bluetooth device, such as noise and volume. Exemplarily, please refer to Figure 26 , Figure 26 is a schematic diagram of a control interface in a related solution provided. The electronic device can reduce the noise of the Bluetooth device through the control 2610 shown in Figure 26 and can adjust the volume of the Bluetooth device through control 2611. However, the electronic device cannot control advanced parameters of the Bluetooth device through related solutions, such as battery power, sound effects, etc. In the embodiments of the present application, the electronic device can display an image of the Bluetooth device, display the battery information of the Bluetooth device, and sound effect controls in the interface 1350 shown in (e) of Figure 13 . The user can identify the Bluetooth device outside the ecosystem through the image of the Bluetooth device, view the battery power of the Bluetooth device through the battery information of the Bluetooth device, switch the playback sound effect of the Bluetooth device through the sound effect control, and Figure 20 the interface 2000 shown also includes scene controls. The electronic device enables the Bluetooth device to execute the created scene through the trigger conditions and execution tasks created in the scene controls, such as reminding the user to take medicine through the Bluetooth device at 8:00 every morning, and reminding the user to punch in through the Bluetooth device after arriving at the company. In summary, the present application can control advanced parameters of the Bluetooth device through the electronic device, improving the user experience.
[0187] The above embodiments introduce the process in which the user starts the Smart Space App after connecting the electronic device to the Bluetooth device and adds the Bluetooth device in the App. Please refer to Figure 27 , Figure 27 is another schematic diagram of adding a Bluetooth device by the electronic device provided in the embodiments of the present application. It shows that during the user's use of the Smart Space App, the electronic device executes the connection process with the Bluetooth device. After the electronic device and the Bluetooth device are successfully connected, the process of the electronic device adding the Bluetooth device in the App.
[0188] Figure 27 The interface 2710 shown in (a) of Figure 27 includes an icon 2711. The user can click on the icon 2711. In response to the operation of the user clicking on the icon 2711, the electronic device displays the interface 2720 shown in (b) of Figure 27 When the user wants to connect and add a Bluetooth device when the interface 2720 shown in (b) in [description] is displayed, the user can slide up from the bottom of the screen in the interface 2720, and the electronic device responds to the operation of the user sliding up from the bottom of the screen and displays Figure 27 the interface 2710 shown in (a) in [description]. Then the user can add a Bluetooth device in the App in the following ways:
[0189] The user can Figure 27 perform the Figure 3 or Figure 4 shown operations in the interface 2710 shown in (a) in [description]. The electronic device responds to the Figure 3 or Figure 4 shown operations performed by the user, controls the Bluetooth device to be in the on state. When the Bluetooth device is in the on state, the electronic device can search for Bluetooth devices in a scannable state. When a Bluetooth device is found, the electronic device can display Figure 5 the pop-up window 511 shown in [description]. The user can click the control 513 in the Figure 5 shown pop-up window 511. The electronic device responds to the operation of the user clicking the control 513 and executes the connection process with the Bluetooth device to complete the connection with the Bluetooth device. After the electronic device is connected to the Bluetooth device, the electronic device displays Figure 27 the interface 2710 shown in (a) in [description], or when a Bluetooth device is found, the electronic device can display Figure 8 the pop-up window 511 shown in [description]. The user can click the control 513 in the Figure 8 shown pop-up window 511. The electronic device responds to the operation of the user clicking the control 513 and executes the connection process with the Bluetooth device to complete the connection with the Bluetooth device. After the electronic device is connected to the Bluetooth device, the electronic device displays Figure 3 the interface 330 shown in (c2) in [description]. The user can slide up from the bottom of the screen in the interface 330, and the electronic device responds to the operation of the user sliding up from the bottom of the screen and displays the interface 2710 shown in (a) in [description], or when the Bluetooth device is in the on state, the electronic device can search for Bluetooth devices in a scannable state. When a Bluetooth device is found and the electronic device completes the connection with the Bluetooth device, it displays the pop-up window 911 shown in [description]. The user can click the control 912 in the shown pop-up window 911. The electronic device responds to the operation of the user clicking the control 912 and displays the interface 2710 shown in (a) in [description], or when the Bluetooth device is in the on state, the electronic device can search for Bluetooth devices in a scannable state. When a Bluetooth device is found and the electronic device completes the connection with the Bluetooth device, it displays the pop-up window 1111 shown in [description]. The user can Click on the control 1112 in the pop-up window 1111 shown. In response to the user's operation of clicking on the control 1112, the electronic device displays the interface 2710 shown in (a) of
[0190] Subsequently, the user can slide up from the bottom of the screen and pause in the interface 2710 shown in (a) of In response to the user's operation of sliding up from the bottom of the screen and pausing, the electronic device displays the interface 2730 shown in (c) of . The interface 2730 includes at least one previously opened interface. For example, interface 1320 and interface 330. The user can click on interface 1320. In response to the user's operation of clicking on interface 1320, the electronic device displays the interface 1320 shown in (b) of The interface 1320 includes a pop-up window 1321. Subsequently, the user can add a Bluetooth device through the operations shown in (b) to (e) of
[0191] In some embodiments, after the electronic device displays the interface 2710 shown in (a) of the user can add a Bluetooth device in the App in the following ways:
[0192] The user performs the operation shown in (a) of the interface 2710. In response to the operation performed by the user or shown. In response to the or operation shown, the electronic device controls the Bluetooth device to be in an on state. When the Bluetooth device is in an on state, the electronic device can search for Bluetooth devices in a scannable state. When a Bluetooth device is found, the electronic device completes the connection with the Bluetooth device through a reconnection method and displays the pop-up window 1111 shown. The user can click on the control 1113 in the pop-up window 1111 shown in In response to the user's operation of clicking on the control 1113, the electronic device displays the interface 1330 shown in (c) of Subsequently, the user can add a Bluetooth device through the operations shown in (c) to (e) of
[0193] In some embodiments, after the electronic device displays the interface 2710 shown in (a) of the user can add a Bluetooth device in the App in the following ways:
[0194] The user performs the operation shown in (a) of the interface 2710. In response to the user's operation of performing or The operations shown, the electronic device responds to the user's execution of or The operations shown, control the Bluetooth device to be in the on state. The electronic device can search for Bluetooth devices in a scannable state. When a Bluetooth device is found, the electronic device displays The pop-up window 511 shown. The user can Click the control 513 in the pop-up window 511 shown. The electronic device responds to the user's operation of clicking the control 513 and executes the connection process with the Bluetooth device to complete the connection with the Bluetooth device. After the electronic device is connected to the Bluetooth device, the electronic device displays The pop-up window 1111 shown. The user can Click the control 1113 in the pop-up window 1111 shown. The electronic device responds to the user's operation of clicking the control 1113 and displays The interface 1330 shown in (c) of After that, the user can add a Bluetooth device through the operations shown in (c) to (e) of
[0195] In some embodiments, after the electronic device displays The interface 2710 shown in (a) of
[0196] The user can Execute in the interface 2710 shown in (a) of or The operations shown. The electronic device responds to the user's execution of or The operations shown, control the Bluetooth device to be in the on state. When the Bluetooth device is in the on state, the electronic device can search for Bluetooth devices in a scannable state. When a Bluetooth device is found, the electronic device can display The pop-up window 511 shown. The user can Click the control 513 in the pop-up window 511 shown. The electronic device responds to the user's operation of clicking the control 513 and executes the connection process with the Bluetooth device to complete the connection with the Bluetooth device. After the electronic device is connected to the Bluetooth device, the electronic device displays The interface 2810 shown, or when a Bluetooth device is found, the electronic device can display The pop-up window 511 shown. The user can Click the control 513 in the pop-up window 511 shown. The electronic device responds to the user's operation of clicking the control 513 and executes the connection process with the Bluetooth device to complete the connection with the Bluetooth device. After the electronic device is connected to the Bluetooth device, the electronic device The interface 330 shown in (c2), the user can slide up from the bottom of the screen in the interface 330, and the electronic device responds to the operation of the user sliding up from the bottom of the screen and displays the interface 2810 shown, or when the Bluetooth device is in the on state, the electronic device can search for Bluetooth devices in a scannable state. When a Bluetooth device is found, the electronic device completes the connection with the Bluetooth device by means of reconnection and displays the pop-up window 911 shown. The user can click on the control 912 in the pop-up window 911 shown. The electronic device responds to the operation of the user clicking on the control 912 and displays the interface 2810 shown, or when the Bluetooth device is in the on state, the electronic device can search for Bluetooth devices in a scannable state. When a Bluetooth device is found, the electronic device completes the connection with the Bluetooth device by means of reconnection and displays the pop-up window 1111 shown. The user can click on the control 1112 in the pop-up window 1111 shown. The electronic device responds to the operation of the user clicking on the control 1112 and displays the interface 2810 shown.
[0197] Please refer to , which is a schematic diagram of another interface 2810 provided by an embodiment of the present application. The interface 2810 shown includes a pop-up window 2811, and the pop-up window 2811 includes a control 2812 and a control 2813. The user can click on the control 2812, and the electronic device responds to the operation of the user clicking on the control 2812. The electronic device cancels the process of adding a Bluetooth device. The user can click on the control 2813, and the electronic device responds to the operation of the user clicking on the control 2813 and displays as shown in the interface 1330 shown in (c) of After that, the user can add a Bluetooth device through the operations shown in (c) to (e) of
[0198] The above embodiments introduce the process of the user adding a Bluetooth device through a pop-up window. The following embodiments introduce the process of the user adding a Bluetooth device when the electronic device does not display a pop-up window.
[0199] Please refer to , which is a schematic diagram of another electronic device adding a Bluetooth device provided by an embodiment of the present application. The interface 2910 shown in (a) therein includes a control 2911. When the electronic device completes the connection with the Bluetooth device (the connection method between the electronic device and the Bluetooth device can refer to the above embodiments and will not be elaborated here), the user can click on the control 2911. In response to the user's operation of clicking on the control 2911, the electronic device displays as shown in the interface 2920 shown in (b) therein. The interface 2920 includes a control 2921. The user can click on the control 2921. In response to the user's operation of clicking on the control 2921, the electronic device displays the interface 2930 shown in (c) therein. The interface 2930 includes a control 2931. In response to the user's operation of clicking on the control 2931, the electronic device displays the interface 2940 shown in (d) therein. The interface 2940 includes a control 1331, and the control 1331 is in a closed state. It should be understood that in the above embodiments, before the user adds a Bluetooth device through the pop-up window 1321 shown in (e) therein, the user can click on the control 1331. In response to the user's operation of clicking on the control 1331, the electronic device controls the control 1331 to switch from the closed state to the open state. The interface 2940 shown in (d) therein further includes a control 1332. The user can click on the control 1332. In response to the user's operation of clicking on the control 1332, the electronic device displays the interface 1340 shown in (d) therein. Based on the above operations, the user completes the addition of the Bluetooth device on the electronic device. After that, the user can click on the control 1343 shown in (d) therein. In response to the user's operation of clicking on the control 1343, the electronic device displays as shown in the interface 1350 shown in (e) therein. The user can control the Bluetooth device in the interface 1350.
[0200] It should be understood that when the electronic device is connected to multiple Bluetooth devices outside the ecosystem (such as a Bluetooth headset and a Bluetooth speaker), the interface 2940 shown in (d) therein may further include multiple controls. For example, please refer to , which is another schematic diagram of an added control provided by the embodiments of the present application. The interface 3000 shown in therein includes a control 1332 and a control 1333. The user can click on the control 1332 or the control 1333. In response to the user's operation of clicking on the control 1332 or the control 1333, the electronic device displays the interface 1340 shown in (d) therein. The embodiments of the present application use the user's clicking on the control 1332 as an illustrative example.
[0201] Please refer to , is a schematic diagram of another electronic device adding a Bluetooth device provided by an embodiment of the present application. In the interface 3110 shown in (a) of , it includes a control 3111. When the electronic device completes the connection with the Bluetooth device (the connection method between the electronic device and the Bluetooth device can refer to the above embodiment and will not be elaborated here), the user can click the control 3111, and the electronic device responds to the operation of the user clicking the control 3111 and displays the control 3121 shown in (b) of . The user can click the control 3121, and the electronic device responds to the operation of the user clicking the control 3121 and displays the interface 3130 shown in (c) of . The electronic device searches for Bluetooth devices through the interface 3130. When the electronic device searches for a Bluetooth device, it displays the interface 3140 shown in (d1) of . The interface 3140 includes a control 3141. The user can click the control 3141, and the electronic device responds to the operation of the user clicking 3141 and displays the interface 3150 shown in (e) of . Based on the above operations, the user can add a Bluetooth device to the electronic device.
[0202] In some embodiments, when the electronic device is connected to multiple Bluetooth devices outside the ecosystem (such as Bluetooth headsets and Bluetooth speakers), the electronic device can search for multiple Bluetooth devices through the interface 3130, and multiple Bluetooth devices can be displayed in the interface 3140, such as the interface 3140 shown in (d2) of includes a control 3141 and a control 3142. The user can click the control 3141 or the control 3142, and the electronic device responds to the operation of the user clicking the control 3141 or the control 3142, and the electronic device displays the interface 3150 shown in (e) of . The embodiment of the present application takes the user clicking the control 3141 as an illustrative example.
[0203] The above embodiments introduce the process of the electronic device discovering a Bluetooth device, the process of the electronic device connecting to a Bluetooth device, and the process of the electronic device adding a Bluetooth device. It should be understood that the Bluetooth devices added by the electronic device in the above embodiments are Bluetooth devices outside the ecosystem. Therefore, before the electronic device adds a Bluetooth device, the electronic device needs to determine whether the Bluetooth device is a Bluetooth device outside the ecosystem. The following embodiments introduce the implementation process of the electronic device determining that the Bluetooth device is a Bluetooth device outside the ecosystem.
[0204] Please refer to , It is a schematic flowchart of a method 3200 for determining that a Bluetooth device is a Bluetooth device outside the ecosystem provided by an embodiment of the present application. The method 3200 includes S3210 to S3250.
[0205] S3210. The electronic device obtains information of the Bluetooth device.
[0206] It should be understood that during the first connection or reconnection between the electronic device and the Bluetooth device, the Bluetooth device can actively send broadcast packets at a certain broadcast interval, and the broadcast packets include information of the Bluetooth device. After receiving the broadcast packets, the electronic device can obtain the information of the Bluetooth device.
[0207] In some embodiments, the electronic device can also actively send a scan request to the Bluetooth device. After receiving the scan request, the Bluetooth device needs to send a scan response packet for reply, and the scan response packet includes information of the Bluetooth device. After receiving the scan response packet, the electronic device can obtain the information of the Bluetooth device.
[0208] In some embodiments, the electronic device can also obtain the information of the Bluetooth device by registering to listen for broadcasts. Specifically, after registering to listen for broadcasts, the electronic device can listen to the status of the Bluetooth device through listening to broadcasts, and the status of the Bluetooth device includes information of the Bluetooth device. Exemplarily, the broadcast to be listened to can be ACTION_ACL_CONNECTED. The embodiments of the present application do not limit the manner in which the electronic device obtains the information of the Bluetooth device.
[0209] It should also be understood that the information of the Bluetooth device includes one or more of the following information: the type information of the Bluetooth device, the name of the Bluetooth device, the identifier of the Bluetooth device manufacturer, the battery information of the Bluetooth device, and the style information of the Bluetooth device.
[0210] The type information of the Bluetooth device is used to characterize the attributes of the Bluetooth device's capabilities. The types of Bluetooth devices include video recorders, in-vehicle devices, Bluetooth headsets, wearable devices, wearable earphones, over-ear noise-canceling headphones, Bluetooth speakers, etc.
[0211] Each Bluetooth device has its own name, usually a combination of letters and numbers. The name of the Bluetooth device is used to characterize the Bluetooth device. The name of the Bluetooth device can be Device Name or Local Name. The embodiments of the present application do not limit this. The name of the Bluetooth device can include the name of the Bluetooth device manufacturer and the model of the Bluetooth device. Exemplarily, the name of the Bluetooth headset can be Model A1 of Brand A.
[0212] The identifier of a Bluetooth device manufacturer refers to the unique number assigned by the Bluetooth SIG to the Bluetooth device manufacturer after the manufacturer registers with the Bluetooth SIG. An electronic device can obtain the identifier of the Bluetooth device manufacturer by parsing the broadcast packet or the scan response packet.
[0213] The electronic device can obtain the power information of the Bluetooth device in the following way: the Bluetooth device can report the power information of the Bluetooth device to the electronic device through the broadcast packet or the scan response packet, and the electronic device can obtain the power information of the Bluetooth device by parsing the broadcast packet or the scan response packet. The embodiments of the present application do not limit the way for the electronic device to obtain the power information of the Bluetooth device.
[0214] The style information of the Bluetooth device is used to characterize the attributes of the use of the Bluetooth device. The styles of the Bluetooth device include: audio device, computer, microphone, external device, telephone, etc.
[0215] S3220. The electronic device determines whether the Bluetooth device is an audio device according to the information of the Bluetooth device.
[0216] In implementation, the electronic device can determine whether the Bluetooth device is an audio device according to the type information of the Bluetooth device.
[0217] Suppose the type information of the Bluetooth device obtained by the electronic device is a Bluetooth headset, a wearable headset, a noise-canceling headset, or a Bluetooth speaker, etc. Then the electronic device can determine that the Bluetooth device is an audio device. Exemplarily, if the type information of the Bluetooth device obtained by the electronic device is AUDIO_VIDEO_WEARABLE_HEADSET (this type information is used to indicate a wearable headset), AUDIO_VIDEO_HEADPHONES (this type information is used to indicate a noise-canceling headset), then it is determined that the Bluetooth device is an audio device.
[0218] Suppose the type information of the Bluetooth device obtained by the electronic device is a video recorder, a wearable device, etc. Then the electronic device can determine that the Bluetooth device is a non-audio device.
[0219] Exemplarily, if the type information of the Bluetooth device obtained by the electronic device is AUDIO_VIDEO_CAMCORDER (this type is used to indicate a video recorder), AUDIO_VIDEO_VIDEO_MONITOR (this type is used to indicate a wearable device), then the electronic device can determine that the Bluetooth device is a non-audio device.
[0220] In some embodiments, the electronic device can also determine whether the Bluetooth device is an audio device according to the style information of the Bluetooth device. Exemplarily, assuming that the style information of the Bluetooth device obtained by the electronic device is AUDIO_VIDE (this style is used to indicate an audio device), then it is determined that the Bluetooth device is an audio device. Assuming that the style information of the Bluetooth device obtained by the electronic device is PHONE (this style is used to indicate a phone), then the electronic device can determine that the Bluetooth device is a non-audio device.
[0221] It should also be understood that after the electronic device determines that the Bluetooth device is a non-audio device, the process of determining that the Bluetooth device is a Bluetooth device outside the ecosystem ends. After the electronic device determines that the Bluetooth device is an audio device, step 3230 is executed.
[0222] S3230. The electronic device determines whether the Bluetooth device is a Bluetooth device within the ecosystem according to the information of the Bluetooth device.
[0223] In implementation, the electronic device can determine whether the Bluetooth device is in Whitelist 1 according to the name of the Bluetooth device or the identifier of the Bluetooth device manufacturer. If it is determined that the Bluetooth device is in Whitelist 1, then it is determined that the Bluetooth device is a Bluetooth device within the ecosystem.
[0224] It should be understood that the electronic device can configure some Bluetooth devices within the ecosystem in Whitelist 1. Whitelist 1 includes the names of the Bluetooth devices within the ecosystem and the identifiers of the Bluetooth device manufacturers. Exemplarily, Whitelist 1 can refer to Table 1:
[0225] Table 1
[0226] Name of the Bluetooth device Identifier of the Bluetooth device manufacturer Name 1 01 Name 2 02 Name 3 03
[0227] Assuming that the name of the Bluetooth device obtained by the electronic device is Name 1, then it is determined that the Bluetooth device is in Whitelist 1. Assuming that the identifier of the Bluetooth device manufacturer obtained by the electronic device is 03, then it is determined that the Bluetooth device is in Whitelist 1.
[0228] It should also be understood that after the electronic device determines that the Bluetooth device is in Whitelist 1, the process of determining that the Bluetooth device is a Bluetooth device outside the ecosystem ends. After the electronic device determines that the Bluetooth device is not in Whitelist 1, step 303 or step 304 is executed.
[0229] S3240. The electronic device determines that the Bluetooth device is a Bluetooth device outside the ecosystem according to the battery power of the Bluetooth device.
[0230] It should be understood that some Bluetooth devices outside the ecosystem have the ability to report the battery level of the Bluetooth device to the electronic device through broadcast messages or scan response messages. Therefore, in implementation, when the electronic device determines that the Bluetooth device is not in Whitelist 1, it can determine whether the Bluetooth device is a Bluetooth device outside the ecosystem based on whether it can obtain the battery level of the Bluetooth device. For example, if the electronic device can obtain the battery level of the Bluetooth device, it determines that the Bluetooth device is a Bluetooth device outside the ecosystem.
[0231] S3250, the electronic device determines that the Bluetooth device is a Bluetooth device outside the ecosystem of the electronic device based on the name of the Bluetooth device or the identifier of the Bluetooth device manufacturer.
[0232] It should be understood that some Bluetooth devices outside the ecosystem do not have the ability to report the battery level of the Bluetooth device to the electronic device. The electronic device can configure the Bluetooth devices outside the ecosystem that do not have the ability to report the battery level of the Bluetooth device to the electronic device in Whitelist 2. For example, Whitelist 2 includes the name of the Bluetooth device outside the ecosystem and the identifier of the Bluetooth device manufacturer. Then, in implementation, the electronic device determines whether the Bluetooth device is in Whitelist 2 based on the name of the Bluetooth device or the identifier of the Bluetooth device manufacturer. If it determines that the Bluetooth device is in Whitelist 2, it determines that the Bluetooth device is a Bluetooth device outside the ecosystem.
[0233] It should be noted that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. For example, in the above embodiments, it can first determine that the Bluetooth device is a Bluetooth device outside the ecosystem through S3230 to S3250, and then determine whether the device is an audio device through S3220. The present application does not make any limitation on this.
[0234] In the embodiments of the present application, the electronic device can determine that the Bluetooth device is a Bluetooth device outside the ecosystem based on the information of the Bluetooth device, and then add the Bluetooth device outside the ecosystem to the electronic device to realize the control of the Bluetooth device outside the ecosystem. Compared with the related solutions that can only control the Bluetooth devices within the ecosystem, the user experience is improved.
[0235] In some embodiments, the implementation process of the electronic device determining that the Bluetooth device is a Bluetooth device outside the ecosystem can also be: the electronic device can configure the Bluetooth devices outside the ecosystem in Whitelist 3. For example, Whitelist 3 includes the name of the Bluetooth device outside the ecosystem and the identifier of the Bluetooth device manufacturer. The electronic device can query Whitelist 3. Assuming that there is a Bluetooth device outside the ecosystem in the whitelist, it determines that the electronic device is a Bluetooth device outside the ecosystem.
[0236] It should be understood that during the process of the electronic device connecting to the Bluetooth device introduced in the above embodiments, the electronic device can Figure 5 The pop-up window 511 shown displays an image of a Bluetooth device. The electronic device can Figure 9 The pop-up window 911 shown displays an image of a Bluetooth device. The electronic device can Figure 11 The pop-up window 1111 shown displays an image of a Bluetooth device. During the process of the electronic device adding a Bluetooth device introduced in the above embodiments, the electronic device can Figure 13 The interface 1350 shown in (e) of Figure 17 displays an image of a Bluetooth device. The electronic device displays an image of a Bluetooth device in the interface shown below. The following embodiments introduce the implementation process of the electronic device displaying an image of a Bluetooth device.
[0237] Please refer to Figure 33 , Figure 33 FIG. is a schematic flowchart of a method 3300 for an electronic device to display an image of a Bluetooth device provided by an embodiment of the present application. The method 3300 includes: S3310 to S3350.
[0238] S3310. The electronic device obtains the model identifier of the Bluetooth device.
[0239] It should be understood that the information of the Bluetooth device includes the model identifier of the Bluetooth device. After the electronic device obtains the information of the Bluetooth device through S3210, it can obtain the model identifier of the Bluetooth device.
[0240] S3320. The electronic device sends the model identifier of the Bluetooth device to the server.
[0241] The server involved in the embodiments of the present application refers to a computer hardware or software (computer program) that can provide functions for other programs or devices. The server can be a cloud server, a server cluster composed of multiple servers, etc. The embodiments of the present application do not limit the device form of the server.
[0242] S3330. The server determines the image of the Bluetooth device corresponding to the model identifier according to the model identifier of the Bluetooth device.
[0243] It should be understood that the server stores the correspondence between the model identifier and the image of the Bluetooth device, and each model identifier corresponds to an image of a Bluetooth device. In implementation, the server can query the image of the Bluetooth device corresponding to the model identifier in this correspondence. The correspondence between the model identifier and the image of the Bluetooth device can refer to Table 2. Exemplarily:
[0244] Table 2
[0245] Model identification Bluetooth device ID1 Image 1 ID2 Image 1 ID3 Image 1 ID4 Image 1 ID5 Image 2 ID6 Image 3
[0246] In Table 2, ID1 to ID4 are the model IDs of the out-of-ecosystem Bluetooth devices, Image 1 is the image of the out-of-ecosystem Bluetooth devices corresponding to ID1 to ID4, ID5 and ID6 are the model IDs of the in-ecosystem Bluetooth devices, ID5 corresponds to Image 2, ID6 corresponds to Image 3. The images of the Bluetooth devices queried by the server in Table 2 according to ID1, ID2, ID3 or ID4 are all Image 1. After the image of the Bluetooth device is queried as Image 1, Image 1 is determined as the image of the Bluetooth device corresponding to the model identifier.
[0247] The image of the Bluetooth device queried by the server in Table 2 according to ID5 is Image 2. After the image of the Bluetooth device is queried as Image 2, Image 2 is determined as the image of the Bluetooth device corresponding to the model identifier. According to ID6, the image of the Bluetooth device queried by the server in Table 2 is Image 3. After the image of the Bluetooth device is queried as Image 3, Image 3 is determined as the image of the Bluetooth device corresponding to the model identifier.
[0248] S3340, the server returns the image of the Bluetooth device to the electronic device.
[0249] S3350, the electronic device displays the image of the Bluetooth device.
[0250] In the embodiments of the present application, the electronic device can send the model identifier of the Bluetooth device to the server. The server determines the image of the Bluetooth device corresponding to the model identifier of the in-ecosystem Bluetooth device or the out-of-ecosystem Bluetooth device according to the corresponding relationship between the model identifier of the Bluetooth device and the image of the Bluetooth device. Thus, when the electronic device connects or adds an out-of-ecosystem Bluetooth device, the same image can be displayed in the Bluetooth device image, and when the electronic device connects or adds an in-ecosystem Bluetooth device, different images can be displayed in the Bluetooth device image. Compared with the related solutions that can only display the images of the in-ecosystem Bluetooth devices to the user, the user can distinguish whether the Bluetooth device is an out-of-ecosystem Bluetooth device according to the image of the Bluetooth device displayed by the electronic device, improving the user experience. Moreover, in the embodiments of the present application, the corresponding relationship between the model identifier and the image of the Bluetooth device and the image of the Bluetooth device are stored in the server, which can save the storage resources of the electronic device, and in the embodiments of the present application, the image of the Bluetooth device corresponding to the model identifier is determined in the server, which can reduce the amount of data that the electronic device needs to process and improve the running speed of the electronic device.
[0251] In other embodiments, when the electronic device connects to or adds a Bluetooth device outside the ecosystem, the electronic device can also display images of different Bluetooth devices. For example, the electronic device can, according to whether the Bluetooth device outside the ecosystem has the ability to report the battery level to the electronic device, display one type of image for a Bluetooth device that has the ability to report the battery level to the electronic device and display another type of image for a Bluetooth device that does not have the ability to report the battery level to the electronic device. In implementation, the electronic device can first determine whether the Bluetooth device has the ability to report the battery level to the electronic device. The implementation process of determining whether the Bluetooth device has the ability to report the battery level to the electronic device can refer to the above embodiments and will not be elaborated here. Then, when executing S3310 to S3350, in this embodiment, the correspondence between the model identifier and the image of the Bluetooth device can refer to Table 3. Exemplarily:
[0252] Table 3
[0253] Model identification Image of the Bluetooth device ID1 Image 1.1 ID2 Image 1.1 ID3 Image 1.2 ID4 Image 1.2 ID5 Image 2 ID6 Image 3
[0254] In Table 3, ID1 and ID2 are the model IDs of Bluetooth devices outside the ecosystem that do not have the ability to report the battery level. Image 1.1 is the image of the Bluetooth device outside the ecosystem corresponding to ID1 and ID2 that does not have the ability to report the battery level. ID3 and ID4 are the model IDs of Bluetooth devices outside the ecosystem that have the ability to report the battery level. Image 1.2 is the image of the Bluetooth device outside the ecosystem corresponding to ID3 and ID4 that has the ability to report the battery level. When the electronic device queries according to ID1 or ID2, the image of the Bluetooth device queried in Table 3 is all Image 1.1. After querying that the image of the Bluetooth device is Image 1.1, the electronic device determines Image 1.1 as the image of the Bluetooth device corresponding to the model identifier. When the electronic device queries according to ID3 or ID4, the image of the Bluetooth device queried in Table 3 is all Image 1.2. After querying that the image of the Bluetooth device is Image 1.2, the electronic device determines Image 1.2 as the image of the Bluetooth device corresponding to the model identifier. Therefore, when the electronic device connects to or adds a Bluetooth device outside the ecosystem, it can display different images.
[0255] In the embodiments of the present application, the electronic device can send the model identifier of the Bluetooth device to the server. The server determines the image of the Bluetooth device corresponding to the model identifier of the Bluetooth device outside the ecosystem that has the ability to report the battery level or the Bluetooth device outside the ecosystem that does not have the ability to report the battery level according to the model identifier of the Bluetooth device and the correspondence between the model identifier and the image of the Bluetooth device. Thus, when the electronic device connects to or adds a Bluetooth device outside the ecosystem that has the ability to report the battery level or does not have the ability to report the battery level, the electronic device can display different images. The user can, according to the different images, distinguish whether the Bluetooth device outside the ecosystem has the ability to report the battery level, improving the user experience.
[0256] In other embodiments, the electronic device can also display different images on the electronic device when connecting to or adding a Bluetooth device outside the ecosystem according to the type of the Bluetooth device outside the ecosystem. In implementation, the electronic device can first determine the type of the Bluetooth device. For example, the electronic device can determine the type of the Bluetooth device according to the obtained type information of the Bluetooth device. For instance, assuming the type information of the Bluetooth device obtained by the electronic device is a Bluetooth headset, a wearable headset, a noise-canceling headset, etc., then it is determined that the type of the Bluetooth device is a headset type. Assuming the type information of the Bluetooth device obtained by the electronic device is a Bluetooth speaker, a smart speaker, etc., then it is determined that the type of the Bluetooth device is a speaker type. Then, steps S3310 to S3350 are executed. In this embodiment, the correspondence between the model identifier and the image of the Bluetooth device can refer to Table 4. Exemplarily:
[0257] Table 4
[0258] Model identification Image of the Bluetooth device ID1 Image 1.3 ID2 Image 1.3 ID3 Image 1.4 ID4 Image 1.4 ID5 Image 2 ID6 Image 3
[0259] In Table 4, ID1 and ID2 are the model IDs of a type outside the ecosystem (such as the headset type), Image 1.3 is the image of the Bluetooth device of the headset type outside the ecosystem corresponding to ID1 and ID2, D3 and ID4 are the model IDs of another type of Bluetooth device outside the ecosystem (such as the speaker type), Image 1.4 is the image of the Bluetooth device of the speaker type outside the ecosystem corresponding to ID3 and ID4. The electronic device queries the image of the Bluetooth device in Table 4 according to ID1 or ID2, and the image of the Bluetooth device obtained is Image 1.3. After querying that the image of the Bluetooth device is Image 1.3, Image 1.3 is determined as the image of the Bluetooth device corresponding to the model identifier. The electronic device queries the image of the Bluetooth device in Table 4 according to ID3 or ID4, and the image of the Bluetooth device obtained is Image 1.4. After querying that the image of the Bluetooth device is Image 1.4, the image resource corresponding to Image 1.4 is determined as the image of the Bluetooth device corresponding to the model identifier. Therefore, when the electronic device connects to or adds a Bluetooth device outside the ecosystem, different images can be displayed on the electronic device.
[0260] In the embodiment of the present application, the electronic device can send the model identifier of the Bluetooth device to the server. The server determines the image of the Bluetooth device corresponding to the model identifier of different types of Bluetooth devices outside the ecosystem according to the model identifier of the Bluetooth device and the correspondence between the model identifier and the image of the Bluetooth device. Thus, when the electronic device connects to or adds different types of Bluetooth devices outside the ecosystem, different images can be displayed, and the user can distinguish the type of the Bluetooth device outside the ecosystem according to the different images, improving the user experience.
[0261] Of course, in other embodiments, the images of the Bluetooth devices corresponding to each model identifier can all be different, and the electronic device can display different images according to different model identifiers. The embodiment of the present application does not limit this.
[0262] It should also be understood that the correspondence between the model identifier and the image of the Bluetooth device in the above embodiments can also be stored in the memory. Therefore, the internal implementation process of the electronic device displaying the image of the Bluetooth device can also be: Exemplarily, please refer to Figure 34 , Figure 34 FIG. 3400 is a schematic flowchart of a method for an electronic device to display an image of a Bluetooth device provided by an embodiment of the present application. Method 3400 includes: S3410 to S806.
[0263] S3410, the electronic device obtains the model identifier of the Bluetooth device.
[0264] The implementation process of this step can refer to the above embodiments and will not be elaborated here.
[0265] S3420, the electronic device sends an instruction to the memory to obtain the correspondence between the model identifier and the image of the Bluetooth device.
[0266] It should be understood that the correspondence between the model identifier and the image of the Bluetooth device can refer to the above embodiments and will not be elaborated here.
[0267] S3430, the memory returns the correspondence between the model identifier and the image of the Bluetooth device to the electronic device.
[0268] S3440, the electronic device determines the image of the Bluetooth device corresponding to the model identifier according to the model identifier of the Bluetooth device and the correspondence between the model identifier and the image of the Bluetooth device.
[0269] The implementation process of this step can refer to the above embodiments and will not be elaborated here.
[0270] S3450, the electronic device displays the image of the Bluetooth device.
[0271] In the embodiment of the present application, the electronic device can determine the image of the Bluetooth device corresponding to the model identifier of the Bluetooth device inside or outside the ecosystem according to the model identifier of the Bluetooth device and the correspondence between the model identifier and the image of the Bluetooth device returned by the memory. Thus, when the electronic device connects to or adds a Bluetooth device outside the ecosystem, the electronic device can display the same image, and when the electronic device connects to or adds a Bluetooth device inside the ecosystem, the electronic device can display different images in the image of the Bluetooth device. Compared with the related solution that can only display the image of the Bluetooth device inside the ecosystem to the user, the user can distinguish whether the Bluetooth device is a Bluetooth device outside the ecosystem according to the image of the Bluetooth device, improving the user experience.
[0272] Moreover, in related solutions, when adding multiple Bluetooth devices within the ecosystem to an electronic device, different images can be displayed by means of a large number of stored image resources (such as image resources of multiple Bluetooth devices). However, in the embodiments of the present application, when adding multiple Bluetooth devices outside the ecosystem to the electronic device, by means of a small number of stored image resources (such as image resources of one Bluetooth device), the images of the multiple Bluetooth devices outside the ecosystem displayed by the electronic device are the same. Compared with related solutions, the embodiments of the present application can save storage resources when storing image resources and improve the display rate of the images of Bluetooth devices outside the ecosystem displayed by the electronic device.
[0273] It should be understood that during the process of the electronic device connecting to a Bluetooth device introduced in the above embodiments, the electronic device can display the power information of the Bluetooth device in the pop-up window 511 shown in Figure 5 , Figure 6 , Figure 7 or Figure 8 . The electronic device can also display the power information of the Bluetooth device in the pop-up window 911 shown in Figure 9 , Figure 10 , Figure 11 or Figure 12 . Moreover, during the process of the electronic device adding a Bluetooth device introduced in the above embodiments, the electronic device can display the power information of the Bluetooth device in (e) in Figure 13 , Figure 17 , Figure 18 , Figure 20 or Figure 24 shown in the interface 1350. The following embodiments introduce the implementation process of the electronic device displaying the power information.
[0274] Exemplarily, please refer to Figure 35 , Figure 35 , which is a schematic flowchart of a method 3500 for an electronic device to display the power information of a Bluetooth device provided by an embodiment of the present application. The method 3500 includes S3510 to S3540.
[0275] S3510: The electronic device sends an instruction to the Bluetooth device to obtain the power of the Bluetooth device.
[0276] S3520: After receiving the instruction to obtain the power of the Bluetooth device, the Bluetooth device reads the power information of the Bluetooth device.
[0277] It should be understood that the structure of the Bluetooth device can be: Exemplarily, please refer to Figure 36 , Figure 36 It is a schematic structural diagram of a Bluetooth device 3600 provided by an embodiment of the present application. Among them, the Bluetooth device 3600 includes a processing module 3601, a power control module 3602, and a communication module 3603. The communication module 3603 can be used to support data exchange between the Bluetooth device and an electronic device through Bluetooth technology. The communication module 3603 may further include an antenna. The communication module 3603 receives electromagnetic waves via the antenna, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processing module 3601. The communication module 3603 can also receive the signals to be sent from the processing module 3601, perform frequency modulation and amplification on them, and then convert them into electromagnetic waves through the antenna and radiate them out. The power control module 3602 can be used to provide the system power of the Bluetooth device, supply power to each module of the Bluetooth device, and support the Bluetooth device to receive charging input, etc.
[0278] In implementation, exemplarily, after the communication module 3603 in the Bluetooth device receives an instruction sent by the electronic device to obtain the power of the Bluetooth device, it reports the instruction to the processing module 3601. The processing module 3601 reads the power information of the Bluetooth device saved in the power control module 3602 according to the instruction, and then returns the read power information of the Bluetooth device to the electronic device through the communication module 3603.
[0279] S3530. The Bluetooth device returns the power information of the Bluetooth device to the electronic device.
[0280] It should be understood that generally, the power information of the Bluetooth device returned by the Bluetooth device to the electronic device includes the overall power information of the Bluetooth device. For example, Figure 5 the power information shown. In some embodiments, if the Bluetooth device includes multiple device units, then the power information of the Bluetooth device returned by the Bluetooth device to the electronic device includes the power information of each device unit. For example, Figure 7 the power information shown in.
[0281] S3540. The electronic device displays the power information of the Bluetooth device.
[0282] It should be understood that in related solutions, the electronic device cannot add Bluetooth devices outside the ecosystem, and thus cannot display the remaining power of Bluetooth devices outside the ecosystem. Users cannot explicitly view the remaining power of Bluetooth devices in the electronic device, which affects the user experience. However, in the embodiments of the present application, after the electronic device can connect to or add Bluetooth devices outside the ecosystem, it can display the power information of the Bluetooth device, enabling users to view the remaining power of the first type of device, improving the user experience. Moreover, the embodiments of the present application can display the power of the Bluetooth device in multiple ways, improving the convenience for users to view the remaining power of the Bluetooth device and enhancing the user experience.
[0283] The following embodiments will introduce in detail the implementation process of the control method for the electronic device provided by the embodiments of the present application.
[0284] Please refer to Figure 37 , Figure 37 FIG. 3700 is a schematic flowchart of a control method for an electronic device provided by an embodiment of the present application. The method 3700 can be executed by a first electronic device, or by a processor or chip in the first electronic device. The embodiments of the present application do not make any limitations. For the sake of convenience of description, the method 3700 will be described in detail by taking the first electronic device as an example. The method 3700 includes S3710 and S3740.
[0285] S3710: The first electronic device establishes a connection with the second electronic device.
[0286] It should be understood that the first electronic device may be a terminal device such as a mobile phone, a tablet computer, or a notebook computer. The embodiments of the present application do not limit the specific device form of the first electronic device.
[0287] The second electronic device may be a device with an audio playback function such as a Bluetooth headset, a wearable headset, a noise-canceling headset, a Bluetooth speaker, a vehicle-mounted device, a VR device, or an AR device. The embodiments of the present application do not limit the specific device form of the second electronic device.
[0288] In the embodiments of the present application, the second electronic device and the first electronic device are devices of different brands. For example, manufacturer 1 produces mobile phones of brand A and Bluetooth headsets of brand B at the same time. Devices of different brands may also belong to different manufacturers. For example, manufacturer 1 produces mobile phones of brand A and manufacturer 2 produces Bluetooth devices of brand B.
[0289] In the embodiments of the present application, the second electronic device is a specified type of electronic device. The specified type of electronic device may be a Bluetooth headset, a wearable headset, a noise-canceling headset, a Bluetooth speaker, a vehicle-mounted device, a VR device, an AR device, etc. outside the ecosystem of the manufacturer corresponding to the first electronic device. The explanation of the device outside the ecosystem of the manufacturer corresponding to the first electronic device can be referred to the above embodiments and will not be elaborated here.
[0290] In the embodiments of the present application, the establishment of the connection between the first electronic device and the second electronic device may be the first connection (first connection) between the first electronic device and the second electronic device, or the reconnection (reconnection) between the first electronic device and the second electronic device. The processes of the first connection and the reconnection can be referred to the above embodiments and will not be elaborated here.
[0291] S3720: The first electronic device displays a first pop-up window corresponding to the second electronic device, and the first pop-up window includes a first control.
[0292] In the embodiments of the present application, the way for the first electronic device to display the first pop-up window corresponding to the second electronic device may be: for example, when the first electronic device is initially connected to the second electronic device, the user can Figure 5 or Figure 8 click on the control 513 in the pop-up window 511 shown in Figure 511. In response to the user's operation of clicking on the control 513, the first electronic device executes the connection process with the second electronic device and completes the connection with the second electronic device. After the first electronic device and the second electronic device complete the connection, the first electronic device displays the first pop-up window. Another example is that when the first electronic device reconnects to the second electronic device, when the Bluetooth switch in the second electronic device is in the Figure 3 (c2) in Figure Figure 4 or the open state shown in (b2) in Figure Figure 11 or Figure 12 the first electronic device can search for Bluetooth devices in a scannable state. When the second electronic device is found, the first electronic device can automatically complete the connection with the second electronic device. After the first electronic device and the second electronic device complete the connection, the first electronic device displays the first pop-up window. The first pop-up window can refer to the
[0293] pop-up window 1111 shown in Figure Figure 11 or Figure 12 The first control may be the "Experience Now" control shown in Figure
[0294] It should also be understood that the form of the pop-up window may be a modal pop-up window, a non-modal pop-up window, etc., and the embodiments of the present application do not limit this.
[0295] S3730. In response to the operation on the first control, the first electronic device displays the first interface of the first application, and the first interface includes a card corresponding to the second electronic device.
[0296] It should be understood that the first application may refer to the Smart Space App shown in (a) in Figure Figure 13 and the first interface may refer to the interface 1510 shown in Figure Figure 15 Generally speaking, the card corresponding to the second electronic device is a card related to the second electronic device displayed by the first electronic device on the first interface of the first application after the first electronic device has added the second electronic device to the first application. For example, the card corresponding to the second electronic device may refer to the
[0297] card 1511 in Figure Figure 15 and the card 1511 is a card corresponding to a Bluetooth headset (the second electronic device) of model A1 of brand A.
[0298] In implementation, the first electronic device displaying the first interface of the first application may be: Please refer to Figure Figure 11 , and the user can Figure 11 operate on the control 1113 in it, such as clicking on the control 1113. In response to the user's operation on the control 1113, the first electronic device displays Figure 15 the interface 1510 (the first interface) shown in Figure 15 The interface 1510 shown includes a card 1511.
[0299] S3740. In response to an operation on the card, the first electronic device displays a second interface of the first application, where the second interface includes a control for controlling the second electronic device.
[0300] It should be understood that the second interface can refer to Figure 13 the interface 1350 shown in (e) in Figure 13 and the controls for controlling the second electronic device can refer to the controls 1351 to 1358 shown in (e) in
[0301] In implementation, the first electronic device displaying the second interface of the first application can be that the user can operate on Figure 15 the card 1511 shown in Figure 15 such as the user clicks on the card 1511 shown in Figure 13 In response to the user's operation on the card 1511, the first electronic device displays the interface 1350 (the first interface) shown in (e) in
[0302] In related solutions, after the first electronic device is connected to an electronic device within the ecosystem of the manufacturer corresponding to the first electronic device, the first electronic device can display a pop-up window corresponding to the electronic device. In response to an operation on the pop-up window, the first electronic device displays a card corresponding to the electronic device within the ecosystem. In response to an operation on the card, the first electronic device can display a control for controlling the electronic device within the ecosystem. However, in related solutions, after the first electronic device is connected to an electronic device outside the ecosystem of the manufacturer corresponding to the first electronic device, the first electronic device does not display a pop-up window corresponding to the electronic device outside the ecosystem (such as Figure 11 the pop-up window 1111 shown in Figure 15 ), so that the first electronic device does not display a card corresponding to the electronic device outside the ecosystem (such as the card 1511 in
[0303] In an embodiment of the present application, after the first electronic device establishes a connection with the second electronic device, the first electronic device can display a first pop-up window corresponding to the second electronic device, the second electronic device and the first electronic device are devices of different brands, and the second electronic device is an electronic device of a specified type (for example, the second electronic device is a device outside the manufacturer's ecosystem corresponding to the first electronic device), and the user can operate the first control in the first pop-up window so that the first electronic device can display a card corresponding to the second electronic device in the first interface. Therefore, when the second electronic device used by the user is of a different brand from the first electronic device and is a device of the specified type (a device outside the ecosystem), the user can operate the card corresponding to the second electronic device. In response to the operation of the card, the first electronic device can display a second interface, and the second interface includes controls for controlling the second electronic device, so that the user can control the second electronic device through the second interface, thereby improving the user experience.
[0304] In some embodiments, the specified type of electronic device includes a Bluetooth headset.
[0305] It should be understood that the electronic device of the specified type may be a Bluetooth headset outside the manufacturer ecosystem corresponding to the first electronic device. The Bluetooth headset may be a head-mounted Bluetooth headset, an in-ear Bluetooth headset, etc., which is not limited in the present embodiment of the application.
[0306] In the related scheme, the first electronic device cannot display the pop-up window corresponding to the Bluetooth headset outside the manufacturer's ecosystem corresponding to the first electronic device, so that the first electronic device will not display the card of the Bluetooth headset outside the ecosystem. Therefore, when the user uses the Bluetooth headset, the user cannot control the Bluetooth headset through the card of the Bluetooth headset outside the ecosystem, affecting the user experience.
[0307] In an embodiment of the present application, since the first electronic device can display a first pop-up window corresponding to a Bluetooth headset, and the Bluetooth headset is an electronic device of a specified type (the Bluetooth headset is a Bluetooth device outside the manufacturer ecosystem corresponding to the first electronic device), the user can operate the first control in the first pop-up window so that the first electronic device can display a card corresponding to the Bluetooth headset in the first interface. Therefore, when the Bluetooth headset used by the user is an electronic device of a specified type, the user can operate the card corresponding to the Bluetooth headset. In response to the operation on the card, the first electronic device can display a second interface, and the second interface includes controls for controlling the Bluetooth headset, so that the user can control the Bluetooth headset through the second interface, thereby improving the user experience.
[0308] In some embodiments, the second interface further includes: device information of the second electronic device, an icon of the second electronic device, and power information of the second electronic device.
[0309] It should be understood that the device information of the second electronic device can refer to Figure 13 The name of the second electronic device displayed in the shown interface 1350, such as the A brand model A1. The A brand model A1 refers to the name of a Bluetooth headset. The icon of the second electronic device can refer to the image 1351 displayed in the interface 1350 shown in FIG. 13. The power information of the second electronic device can refer to Figure 13 the power information 1354 displayed in the shown interface 1350.
[0310] In other embodiments, the second electronic device may include multiple device units. For example, if the second electronic device is a Bluetooth headset, and the Bluetooth headset includes a left earphone, a right earphone, and a charging case, then the second interface may include the power information of each device unit. For example Figure 15 1811 shown in represents the power information of the left earphone, 1812 represents the power information of the right earphone, and 1813 represents the power information of the charging case.
[0311] In the embodiments of the present application, the second interface displayed on the first electronic device includes the device information of the second electronic device and the icon of the second electronic device. The user can distinguish that the second electronic device is a different brand and a specified type of electronic device from the first electronic device through the device information of the second electronic device and the icon of the second electronic device, enabling the user to clearly know that the second interface is an interface for controlling a second electronic device that is a different brand and a specified type from the first electronic device, thus improving the user experience.
[0312] In addition, in the related solutions, the user cannot control an electronic device produced by a manufacturer other than the one corresponding to the first electronic device through the first electronic device, so that the user cannot view the power information of the electronic device outside the ecosystem. However, in the embodiments of the present application, the user can control a specified type of second electronic device (an electronic device outside the ecosystem) through the second interface, and the second interface includes the power information of the specified type of electronic device. The user can view the power information of the specified type of electronic device through the second interface, improving the user experience.
[0313] In some embodiments, the second interface further includes: a sound effect adjustment card, and the sound effect adjustment card includes one or more selectable sound effect controls.
[0314] It should be understood that Figure 13 The interface 1350 (second interface) shown in (e) also includes a sound effect adjustment card, which includes at least one sound effect control, and the at least one sound effect control includes the original sound effect when the Bluetooth device is playing, such as the sound effect corresponding to the control 1355 shown in the interface 1350, and also includes the sound effect provided by the electronic device through its own audio management module, such as the control 1356 shown in the interface 1350 corresponding to DTS:X Ultra, the spatial audio sound effect corresponding to the control 1357, and the control 1358 Histen. In other embodiments, the second interface may include more than Figure 13 The sound effect controls shown in (e) may be more or fewer sound effect controls, and this embodiment of the present application is not limited to this.
[0315] During implementation, the user can switch the sound effect when the Bluetooth device is playing by clicking the sound effect control. For example, assuming that the sound effect when the Bluetooth device is playing is the original sound effect, the user clicks control 1356. In response to the user clicking the control 1356, the electronic device controls the sound effect of the Bluetooth device to switch from the original sound effect to DTS:X Ultra.
[0316] In the related scheme, the user cannot control the electronic device produced by a manufacturer other than the first electronic device through the first electronic device, so the user cannot switch the playback sound effects of the electronic device outside the ecosystem through the first electronic device, affecting the user experience.
[0317] In an embodiment of the present application, a user can control a second electronic device of a specified type (an electronic device outside the ecosystem) through a second interface, and the second interface includes one or more sound effect controls that allow the user to select. The user can operate the sound effect controls to switch the playback sound effects of the specified type of electronic device, thereby improving the user experience.
[0318] In combination with the first aspect, in some implementations of the first aspect, the second interface further includes: at least one scenario card, and the at least one scenario card is used to instruct the second electronic device to execute a task included in the scenario card.
[0319] It should be understood that at least one may refer to Figure 20 In the illustrated interface 2000, control 2010 and control 2012 are displayed. Control 2010 may be a control corresponding to a "weather forecast" scene, and control 2011 may be a control corresponding to a "check-in reminder" scene.
[0320] At least one scenario card for instructing a second electronic device to execute a task included in the scenario card means that, for example, the "weather forecast" scenario corresponding to control 2010 is used to enable the first electronic device to announce the weather conditions to the user through the second electronic device. For example, when the user clicks on control 2010, the mobile phone responds to the user's operation of clicking on control 2010 and announces the weather of the day to the user through the Bluetooth headset. Also, for example, at 10 o'clock every morning, the mobile phone announces the weather of the day to the user through the Bluetooth headset. The "punch-in reminder" scenario corresponding to control 2011 is used to enable the first electronic device to remind the user to punch in through the second electronic device. For example, when the user arrives at the workplace, the mobile phone reminds the user to punch in through the Bluetooth headset.
[0321] In related solutions, the user cannot control an electronic device other than the one produced by the manufacturer corresponding to the first electronic device through the first electronic device, so the electronic device outside the ecosystem cannot execute the tasks included in the scenario card, and when the user needs to complete tasks in real life, it cannot provide help to the user, affecting the user experience.
[0322] In the embodiments of the present application, the user can control an electronic device of a specified type through the second interface, and the second interface includes at least one scenario card. The first electronic device can enable the second electronic device to execute the tasks included in the scenario card through the scenario card, helping the user better complete the tasks that need to be executed in real life and improving the user experience.
[0323] In some embodiments, the establishment of a connection between the first electronic device and the second electronic device includes: the first electronic device and the second electronic device establish the Nth connection, where N is an integer greater than 1. The method further includes:
[0324] Before the first electronic device and the second electronic device establish the Nth connection, the first electronic device and the second electronic device establish the (N - 1)th connection; the first electronic device displays a first pop-up window corresponding to the second electronic device, and the first pop-up window includes a first control; in response to an operation on the first control, the first electronic device displays a third interface of a first application, and the third interface includes device information of the second electronic device and a second control; in response to an operation on the second control, the first electronic device adds the second electronic device to the control scope of the first application; wherein, after the first electronic device adds the second electronic device to the control scope of the first application, the first interface of the first application includes a card corresponding to the second electronic device.
[0325] It should be understood that the establishment of the Nth connection between the first electronic device and the second electronic device can be the first reconnection or non-first reconnection between the first electronic device and the second electronic device. The establishment of the (N - 1)th connection between the first electronic device and the second electronic device can be: for example, if the establishment of the Nth connection between the first electronic device and the second electronic device refers to the first reconnection between the first electronic device and the second electronic device, then the establishment of the (N - 1)th connection between the first electronic device and the second electronic device refers to the first establishment of a connection between the first electronic device and the second electronic device; and for another example, if the establishment of the Nth connection between the first electronic device and the second electronic device refers to a non-first reconnection between the first electronic device and the second electronic device, then the establishment of the (N - 1)th connection between the first electronic device and the second electronic device refers to the previous reconnection before the non-first reconnection between the first electronic device and the second electronic device.
[0326] The third interface can be referred to Figure 13 the interface 1330 shown in. The device information of the second electronic device included in the third interface can be referred to Figure 13 the A brand A1 model in the interface 1330 shown in, and the A brand A1 model can represent the name of the Bluetooth headset. The second control included in the third interface can be referred to Figure 13 the control 1332 in the interface 1330 shown in.
[0327] The explanations of the first pop-up window, the first control, the first application, and the card corresponding to the second electronic device can be referred to the above embodiments and will not be elaborated here.
[0328] In implementation, the process for the first electronic device to add the second electronic device to the control scope of the first application can be: when the first electronic device and the second electronic device establish a connection for the first time, the user can click the control 513 in Figure 5 or Figure 8 the pop-up window 511 shown in. In response to the user's operation of clicking the control 513, the first electronic device executes the connection process with the second electronic device to complete the connection with the second electronic device. After the first electronic device and the second electronic device complete the connection, the first electronic device displays Figure 11 or Figure 12 the pop-up window 1111 shown in. Or, when the first electronic device and the second electronic device establish the previous reconnection before a non-first reconnection, when the Bluetooth switch in the second electronic device is in Figure 3 the open state shown in (c2) in or Figure 4 the open state shown in (b2) in, the first electronic device can search for Bluetooth devices in the scannable state. When the second electronic device is searched, the first electronic device can automatically complete the connection with the second electronic device. After the first electronic device and the second electronic device complete the connection, the first electronic device displays Figure 11 or Figure 12 the pop-up window 1111 shown in.
[0329] After the first electronic device displays the pop-up window 1111 shown in the above manner Figure 11 or Figure 12 After the pop-up window 1111 shown is presented, the user can click on the "Experience Now" control 1113 shown in the pop-up window 1111. In response to the user's operation of clicking on the "Experience Now" control 1113, the electronic device displays Figure 13 the interface 1330 shown in (c) of. The user can click on the control 1332 shown in the interface 1330. In response to the operation on the control 1332, the first electronic device adds the second electronic device to the control scope of the Smart Space App. After the first electronic device adds the second electronic device to the control scope of the Smart Space App, the first electronic device creates a card 1511 corresponding to the second electronic device in the interface 1510 shown in Figure 15 shown.
[0330] In the embodiments of the present application, when the first electronic device adds a second electronic device in a first application, the first electronic device can guide the user to add the second electronic device by displaying a first pop-up window corresponding to the second electronic device. Specifically, a first control is displayed in the first pop-up window, and the user can operate on the first control in the first pop-up window. In response to the user's operation on the first pop-up window, the first electronic device displays a third interface of the first application, and the user can add the second electronic device in the third interface. Specifically, the user can operate on a second control included in the third interface. In response to the user's operation on the second control, the first electronic device adds the second electronic device to the control scope of the first application. After that, a card corresponding to the second electronic device is displayed on the first interface of the first application. As can be seen from the above, the first electronic device can guide the user to add the second electronic device, enabling the user to conveniently add the second electronic device in the first application. Moreover, after the user adds the second electronic device in the first application, a card corresponding to the second electronic device can be displayed on the first interface of the first application, and the user can quickly enter the second interface through the card corresponding to the second electronic device, improving the user experience.
[0331] In combination with the first aspect, in some implementation manners of the first aspect, the first pop-up window further includes a third control. After the first electronic device displays the first pop-up window corresponding to the second electronic device, the method further includes:
[0332] In response to an operation on a third control, the first electronic device cancels the display of a first pop-up window; after the first electronic device cancels the display of the first pop-up window, in response to an operation of opening a first application, the first electronic device displays a first interface of the first application, the first interface includes a second pop-up window corresponding to a second electronic device, and the second pop-up window includes a fourth control; in response to an operation on the fourth control, the first electronic device displays a third interface of the first application, and the third interface includes device information of the second electronic device and a second control; in response to an operation on the second control, the first electronic device adds the second electronic device to the control scope of the first application; wherein, after the first electronic device adds the second electronic device to the control scope of the first application, the first interface of the first application includes a card corresponding to the second electronic device.
[0333] It should be understood that the third control can refer to Figure 11 the control 1112 shown in Figure 13 The second pop-up window can refer to the pop-up window 1321 displayed in the interface 1320 shown in
[0334] In implementation, the process by which the first electronic device adds the second electronic device to the control scope of the first application can also be: the first electronic device displays Figure 11 or Figure 12 the pop-up window 1111 shown in Figure 11 or Figure 12 For the manner in which the first electronic device displays the pop-up window 1111 shown in
[0335] The first electronic device displays Figure 11 or Figure 12 the pop-up window 1111 shown in Figure 13 After that, the user can click on the "I understand" control 1112 shown in the pop-up window 1111. In response to the user's operation of clicking on the "I understand" control 1112, the electronic device cancels the display of the pop-up window 1111. The user can click on the Smart Space App 1311 in the interface 1310 shown in Figure 13 In (a) of Figure 13 The interface 1330 shown in (c) therein includes a control 1332. The user can click on the control 1332 shown in the interface 1330. In response to the operation on the control 1332, the first electronic device adds the second electronic device to the control scope of the Smart Space App. After the first electronic device adds the second electronic device to the control scope of the Smart Space App, the first electronic device Figure 15 creates a card 1511 corresponding to the second electronic device in the shown interface 1510.
[0336] In the embodiment of the present application, when the first electronic device adds the second electronic device in the first application, the first electronic device can guide the user to add the second electronic device by displaying a first pop-up window corresponding to the second electronic device. For example, a first control is displayed in the first pop-up window. In the case where the user does not add the second electronic device using the first pop-up window, the first electronic device can guide the user to add the second electronic device through another guiding method. For example, a third control is displayed in the first pop-up window. The user can click on the third control. In response to the operation on the third control, the first electronic device cancels the display of the first pop-up window. After the first electronic device cancels the display of the first pop-up window, in response to the operation of opening the first application, the first electronic device displays a first interface of the first application. The first interface includes a second pop-up window corresponding to the second electronic device. The user can operate on a fourth control included in the second pop-up window. In response to the operation on the fourth control, the first electronic device displays a third interface of the first application. The user can add the second electronic device in the third interface. Specifically, the user can operate on a second control included in the third interface. The first electronic device, in response to the user's operation on the second control, adds the second electronic device to the control scope of the first application. After that, a card corresponding to the second electronic device is displayed on the first interface of the first application. As can be seen from the above, in the case where the user does not add the second electronic device using the first pop-up window, the first electronic device can guide the user to add the second electronic device by displaying the second pop-up window, enabling the user to conveniently add the second electronic device in the first application. Moreover, after the user adds the second electronic device in the first application, a card corresponding to the second electronic device can be displayed on the first interface of the first application, and the user can quickly enter the second interface through the card corresponding to the second electronic device, improving the user experience.
[0337] In some embodiments, before the first electronic device displays the first pop-up window corresponding to the second electronic device, determining whether the second electronic device is an electronic device of a specified type includes:
[0338] The first electronic device obtains the service information of the second electronic device; in response to the service information of the second electronic device including the identifier corresponding to the audio head-mounted device and the service information of the second electronic device including the power information of the second electronic device, the first electronic device determines that the second electronic device is an electronic device of a specified type; in response to the service information of the second electronic device not including the identifier corresponding to the audio head-mounted device, the first electronic device determines that the second electronic device is not an electronic device of a specified type.
[0339] It should be understood that the service information of the second electronic device includes one or more of the following information: the type information of the second electronic device, the name of the second electronic device, the identifier of the manufacturer of the second electronic device, the power information of the second electronic device, and the style information of the second electronic device. The explanation of the service information of the second electronic device can refer to the above embodiments and will not be elaborated here.
[0340] The method for obtaining the service information of the second electronic device can refer to the method for obtaining the information of the Bluetooth device in the above embodiments and will not be elaborated here.
[0341] The type information of the second electronic device may include the identifier corresponding to the audio head-mounted device.
[0342] For example, the identifier corresponding to the audio head-mounted device may be AUDIO_VIDEO_WEARABLE_HEADSE, AUDIO_VIDEO_HEADPHONES, etc.
[0343] In implementation, assuming that the type information of the second electronic device obtained by the first electronic device is a Bluetooth headset, a wearable headset, a head-mounted noise-canceling headset, or a Bluetooth speaker, etc., then the first electronic device may determine that the second electronic device is an audio device. Exemplarily, if the type information of the second electronic device obtained by the first electronic device includes the identifier corresponding to the audio head-mounted device, it is determined that the second electronic device is an audio device.
[0344] After determining that the second electronic device is an audio device, if the first electronic device determines that the service information of the second electronic device includes the power information of the second electronic device, then the first electronic device determines that the second electronic device is an electronic device of a specified type.
[0345] Assuming that the type information of the second electronic device obtained by the first electronic device does not include the identifier corresponding to the audio head-mounted device, it is determined that the second electronic device is not an electronic device of a specified type.
[0346] It should be understood that some audio head-mounted devices outside the producer ecosystem corresponding to the first electronic device have the ability to report power information to the first electronic device. Therefore, in the embodiments of the present application, based on the above characteristics, the first electronic device can determine whether the second electronic device is a specified type of electronic device (an audio head-mounted device outside the producer ecosystem corresponding to the first electronic device) according to the identifier corresponding to the audio head-mounted device and the power information of the second electronic device included in the service information of the second electronic device. Specifically, the first electronic device can respond to the service information of the second electronic device including the identifier corresponding to the audio head-mounted device and the service information of the second electronic device including the power information of the second electronic device, so that the first electronic device can quickly and accurately determine that the second electronic device is a specified type of electronic device.
[0347] In combination with the first aspect, in some implementation manners of the first aspect, for the first electronic device to determine that the second electronic device is a specified type of electronic device, it further includes: in response to the service information of the second electronic device including the identifier corresponding to the audio head-mounted device and the device name of the second electronic device being within a preset whitelist, the first electronic device determines that the second electronic device is a specified type of electronic device.
[0348] It should be understood that some audio head-mounted devices outside the producer ecosystem corresponding to the first electronic device do not have the ability to report power information to the first electronic device. Therefore, in the embodiments of the present application, the names of the electronic devices outside the producer ecosystem corresponding to the first electronic device that do not have the ability to report power information to the first electronic device can be configured in the preset whitelist, or the names of the electronic devices outside the producer ecosystem corresponding to the first electronic device can be configured in the preset whitelist.
[0349] In implementation, after the first electronic device determines that the second electronic device is an audio device, the first electronic device can query the device name of the second electronic device in the preset whitelist. Assuming that the first electronic device queries the device name of the second electronic device in the preset whitelist, then the first electronic device determines that the second electronic device is a specified type of electronic device. Assuming that the first electronic device does not query the device name of the second electronic device in the preset whitelist, then the first electronic device determines that the second electronic device is not a specified type of electronic device.
[0350] In the embodiments of the present application, when the first electronic device determines whether the second electronic device is an electronic device of a specified type, it may determine whether the second electronic device is an electronic device of a specified type (an audio head-mounted device outside the producer ecosystem corresponding to the first electronic device) according to the identifier corresponding to the audio head-mounted device included in the service information of the second electronic device and a preset whitelist. Specifically, the first electronic device may, in response to the service information of the second electronic device including the identifier corresponding to the audio head-mounted device and the device name of the second electronic device being within the preset whitelist, enable the first electronic device to quickly and accurately determine that the second electronic device is an electronic device of a specified type.
[0351] It should also be understood that the user operations in the above embodiments may be click operations, swipe operations, gesture sensing operations, or voice controls, etc. The specific form of the user operations in the embodiments of the present application is not limited.
[0352] It should be noted that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The order of execution of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0353] The embodiments of the present application provide a computer program product. When the computer program product runs on an electronic device, it enables the electronic device to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar to those of the related embodiments of the above method, and will not be elaborated here.
[0354] The embodiments of the present application provide a readable storage medium. The readable storage medium contains instructions. When the instructions run on an electronic device, they enable the electronic device to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar, and will not be elaborated here.
[0355] The embodiments of the present application provide a chip. The chip is used to execute instructions. When the chip runs, it executes the technical solutions in the above embodiments. Its implementation principle and technical effects are similar, and will not be elaborated here.
[0356] In the above embodiments, they can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, they can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from a website, a computer, a server, or a data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a high-density digital video disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)), etc.
[0357] It should be understood that the "embodiments" mentioned throughout the specification mean that the specific features, structures, or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, the various embodiments throughout the specification do not necessarily refer to the same embodiments. In addition, these specific features, structures, or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present application, the sequence numbers of the above processes do not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0358] Those of ordinary skill in the art can understand that the various numerical numbers such as the first and the second involved in the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application, nor do they represent the order of priority.
[0359] In the present application, the elements represented by the use of the singular are intended to mean "one or more", rather than "one and only one", unless otherwise specified. In the present application, unless otherwise specified, "at least one" is intended to mean "one or more", and "a plurality" is intended to mean "two or more".
[0360] As used herein, the term "and / or" is merely a description of the relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. Here, A can be singular or plural, and B can be singular or plural.
[0361] As used herein, the term "at least one of..." represents all or any combination of the listed items. For example, "at least one of A, B, and C" can represent: A exists alone, B exists alone, C exists alone, A and B exist simultaneously, B and C exist simultaneously, and A, B, and C exist simultaneously. Here, A can be singular or plural, B can be singular or plural, and C can be singular or plural.
[0362] Those of ordinary skill in the art will recognize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A professional technician can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application.
[0363] If the described functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0364] The same or similar parts between the various embodiments in this application can refer to each other. In the various embodiments in this application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The above-described implementation methods of this application do not constitute a limitation on the scope of protection of this application.
[0365] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims. In short, the above is only a preferred embodiment of the technical solution of the present application, and is not used to limit the protection scope of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.< / videoview> < / imgview> < / textview>
Claims
1. A control method for an electronic device, characterized in that, Applied to a first electronic device, the method includes: The first electronic device establishes a connection with a second electronic device, where the second electronic device is a device of a different brand from the first electronic device, and the second electronic device is a specified type of electronic device; The first electronic device displays a first pop-up window corresponding to the second electronic device, and the first pop-up window includes a first control; In response to an operation on the first control, the first electronic device displays a first interface of a first application, and the first interface includes a card corresponding to the second electronic device; In response to an operation on the card, the first electronic device displays a second interface of the first application, where the second interface includes controls for controlling the second electronic device.
2. The method according to claim 1, wherein The specified type of electronic device includes a Bluetooth headset.
3. The method according to claim 1 or 2, characterized in that, The second interface further includes: device information of the second electronic device, an icon of the second electronic device, and power information of the second electronic device.
4. The method according to claim 3, characterized in that The second interface further includes: a sound effect adjustment card, and the sound effect adjustment card includes one or more selectable sound effect controls.
5. The method according to claim 3, characterized in that The second interface further includes: at least one scene card, and the at least one scene card is used to instruct the second electronic device to execute tasks included in the scene card.
6. The method according to claim 1, characterized in that The first electronic device establishing a connection with the second electronic device includes: the first electronic device establishing an Nth connection with the second electronic device, where N is an integer greater than 1, and the method further includes: Before the first electronic device establishes the Nth connection with the second electronic device, the first electronic device establishes an (N - 1)th connection with the second electronic device; The first electronic device displays the first pop-up window corresponding to the second electronic device, and the first pop-up window includes a first control; In response to an operation on the first control, the first electronic device displays a third interface of the first application, and the third interface includes device information of the second electronic device and a second control; In response to an operation on the second control, the first electronic device adds the second electronic device to the control scope of the first application; Wherein, after the first electronic device adds the second electronic device to the control scope of the first application, the first interface of the first application includes a card corresponding to the second electronic device.
7. The method according to claim 6, wherein The first pop-up window further includes a third control; after the first electronic device displays the first pop-up window corresponding to the second electronic device, the method further includes: In response to an operation on the third control, the first electronic device cancels the display of the first pop-up window; After the first electronic device cancels the display of the first pop-up window, in response to an operation of opening the first application, the first electronic device displays the first interface of the first application, and the first interface includes a second pop-up window corresponding to the second electronic device, and the second pop-up window includes a fourth control; In response to an operation on the fourth control, the first electronic device displays the third interface of the first application, and the third interface includes device information of the second electronic device and a second control; In response to an operation on the second control, the first electronic device adds the second electronic device to the control scope of the first application; Wherein, after the first electronic device adds the second electronic device to the control scope of the first application, the first interface of the first application includes a card corresponding to the second electronic device.
8. The method according to claim 1, characterized in that, Before the first electronic device displays a first pop-up window corresponding to the second electronic device, determining whether the second electronic device is an electronic device of the specified type includes: Obtaining service information of the second electronic device; In response to the service information of the second electronic device including an identifier corresponding to an audio head-mounted device and the service information of the second electronic device including the battery information of the second electronic device, the first electronic device determines that the second electronic device is an electronic device of the specified type; In response to the service information of the second electronic device not including the identifier corresponding to the audio head-mounted device, the first electronic device determines that the second electronic device is not an electronic device of the specified type.
9. The method according to claim 8, wherein The first electronic device determining that the second electronic device is an electronic device of the specified type further includes: In response to the service information of the second electronic device including an identifier corresponding to an audio head-mounted device and the device name of the second electronic device being within a preset whitelist, the first electronic device determines that the second electronic device is an electronic device of the specified type.
10. An electronic device, characterized in that, including: One or more processors; One or more memories; The one or more memories store one or more computer programs, and the one or more computer programs include instructions that, when executed by the one or more processors, cause the electronic device to perform the method according to any one of claims 1 to 9.
11. A computer-readable storage medium, characterized in that, including computer instructions that, when running on an electronic device, cause the electronic device to perform the method according to any one of claims 1 to 9.
12. A chip, characterized in that, The chip includes: A memory for storing instructions; A processor for calling and running the instructions from the memory, so that the electronic device installed with the chip performs the method according to any one of claims 1 to 9.