Device management method, device, storage medium and electronic equipment
By acquiring and displaying the multi-device connection information of the electronic device on the first device, the problem of management complexity of electronic devices in the prior art in the "one drag and multiple" scenario is solved, efficient and convenient equipment management is achieved, and user experience is improved.
Patent Information
- Application Number
- CN202111073618.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-14
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2041-09-14
AI Technical Summary
In the prior art, it is difficult for electronic devices to achieve efficient and convenient equipment management in multi-device connection scenarios, especially in the "one-to-multiple" scenario, the equipment management logic is limited to the electronic device side and cannot meet complex management needs.
By acquiring the second device information that the electronic device can establish a connection on the first device, and displaying and managing this information in the device management interface, convenient management of multiple devices is achieved by using the device management interface on the first device side, including connection status display, disconnection, and return operations.
It improves the intelligence and convenience of equipment management, meets the management needs in the "one-to-one-to-multiple" scenario, simplifies the device connection and disconnection process, and provides a more intuitive management experience.
Smart Images

Figure CN115834416B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a device management method, apparatus, storage medium, and electronic device. Background Art
[0002] Electronic devices such as wireless headphones, speakers, and televisions have experienced rapid growth in recent years, becoming a new hotspot within the smart Internet of Things (IoT). These devices connect to user devices (e.g., mobile phones and tablets) through communication methods such as Bluetooth, freeing them from wired connections and gaining increasing popularity. Summary of the Invention
[0003] The present invention provides a device management method, apparatus, storage medium, and electronic device. The technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides a device management method, the method comprising:
[0005] When the first device is in communication with the electronic device, obtaining information of a second device that can establish a connection with the electronic device;
[0006] The information for part or all of the second device is displayed in a device management interface to manage the electronic device based on the device management interface.
[0007] In a second aspect, an embodiment of the present application provides another device management method, the method comprising:
[0008] Establishing a communication connection with a first device and sending information of a second device to the first device; the second device is a device that the electronic device can establish a connection with;
[0009] Perform device management on the second device based on the instruction sent by the first device.
[0010] In a third aspect, an embodiment of the present application provides a device management apparatus, the apparatus comprising:
[0011] a data acquisition module, configured to acquire information of a second device that can establish a connection with the electronic device when the first device is in communication with the electronic device;
[0012] An interface management module is used to display the information for part or all of the second device in the device management interface, so as to manage the electronic device based on the device management interface.
[0013] In a fourth aspect, an embodiment of the present application provides a device management apparatus, the apparatus comprising:
[0014] a connection establishing module, configured to establish a communication connection with a first device and send information of a second device to the first device; the second device is a device to which the electronic device can establish a connection;
[0015] A device management module is used to manage the second device based on the instruction sent by the first device.
[0016] In a fifth aspect, an embodiment of the present application provides a computer storage medium, which stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above-mentioned method steps.
[0017] In a sixth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the above-mentioned method steps.
[0018] The beneficial effects of the technical solutions provided by some embodiments of the present application include at least:
[0019] In one or more embodiments of the present application, when there is a communication connection between the first device and the electronic device, information of the second device that can establish a connection with the electronic device is obtained, and then the information for part or all of the second device is displayed in the device management interface to manage the electronic device based on the device management interface. During the entire communication connection and communication management process, device management of the electronic device connected to multiple devices is achieved through the "device management interface of the electronic device" on the first device (such as a user device). For example, device management of the second device corresponding to the electronic device does not rely on the management control logic of the electronic device in the related technology to achieve device management of other devices. At the same time, it can meet the needs of electronic device management in the "one-to-many" scenario, greatly improving the intelligence and convenience of device management. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0021] Figure 1 This is a flow chart of a device management method provided in an embodiment of the present application;
[0022] Figure 2 This is a schematic diagram of a device control scenario involved in this application;
[0023] Figure 3 This is a schematic diagram of another device control scenario involved in this application;
[0024] Figure 4 This is a flow chart of another embodiment of a device management method proposed in this application;
[0025] Figure 5 This is a schematic diagram of a device management interface involved in this application;
[0026] Figure 6 This is a flow chart of another embodiment of a device management method proposed in this application;
[0027] Figure 7 This is a schematic diagram of a device configuration interface involved in this application;
[0028] Figure 8 This is a flow chart of another embodiment of a device management method proposed in this application;
[0029] Figure 9 This is a schematic diagram of an interface for managing electronic devices involved in this application;
[0030] Figure 10 This is a flow chart of another embodiment of a device management method proposed in this application;
[0031] Figure 11a This is a schematic diagram of a newly added scenario;
[0032] Figure 11b A schematic diagram of an interface for a device management method involving a scenario;
[0033] Figure 11c A schematic diagram of the management interface for a device management method involving scenarios
[0034] Figure 12 This is a flowchart of an embodiment of another device management method proposed in this application;
[0035] Figure 13 This is a schematic diagram of the structure of a device management device provided in an embodiment of the present application;
[0036] Figure 14 This is a structural diagram of another device management device provided in an embodiment of the present application;
[0037] Figure 15 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0038] Figure 16 This is a schematic diagram of the structure of the operating system and user space provided in an embodiment of the present application;
[0039] Figure 17 yes Figure 15 The architecture diagram of the Android operating system;
[0040] Figure 18 yes Figure 15 The architecture diagram of the IOS operating system;
[0041] Figure 19 This is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0043] In the description of this application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood to indicate or imply relative importance. In the description of this application, it should be noted that, unless otherwise expressly specified and limited, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to the specific circumstances. In addition, in the description of this application, unless otherwise specified, "multiple" refers to two or more. "and / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0044] The present application is described in detail below with reference to specific embodiments.
[0045] In one embodiment, Figure 1As shown, a device management method is specifically proposed. The device management method can be applied to a first device; the method can be implemented by a computer program or run on a device management device based on the von Neumann architecture. The computer program can be integrated into an application or run as a standalone tool application. The device management device can be a user device, including but not limited to: a personal computer, a tablet computer, a handheld device, an in-vehicle device, a wearable device, a computing device, or other processing device connected to a wireless modem. Terminal devices in different networks can be called different names, such as: user equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, cellular phone, cordless phone, terminal device in 5G network or future evolution network, etc.
[0046] Specifically, the device management method includes:
[0047] S101: When the first device is in communication connection with the electronic device, obtain information of a second device that can establish a connection with the electronic device;
[0048] It is understood that the electronic device can simultaneously establish a connection with a first device and at least one second device, which can be understood as: the electronic device supports a "one-to-many" function. For example, in some embodiments, the electronic device has the function of establishing a communication connection with a first device and at least one second device. It is understood that obtaining information about a second device that can establish a connection with the electronic device includes: obtaining a connection record stored in the electronic device, and the information about the second device may include some or all of the aforementioned connection records.
[0049] In a specific implementation scenario, different from the electronic device scenario involved in the related art, electronic devices such as headphones, speakers, glasses, etc. usually only support the "one-to-one" function, that is, an electronic device usually only supports one user device when establishing a communication connection with a user device (such as a first device, a second device, etc.); usually in some communication protocols (such as Bluetooth communication protocols) used to establish a communication connection with electronic devices in actual application environments: electronic devices such as wireless headphones, wireless headphones can have a communication connection with one user device (such as a mobile phone, the second device involved in this application), in the "one-to-one" scenario corresponding to the wireless headphones and one user device: for device management of the electronic device, the user can manage the device through the user device, for example: relying on means such as the system setting interface of the user device (such as a Bluetooth system setting interface based on Bluetooth communication, a wireless system setting interface based on a wireless network, a system setting interface based on the Zifeng protocol, etc.) to achieve device management of the electronic device:
[0050] It can be understood that in this application, the electronic device can have the function or ability to establish a communication connection with multiple devices (a first device and at least one second device, a first device and at least two second devices, etc.) at the same time, such as the electronic device and at least two mobile phones or other devices with the ability to establish a communication connection (such as a wireless communication connection such as a Bluetooth communication connection) to achieve wireless connection. For example, an electronic device (such as a Bluetooth headset) can wirelessly connect to at least two user devices such as mobile phones, computers, and notebooks at the same time. The electronic device in the embodiment of the present application can be a Bluetooth headset, in particular a True Wireless Stereo (TWS) headset.
[0051] In some implementation scenarios, after establishing communication connections with a corresponding number (e.g., at least one) of second devices, the electronic device may at least respond to multimedia services of at least one second device, such as transmitting and playing voice data between the electronic device and a mobile phone. Similarly, when establishing a communication connection with a first device, the electronic device may respond to control services of the first device, such as multimedia control services, home control services, etc., based on the communication connection, such as music playback, voice calls, text display, home control, etc.;
[0052] In some embodiments, the electronic device does not have a network gateway or network routing function. For example, the electronic device is not a network router, but can be an electronic device such as a Bluetooth headset, a speaker, etc. that can respond to the control service of the second device. The first device involved in this application has a device management interface for device management of the electronic device. In some scenarios, the executing subject first device can be one of all the second devices. In this application, for the sake of clarity, the device management method in the one-to-many scenario involving the electronic device is explained from the perspective of the first device. In actual application, the first device can be one of the second devices that can establish a communication connection with the electronic device. The first device has a device management interface for device management of the electronic device.
[0053] In the scenario where an electronic device can establish a communication connection with at least two devices, it can be understood that the multi-device connection scenario performs device management based on the preset fixed business device management logic involved in the relevant technology. Specifically, it can be understood that in the one-to-many scenario, the device management of the devices connected to it (such as the second device, the first device) can only be based on the fixed control logic of the preset device management on the electronic device. The business processes of the device management logic such as connection establishment and reconnection are only based on the fixed control logic on the electronic device side (such as the order determined by the signal strength, such as the priority of the order of historically connected devices). Furthermore, if it is necessary to customize the changes or management of the device or equipment that can establish a communication connection, it is usually necessary to initialize, re-pair, and restart the electronic device (such as a Bluetooth headset), or manually shut down some devices that do not need to be connected (such as shutting down communication). In this scenario, the electronic device has certain limitations in device design and development. Usually, device management based on the device management logic on the electronic device side is no longer practical, not smart enough, and difficult to meet the complex device management needs in the one-to-many scenario.
[0054] In some embodiments, the first device serves as a device that can establish a communication connection with the electronic device. The first device can establish a communication connection with the electronic device. At this time, when there is a communication connection between the first device and the electronic device, the first device can obtain information about other second devices that can establish a connection with the electronic device.
[0055] Optionally, the first device may obtain "information of other second devices that can establish a connection with the electronic device" from the electronic device based on the aforementioned "communication connection between the first device and the electronic device".
[0056] Optionally, the "information of other second devices that can establish a connection with the electronic device" can be stored on a service device (such as a server, service platform). That is to say, in the case of a device interaction scenario involving an electronic device and a second device, the first device and / or the second device can synchronize information (connection information, device information, etc.) with the service device. Based on this, after the first device is connected to the electronic device, it can determine the identity of the electronic device (such as a device identification) and uniquely obtain the "information of the second device that can establish a connection with the electronic device" for the electronic device from the service device, such as requesting the "information of the second device that can establish a connection with the electronic device" from the service device based on the device identification, etc.
[0057] Illustratively, the information obtained by the first device may be: obtaining information between the electronic device and all or part of the second device, so that the first device can implement convenient management of devices in multi-device connection scenarios based on the device management interface corresponding to the electronic device (which may be a non-system setting interface or an APP, etc.).
[0058] Furthermore, the communication connection methods between the devices include but are not limited to: Bluetooth (blue tooth) communication connection method, wireless communication technology (Wi-Fi) communication connection method, near field communication (NFC) communication connection method, etc. Schematically, the establishment of communication connection between an electronic device and multiple second devices can be the establishment of communication connections based on different communication protocols. The Bluetooth connection can be a classic Bluetooth connection or a BLE Bluetooth connection. In addition, Bluetooth communication based on the LE audio protocol is also applicable, and there is no restriction on this. The electronic device can be a wireless headphone device including "headphone accessories (such as a charging box) and headphones". It can be understood that a communication connection between the electronic device and at least two second devices can be established based on different communication protocols. In some embodiments, the communication connection methods can be the same or different.
[0059] Furthermore, the first device can be understood as an electronic device that can carry or load the device management interface corresponding to the electronic device, such as a mobile phone, a computer, etc. The second device can be understood as an electronic device that can establish a communication connection (such as a one-to-one communication connection, a one-to-many communication connection) with the electronic device, and the first device can be regarded as at least one of all the second devices that can establish a connection in the electronic device, and the first device has a device management function; in some implementation scenarios, the aforementioned can be understood as the first device can be at least one of all the second devices that can establish a communication connection with the electronic device, for example, the first device and the second device can be the same type of devices associated with the electronic device, such as Figure 2 As shown, Figure 2 This is a schematic diagram of a device control scenario involved in this application. Figure 2 In the figure, the electronic device 100 is respectively connected to multiple second devices, and the multiple second devices are device 1, device 2...device n as shown in the figure. When "device 1, device 2...device n" is equipped with or can load the device management interface corresponding to the electronic device, it can be used as the first device to execute the device management method described in this application. It can be understood that in this case, the first device and the second device can be the same associated device, such as both are device 1.
[0060] Indicative, such as Figure 3 As shown, Figure 3This is another device control scenario diagram involved in this application. The first device can be an electronic device that is independent of the second device and has a device management function. Furthermore, the first device 110 can be equipped with an application for controlling and managing the electronic device 100. Based on the (device) management interface provided by the application, the user of the first device 110 can achieve device control between the electronic device 100 and the second device (second device 1, second device 2...second device n), such as Bluetooth device control. Feasibly, the device management interface can be a web-type device management interface, and the first device can access the device management interface based on a browser, etc., or it can be an APP application.
[0061] It can be understood that the first device may be installed with a management application for device management of the electronic device, and then the information update service of the second device associated with the electronic device may be established using the included communication module based on the device management interface corresponding to the management application. For example, the first device may register the notification event related to the device management of the electronic device through the included communication module (such as the Bluetooth communication module) through the information update service (Service) and characteristic value (characteristic) based on the communication connection protocol (such as the Bluetooth communication connection protocol) of the management application, and request the information of the second device corresponding to the electronic device that can establish a communication connection through the included communication module, such as the status information of the second device, the connection information of the second device, etc. Among them, the communication between the first device, the electronic device, and the second device can all be associated through the characteristic. The characteristic can be understood as a tag based on the communication connection protocol. Through this tag, the information acquisition terminal such as the first device can obtain or write the transmitted device control content. After completing the registration and establishment of the information update service, the first device can request the connection status information of the second device to be connected to the electronic device (such as the Bluetooth headset) based on the information update service, and obtain the status information of the electronic device (such as the power, data volume, resource load, etc.).
[0062] In some embodiments, the first device can directly obtain information (such as status information, device information) from each second device. For example, the first device scans the surrounding connectable second devices and then sends the information of the connectable second devices (such as communication addresses, etc.) to the electronic device for use when the electronic device connects to the second device. For example, the first device can access the device management interface and input a user instruction based on the device management interface. After the first device responds to the user instruction to establish a communication connection with the electronic device, it obtains the communication address information (such as IP address) of all second devices that can be connected to the electronic device from the electronic device. Then, based on the communication address information, it actively sends a data acquisition request for information to each second device. Each second device can respond to the data acquisition request, and each second device sends information (such as status information, device information) to the first device. The data interaction method can be a data broadcast transmission or a data point-to-point transmission method. In addition, after obtaining the communication address information of the electronic device and each second device, when a second device occupies the electronic device, the electronic device will feedback to the first device. The first device can obtain information about the electronic device and the second device by monitoring the communication link between the electronic device and the second device, and update the device management interface in a timely manner.
[0063] In some implementations, the aforementioned “all second devices to which a connection can be established” can be understood as second devices to which the electronic device is currently connected and second devices to which the electronic device is not currently connected but has been historically connected.
[0064] S102: Displaying the information for part or all of the second device in a device management interface, so as to manage the electronic device based on the device management interface;
[0065] The device management interface is generally an interactive interface that has at least human-computer interaction functions and device management functions. This type of device management interface can at least realize device interaction between electronic devices such as mobile phones, Bluetooth headsets, and televisions and the first device and the second device. For example, a user can control a wireless headset through the device management interface for the electronic device on the mobile phone; for example, the electronic device can display the current status information (such as current battery level, connection status, etc.). In addition, the device management interface can refer to an interactive interface for controlling electronic devices developed by a third party and not provided by the terminal operating system itself, including device management interfaces on some applications, applets, plug-ins, application services, etc. developed by a third party. In some embodiments, the device management interface can be understood as an interface other than the preset system interface of the operating system of the first device, and the device management interface can be carried on the first device.
[0066] It is understandable that after obtaining the information between the electronic device and each second device, the first device performs data parsing on the information based on the communication protocol between the devices (such as the Bluetooth communication protocol), thereby obtaining device information and status information for each second device in the information, such as the connection status of each second device, whether each second device is the current voice-working device, the Mac address of each second device, the device name of each second device, etc. The device information and status information of the second devices are then displayed in the device management interface, such as displaying the information of at least one second device according to the display rules corresponding to the device management interface.
[0067] In a specific implementation, the information related to the second device is usually displayed in a control in the device management interface. The control can be understood as a "data and method package" corresponding to the display content of the user display interface (i.e., UI interface) for developing and constructing the first device. Certain method functions can be implemented through the control, such as providing the functions of interface elements such as windows, text boxes, buttons, drop-down menus, etc. In this application, a specific display of a specified number (all or part of the number) of the second device can be displayed based on, for example, display controls. Common display controls include text controls for displaying text, image controls for displaying images, etc. In this application, the device management interface can be used for information display, and can also provide operable controls for receiving user input and performing device management on the second device, such as command controls. Command controls can be used to start specific functions, which can be button controls, icon controls, hyperlink controls, etc. Input controls are used to input data, and selection controls are used to provide selection options or data, and so on.
[0068] It is understandable that device management of electronic devices can be performed based on target operations input by the user on the device management interface, and the target operation is used to implement device management of the electronic device. In some embodiments of the present application, the target operation can be regarded as a type of human-computer interaction operation, and the target operation can be understood as an instruction or command input by the user on the interface management interface for commanding and controlling the operation of the electronic device. Further target operation operations can generally be a second device corresponding to the electronic device that can establish a communication connection, such as controlling the electronic device to establish a device connection with the second device, performing audio settings, etc.
[0069] In some embodiments, the first device manages the electronic device by receiving a target operation from the user on the device management interface and responding to the target operation. For example, the first device can manage the electronic device based on the device management interface.
[0070] It is understandable that device management can actually be a connection switching operation for a specific second device among all second devices that has not established a communication connection with the electronic device. The connection switching operation can be used to control the electronic device to switch between the specific second device, such as the user controls the electronic device to switch between the specific second device (computer) through a mobile phone. The connection switching operation can also be: when the number of device connections of the electronic device reaches the upper limit, the user inputs the device switching operation on the first device to connect to a specific second device (a new device). At this time, the first device can control the electronic device to disconnect at least one established device before connecting to the specific second device (a new device). In some embodiments, the electronic device can be a TWS earphone device, and the TWS earphone device can include Two earphones: earphone A and earphone B, in response to the connection switching operation: one earphone (such as earphone A) can be controlled to switch devices, which is equivalent to one earphone (such as earphone A) switching from one second device to another second device, and the other earphone (such as earphone B) is disconnected, that is, after the device is switched: one earphone is connected and the other earphone is monitored; it can be a connection and disconnection operation for a specific second device among all second devices that has established a communication connection with the electronic device, and the connection and disconnection operation is used to disconnect the communication connection between the specific second device with which the connection has been established and the electronic device; it can be an audio setting operation for a specific second device with which a connection has been established among all second devices, and the audio setting operation is used to determine the specific second device occupying the audio channel among all currently connected devices, and so on.
[0071] In an embodiment of the present application, when a communication connection exists between the first device and the electronic device, information about a second device that can establish a connection with the electronic device is obtained, and then the information about some or all of the second devices is displayed in the device management interface to manage the electronic device based on the device management interface. During the entire communication connection and communication management process, device management of the electronic device connected to multiple devices is achieved by using the "device management interface of the electronic device" on the first device (such as a user device). Device management services such as connection status display, connection disconnection, and reconnection can be completed only by relying on the device management interface on the first device side. Compared with the device management process on the electronic device side in the related art, the visualization effect is better, and it is more direct and clear for the electronic device to manage multiple second devices that can establish a communication connection. It can meet the needs of electronic device management in the "one-to-many" scenario and improve the experience in the "one-to-many" scenario. At the same time, it also simplifies device management processes such as device connection, device disconnection, and ignoring devices, avoiding the need for multiple devices (electronic devices and / or devices that can establish a connection) to operate in order to achieve the expected effect, greatly improving the intelligence and convenience of device management.
[0072] See Figure 4 , Figure 4 This is a flow chart of another embodiment of a device management method proposed in this application. Specifically:
[0073] S201: When the first device is in communication connection with the electronic device, obtain information of a second device that can establish a connection with the electronic device.
[0074] Please refer to step S101 for details, which will not be repeated here.
[0075] S202: Determine state information and device information of part or all of the second device based on the information.
[0076] The status information includes a communication connection status and / or an audio working status between the second device and the electronic device;
[0077] The communication connection state includes: a connected state when the electronic device has established a connection with the second device, and a disconnected state when the electronic device has not established a connection with the second device.
[0078] The audio working state can be divided into at least an audio on state and an audio waiting state. The audio working state can be understood as whether the second device is the current audio working device of the electronic device at this time. Furthermore, after the electronic device establishes a communication connection with each second device, the electronic device only responds to the multimedia service of the second device whose "audio working state" belongs to the audio occupied state. In some implementation scenarios, the electronic device can usually only support a target number of second devices occupying the audio channel of the electronic device. It can be understood that the electronic device can usually only respond to a certain number (such as 3) of second devices as audio working devices. The target number is usually determined based on the number that can be supported by the communication protocol at both ends or the number of product designs. In addition, when the second device has established a connection with the electronic device but is not the current audio working device of the electronic device, it is usually necessary to wait for the audio state to switch based on the service control logic. At this time, it is usually in the audio waiting state.
[0079] The device information can be understood as the current device attribute information of the second device, such as the address information, data information, and name information of the second device; and device information such as the data load, power, and data volume of the second device.
[0080] It can be understood that during the development stage of the device management interface, the display method of the interface display elements is usually set, such as setting the arrangement rules and style of the display elements. The status information and device information of the second device can be displayed based on the interface display rules set between the device management, such as in the form of text, images, audio, etc.
[0081] In a specific implementation scenario, the status information and device information of each second device can be displayed in the device management interface. Specifically, it can be: first determine the device sub-interface corresponding to each second device in the device management interface; then display the status information and device information of the second device in the device sub-interface.
[0082] Optionally, the device sub-interface may be a partial area in the device management interface, that is, the device management interface may include at least one device sub-interface of a second device, and the display area of the device management interface to which the device sub-interface belongs may be divided in advance. In this way, after the division of the device sub-interfaces of all second devices is completed, the partitioned display of multiple second devices can be completed in the information display stage. Figure 5 As shown, Figure 5 This is a schematic diagram of the device management interface involved in this application. Figure 5 In the figure, the multiple areas to which the black dotted boxes belong are the sub-interfaces corresponding to the aforementioned multiple second devices. In the information display stage, the first device first determines the display area to which the information of each second device belongs, and then displays and loads the status information and device information of the corresponding second device in the area to which the black dotted boxes belong.
[0083] Optional. The device sub-interface may also be an interface independent of the device management interface. Upon triggering a control corresponding to the corresponding second device in the device management interface by a user, the device sub-interface may display a display interface loaded by the first device, wherein only the aforementioned information regarding the "corresponding second device," i.e., status information and device information of the "corresponding second device," is displayed in the display interface.
[0084] S203: Obtain device update information of at least one of the second devices.
[0085] It can be understood that, for example, in a scenario where an electronic device has a communication connection with multiple devices, the information of the electronic device and / or the second device (status information, device information, etc.) will change with the business needs in the actual application environment. For example, when the connection status between the electronic device and a second device switches from connected to disconnected, and there is a change in the connection, disconnection, name, and other information of a second device on the electronic device side, it involves the update process of the information of at least one second device to be updated in the multi-device scenario. Based on this, the first device can monitor the information of the second device that can establish a communication connection with the electronic device, and monitor whether there is a device update in the device management scenario between the second device and the electronic device. When a device update occurs on a target second device in the second device, the device update can be understood as a change in the connection information and / or device information of the target second device, and the first device can obtain the device update information of at least one target second device.
[0086] Optionally, the first device may obtain device update information from the electronic device side, and may also obtain device update information from the second device side.
[0087] 1. The first device can actively obtain device update information for the target second device (which can be understood as the second device to be updated) from the electronic device and / or at least one second device; schematically, the first device can set a monitoring time, and actively send an update information acquisition request to the electronic device when each monitoring time arrives. After the electronic device and / or at least one second device receives the update information acquisition request, if the electronic device detects that the connection status information of the target second device in the second device has changed, it generates device update information and then sends the device update information of the target second device to the first device. In this way, after receiving the device update information, the first device can update the original information of the target second device in the device management interface.
[0088] 2. The first device receives device update information for the target second device sent by the electronic device and / or the second device, where the device update information is generated when the information between the electronic device and the target second device is updated.
[0089] The electronic device and / or the second device may actively update the information when the information changes. In a specific implementation, the electronic device and / or the second device may actively send device update information for the target second device to the first device.
[0090] It can be understood that after obtaining the device update information for at least one target second device, the first device then updates the information for each target second device.
[0091] S204: Update information of the second device in the device management interface based on the device update information.
[0092] The information (such as device information and status information) of the second device (ie, the second device whose information is to be updated) in the device management interface is updated based on the device update information.
[0093] In a feasible implementation, when the first device updates information, it can determine the target sub-interface corresponding to at least one target second device (i.e., the second device whose information is to be updated) in the device management interface; and then update the device status information of the target sub-interface, such as updating the connection information of the corresponding target second device from the connected state to the connected state, updating the device information of the target second device from the name A to the name B, updating the backconnection priority in the connection information of the target second device from level A to level B, and so on.
[0094] In this application, for electronic devices such as Bluetooth headsets, speakers, watches, bracelets, etc., in scenarios involving multiple device connections, it is usually impossible to efficiently, comprehensively, and clearly realize the intelligent display of the device connection status of electronic devices in the "one to many" scenario by only managing based on interfaces such as the system settings. In this application, a device management interface configured for electronic devices can be introduced separately to meet the display requirements of electronic devices in the "one to many" scenario. A visual device management interface can be used separately to help users display the business control processes such as disconnection, connection, reconnection, and connection grabbing of electronic devices such as Bluetooth headsets, thereby improving the user's display experience in the "one to many" scenario and allowing users to see the device connection status of the current electronic device on the first device at a glance.
[0095] S205: Managing the electronic device based on the device management interface.
[0096] Please refer to step S103 for details, which will not be repeated here.
[0097] In a specific implementation scenario, the first device may detect the number of target second devices that have established a connection with the electronic device;
[0098] Illustratively, the first device may periodically or in real time determine the number of devices in the communication connection established by the electronic device, that is, the number of second devices currently establishing a communication connection (e.g., a point-to-point connection) with the first device. For example, the first device may periodically or in real time send a quantity acquisition request for the number of devices to the electronic device, and the electronic device may feedback to the first device the number of target second devices with which the connection has been established in response to the quantity acquisition request.
[0099] Further, the first device then determines whether the number of devices is less than the connection number threshold. In response to the number of devices being less than the connection number threshold, the first device can directly establish a communication connection with the second device with which the electronic device has not established a communication connection.
[0100] Furthermore, the first device may respond to the number of devices being greater than or equal to a connection number threshold, usually when the number of devices reaches a maximum threshold, and the first device may output connection prompt information on the device management interface. The connection prompt information can be used to prompt the user whether to continue to establish a connection when the number of connections of the current electronic device reaches a threshold. The information type of the connection prompt information can be text, audio, picture, video, pop-up interface, etc., and can also be customized by the user based on the actual application environment. It is understandable that the output connection prompt information is used to prompt the user that the number of connections of the electronic device has reached a threshold, and the user can further adjust the second device connected to the electronic device based on the output connection prompt information, such as disconnecting some of the second devices, etc.
[0101] Furthermore, if in a device connection scenario, if the user selects a second device on the device management interface and inputs a device connection instruction to instruct the electronic device to establish a communication connection with the "certain second device", in this process, the first device can simultaneously detect the number of the aforementioned devices, and the first device can output a connection prompt message in response to the number of devices being greater than or equal to the connection number threshold. At this time, the connection prompt message can be used to prompt the user whether to continue to establish the connection; further: the first device detects the confirmation instruction input by the user for the connection prompt information, and the confirmation instruction continues to establish the connection; further, the first device responds to the confirmation instruction, at this time the first device can control the electronic device to select at least one of the connected second devices to disconnect the communication connection, such as: the first device can select at least one of the corresponding priorities of all second devices (such as connection priority) in order of priority to disconnect the communication connection, and then establish a communication connection with the second device to be connected.
[0102] Optionally, the first device may also provide a connection reminder in the form of a pop-up window. In response to the number of devices being greater than or equal to a connection number threshold, the first device may output a device management pop-up window on the device management interface. The device management pop-up window is used to prompt the user to switch the device of the target second device to which the connection has been established. For example, a pop-up window of the control interface may pop up to allow the user to select the second device to be disconnected so that the electronic device can connect to a new device.
[0103] Schematically, when the first device detects that the number of devices is greater than or equal to the connection number threshold, the electronic device usually reaches the device connection threshold. In order to maintain the business function operation of the electronic device and ensure the operation of the business function, the first device can prompt the user to manage the device based on a pop-up window. The device management can be disconnecting at least one second device, switching at least one second device, controlling at least one second device to standby, etc.
[0104] It is understandable that the first device may output a device management pop-up window on the device management interface. The specifications of the device management pop-up window are less than or equal to the specifications of the device management interface. The device management pop-up window may output a prompt for device switching for the target second device to which a connection has been established. Here, the target second device may be a second device with a lower priority selected from all second devices to which connections have been established based on device priority. The user may input a device switching instruction for the target second device based on the device management pop-up window, and the first device may respond to the device switching instruction and perform device switching on the target second device.
[0105] Optionally, the first device can perform device management in response to the number of devices being greater than or equal to a connection number threshold, and can refer to the device priority corresponding to the second device. Here, the type of device priority is determined based on the current business scenario, that is, the priority types of different types of business scenarios are inconsistent, such as the audio priority in the audio business scenario, the connection priority in the connection business scenario, the backconnection priority in the backconnection business scenario, etc. The first device can perform device management based on the device priority corresponding to at least one of the target second devices in the device management interface. For example, based on the priorities corresponding to all second devices (such as connection priorities), the connected and to-be-connected second devices are sorted in order of priority, and certain second devices indicated by the connection number threshold are selected in order to ensure the connection between the electronic device and the aforementioned "certain second devices". In addition, second devices with a lower ranking can be ignored (such as disconnected).
[0106] Optionally, when the number of devices is greater than or equal to the connection number threshold, the user can also manage the target second device by entering device management instructions in the device management interface of the first device. The device management instructions can be for disconnecting the target second device, deleting the target second device, ignoring the target second device, etc.
[0107] In an embodiment of the present application, when a communication connection exists between the first device and the electronic device, information about a second device that can establish a connection with the electronic device is obtained, and then the information about some or all of the second devices is displayed in the device management interface to manage the electronic device based on the device management interface. During the entire communication connection and communication management process, device management of the electronic device connected to multiple devices is achieved by using the "device management interface of the electronic device" on the first device (such as a user device). Device management services such as connection status display, connection disconnection, and reconnection can be completed based on the device management interface on the first device side. Compared with the device management process on the electronic device side in the related art, the visualization effect is better, and it is more direct and clear for the electronic device to manage multiple second devices that can establish a communication connection. It can meet the needs of electronic device management in the "one-to-many" scenario, improve the experience in the "one-to-many" scenario, and also simplify device management processes such as device connection, device disconnection, and ignoring devices, avoiding the need to operate multiple devices (electronic devices and / or devices that can establish connections) in the related art to achieve the expected device management effect, greatly improving the intelligence and convenience of device management.
[0108] See Figure 6 , Figure 6 This is a flow chart of another embodiment of a device management method proposed in this application. Specifically:
[0109] S301: When the first device is in communication connection with the electronic device, obtain information of a second device that can establish a connection with the electronic device.
[0110] For details, please refer to the method steps of other embodiments of the present application, which will not be repeated here.
[0111] S302: Display the information for part or all of the second devices in a device management interface.
[0112] The device management interface is the device management interface corresponding to the electronic device.
[0113] For details of S301-S302, please refer to the method steps of other embodiments of the present application and will not be repeated here.
[0114] S303: Acquire a target operation input for the second device in the device management interface.
[0115] The device management interface can usually display an interface related to the electronic device and the second device, which includes display elements such as text, pictures, animations, tables, icons, etc. The device management interface is used to visually implement device management of the electronic device on the first device. In actual applications, the device management interface on the first device can usually be a display page of the application corresponding to the electronic device and a web page corresponding to the electronic device. The application includes but is not limited to third-party development, as well as some third-party development, quick applications, applets, plug-ins, etc.
[0116] In practical applications, the device management interface may include at least one control for associating electronic devices and managing the device. Users can input target operations based on the function controls on the device management interface. Function controls can implement certain device management methods and functions. For example, interface elements such as windows, text boxes, buttons, and drop-down menus can be provided to implement device management functions, such as device connection, connection switching, disconnection, reconnection priority setting, and device preemption.
[0117] Among them, the type of function control can be a command control, a selection control, an input control, a display control, etc.
[0118] It is understood that the first device may have a touch screen, which may be a touch screen capable of single touch functions, such as a capacitive touch screen, an electromagnetic touch screen, or a touch screen capable of simultaneously realizing capacitive sensing, electromagnetic sensing, and infrared sensing. When a user touches the touch screen of the display device management interface on the first device with a finger, the capacitance parameter of the touch position changes, and the touch frame determines the touch position of the finger on the display interface of the first device based on the change in capacitance; or, when the finger contacts the touch frame, it blocks the infrared receiving end from receiving the infrared signal, and the touch frame determines the touch position of the finger on the display interface based on the blocked infrared signal. By identifying the code corresponding to the logic control instruction corresponding to the touch position, the first device monitors the target operation input by the user for the function control on the display device management interface. The target operation corresponds to the triggered business function for device management, such as a device connection operation for realizing device connection, a connection switching operation for realizing connection switching, a connection disconnection operation for realizing connection disconnection, a priority setting operation for realizing reconnection priority setting, a configuration operation for realizing device configuration, etc. The specific target operation can be developed and defined based on the actual business logic scenario and is not specifically limited here.
[0119] Optionally, the target operation input by the user on the device management interface of the first device can be achieved by selecting the icon of the corresponding function control with a mouse of an external device connected to the first device; it can be achieved by collecting the voice signal input by the user for device management through the voice collection device of the first device, such as the voice input of "cancel the Bluetooth connection between the electronic device and device 1"; it can also be achieved by collecting the gesture control operation of a specific gesture input by the user through the camera of the first device, and the target operation can be determined by identifying the gesture control operation, etc.
[0120] In a specific implementation scenario, the first device may have a touch screen, which may be a touch screen capable of realizing a single touch function, such as a capacitive touch screen, an electromagnetic touch screen, or a touch screen capable of realizing capacitive sensing, electromagnetic sensing, and infrared sensing at the same time. Figure 5 As shown, the current display interface of the first device is a display screen of the "Device Management Interface." The user can obtain connection status information between the electronic device and multiple second devices on the current device management interface. The current display interface includes a "Configuration" control, which is displayed on the interface of the first device with a specified image. In one scenario, if the user wishes to configure a second device n that has established a communication connection with the electronic device, they can touch the "Configuration" control with their finger to enter the target operation. The first device then obtains the target operation entered by the user on the device management interface.
[0121] It should be noted that there are many ways for the user to input the movement instruction for the translation control on the display page, which may be one or more of the above methods, and are not specifically limited here.
[0122] S304: In response to the target operation, manage the electronic device.
[0123] It can be understood that after obtaining the target operation input on the device management interface, the first device can directly execute the code for a certain operation function operation or a certain control implemented by the operation management corresponding to the target operation. It can be understood that the first device directly responds to the target operation and performs device management processing on the electronic device corresponding to the business management logic of the target operation. For example, if the target operation is a device connection operation to connect a device a to which a communication connection has not been established, the first device can directly control the electronic device to connect to device a. If the target operation is a device disconnection operation to disconnect a device b to which a communication connection has been established, the first device can directly control the electronic device to disconnect from device b, and so on.
[0124] In some embodiments, when there is a communication connection between the first device and the electronic device, the user performs device management on the electronic device based on the first device, usually managing a second device that can establish a connection with the electronic device. Usually, the user cannot intuitively obtain the status changes between the electronic device and the second device, that is, the visibility of the device management response result is usually weak. In order to avoid unpredictable misoperations, in some embodiments, after receiving the target operation, it is necessary to respond to the target operation to control the electronic device to perform device management. The result can be determined in combination with operations on the electronic device or the second device. If the result meets the expectations, the first device will execute the response target operation to control the electronic device to perform device management, such as controlling the electronic device to disconnect the operation connection with a second device.
[0125] In one feasible implementation, the first device may respond to the target operation by controlling the electronic device to directly respond to the target operation. Specifically, the first device may send a first target operation instruction for the second device to the electronic device, where the first target operation instruction is used to instruct the electronic device to perform the target operation processing on the second device based on the first target operation instruction. The target operation processing process is the electronic device executing the target service control logic corresponding to the first target operation instruction.
[0126] The target operation corresponds to the triggered business function for device management, such as a device connection operation for device connection, a connection handover operation for connection handover, a connection disconnection operation for disconnection, a priority setting operation for reconnection priority setting, a configuration operation for device configuration, and so on. Specific target operations can be developed and defined based on actual business logic scenarios and are not specifically limited here.
[0127] In one feasible implementation, unlike the aforementioned direct response, further confirmation is required during the process of the first device responding to the target operation and controlling the electronic device to execute the target operation and perform the target operation processing. In actual applications, the first device sends a second target operation instruction for the second device to the electronic device, and the second target operation instruction is used to instruct the electronic device to perform the target operation processing on the second device after performing operation verification based on the second target operation instruction.
[0128] It can be understood that the second target operation instruction is different from the first target operation instruction. The first target operation instruction usually controls the electronic device to directly respond to the instruction to execute the corresponding business operation process; the second target operation instruction is used to re-verify the operation. After the electronic device receives the second target operation instruction corresponding to the target operation, it is necessary to monitor the response operation input by the user of the electronic device and verify the target operation based on the response operation. Only when the response operation is as expected, such as the response operation is confirmed by the user of the electronic device (the user of the first device and the user of the electronic device can be the same; or different), the target operation is executed.
[0129] Illustratively, the second target operation instruction can generally be used for the electronic device to output target operation information and monitor the response operation input for the target operation information, and perform operation verification based on the response operation; that is, after receiving the second operation instruction, the electronic device can output target operation information, and the target operation information is used to prompt the current user of the electronic device to input the target operation to the electronic device. The target operation information can be a reminder in the form of voice, video, text, vibration, prompt light, etc. The target operation information can be used to receive the response operation input by the user based on the target operation information after prompting the current user of the electronic device. The response operation can be divided into at least a first type of confirming the execution of the target operation instruction and a second type of rejecting the execution of the target operation instruction based on the type.
[0130] In addition, the response operation input by the user based on the target operation information can be a pre-customized touch method (such as finger touching an electronic device), voice input method, gesture input method recognized by the camera, etc., which can be determined based on the actual application situation and is not specifically limited here.
[0131] Further, when the response operation matches the target response operation, controlling the electronic device to perform target operation processing;
[0132] It is understood that the target response operation is a preset operation set for the target operation to determine the execution of the target operation instruction, that is, the first type of the aforementioned classification by type. It is understood that after the electronic device detects the response operation, it determines whether the response operation is the target response operation. If the response operation is not the target response operation, the target operation instruction corresponding to the target operation is not executed; conversely, when the response operation matches the target response operation, the electronic device can respond to the target operation input on the first device based on the target operation instruction and perform the target operation processing. This implements the process of the first device controlling the electronic device to perform the target operation processing.
[0133] In a feasible implementation: In order to avoid unpredictable misoperations and ensure the safety and compliance of operations, operation monitoring can be performed from the first device side or the electronic device side. The first device can detect the operating environment in which the target operation is performed, and only when the environmental detection results meet expectations, the electronic device is controlled to perform device management.
[0134] It can be understood that, in response to the target operation, the first device performs environmental detection on the operating environment of the target operation based on the first device and / or the electronic device, so as to control the electronic device to perform the target operation processing.
[0135] Schematically, the operating environment detection can be understood as the detection and processing of user authentication and / or operation credibility.
[0136] The first device controls the electronic device to perform target operation processing based on the environment detection result.
[0137] In a specific implementation, if the environmental detection result is the first type mentioned above, which is usually a normal operation of the user, the electronic device can be controlled to perform the target operation processing.
[0138] In some embodiments, a joint judgment can also be made, that is, whether to send a second target operation instruction corresponding to the target operation is determined based on the environmental detection result. The second target operation instruction is usually used by the electronic device to output target operation information and monitor the response operation input for the target operation information; when the response operation matches the target response operation, the electronic device is controlled to perform target operation processing.
[0139] In a specific implementation scenario: the user's physiological characteristics in the operating environment corresponding to the target operation can be obtained based on the first device and / or electronic device, and identity detection can be performed on the user's physiological characteristics; when the identity detection passes, the electronic device can be controlled to perform target operation processing.
[0140] During the specific implementation process, the user physiological characteristics of the operating environment corresponding to the target operation can be obtained on the first device side. For example, the first device can obtain the user physiological characteristics of the user when inputting the target operation, and determine whether the user of the first device and the user of the electronic device are the same user based on the user physiological characteristics, or determine whether the user of the first device is a preset type of user; wherein the user physiological characteristics can be the voiceprint characteristics, fingerprint characteristics, facial characteristics, etc. of the user of the first device, and the reference physiological characteristics corresponding to the user of the electronic device can be collected and stored during the use of the electronic device by the user or the physiological characteristics of the customized user of the electronic device can be collected in advance; and then the user physiological characteristics corresponding to the first device and the reference physiological characteristics corresponding to the electronic device are matched to obtain a matching result. It can be understood that the matching result is the identity detection result, and the identity detection result can be divided into a first type in which the identity detection passes and a second type in which the identity detection fails according to the type.
[0141] In a specific implementation scenario: based on the first device and / or electronic device, the device distance between the first device and the second device is obtained, and when the device distance is less than or equal to a distance threshold, the electronic device is controlled to perform target operation processing.
[0142] The distance threshold is a threshold or critical value for device distance. When the device distance is less than or equal to the distance threshold, it can be considered as the same user operation, such as a user using a first device, an electronic device, and a second device simultaneously within a certain range. When the device distance is greater than the distance threshold, it can be considered that the target operation has a certain risk. The distance threshold can be determined by the user or a factory preset value.
[0143] It is understood that the device distance can be determined based on the location coordinates of the first device and the electronic device, and a device distance is obtained by calculating the distance based on the two location coordinates. The device distance can be determined based on the signal strength detected by the first device to the electronic device, or the signal strength detected by the electronic device to the first device. The device distance between the two devices can be calculated by obtaining the signal strength of the opposite device.
[0144] The signal strength refers to a received signal strength indicator value, which is a physical quantity used to represent the strength of the signal transmitted by the signal transmitter received by the receiver.
[0145] The device distance d between two devices can be calculated based on the signal strength RSSI using the following formula:
[0146] d=10∧[(abs(RSSI)-A) / (10*n)]
[0147] Wherein, abs() represents the absolute value function, A is the reference signal strength value (the absolute value of the RSSI value when the measuring device is 1 meter away from the reference device, such as the first device is 1 meter away from the electronic device), and n is the environmental attenuation factor.
[0148] Optionally, after establishing the above distance measurement formula, the method further includes calibrating the model parameters (A, n) in the distance measurement formula.
[0149] In a feasible implementation, the correction of the model parameters (A, n) in the distance measurement formula may be performed by using an error back propagation algorithm based on the calculation loss corresponding to each of at least one set of sample data groups.
[0150] Specifically, the training results obtained by the distance measurement formula are compared with the labeled sample data results to obtain the calculation loss, which is used to indicate the error between the training results and the data results.
[0151] In practical applications, after measuring the signal strength RSSI of the peer device, the signal strength is input into the above distance measurement formula to output the device distance d.
[0152] S305: Obtain device update information of at least one second device, and update information of the second device in the device management interface based on the device update information.
[0153] The following is an explanation of the subsequent information update process involved in the aforementioned target operation:
[0154] The first device may determine a device response result for the target operation of the electronic device, and update information in the device management interface based on the device response result.
[0155] The device response result refers to the execution result of the electronic device for the target operation. It can be understood that it controls whether the electronic device has achieved an operation response based on the target operation. Commonly, the device response result is divided into device response success and device response failure according to type.
[0156] Furthermore, the first device may send a target operation instruction to the electronic device based on the target operation. After receiving the target operation instruction, the electronic device may provide feedback to the first device regarding a device response result indicating whether the target operation instruction was successfully executed. For example, if the target operation instruction is a device management processing operation for a second device, the electronic device may provide feedback to the first device regarding a device response result indicating whether the device management processing was successful.
[0157] Furthermore, if the first device determines that the target operation is successfully executed based on the device response result, typically the device status information of the electronic device and / or the corresponding second device has changed, then the first device can update the device status information in the device management interface. The specific update process can be referred to the method steps in other embodiments of the present application and will not be repeated here.
[0158] Furthermore, after the first device determines that the device response result of the target operation has completed the information update, it can also update the information in the device management interface based on the device response result. It can be output response prompt information, which can be understood as information used to prompt the user of the first device whether the electronic device responds to the target operation. The response prompt information can be in the form of vibration reminder, text reminder, voice reminder, etc. The response prompt information can be information that feedbacks the device response result, such as whether the electronic device responds successfully. It can be understood that the first device outputs the corresponding response prompt information of the feedback response result regardless of whether the response is successful or not during the process of responding to each target operation.
[0159] With reference to the operation verification and environmental monitoring process involved in step s304, the first device obtains the operation verification result and / or environmental detection result of the electronic device, and updates information for the second device in the device management interface based on the operation verification result and / or environmental detection result; the information update is used to display whether the operation verification of the target operation has passed, and / or whether the environmental detection of the target operation has passed.
[0160] The information update may be outputting corresponding detection result information. Schematically, the first device obtains the operation verification result and / or environmental detection result of the electronic device, and outputs the operation verification result and / or environmental detection result for the second device in the device management interface.
[0161] The detection result information can be understood as the result information used to inform the user of the first device whether the electronic device has passed the operation detection and environmental detection in the process of responding to the target operation. The detection result information can be in the form of vibration reminder, text reminder, voice reminder, etc. The detection result information can be understood as the result information of the operation detection and environmental detection involved in the process of the first device responding to each target operation, and the corresponding feedback result is output regardless of whether the detection succeeds or fails.
[0162] In the example of the present application, when there is a communication connection between the first device and the electronic device, the information of the second device that can establish a connection with the electronic device is obtained, and then the information for some or all of the second devices is displayed in the device management interface to manage the electronic device based on the device management interface. During the entire communication connection and communication management process, the device management of the electronic device connected to multiple devices is realized by the "device management interface of the electronic device" on the first device (such as a user device). Device management services such as connection status display, connection disconnection, and reconnection can be completed only by relying on the device management interface on the first device side. Compared with the device management process on the electronic device side in the related art, the visualization effect is better, and it is more direct and clear for the electronic device to manage multiple second devices that can establish a communication connection. It can meet the needs of electronic device management in the "one-to-many" scenario and improve the experience in the "one-to-many" scenario. At the same time, it also simplifies device management processes such as device connection, device disconnection, and ignoring devices, avoiding multiple devices (electronic devices and / or devices that can establish a connection) to operate in order to achieve the expected effect, greatly improving the efficiency and convenience of device management.
[0163] See Figure 8 , Figure 8 This is a flow chart of another embodiment of a device management method proposed in this application. Specifically:
[0164] S401: When the first device is in communication connection with the electronic device, obtain information of a second device that can establish a connection with the electronic device.
[0165] S402: Displaying the information for part or all of the second devices in a device management interface.
[0166] For details of S401-S402, please refer to the method steps of other embodiments of the present application and will not be repeated here.
[0167] S403: In response to the device connection operation for the second device, controlling the electronic device to perform device connection processing on the second device;
[0168] The operation object corresponding to the device connection operation - the second device can be understood as a device that has not established a communication connection with the electronic device. For example, the second device can be a device that has established a communication connection with the electronic device in the past. It can be understood that for a device that has established a communication connection with the electronic device in the historical time, the device connection process at the current time point can usually be called a device reconnection. Such as the cover-opening reconnection scenario involved in wireless headphones. It can be understood that the device management interface can display the device status information corresponding to the second device that has established a communication connection with the electronic device, the second device that has not established a communication connection, and other "devices that can establish a communication connection with the electronic device". It is convenient for users to easily input device connection operations for device management in the device management interface of the first device.
[0169] The device connection operation is one of the target operations in this application, and the device connection operation is used to enable the electronic device to establish a device connection with a second device. It is understood that when the second device is a historically connected device of the electronic device, the device connection operation is used to implement a device reconnection operation between the electronic device and the second device.
[0170] In a feasible implementation, the first device may send a first device connection processing instruction for the second device to the electronic device, where the first device connection processing instruction is used to instruct the electronic device to perform device connection processing on the second device;
[0171] Schematically, during the entire connection establishment process, for the unconnected second device, the device connection function is usually in a controllable state, which can be specifically represented in the form of a "connect" control. After the user enters the device connection operation for the second device to be connected in the first device control interface management interface, the first device can send a first device connection processing instruction for connection to an electronic device such as a wireless headset based on the interface management interface. In actual applications, the first device connection processing instruction can include feature information of the second device, which can be the address information of the second device. After receiving the first device connection processing instruction, the second device will scan the surrounding devices. After scanning the address information of the second device, it will perform a device reconnection operation to complete the device connection processing.
[0172] In one feasible implementation, the first device may send a second device connection processing instruction for the electronic device to the second device. It is understandable that the second device connection processing instruction is generally used to instruct the second device to perform device connection processing on the electronic device. In a specific implementation, the second device connection processing instruction may carry characteristic information of the electronic device, such as address information of the electronic device.
[0173] In specific implementation, Figure 9 As shown, Figure 9This is a schematic diagram of an interface for managing electronic devices involved in this application. Figure 9 In the example, multiple devices are involved, such as device 1, device 2, ... device n, and some of the multiple devices establish communication connections with the electronic device, such as device 1, device n, and device 2 do not establish communication connections with the electronic device: the wireless headset. The user of the first device can establish a communication connection based on the following example: Figure 9 In the device management interface shown, in a scenario where multiple devices establish communication connections with the electronic device, the user can touch the "Connect" button in the area where device 2 is located to input a device connection operation for the second device (that is, device 2). At this time, the first device detects the device connection operation input by the user for the second device (that is, device 2). In response to the device connection operation, the first device can be the electronic device: wireless headset. Actively send a first device connection processing instruction for the second device (device 2). The first device connection processing instruction is used to instruct the electronic device to perform device connection processing on the second device, that is: after the electronic device receives the first device connection processing instruction, it responds to the first device connection processing instruction to establish a device connection with the second device (device 2); further, the device management interface displays the address information of device 2, such as the MAC address. The first device can also actively send a second device connection processing instruction for the electronic device to the second device. The second device connection processing instruction is generally used to instruct the second device to perform device connection processing on the electronic device, that is: after the second device receives the second device connection processing instruction, it responds to the second device connection processing instruction to establish a device connection with the electronic device.
[0174] Furthermore, in some implementation scenarios involved in this application: there is usually a connection number threshold for the number of devices that can establish communication connections with the electronic device, and the connection number threshold can be understood as a critical value or threshold value for the number of devices that can establish communication connections.
[0175] It is understandable that the first device may determine the number of devices in the communication connection established by the electronic device, that is, the number of devices currently establishing a communication connection (such as a point-to-point connection) with the first device.
[0176] The first device then determines whether the number of devices is less than a connection number threshold. In response to the number of devices being less than the connection number threshold, the first device may directly establish a communication connection with the second device.
[0177] Furthermore, in response to the number of devices being greater than or equal to a connection number threshold, typically when the number of devices reaches a maximum threshold, the first device may output a connection prompt message on the device management interface. The connection prompt message may be used to prompt the user whether to continue establishing a connection when the number of connected electronic devices reaches the threshold.
[0178] Furthermore, the first device can detect the confirmation instruction entered by the user in response to the connection prompt information. The confirmation instruction means to continue to establish the connection. At this time, the first device can control the electronic device to select at least one of the connected second devices to disconnect the communication connection, and then establish a communication connection with the second device.
[0179] In some implementation scenarios, the second device can be understood as a device with no established communication connection among all the second devices involved in a scenario where the electronic device establishes a communication connection with multiple second devices.
[0180] S404: In response to the device ignore operation on the second device, control the electronic device to perform device ignore processing on the second device;
[0181] The device ignore operation can be understood as one of the target operations involved in other embodiments of the present application.
[0182] It is understandable that the first device obtains the communication connection status between the electronic device and the second device, and further determines based on the communication connection status:
[0183] If the communication connection state is a normal connection state, the first device controls the electronic device to disconnect the communication connection with the second device, and / or clears the information of the second device;
[0184] If the communication connection state is a disconnected state, the first device clears the information of the second device.
[0185] The second device, the object of the operation ignored by the device, may be a device that has not established a communication connection with the electronic device, or may be a device that has established a communication connection with the electronic device.
[0186] The device ignore operation is used to control the electronic device not to establish a communication connection with a specific second device. Usually, for a second device that has established a communication connection with the electronic device, the first device controls the second device to disconnect the communication connection with the electronic device and clears all data of the second device; for a second device that has not established a communication connection with the electronic device, all data of the second device (including information of the second device) is directly cleared. "Clearing all data of the second device" can be understood as the first device clearing all data of the second device, the first device instructing the electronic device to clear all data of the second device, and the first device instructing the service device that saves the information of the second device to clear all data of the second device.
[0187] In one feasible implementation, the first device may send a first ignore instruction to the electronic device, directed to the second device, wherein the first ignore instruction instructs the electronic device to ignore the second device. In practical applications, the first ignore instruction may include characteristic information of the second device, such as the address of the second device. After receiving the first ignore instruction, the second device clears all data on the second device. Furthermore, if the second device has established a communication connection with the electronic device, the second device may first disconnect the communication connection before clearing the data.
[0188] In a feasible implementation, the device ignoring operation is usually a sensitive operation. To avoid the user identity of the first device being non-compliant or the user operating incorrectly, the operation execution decision can be made in conjunction with the electronic device. Please refer to S304.
[0189] For example, in a specific implementation, the first device may send a second ignore instruction for the second device to the electronic device, and the second ignore instruction is used to instruct the electronic device to output prompt ignore information and perform device ignore processing on the second device when a confirmation ignore operation corresponding to the prompt ignore information is detected.
[0190] That is, after receiving the second ignore instruction, the first device outputs a prompt ignore message, wherein the prompt ignore message is used to prompt the current user of the electronic device to perform a device ignore operation on the electronic device. The prompt ignore message can be a reminder in the form of voice, video, text, vibration, prompt light, etc. The prompt ignore message can be used to receive a response operation input by the user based on the prompt ignore message after prompting the current user of the electronic device. If the response operation is a confirmation ignore operation, the device ignore process is performed on the second device.
[0191] S405: In response to the disconnection operation on the second device, controlling the electronic device to perform a disconnection process on the second device;
[0192] S4051: The first device may send a first disconnection instruction for the second device to the electronic device, where the first disconnection instruction is used to instruct the electronic device to disconnect the second device indicated by the first disconnection operation;
[0193] In a specific implementation, the first device may send a disconnection instruction for the second device to the electronic device. The disconnection instruction may carry characteristic information of the second device, such as the address information and name information of the second device. In this way, after the electronic device receives the disconnection instruction, it directly responds to the disconnection instruction to disconnect the communication connection with the second device.
[0194] S4052. The first device may send a second disconnection instruction for the second device to the electronic device, where the second ignore instruction is used to instruct the electronic device to output disconnection information and perform disconnection processing on the second device when a confirmation disconnection operation corresponding to the disconnection information is detected.
[0195] In a feasible implementation, the disconnection operation is usually a sensitive operation. To avoid the user identity of the first device being non-compliant or the user making an erroneous operation, the operation execution decision can be made in conjunction with the electronic device. Please refer to S304.
[0196] For example, in a specific implementation, the first device may send a second device disconnect instruction for the second device to the electronic device, and the second device disconnect instruction is used to instruct the electronic device to output device disconnect information and perform device disconnect processing on the second device when a confirmation disconnect operation corresponding to the device disconnect information is detected.
[0197] That is, after receiving the disconnect instruction from the second device, the first device outputs device disconnect information, which is used to prompt the current user of the electronic device that a device disconnect operation will be performed on the electronic device. The device disconnect information can be a reminder in the form of voice, video, text, vibration, prompt light, etc. The device disconnect information can be used to receive a response operation input by the user based on the device disconnect information after prompting the current user of the electronic device. If the response operation is to confirm the disconnect operation, the device disconnection process is performed on the second device.
[0198] S406: In response to the audio setting operation for the second device, control the electronic device to perform audio setting processing on the second device.
[0199] The audio setting operation usually sets the second device as the current audio working device, for example, occupying the audio channel of the electronic device. At this time, the audio working state of the second device set as the audio working device belongs to the audio occupied state. Furthermore, the second device that is not set as the audio working device is in the audio waiting state at this time, which can be understood as waiting to occupy the audio channel of the electronic device. In this scenario, the electronic device will not respond to the audio service of the second device in the audio waiting state, such as playing audio services; the second device set as the audio working device is in the audio occupied state at this time, and the electronic device can respond to the audio service of the "second device set as the audio working device", such as playing audio services.
[0200] It can be understood that, for the second device, the audio working state of the second device can be divided into an audio occupied state and an audio waiting state. The audio working state can be understood as whether the second device is the current audio working device of the electronic device at this time. Furthermore, after the electronic device establishes a communication connection with each second device, the electronic device only responds to the multimedia service of the second device whose "audio working state" belongs to the audio occupied state. In some implementation scenarios, the electronic device can usually only support a target number of second devices to occupy the audio channel of the electronic device. It can be understood that the electronic device can usually only respond to a certain number (such as 3) of second devices as audio working devices. The target number is usually determined based on the number that can be supported by the communication protocol at both ends or the number of product designs. In addition, when the second device has established a connection with the electronic device but is not the current audio working device of the electronic device, it is usually necessary to wait for the audio state to be switched based on the service control logic. At this time, it is usually in the audio waiting state. Further, when the audio working state of a certain device A that has established a communication connection with the electronic device is the audio waiting state, the "certain device A" (that is, the second device at this time) can be switched to the audio working device through the audio setting operation. The audio setting operation is used to determine the current audio working device of the electronic device among all currently connected devices, etc.
[0201] For example, in a specific implementation, the first device may send an audio setting instruction for the second device to the electronic device. When the electronic device receives the audio setting instruction, it may determine the specific second device indicated by the audio setting instruction, and then set the aforementioned specific second device as an audio working device among the second devices of all currently connected devices, and give priority to responding to the audio service of the specific second device (such as the audio working device), which can be commonly used for audio control services in multimedia scenarios.
[0202] S407: In response to the priority setting operation for the second device, control the electronic device to perform a priority setting process on the second device.
[0203] It is understandable that the first device can set the device priority of the corresponding second device based on the priority setting operation, and the device priority of the second device includes but is not limited to: one or more of: reconnection priority, preemption priority, switching priority, and scene priority.
[0204] For example, the first device can determine the second device corresponding to the operation and the device priority entered by the user for the second device based on the priority setting operation, and then the first device can save the device priority of the second device in the local storage space; the first device can also send the device priority to the electronic device, and the electronic device saves the device priority of the second device.
[0205] In the present application, in the communication connection scenario between an electronic device and at least two second devices, after the electronic device is turned on, it can establish communication connections with multiple second devices. During the multiple communication connections, device priorities (which can be reconnection priority, preemption priority, switching priority, etc.) can be set for all stored second devices. After the electronic device is turned on, during the corresponding business processing process, the priority of each second device is used to indicate the business response order of the electronic device in responding to each second device related to the business when multiple business processing objects are involved. For example, in a device reconnection scenario corresponding to a device reconnection business, the reconnection order of each device can be determined based on the reconnection priority. For example, in a business preemption scenario corresponding to a device preemption business, the business preemption order of each device can be determined based on the preemption priority. The business preemption scenario may be a scenario involving multiple devices preempting the audio path of the electronic device.
[0206] Among them, the first device can also set a device priority; further, in some target scenarios, the device priority of the first device can be set to the highest device priority, the target scenario can be a scenario involving device management of electronic devices, and the target scenario can also be customized by the user based on actual application conditions; by setting the first device to the highest device priority in the target scenario, it can be convenient to perform service control on the electronic device, such as in the connection control scenario, based on the highest device priority, the electronic device can preferentially establish a communication connection with the first device, and then it can be convenient to perform subsequent complex device management designed for the electronic device based on the device management interface of the first device. In some embodiments, in scenarios involving services such as audio, the device priority of the first device can be set to a lower priority relative to the second device to avoid the audio service affecting the device management of the electronic device.
[0207] In a feasible implementation manner: in a device connection scenario corresponding to the electronic device, the first device may control the electronic device to perform device connection processing based on the device priority corresponding to each second device and establish a communication connection with at least two of the second devices;
[0208] For example, in the audio setting scenario corresponding to the electronic device, the first device may control the electronic device to perform audio setting processing based on the device priority corresponding to each second device, that is, save the device priority of each second device, and then control the electronic device to establish an audio link with at least two of the second devices based on the device priority (such as the audio priority) to play the audio of the second device that has established the audio link;
[0209] Illustratively, in a scenario involving device reconnection, the first device can control the electronic device to determine the device initiation order for initiating the communication reconnection process based on the reconnection priority of each second device. For example, it can be: based on all reference second devices with which the electronic device has established a connection most recently from the current time point, these reference second devices are sorted according to the reconnection priority to determine the device initiation order of these reference second devices, and then the communication connection between each second device and the electronic device is established according to the device initiation order.
[0210] Schematically: the device priority can be a preemption priority. The preemption priority is for preempting services. When it comes to a scenario where multiple second devices simultaneously preempt a target task, the preemption priority can be used by electronic devices to determine the order of preemption of the target task in response to the second device. The target task can be a channel preemption, such as the preemption of an audio channel; the target task can be audio playback, such as the playback of audio source data of the audio to be played by each second device, and so on.
[0211] In a scenario involving multiple device preemption services corresponding to electronic devices, the first device can control the electronic device to respond to the device service corresponding to the second device based on the device priority corresponding to each second device, such as audio channel preemption service, based on a pre-stored preemption priority. It can be understood that the electronic device preferentially responds to the second device with a higher device priority. For example: the first device can determine the device preemption order of each second device based on the pre-stored preemption priority, and then send the device preemption order to the electronic device. The electronic device can respond to the device service corresponding to the second device based on the device preemption order.
[0212] Optionally, in the aforementioned multi-device preemption service scenario, device priorities such as preemption priority and reconnection priority may be that the first device synchronously updates the device priority information to the electronic device during the priority setting process, that is, the electronic device pre-stores the preemption priority, and the electronic device can autonomously respond to the device services corresponding to each second device based on the preemption priority.
[0213] Schematically: the device priority can be a switching priority. The switching priority can be that when the number of connections of electronic devices reaches the upper limit and a new device wants to establish a link with a second electronic device, one or more of the connected second devices can be disconnected directly according to the set switching priority, and a connection can be established with the new device. The switching priority can be set by the user, for example, it can be set to disconnect first if the device is connected first.
[0214] Schematically: the device priority can be a scene priority. In the actual application process involving electronic devices (such as Bluetooth headsets and speakers), the electronic devices are associated with corresponding second devices for different scenarios. It is understandable that the second devices associated with different types of scenarios can be completely different or partially different, and the number of second devices can be partially different, completely different, or completely the same. For example, scene A is associated with second device A1, second device A2, and second device A3; scene B is associated with second device A2 and second device A4; scene C is associated with second device A5, second device A4, and second device A6, and so on. The scene can be based on the actual application form of the electronic device, setting indoor scenes, office scenes, outdoor scenes, sports scenes, etc. Usually, at least one second device associated with different scenes is set for the electronic device, and one-click device connection based on the actual scene involving the electronic device can be realized. For example, when it is detected that the current scene or the scene that the user expects to turn on is an indoor scene, the indoor scene can correspond to second device A5, second device A4, and second device A6. Then, the electronic device can usually directly establish a communication connection with all the second devices associated with the indoor scene.
[0215] Different second devices are associated with different scenarios. Different second devices in the same scenario may correspond to different priorities. It can be understood that the scenario priority is a subdivision of the device priority corresponding to each second device in the same scenario. The same second device can be set with different priorities in different scenarios based on the scenario attributes. When the electronic device is turned on in a certain scenario, when there are multiple service processing scenarios of second devices that establish connections, the second device can respond to each second device in turn based on the scenario priority corresponding to the second device in the "certain scenario", thereby improving the response efficiency in the actual scenario and avoiding service response conflicts. Services can include multi-device reconnection services, multi-device disconnection services during scene switching, audio services, and so on.
[0216] In a feasible implementation manner: in the service response scenario corresponding to the electronic device, the first device can control the electronic device to respond to the device service corresponding to the second device based on the device priority corresponding to each second device. The device service can be a device backconnection service, a communication connection service, an audio playback service, etc.
[0217] During the actual implementation process, the setting operations of device priorities such as reconnection priority can be performed based on the function controls in the device management interface. That is, when it is monitored that the user of the first device enters the device priority setting operation for the corresponding function control on the device management interface, the operation object of the device priority setting operation is determined - such as the target second device, and then the device priority setting of the target second device is controlled.
[0218] It should be noted that even if there is no connection to the second device at present, if it has been connected before, it can be managed and synchronized to the electronic device according to the management operation to facilitate the management of the second device and interaction with the second device based on the new rules.
[0219] For example, Figure 5 As shown, the current display interface of the first device is a display screen of the "Device Management Interface". The user can obtain the connection status information between the electronic device and multiple second devices (second device 1, second device 2...) on the current device management interface. There is a "Configuration" control on the current display interface. The "Configuration" control is displayed on the interface of the first device with a specified image. In a scenario, if the user expects to configure the second device n that has established a communication connection with the electronic device, the device configuration can be to configure the reconnection priority in the device priority of the device to be configured. For example, if the reconnection priority is expected to be configured for the second device n (the second device n is the seventh device at this time), the user can trigger the "Configuration" control, and the first device loads the "Second Device n Configuration" sub-interface after triggering the "Configuration" control on the interface management interface, as shown in FIG. Figure 7 As shown, Figure 7 This is a schematic diagram of a device configuration interface involved in this application. Figure 7 The device's back-connection priority setting provides priority "1", priority "2", and priority "3" options. Users can also click the "Other" button to customize operations. Users can Figure 7 In the interface shown, the target backconnection level that the user desires to set for the seventh device is input, such as priority "2".
[0220] In a specific implementation, the first device can determine the target device priority corresponding to each second device, and then control the electronic device to set the device priority of the second device to the target device priority. For example, the reconnection order of each second device can be set, and the device with the higher reconnection priority will be reconnected first.
[0221] In a feasible implementation, when the electronic device receives a connection establishment instruction, the first device may control the electronic device to perform device reconnection processing based on the target reconnection level corresponding to each second device, so that the electronic device can establish a communication connection with at least two of the second devices at the same time. In a specific implementation, the first device may control the electronic device to save the reconnection priority of all second devices (including the seventh device involved in the reconnection priority update), and when there is a priority update for the reconnection priority of the seventh device, the reconnection priority of the seventh device is updated. Furthermore, in the initial stage of each connection establishment, after the electronic device receives the connection establishment instruction, the electronic device may determine the device initiation order for initiating the communication reconnection process based on the saved reconnection priorities of all second devices and the second device currently scanned, and then establish a corresponding number of communication connections between the second devices and the electronic device according to this device initiation order.
[0222] In an embodiment of the present application, when the first device and the electronic device are in communication connection, the information of the second device that can establish a connection with the electronic device is obtained, and then the information for some or all of the second devices is displayed in the device management interface to manage the electronic device based on the device management interface. During the entire communication connection and communication management process, the device management of the electronic device and multiple devices is realized by the "device management interface of the electronic device" on the first device (such as a user device). Device management services such as connection status display, connection disconnection, and reconnection can be completed only by relying on the device management interface on the first device side. Compared with the device management process on the electronic device side in the related art, the visualization effect is better, and it is more direct and clear to facilitate the electronic device to manage multiple second devices that can establish communication connections. It can meet the needs of electronic device management in the "one-to-many" scenario and improve the experience in the "one-to-many" scenario. At the same time, it also simplifies device management processes such as device connection, device disconnection, and device ignoring, avoiding the need for multiple devices (electronic devices and / or devices that can establish connections) to operate in order to achieve the expected effect, greatly improving the efficiency and convenience of device management.
[0223] See Figure 10 , Figure 10 This is a flow chart of another embodiment of a device management method proposed in this application. Specifically:
[0224] S501: When the first device is in communication connection with the electronic device, obtain information of a second device that can establish a connection with the electronic device.
[0225] S502: Display the information for part or all of the second devices in a device management interface.
[0226] For details of S501-S502, please refer to the method steps of other embodiments of the present application and will not be repeated here.
[0227] S503: In response to the scene management operation for the second device, control the electronic device to perform scene management processing on the second device.
[0228] According to some embodiments, in the actual application process involving electronic devices (such as Bluetooth headsets and speakers), the electronic devices are associated with a corresponding number of second devices in different scenarios. It is understandable that the second devices associated with different types of scenarios can be completely different or partially different, and the number of second devices can be partially different or completely different or completely the same. For example, indoor scenes are associated with TVs, headsets, and speakers, and office scenes can be associated with notebooks, mobile phones, desk lamps, monitors, etc. The scenes can be based on the actual application forms of the electronic devices, setting indoor scenes, office scenes, outdoor scenes, sports scenes, subway scenes, etc. Usually, at least one second device associated with different scenarios is set for the electronic device, and one-click device connection based on the actual scenario involving the electronic device can be achieved. For example, when it is detected that the current scene or the scene that the user expects to open is an office scene, the electronic device can usually directly establish a communication connection with the notebook, mobile phone, and desk lamp associated with the indoor scene. By setting up scene-related services, you can associate electronic devices with multiple second devices based on the scene, and realize convenient one-to-many device management of electronic devices in the corresponding scene. For example, in a certain scene, the electronic device can establish connections with multiple second devices in the scene with one click, or respond to the services of multiple second devices in the scene at the same time, etc., to improve the scene management efficiency of device management.
[0229] Scene management operations are human-machine operations input for the scene services of electronic devices, which are used to instruct electronic devices to perform scene management processing on the corresponding scene services. Scene management operations include but are not limited to scene addition operations, scene division operations, scene startup operations, scene device removal operations, scene release operations, scene priority setting operations (scene priority), etc.
[0230] In a feasible implementation: taking the scene adding operation as an example, the scene adding operation is usually a new operation for the existing scene category. For example, if there are currently 4 scenes, the scene adding operation can add a new scene based on the original 4 scenes. The new scene can be called the first scene. In the embodiment, the scene is associated with the second device to which the electronic device can establish a connection. Therefore, when setting a new first scene, it is usually involved to associate the relevant second device under the first scene with the newly added scene.
[0231] Optionally, the first device may display a device management interface for electronic devices. The device management interface displays multiple second devices with which connections can be established. The user may select one or more target second devices from the displayed multiple second devices and enter a scene addition operation to add a new first scene and associate the selected second device with the newly added scene category. In other words, in response to the scene addition operation for the second device, the first device adds a new scene category and associates the second device with the first scene corresponding to the scene category.
[0232] Indicative, such as Figure 11a As shown, Figure 11a This is a schematic diagram of a newly added scenario. Figure 11a In the device management interface shown, multiple second devices that the electronic device can connect to are displayed: device 1, device 2, device 3..., and the user can Figure 11a In the interface shown, a gesture touch method is used to touch the second device that is desired to be selected, and a scene addition operation is input, such as using a double-click, single-click, long press or other touch methods to select the second device and then select the scene addition control to input the scene addition operation. For example, the user can add an office scene based on the original scene. The user can then select the second device associated with the office scene, enter the scene addition operation, set the scene category, and complete the scene addition process. In the entire aforementioned process, the first device can now respond to the scene addition operation for the second device, add an office scene category, and associate the selected second device with the office scene corresponding to the office scene category. In this way, when the subsequent electronic device turns on the office scene, the electronic device can automatically establish a connection with all second devices associated with the office scene.
[0233] In some feasible implementations, the device management interface has a scene management interface, and the scene management interface has a new scene control. When the new scene control is triggered, a new scene can be added, such as a home scene. Furthermore, the user can add an associated second device to the home scene (refer to the methods in other embodiments), such as a TV, speaker, doorbell, tablet, etc., which can be added by dragging or selecting the control, without specific restrictions. Optionally, the first device can be associated with each scene by default, which is convenient for control, or the association can be set manually. Optionally, the scene priority of the second device under each scene can be further set (refer to the methods in other embodiments), so that after the scene is started, each second device can process the business according to the priority. Of course, a default priority can also be set. If the user does not set it, the default priority is used.
[0234] In a feasible implementation: taking the scene division operation as an example, the scene division operation is usually based on the existing scene (category), and the selected second device is added to the second scene indicated by the scene division operation. For example, the scene operation object of the scene division operation is for an existing indoor scene, then the user's selected second device is added to the indoor scene corresponding to the scene division operation.
[0235] Illustratively, the user may input a scene division operation for the desired second device on the device management interface, and the first device responds to the scene division operation for the second device by associating the second device with the second scene corresponding to the scene division operation.
[0236] For example: the first device can input the scene division operation for the second device in the setting area of the second scene in the device management interface. The number of second devices selected corresponding to the scene division operation can be multiple, that is, batch operations can be performed on multiple second devices at the same time, and these selected second devices are added to the second scene, that is, during the implementation process of the first device, all second devices selected by the user are associated with the second scene.
[0237] In one feasible implementation, taking the scenario activation operation as an example, the scenario activation operation can be understood as controlling the electronic device to activate the third scenario indicated by the operation instruction. For example, if the operation scenario object of the scenario activation operation is the office scene, the electronic device is controlled to activate the office scene. Typically, during the process of activating the office scene, the electronic device establishes connections with all secondary devices associated with the office scene. The scenario activation operation can be understood as an input for all secondary devices in the third scenario, controlling the electronic device to establish connections with all secondary devices in the scene with a single click, avoiding the need for sequential input for each device, thus implementing scenario-based device management.
[0238] Schematically, the user can input a scene startup scene on the device management interface of the first device. Multiple scene controls are displayed on the device management interface. The user can input a scene startup operation for the third scene control. In this way, when the first device detects the operation input, the first device responds to the scene startup operation for the second device and establishes a connection with the second device associated with the third scene corresponding to the scene startup operation.
[0239] Illustratively, the scene start operation may be autonomously triggered by the first device based on an operation trigger rule when an operation trigger condition is met.
[0240] The operation triggering rule may be to set a start time and / or a start range for a scene. When the first device detects that the current time matches the start time and / or the location falls within the start range, the first device determines to actively trigger the scene start operation for the second device, and establishes a connection with the second device associated with the third scene corresponding to the scene start operation.
[0241] Indicative, such as Figure 11b As shown, Figure 11b It is a schematic diagram of the interface involved in the scene of the device management interface. Figure 11b The interface shown displays scene controls such as home scene, office scene, meeting scene, etc.
[0242] Indicative, such as Figure 11b As shown, Figure 11b It is a schematic diagram of the interface involved in the scene of the device management interface. Figure 11b The interface shown shows scene controls such as home scene, office scene, meeting scene, etc. Figure 11b The interface shown also shows a new scene control for the user to add a scene (such as Figure 11b "+" control shown), the user can Figure 11b In the device management interface of the first device shown, the user touches the Add Scene control to enter a scene addition operation to create a new first scene. The first device may then display a Add Scene setting interface for configuring the newly added scene "First Scene." In the Add Scene setting interface, the user can add associated second devices to the "First Scene" (refer to the methods described in other embodiments), such as a TV, speaker, doorbell, tablet, etc., by dragging or selecting the control, without limitation.
[0243] Users can Figure 11b A scene startup operation is input in the device management interface of the first device shown. For example, the start button in the "meeting scene" control is touched with a finger, which triggers the scene startup scene for the second device associated with the meeting scene. The first device responds to the scene startup operation for the second device (such as the associated display, speaker, computer... in the figure), triggering the electronic device to establish a connection with the second device associated in the third scene corresponding to the scene startup operation (such as the associated display, speaker, computer... in the figure).
[0244] Furthermore, the user can also set the corresponding scene, such as the user touches the management button in the conference scene control with a finger touch, thereby triggering the setting function of the conference scene, such as Figure 11c As shown, Figure 11c It is a schematic diagram of the interface for conference scene management. Figure 11cIn the , the user can set the scene management for the meeting scene of the electronic device, such as setting the aforementioned operation trigger rules, such as setting the opening time to morning and the opening range to range A. Further, the user can also Figure 11c In the conference scene, set the management associated devices, such as the already associated devices 1 and 2 through touch Figure 11c In the “+” button, you can add a second device. Figure 11c Set the priority of the associated devices in the conference scene, such as setting the priority of device 1.
[0245] In a feasible implementation: taking the scene device removal operation as an example, the scene device removal operation can be understood as a deletion operation for the second device in the fourth scene that is desired to be selected in the existing scene. The scene device removal operation is used to delete the second device that is desired to be removed (such as a target device) from all the second devices associated with the fourth scene.
[0246] Illustratively, the first device can enter a scene device removal operation for the second device in the fourth scene setting area of the device management interface. The number of second devices selected for the scene device removal operation can be multiple, that is, a batch operation can be performed on multiple second devices at the same time to remove these selected second devices from the fourth scene. In other words, during the implementation process, the first device responds to the scene device removal operation for the second device and disassociates the fourth scene corresponding to the scene device removal operation from the second device. In this way, when the fourth scene is subsequently restarted, the electronic device will not establish a connection with the second device removed from the fourth scene.
[0247] In a feasible implementation, taking the scene release operation as an example, the scene release operation can be understood as an operation for releasing or disbanding the fifth scene that is desired to be selected in the existing scenes. The scene release operation can be input for multiple fifth scenes, that is, a batch operation can be performed on the scenes that the user desires to release, so that all second devices in the fifth scene are disassociated from the fifth scene, but the fifth scene is retained for re-establishment. Optionally, the scene release operation can also delete the corresponding fifth scene and clear the scene information of all second devices corresponding to the fifth scene. Thus, in response to the scene release operation for the fifth scene by the first device, the first device can delete the fifth scene and all second devices associated with the fifth scene.
[0248] In a feasible implementation: taking the priority setting operation for a scene as an example, according to the scene priority in some embodiments: in the actual application process involving electronic devices (such as Bluetooth headsets, speakers), the electronic devices are associated with a corresponding number of second devices in different scenes. It can be understood that the second devices associated with different types of scenes can be different and the number of second devices can be different. Furthermore, different scenes are associated with different second devices. Different second devices in the same scene may correspond to different priorities. It can be understood that the scene priority is a subdivision of the device priority corresponding to each second device in the same scene. The same second device can set different priorities in different scenes based on scene attributes. When the electronic device turns on a certain scene, there are multiple business processing scenarios of second devices that establish connections. Based on the scene priority corresponding to the second device in the "certain scene", each second device can be responded to in turn, thereby improving the response efficiency in the actual scene and avoiding business response conflicts. The business can be such as multi-device reconnection business, multi-device disconnection business during scene switching, audio business, etc.
[0249] Illustratively, a user can set the priority of at least one second device in the sixth scene that is desired to be selected in the device management interface for the electronic device on the first device, that is, the first device can respond to the priority setting operation for the second device in the sixth scene and then set the scene priority of the second device.
[0250] Optionally, after the sixth scene corresponding to the electronic device is turned on, the first device can control the electronic device in the sixth scene: respond to the device service corresponding to the second device based on the device priority corresponding to each second device, and the device service can be a device backconnection service, a communication connection service, an audio playback service, etc.
[0251] In addition, in response to the scene management operation for the second device, after controlling the electronic device to perform scene management processing on the second device, the relevant scene information in the scene management processing process can be synchronized with the electronic device, such as synchronizing scene priority information, new scene category information, scene deletion information, etc.
[0252] In an embodiment of the present application, in a scenario where an electronic device establishes a communication connection with at least two second devices, the first device, as one of the devices that can establish a communication connection with the electronic device, obtains information between the electronic device and each of the second devices; then, based on the information, the device status information of each second device is displayed in the device management interface of the electronic device, and the electronic device is managed based on the device management interface. During the entire communication connection and communication management process, the device management of the electronic device connected to multiple devices is achieved based on the "device management interface of the electronic device" on the first device (such as a user device), which simplifies the device management processes such as device connection, device disconnection, and device ignoring, and avoids the need in related technologies to operate multiple devices (electronic devices and / or devices that can establish connections) in sequence to achieve the expected device management effect, thereby greatly improving the efficiency and convenience of device management.
[0253] In one embodiment, Figure 12 As shown, a device management method is proposed, which can be applied to electronic devices; the electronic devices can be Bluetooth headsets, especially TWS headsets; the method can be implemented by a computer program or run on a device management device based on the von Neumann architecture. The computer program can be integrated into an application or run as a standalone tool application. The device management device can be a terminal device, including but not limited to: a personal computer, a tablet computer, a handheld device, an in-vehicle device, a wearable device, a computing device, or other processing device connected to a wireless modem. Terminal devices can be called different names in different networks, such as: user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, cellular phone, cordless phone, terminal device in 5G network or future evolution network, etc.
[0254] Specifically, the device management method includes:
[0255] S601: Establish a communication connection with a first device, and send information of a second device to the first device; the second device is a device with which the electronic device can establish a connection.
[0256] According to some embodiments, the electronic device supports the "one to many" function. Unlike the electronic devices in the related art, electronic devices such as headphones, speakers, glasses, etc. usually only support the "one to one" function, that is, an electronic device usually only supports one user device when establishing a communication connection with a user device; in this application, the electronic device can establish a communication connection with multiple second devices at the same time, such as the electronic device can simultaneously establish a wireless connection with at least two mobile phones or other devices that have a communication connection (such as a Bluetooth communication connection or other wireless communication connection). It can be understood that an electronic device (such as a Bluetooth headset) can simultaneously wirelessly connect to at least two second devices such as mobile phones, computers, notebooks, etc. In some implementation scenarios, after the electronic device establishes a communication connection, the electronic device can at least respond to the service of at least one second device, such as the electronic device transmitting and playing voice data with a mobile phone, and the electronic device can use different audio playback units to realize the simultaneous audio data playback of "device A and device B". In some embodiments, when the electronic device establishes a communication connection with a second device, the electronic device may respond to management control services of the second device such as multimedia control services, home appliance control services, etc. based on the communication connection, such as music playback, voice calls, text display, home control, etc.; in some embodiments, the electronic device does not have a network gateway or network routing function, for example, the electronic device is not a network router, but may be an electronic device such as headphones, speakers, etc. that can respond to the control services of the second device.
[0257] According to some embodiments, after establishing a communication connection with a first device, the electronic device may send information about second devices to which the electronic device can establish a connection to the first device. The information may include status information, device information, etc. of the second device. Subsequently, the user may manage all or some of the second devices to which the electronic device can establish a connection based on the first device.
[0258] Optionally, the electronic device sending information about the second device to the first device can be implemented based on the service device, that is, the first device sends information about the second device to the service device. Subsequently, after the first device establishes a communication connection with the electronic device, the first device can obtain information about the second device that the electronic device can establish a connection with from the service device.
[0259] In a feasible embodiment, the electronic device may correspond to a device management page for device management, which is usually deployed on the first device of the present application. The process of establishing a communication connection of the electronic device may be that the user turns on the electronic device and correspondingly opens the device management interface on the first device. Since the device management interface is a dedicated management interface corresponding to the electronic device, the device management interface can uniquely correspond to the electronic device. The electronic device may first establish a communication connection with the first device, and then the electronic device sends information of all or part of the second devices that can establish a communication connection to the first device. The information may also include devices scanned by the communication scanning method and devices that have been historically connected. In this way, the information of these second devices can be displayed on the device control interface of the first device, that is, the information of the corresponding second device is displayed; the user can input the target operation for the electronic device on the first device, and the first device generates a corresponding instruction based on the target operation (connection switching operation, connection disconnection operation, priority setting operation, etc.) and sends the instruction to the electronic device. The electronic device receives the instruction, responds to the instruction, and performs device management on the second device.
[0260] For example: a user can select a second device to which a communication connection is desired in the device control interface of the first device, and then the first device sends an instruction to the electronic device, where the instruction may include: device characteristics of at least two second devices (such as device name, device address), and the electronic device responds to the received instruction and actively initiates a connection establishment process to these second devices based on the sent "device characteristics of at least two second devices", thereby establishing a communication connection with the second device.
[0261] In a specific implementation scenario, the electronic device may determine the device initiation order for initiating the communication connection process based on the device priorities of all stored second devices and the currently scanned second device, and then establish communication connections between a corresponding number of second devices and the electronic device according to this device initiation order. The "corresponding number" refers to the maximum number of connections set for the electronic device based on the actual application environment. The reconnection priority of each device is determined based on the operation entered by the user on the device management interface of the first device, and data synchronization is performed on the electronic device.
[0262] S602: Perform device management on the second device based on the instruction sent by the first device.
[0263] It is understandable that the first device may transmit information between the first device and each of the second devices to the first device;
[0264] According to some embodiments, the information can be used by the first device to display all or part of the device status information of the second device in the device management interface of the electronic device and to manage the electronic device based on the device management interface.
[0265] According to some embodiments, the electronic device transmits information between the first device and each of the second devices. The information can generally be data such as connection information and device information of the second device. In some embodiments, the first device can obtain the management application corresponding to the electronic device. In a specific implementation, the first device can be installed with a management application for device management of the electronic device, and then establish an information update service with the headset based on the device management interface corresponding to the management application. For example, the first device can register notification events related to device management of the electronic device through an information update service (Service) and a characteristic value (characteristic) based on the communication connection protocol (such as the Bluetooth communication connection protocol) of the management application, and request to obtain status information related to the electronic device. Among them, the communication between the first device, the electronic device, and the second device can all be achieved through a characteristic. It can be understood that a tag based on the communication connection protocol can be used to obtain or write the transmitted device control content through this tag information acquisition terminal. After completing the registration and establishment of the information update service, the first device can request the electronic device (such as the Bluetooth headset) for the connection status information of the second device to which the connection can be established based on the information update service. The electronic device can transmit information directly with each of the second devices to the first device based on the request data received from the first device. The first device can then display the device status information of each of the second devices in the device management interface based on the information, thereby facilitating the user to input corresponding target operations for device management based on the device management interface. The first device sends instructions corresponding to the target operations to the electronic device; after receiving the instructions, the electronic device responds to the instructions to manage the second device.
[0266] In addition, the device management method embodiment of the electronic device provided in the above embodiment belongs to the same concept as the device management method of the aforementioned first device. Its implementation process is detailed in other method embodiments of this application and will not be repeated here.
[0267] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0268] In an embodiment of the present application, the electronic device establishes a communication connection with the first device and sends information of the second device to the first device; the second device is a device that the electronic device can establish a connection with; and then, based on the instruction sent by the first device, the device management of the second device is performed. During the entire communication connection and communication management process, by using the first device (such as a user device) to implement device management in a "one-to-many" scenario where the electronic device is connected to multiple devices, it is possible to implement device management of other devices without relying on the management control logic based only on the electronic device in the related technology, and at the same time meet the needs of electronic device management in the "one-to-many" scenario, greatly improving the efficiency and convenience of device management.
[0269] The following will be combined Figure 13 , a detailed introduction is given to the device management device provided in the embodiment of the present application. Figure 13 The equipment management device shown is used to execute the method steps of some embodiments involved in this application. For the sake of convenience of explanation, only the parts related to the embodiments of this application are shown. For specific technical details not disclosed, please refer to other embodiments of this application.
[0270] See Figure 13 , which shows a schematic diagram of the structure of a device management device according to an embodiment of the present application. The device management device 1 can be implemented as all or part of a user terminal through software, hardware, or a combination of both. According to some embodiments, the device management device 1 includes a data acquisition module 11 and an interface management module 12, which are specifically used to:
[0271] The data acquisition module 11 is configured to acquire information of a second device that can establish a connection with the electronic device when the first device is in communication with the electronic device;
[0272] The interface management module 12 is configured to display the information for part or all of the second device in a device management interface, so as to manage the electronic device based on the device management interface.
[0273] Optionally, the device management apparatus 1 is specifically configured to:
[0274] Determining state information and device information of part or all of the second device based on the information, where the state information is a communication connection state and / or an audio working state between the second device and the electronic device;
[0275] The status information and device information of each second device are displayed in the device management interface.
[0276] Optionally, the device management apparatus 1 is specifically configured to:
[0277] Obtaining device update information of at least one of the second devices;
[0278] Information of the second device in the device management interface is updated based on the device update information.
[0279] Optionally, the device management apparatus 1 is specifically configured to:
[0280] Acquire a target operation input for the second device in the device management interface;
[0281] In response to the target operation, the electronic device is managed.
[0282] Optionally, the device management apparatus 1 is specifically configured to:
[0283] sending a first target operation instruction for a second device to the electronic device, where the first target operation instruction is used to instruct the electronic device to perform a target operation on the second device based on the first target operation instruction; and / or,
[0284] sending a second target operation instruction for a second device to the electronic device, where the second target operation instruction is used to instruct the electronic device to perform a target operation on the second device after performing operation verification based on the second target operation instruction; and / or,
[0285] In response to the target operation, an operating environment of the target operation is detected based on the first device and / or the electronic device to control the electronic device to perform target operation processing.
[0286] Optionally, the device management apparatus 1 is specifically configured to:
[0287] A second target operation instruction for a second device is sent to the electronic device, wherein the second target operation instruction is used for the electronic device to output operation verification information and monitor a response operation input for the operation verification information, and instruct the electronic device to perform target operation processing when the response operation matches the target response operation.
[0288] Optionally, the device management apparatus 1 is specifically configured to:
[0289] Acquiring the user's physiological characteristics in the operating environment corresponding to the target operation based on the first device and / or the electronic device, performing identity detection on the user's physiological characteristics; controlling the electronic device to perform the target operation processing when the identity detection passes; and / or,
[0290] The device distance between the first device and the second device is obtained based on the first device and / or the electronic device. When the device distance is less than or equal to a distance threshold, the electronic device is controlled to perform target operation processing.
[0291] Optionally, the device management apparatus 1 is further configured to:
[0292] Obtaining an operation verification result and / or an environmental detection result of the electronic device, and updating information for the second device in the device management interface based on the operation verification result and / or the environmental detection result; and / or,
[0293] Obtain an operation verification result and / or an environmental detection result of the electronic device, and output the operation verification result and / or environmental detection result for the second device in the device management interface.
[0294] Optionally, the device management apparatus 1 is specifically configured to:
[0295] In response to a device connection operation for the second device, controlling the electronic device to perform a device connection process on the second device; and / or,
[0296] In response to a device ignore operation on the second device, controlling the electronic device to perform a device ignore process on the second device; and / or,
[0297] In response to a disconnection operation on the second device, controlling the electronic device to perform a disconnection process on the second device; and / or,
[0298] In response to the audio setting operation for the second device, controlling the electronic device to perform audio setting processing on the second device; and / or,
[0299] In response to a priority setting operation for the second device, controlling the electronic device to perform a priority setting process on the second device; and / or,
[0300] In response to the scene management operation for the second device, the electronic device is controlled to perform scene management processing on the second device.
[0301] Optionally, the device management apparatus 1 is specifically configured to:
[0302] Acquiring a communication connection status between the electronic device and the second device;
[0303] If the communication connection state is a normal connection state, controlling the electronic device to disconnect the communication connection with the second device, and / or clearing the information of the second device;
[0304] If the communication connection state is a disconnected state, the information of the second device is cleared.
[0305] Optionally, the device management apparatus 1 is specifically configured to:
[0306] The device priority of the corresponding second device is set based on the priority setting operation, where the device priority of the second device includes one or more of: a reconnection priority, a preemption priority, a switching priority, and a scene priority.
[0307] Optionally, the device management apparatus 1 is further configured to:
[0308] In a device connection scenario corresponding to the electronic device, controlling the electronic device to perform device connection processing based on the device priority corresponding to each second device and establish communication connections with at least two second devices; and / or,
[0309] In the audio setting scenario corresponding to the electronic device, controlling the electronic device to perform audio setting processing based on the device priority corresponding to each second device and establish an audio link with at least two second devices;
[0310] In a service response scenario corresponding to the electronic device, the electronic device is controlled to respond to the device service corresponding to the second device based on the device priority corresponding to each second device.
[0311] Optionally, the device management apparatus 1 is specifically configured to:
[0312] Detecting the number of target second devices that have established a connection with the electronic device;
[0313] In response to the number of devices being greater than or equal to a connection number threshold, outputting connection prompt information on the device management interface; and / or,
[0314] In response to the number of devices being greater than or equal to a connection number threshold, outputting a device management pop-up window on the device management interface, the device management pop-up window being used to prompt a device switch for the target second device to which the connection has been established; and / or,
[0315] In response to the number of devices being greater than or equal to a connection number threshold, performing device management based on a device priority corresponding to at least one of the target second devices in a device management interface; and / or,
[0316] In response to the number of devices being greater than or equal to a connection number threshold, device management is performed on the target second device based on a device management instruction input in a device management interface.
[0317] Optionally, the device management apparatus 1 is specifically configured to:
[0318] In response to the scene adding operation for the second device, a first scene is added, and the second device corresponding to the user's selection operation is associated with the first scene; and / or,
[0319] In response to a scene division operation on the second device, associating the second device with a second scene corresponding to the scene division operation; and / or,
[0320] In response to a scene start operation on the second device, establishing a connection with a second device associated with a third scene corresponding to the scene start operation; and / or,
[0321] In response to a scene device removal operation on the second device, disassociating a fourth scene corresponding to the scene device removal operation from the second device; and / or,
[0322] In response to a scene release operation for the fifth scene, deleting the fifth scene and all second devices associated with the fifth scene; and / or,
[0323] In response to a priority setting operation for a second device in a sixth scene, a scene priority of the second device is set.
[0324] Optionally, the device management apparatus 1 is specifically configured to:
[0325] In response to a first scene start-up operation on the second device, triggering the electronic device to establish a connection with a second device in a third scene corresponding to the scene start-up operation; and / or,
[0326] In response to a second scene start-up operation for the second device, a target scene currently located by the first device is determined, and based on the target scene, the electronic device is triggered to establish a connection with the second device in the target scene.
[0327] It should be noted that the device management apparatus provided in the above embodiment, when executing the device management method, only uses the division of the above-mentioned functional modules as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device management apparatus provided in the above embodiment and the device management method embodiment are based on the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.
[0328] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0329] See Figure 14, which shows a schematic diagram of the structure of a device management device according to an embodiment of the present application. The device management device 2 can be implemented as all or part of a user terminal through software, hardware, or a combination of both. According to some embodiments, the device management device 2 includes a connection establishment module 21 and a device management module 22, which are specifically used to:
[0330] A connection establishing module 21 is configured to establish a communication connection with a first device and send information about a second device to the first device; the second device is a device to which the electronic device can establish a connection;
[0331] The device management module 22 is configured to manage the second device based on the instruction sent by the first device.
[0332] It should be noted that the device management apparatus provided in the above embodiment, when executing the device management method, only uses the division of the above-mentioned functional modules as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device management apparatus provided in the above embodiment and the device management method embodiment are based on the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.
[0333] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0334] The present application also provides a computer storage medium that can store multiple instructions, which are suitable for being loaded and executed by a processor as described above. Figures 1 to 12 The device management method of the embodiment shown in the figure can be found in the specific execution process. Figures 1 to 12 The detailed description of the illustrated embodiment will not be repeated here.
[0335] The present application also provides a computer program product, which stores at least one instruction, and the at least one instruction is loaded and executed by the processor as described above. Figures 1 to 12 The device management method of the embodiment shown in the figure can be found in the specific execution process. Figures 1 to 12 The detailed description of the illustrated embodiment will not be repeated here.
[0336] Please refer to Figure 15 , which shows a block diagram of the structure of a first device provided by an exemplary embodiment of the present application. The first device in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected via the bus 150.
[0337] The processor 110 may include one or more processing cores. The processor 110 utilizes various interfaces and circuits to connect various components within the entire first device. It executes instructions, programs, code sets, or instruction sets stored in the memory 120, and accesses data stored in the memory 120 to perform various functions and process data within the first device 100. Optionally, the processor 110 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 110 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 110 and may be implemented separately via a communication chip.
[0338] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The operating system may be an Android system, including a system deeply developed based on the Android system, an IOS system developed by Apple, including a system deeply developed based on the IOS system or other systems. The data storage area may also store data created by the first device during use, such as a phone book, audio and video data, chat record data, etc.
[0339] See also Figure 16As shown, the memory 120 can be divided into operating system space and user space. The operating system runs in the operating system space, and native and third-party applications run in the user space. In order to ensure that different third-party applications can achieve better operating results, the operating system allocates corresponding system resources to different third-party applications. However, the requirements for system resources in different application scenarios in the same third-party application are also different. For example, in the local resource loading scenario, the third-party application has higher requirements for disk reading speed; in the animation rendering scenario, the third-party application has higher requirements for GPU performance. The operating system and the third-party application are independent of each other, and the operating system often cannot perceive the current application scenario of the third-party application in a timely manner, resulting in the operating system being unable to perform targeted system resource adaptation according to the specific application scenario of the third-party application.
[0340] In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to open up data communication between third-party applications and the operating system so that the operating system can obtain the current scenario information of third-party applications at any time, and then perform targeted system resource adaptation based on the current scenario.
[0341] Taking the Android operating system as an example, the programs and data stored in the memory 120 are as follows: Figure 17As shown, the memory 120 may store a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360, and an application layer 380. The Linux kernel layer 320, the system runtime library layer 340, and the application framework layer 360 belong to the operating system space, and the application layer 380 belongs to the user space. The Linux kernel layer 320 provides underlying drivers for various hardware components of the first device, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, etc. The system runtime library layer 340 provides major feature support for the Android system through some C / C++ libraries. For example, the SQLite library provides database support, the OpenGL / ES library provides 3D drawing support, and the Webkit library provides browser kernel support. The system runtime library layer 340 also provides the Android runtime library (Android runtime), which mainly provides some core libraries that allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content provider management, package management, call management, resource management, and location management. The application layer 380 runs at least one application. These applications can be native applications that come with the operating system, such as contacts, SMS, clock, and camera applications, or third-party applications developed by third-party developers, such as games, instant messaging programs, and photo enhancement programs.
[0342] Taking the operating system as the IOS system as an example, the programs and data stored in the memory 120 are as follows: Figure 18As shown, the IOS system includes: a core operating system layer 420 (Core OS layer), a core service layer 440 (Core Services layer), a media layer 460 (Media layer), and a touchable layer 480 (Cocoa Touch Layer). The core operating system layer 420 includes the operating system kernel, drivers, and underlying program frameworks. These underlying program frameworks provide functions closer to the hardware for use by the program framework located in the core service layer 440. The core service layer 440 provides system services and / or program frameworks required by applications, such as the foundation framework, account framework, advertising framework, data storage framework, network connection framework, geographic location framework, motion framework, etc. The media layer 460 provides audio-visual interfaces for applications, such as graphics and image-related interfaces, audio technology-related interfaces, video technology-related interfaces, and wireless playback (AirPlay) interfaces for audio and video transmission technologies. The touchable layer 480 provides various commonly used interface-related frameworks for application development. The touchable layer 480 is responsible for the user's touch interaction operations on the first device. For example, local notification service, remote push service, advertising framework, game tool framework, message user interface (UI) framework, user interface UIKit framework, map framework, etc.
[0343] exist Figure 18 Among the frameworks shown, those relevant to most applications include, but are not limited to, the Foundation framework in the core services layer 440 and the UIKit framework in the touchable layer 480. The Foundation framework provides many basic object classes and data types, offering fundamental system services for all applications and having nothing to do with the UI. The classes provided by the UIKit framework are the foundational UI class library for creating touch-based user interfaces. iOS applications can use the UIKit framework to provide their UIs, providing the application infrastructure for building user interfaces, drawing, handling user interaction events, responding to gestures, and so on.
[0344] Among them, the method and principle of implementing data communication between third-party applications and operating system in the IOS system can be referred to the Android system, and this application will not go into details here.
[0345] Among them, the input device 130 is used to receive input instructions or data, and the input device 130 includes but is not limited to a keyboard, a mouse, a camera, a microphone or a touch device. The output device 140 is used to output instructions or data, and the output device 140 includes but is not limited to a display device and a speaker. In one example, the input device 130 and the output device 140 can be combined, and the input device 130 and the output device 140 are touch screen displays, which are used to receive touch operations on or near the user using any suitable objects such as fingers and touch pens, and to display the user interfaces of various applications. The touch screen display is usually provided on the front panel of the first device. The touch screen display can be designed as a full screen, a curved screen or a special-shaped screen. The touch screen display can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in the embodiments of the present application.
[0346] In addition, those skilled in the art will understand that the structure of the first device shown in the above figures does not constitute a limitation of the first device. The first device may include more or fewer components than shown, or a combination of certain components, or a different arrangement of components. For example, the first device may also include a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a Bluetooth module, and other components, which will not be described in detail here.
[0347] In the embodiments of the present application, the execution entity of each step may be the first device described above. Optionally, the execution entity of each step is the operating system of the first device. The operating system may be Android, iOS, or other operating systems, which are not limited in the embodiments of the present application.
[0348] The first device of the embodiment of the present application may also be equipped with a display device, which may be any device capable of displaying a display function, such as a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink screen, a liquid crystal display (LCD), a plasma display panel (PDP), etc. The user may use the display device on the first device 101 to view displayed text, images, videos, and other information. The first device may be a mobile phone, a tablet computer, a gaming device, an AR (Augmented Reality) device, a car, a data storage device, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic watch, electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, electronic clothing, and the like.
[0349] exist Figure 15 In the first device shown, where the first device may be a terminal, the processor 110 may be configured to call an application stored in the memory 120 and specifically perform the following operations:
[0350] When the first device is in communication with the electronic device, obtaining information of a second device that can establish a connection with the electronic device;
[0351] The information for part or all of the second device is displayed in a device management interface to manage the electronic device based on the device management interface.
[0352] In one embodiment, when the processor 110 displays the information about part or all of the second devices in the device management interface, it specifically performs the following steps:
[0353] Determining state information and device information of part or all of the second device based on the information, where the state information is a communication connection state and / or an audio working state between the second device and the electronic device;
[0354] The status information and device information of each second device are displayed in the device management interface.
[0355] In one embodiment, after displaying the information about part or all of the second devices in the device management interface, the processor 110 further performs the following steps:
[0356] Obtaining device update information of at least one of the second devices;
[0357] In one embodiment, the processor 110, when executing the management of the electronic device based on the device management interface, specifically performs the following steps:
[0358] Acquire a target operation input for the second device in the device management interface;
[0359] In response to the target operation, the electronic device is managed.
[0360] In one embodiment, when the processor 110 manages the electronic device in response to the target operation, the processor 110 specifically performs the following steps:
[0361] sending a first target operation instruction for a second device to the electronic device, where the first target operation instruction is used to instruct the electronic device to perform a target operation on the second device based on the first target operation instruction; and / or,
[0362] sending a second target operation instruction for a second device to the electronic device, where the second target operation instruction is used to instruct the electronic device to perform a target operation on the second device after performing operation verification based on the second target operation instruction; and / or,
[0363] In response to the target operation, an operating environment of the target operation is detected based on the first device and / or the electronic device to control the electronic device to perform target operation processing.
[0364] In one embodiment, when executing the step of sending a second target operation instruction for a second device to the electronic device, where the second target operation instruction is used to instruct the electronic device to perform a target operation on the second device after performing operation verification based on the second target operation instruction, the processor 110 specifically performs the following steps:
[0365] A second target operation instruction for a second device is sent to the electronic device, wherein the second target operation instruction is used for the electronic device to output operation verification information and monitor a response operation input for the operation verification information, and instruct the electronic device to perform target operation processing when the response operation matches the target response operation.
[0366] In one embodiment, when the processor 110 performs the environmental detection of the operating environment of the target operation based on the first device and / or the electronic device to control the electronic device to perform the target operation processing, the processor 110 specifically performs the following steps:
[0367] Acquiring the user's physiological characteristics in the operating environment corresponding to the target operation based on the first device and / or the electronic device, performing identity detection on the user's physiological characteristics; controlling the electronic device to perform the target operation processing when the identity detection passes; and / or,
[0368] The device distance between the first device and the second device is obtained based on the first device and / or the electronic device. When the device distance is less than or equal to a distance threshold, the electronic device is controlled to perform target operation processing.
[0369] In one embodiment, when executing the device management method, the processor 110 specifically performs the following steps:
[0370] Obtaining an operation verification result and / or an environmental detection result of the electronic device, and updating information for the second device in the device management interface based on the operation verification result and / or the environmental detection result; and / or,
[0371] Obtain an operation verification result and / or an environmental detection result of the electronic device, and output the operation verification result and / or environmental detection result for the second device in the device management interface.
[0372] In one embodiment, when the processor 110 manages the electronic device in response to the target operation, the processor 110 specifically performs the following steps:
[0373] In response to a device connection operation for the second device, control the electronic device to perform device connection processing on the second device; and / or, in response to a device ignore operation for the second device, control the electronic device to perform device ignore processing on the second device; and / or, in response to a connection disconnection operation for the second device, control the electronic device to perform connection disconnection processing on the second device; and / or, in response to an audio setting operation for the second device, control the electronic device to perform audio setting processing on the second device; and / or, in response to a priority setting operation for the second device, control the electronic device to perform priority setting processing on the second device; and / or, in response to a scene management operation for the second device, control the electronic device to perform scene management processing on the second device.
[0374] In one embodiment, when the processor 110 controls the electronic device to perform device ignoring processing on the second device, the processor 110 specifically performs the following steps:
[0375] Acquiring a communication connection status between the electronic device and the second device;
[0376] If the communication connection state is a normal connection state, controlling the electronic device to disconnect the communication connection with the second device, and / or clearing the information of the second device;
[0377] If the communication connection state is a disconnected state, the information of the second device is cleared.
[0378] In one embodiment, when the processor 110 controls the electronic device to set the priority of the second device, it specifically performs the following steps:
[0379] The device priority of the corresponding second device is set based on the priority setting operation, where the device priority of the second device includes one or more of: a reconnection priority, a preemption priority, a switching priority, and a scene priority.
[0380] In one embodiment, when executing the device management method, the processor 110 further performs the following operations:
[0381] In a device connection scenario corresponding to the electronic device, controlling the electronic device to perform device connection processing based on the device priority corresponding to each second device and establish communication connections with at least two second devices; and / or,
[0382] In the audio setting scenario corresponding to the electronic device, controlling the electronic device to perform audio setting processing based on the device priority corresponding to each second device and establish an audio link with at least two second devices;
[0383] In a service response scenario corresponding to the electronic device, the electronic device is controlled to respond to the device service corresponding to the second device based on the device priority corresponding to each second device.
[0384] In one embodiment, when executing the managing the electronic device based on the device management interface, the processor 110 further performs the following operations:
[0385] Detect the number of target second devices that have established connections with the electronic device; in response to the number of devices being greater than or equal to a connection number threshold, output connection prompt information on the device management interface; and / or, in response to the number of devices being greater than or equal to the connection number threshold, output a device management pop-up window on the device management interface, the device management pop-up window being used to prompt device switching for the target second device with which the connection has been established; and / or, in response to the number of devices being greater than or equal to the connection number threshold, perform device management based on a device priority corresponding to at least one of the target second devices in the device management interface; and / or, in response to the number of devices being greater than or equal to the connection number threshold, perform device management on the target second device based on a device management instruction input in the device management interface.
[0386] In one embodiment, when the processor 110 executes the scene management operation for the second device in response to controlling the electronic device to perform scene management processing on the second device, the processor 110 specifically performs the following operations:
[0387] In response to a scene adding operation for the second device, a first scene is added, and the second device corresponding to the user's selection operation is associated with the first scene; and / or, in response to a scene dividing operation for the second device, the second device is associated with the second scene corresponding to the scene dividing operation; and / or, in response to a scene starting operation for the second device, a connection is established with the second device associated with the third scene corresponding to the scene starting operation; and / or, in response to a scene device removing operation for the second device, the fourth scene corresponding to the scene device removing operation is disassociated from the second device; and / or, in response to a scene removing operation for the fifth scene, the fifth scene and all second devices associated with the fifth scene are deleted; and / or, in response to a priority setting operation for the second device in the sixth scene, the scene priority of the second device is set.
[0388] In one embodiment, when executing the scenario startup operation for the second device and establishing a connection with the second device associated with the third scenario corresponding to the scenario startup operation, the processor 110 specifically performs the following operations:
[0389] In response to a first scene start-up operation on the second device, triggering the electronic device to establish a connection with a second device in a third scene corresponding to the scene start-up operation; and / or,
[0390] In response to a second scene start-up operation for the second device, a target scene currently located by the first device is determined, and based on the target scene, the electronic device is triggered to establish a connection with the second device in the target scene.
[0391] See Figure 19 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 19 As shown, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display) and a camera (Camera). The user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
[0392] The processor 1001 may include one or more processing cores. The processor 1001 utilizes various interfaces and circuits to connect various components within the server 1000. It executes instructions, programs, code sets, or instruction sets stored in the memory 1005, and accesses data stored in the memory 1005 to perform various server 1000 functions and process data. Optionally, the processor 1001 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 1001 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing content displayed on the display screen; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 1001 and may be implemented as a separate chip.
[0393] Among them, the memory 1005 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1005 may optionally be at least one storage device located away from the aforementioned processor 1001. As Figure 16 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a device management application.
[0394] exist Figure 19 In the electronic device 1000 shown, the user interface 1003 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 1001 can be used to call the device management application stored in the memory 1005 and specifically perform the following operations:
[0395] Establish a communication connection with a first device and send information of a second device to the first device; the second device is a device that the electronic device can establish a connection with; and manage the second device based on the instructions sent by the first device.
[0396] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing related hardware through a computer program. The program can be stored in a computer-readable storage medium, and when executed, the program can include the processes in the above-described method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory, or a random access memory.
[0397] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A device management method, characterized in that: Applied to a first device, the method includes: obtaining, when the first device is in communication with the electronic device, information of a second device that can be simultaneously connected to the electronic device when the electronic device is already in communication with the first device, the electronic device having a one-to-one multi-function capable of simultaneously establishing communication connections with multiple devices, the device including the first device and at least one second device, and the electronic device including headphones, speakers, glasses, a watch, or a bracelet; In a scenario where the electronic device is capable of establishing communication connections with multiple devices, displaying the information for some or all of the second devices in a device management interface, so as to manage the electronic device based on the device management interface, wherein the device management interface is used for device management between the one-to-many multi-functional electronic device and the first and second devices that can establish connections simultaneously; The managing the electronic device based on the device management interface includes: acquiring a target operation input for the second device in the device management interface, and managing the electronic device in response to the target operation; The target operation includes a scene management operation, and the scene management operation includes at least one of a scene adding operation, a scene dividing operation, a scene starting operation, a scene device removing operation, a scene releasing operation, and a priority setting operation; The managing the electronic device in response to the target operation includes: In response to the scene adding operation for the second device, a first scene is added, and the second device corresponding to the user's selection operation is associated with the first scene; and / or, In response to a scene division operation on the second device, associating the second device with a second scene corresponding to the scene division operation; and / or, In response to a scene start operation on the second device, establishing a connection with a second device associated with a third scene corresponding to the scene start operation; and / or, In response to a scene device removal operation on the second device, disassociating a fourth scene corresponding to the scene device removal operation from the second device; and / or, In response to a scene release operation for the fifth scene, deleting the fifth scene and all second devices associated with the fifth scene; and / or, In response to a priority setting operation for a second device in a sixth scene, a scene priority of the second device is set.
2. The method according to claim 1, characterized in that The displaying the information for part or all of the second devices in the device management interface includes: Determining state information and device information of part or all of the second device based on the information, where the state information is a communication connection state and / or an audio working state between the second device and the electronic device; The status information and device information of each second device are displayed in the device management interface.
3. The method according to claim 1, characterized in that After displaying the information about some or all of the second devices in the device management interface, the method further includes: Obtaining device update information of at least one of the second devices; Information of the second device in the device management interface is updated based on the device update information.
4. The method according to claim 1, wherein Managing the electronic device in response to the target operation includes: sending a first target operation instruction for a second device to the electronic device, where the first target operation instruction is used to instruct the electronic device to perform a target operation on the second device based on the first target operation instruction; and / or, sending a second target operation instruction for a second device to the electronic device, where the second target operation instruction is used to instruct the electronic device to perform a target operation on the second device after performing operation verification based on the second target operation instruction; and / or, In response to the target operation, an operating environment of the target operation is detected based on the first device and / or the electronic device to control the electronic device to perform target operation processing.
5. The method according to claim 4, characterized in that The sending a second target operation instruction for the second device to the electronic device, where the second target operation instruction is used to instruct the electronic device to perform target operation processing on the second device after performing operation verification based on the second target operation instruction, includes: A second target operation instruction for a second device is sent to the electronic device, wherein the second target operation instruction is used for the electronic device to output operation verification information and monitor a response operation input for the operation verification information, and instruct the electronic device to perform target operation processing when the response operation matches the target response operation.
6. The method according to claim 4, characterized in that The performing environmental detection on the operating environment of the target operation based on the first device and / or the electronic device to control the electronic device to perform the target operation processing includes: Acquiring the user's physiological characteristics in the operating environment corresponding to the target operation based on the first device and / or the electronic device, performing identity detection on the user's physiological characteristics; controlling the electronic device to perform the target operation processing when the identity detection passes; and / or, The device distance between the first device and the second device is obtained based on the first device and / or the electronic device. When the device distance is less than or equal to a distance threshold, the electronic device is controlled to perform target operation processing.
7. The method according to claim 4, characterized in that The method further comprises: Obtaining an operation verification result and / or an environmental detection result of the electronic device, and updating information for the second device in the device management interface based on the operation verification result and / or the environmental detection result; and / or, Obtain an operation verification result and / or an environmental detection result of the electronic device, and output the operation verification result and / or environmental detection result for the second device in the device management interface.
8. The method according to claim 1, characterized in that Managing the electronic device in response to the target operation includes: In response to a device connection operation for the second device, controlling the electronic device to perform a device connection process on the second device; and / or, In response to a device ignore operation on the second device, controlling the electronic device to perform a device ignore process on the second device; and / or, In response to a disconnection operation on the second device, controlling the electronic device to perform a disconnection process on the second device; and / or, In response to the audio setting operation for the second device, controlling the electronic device to perform audio setting processing on the second device; and / or, In response to a priority setting operation for the second device, controlling the electronic device to perform a priority setting process on the second device; and / or, In response to the scene management operation for the second device, the electronic device is controlled to perform scene management processing on the second device.
9. The method according to claim 8, characterized in that The controlling the electronic device to perform device ignoring processing on the second device includes: Acquiring a communication connection status between the electronic device and the second device; If the communication connection state is a normal connection state, controlling the electronic device to disconnect the communication connection with the second device, and / or clearing the information of the second device; If the communication connection state is a disconnected state, the information of the second device is cleared.
10. The method according to claim 8, characterized in that The controlling the electronic device to perform priority setting processing on the second device includes: The device priority of the corresponding second device is set based on the priority setting operation, where the device priority of the second device includes one or more of: a reconnection priority, a preemption priority, a switching priority, and a scene priority.
11. The method according to claim 10, characterized in that The method further comprises: In the device connection scenario corresponding to the electronic device, controlling the electronic device to perform device connection processing based on the device priority corresponding to each second device and establish communication connections with at least two second devices; and / or, In the audio setting scenario corresponding to the electronic device, controlling the electronic device to perform audio setting processing based on the device priority corresponding to each second device and establish an audio link with at least one of the second devices; and / or, In the service response scenario corresponding to the electronic device, the electronic device is controlled to respond to the device service corresponding to the second device based on the device priority corresponding to each second device.
12. The method according to claim 1, characterized in that Managing the electronic device based on the device management interface includes: Detecting the number of target second devices that have established a connection with the electronic device; In response to the number of devices being greater than or equal to a connection number threshold, outputting connection prompt information on the device management interface; and / or, In response to the number of devices being greater than or equal to a connection number threshold, outputting a device management pop-up window on the device management interface, the device management pop-up window being used to prompt a device switch for the target second device to which the connection has been established; and / or, In response to the number of devices being greater than or equal to a connection number threshold, performing device management based on a device priority corresponding to at least one of the target second devices in a device management interface; and / or, In response to the number of devices being greater than or equal to a connection number threshold, device management is performed on the target second device based on a device management instruction input in a device management interface.
13. The method according to claim 1, wherein The step of establishing a connection with a second device associated with a third scene corresponding to the scene startup operation in response to the scene startup operation on the second device includes: In response to a first scene start-up operation on the second device, triggering the electronic device to establish a connection with a second device in a third scene corresponding to the scene start-up operation; and / or, In response to a second scene start-up operation for the second device, a target scene currently located by the first device is determined, and based on the target scene, the electronic device is triggered to establish a connection with the second device in the target scene.
14. A device management method, characterized in that: Applied to electronic devices, the electronic devices include headphones, speakers, glasses, watches, or bracelets, and the method includes: Establish a communication connection with a first device and send information of a second device to the first device; the second device is a device that can establish a connection simultaneously when the electronic device is already communicatively connected to the first device; the electronic device has a one-to-one multi-function for establishing communication connections with multiple devices simultaneously, the device includes a first device and at least one second device, the information is used by the first device to display the information for some or all of the second devices in the device management interface, the first device manages the electronic device based on the device management interface; manages the second device based on the instructions sent by the first device; the first device manages the electronic device based on the device management interface, including: obtaining the target operation entered for the second device in the device management interface, and managing the electronic device in response to the target operation; the target operation includes a scene management operation, and the scene management operation includes at least one of a scene addition operation, a scene division operation, a scene startup operation, a scene device removal operation, a scene release operation, and a priority setting operation; wherein, the first device manages the electronic device in response to the target operation The electronic device is managed, including: the first device adds a first scene in response to the scene adding operation for the second device, and associates the second device corresponding to the user's selection operation with the first scene; and / or, the first device responds to the scene dividing operation for the second device, and associates the second device with the second scene corresponding to the scene dividing operation; and / or, the first device responds to the scene starting operation for the second device, and establishes a connection with the second device associated with the third scene corresponding to the scene starting operation; and / or, the first device responds to the scene device removing operation for the second device, and disassociates the fourth scene corresponding to the scene device removing operation from the second device; and / or, the first device responds to the scene removing operation for the fifth scene, and deletes the fifth scene and all second devices associated with the fifth scene; and / or, the first device responds to the priority setting operation for the second device in the sixth scene, and sets the scene priority of the second device. The device management interface is used for device management between a one-drag multi-functional electronic device and a first device and a second device that can establish connections at the same time.
15. A computer storage medium, characterized in that The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 13.
16. An electronic device, characterized in that: include: A processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps according to any one of claims 1 to 13.
Citation Information
Patent Citations
Bluetooth device management method and device
CN113194450A