Updating method, readable medium, program product and electronic device

By providing a unified Bluetooth accessory update portal for the main electronic device, the problem of users having to operate through different update portals is solved, enabling a convenient multi-device update experience.

CN117750340BActive Publication Date: 2026-05-15HONOR DEVICE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2022-09-15
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Users need to update the software or firmware of multiple Bluetooth accessory devices through different update portals on the main electronic device, which is cumbersome and results in a poor user experience.

Method used

A method is provided that enables a host electronic device to provide a unified update entry point for connected Bluetooth accessory devices, obtain and display update information for each device by detecting user operations, and perform updates on the same interface.

Benefits of technology

It simplifies user operations, improves user experience, and allows users to update the software or firmware of multiple Bluetooth accessory devices in a unified interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117750340B_ABST
    Figure CN117750340B_ABST
Patent Text Reader

Abstract

The application relates to the terminal technical field and discloses an updating method, a readable medium, a program product and an electronic device. When detecting that a user enters an operation of an updating interface, the electronic device determines a Bluetooth accessory device currently connected to the electronic device based on pre-stored connection information of the Bluetooth accessory device that has been connected to the electronic device in the past, and acquires device information of the Bluetooth accessory device currently connected to the electronic device; and then based on the acquired device information, the electronic device acquires updating information of each Bluetooth accessory device connected to the electronic device from a server and displays the updating information in the same updating interface. Therefore, the user can update the software and / or firmware of each Bluetooth accessory device through the above updating interface, without needing to update the software and / or firmware of the corresponding Bluetooth accessory device from the operation of the updating entrance corresponding to each Bluetooth accessory device, so that the operation is convenient and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of terminal technology, and in particular to an update method, a readable medium, a program product, and an electronic device. Background Technology

[0002] With the development of Bluetooth technology, more and more Bluetooth accessories can connect to host electronic devices, such as Bluetooth headsets, styluses, and keyboards that can connect to tablets or mobile phones. Typically, Bluetooth accessories cannot directly connect to the corresponding server to update software or firmware. Instead, the accessory needs to be connected to the host electronic device, and the user must update it through the respective update portal on the host device. However, since different Bluetooth accessories usually have different update portals, when a user has multiple Bluetooth accessories, they need to update the software or firmware of each accessory separately through different update portals on the host electronic device. This process is cumbersome and results in a poor user experience. Summary of the Invention

[0003] In view of this, embodiments of this application provide an update method, a readable medium, a program product, and an electronic device. By providing a unified update entry point for Bluetooth accessory devices connected to the electronic device, the electronic device allows users to update the software and / or firmware of all Bluetooth accessory devices connected to the electronic device through a single update interface, which is convenient and improves the user experience.

[0004] In a first aspect, embodiments of this application provide an update method applied to a first electronic device. The method includes: detecting a user's entry into an update interface; determining at least one second electronic device currently connected to the first electronic device from at least one historically connected electronic device that has previously connected to the first electronic device via Bluetooth; obtaining device information of each second electronic device; and obtaining software and / or firmware update information of the second electronic device from a server based on the device information of each second electronic device; and displaying the update information of each second electronic device on the update interface.

[0005] The method provided in this application embodiment allows a first electronic device (e.g., the main electronic device hereinafter) to display update information of each second electronic device (e.g., the Bluetooth accessory device hereinafter) connected to the first electronic device on the same update interface. This allows users to update the software and / or firmware of each second electronic device on the update interface, which is convenient and improves the user experience.

[0006] For example, the user's action to access the update interface can be the user's action on the "Software Update" option 1101 mentioned below.

[0007] In one possible implementation of the first aspect described above, displaying the update information of each of the second electronic devices on the update interface includes:

[0008] Upon receiving a new version of the software and / or firmware of a third electronic device from the server, a first update control is displayed on the update interface. The first update control is used to indicate the entry point for updating the software and / or firmware of the third electronic device to the new version. The third electronic device is any one of the second electronic devices.

[0009] For example, the third electronic device may be a stylus 01, a Bluetooth headset 02, a Bluetooth keyboard 03, etc., as described below, and the first update control may be the "Update Now" option 1111, "Update Now" option 1112, "Update Now" option 1112, etc., as described below.

[0010] In one possible implementation of the first aspect above, the method further includes: detecting user operation on the first update control, and updating the software and / or firmware of the third electronic device to a new version.

[0011] In one possible implementation of the first aspect above, the above-mentioned display of update information of each second electronic device on the update interface further includes: displaying the version information of the new version of the software and / or firmware of the third electronic device, as well as the version information of the current version of the software and / or firmware of the third electronic device on the update interface.

[0012] In one possible implementation of the first aspect above, the above-mentioned display of update information of each second electronic device on the update interface further includes: displaying the current version of the software and / or firmware of the fourth electronic device on the update interface when a new version of the software and / or firmware of the fourth electronic device is not obtained from the server, and a second update control, wherein the fourth electronic device is any one of the second electronic devices, and the second update control is used to indicate the entry point for obtaining a new version of the software and / or firmware of the fourth electronic device from the server.

[0013] For example, the fourth electronic device may be a mobile phone 200, etc., as described below, and the second update control may be the "Check for updates" option, as described below.

[0014] In one possible implementation of the first aspect described above, the device information of the second electronic device includes the device identifier of each second electronic device and the software and / or firmware version information of each second electronic device.

[0015] In one possible implementation of the first aspect above, identifying at least one second electronic device currently connected to the first electronic device from at least one historically connected electronic device that has historically connected to the first electronic device via Bluetooth includes: attempting to send an instruction to each historically connected electronic device to obtain device information based on pre-stored historical connection information; identifying the historically connected electronic device corresponding to the received device information as the second electronic device; wherein the historical connection information includes the MAC address and device type of each historically connected electronic device, and the historical connection information is obtained when each historically connected electronic device first connects to the first electronic device.

[0016] Secondly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed on an electronic device, cause the electronic device to implement the first aspect described above and any possible implementation of the update method provided by the first aspect.

[0017] Thirdly, embodiments of this application provide an electronic device, the electronic device comprising: a memory for storing instructions executed by one or more processors of the electronic device; and a processor, one of the processors of the electronic device, for executing the instructions stored in the memory to implement the first aspect and any possible implementation of the update method provided by the first aspect.

[0018] Fourthly, embodiments of this application provide a computer program product that, when run on an electronic device, enables the electronic device to implement the first aspect described above and any possible implementation of the update method provided in the first aspect. Attached Figure Description

[0019] Figure 1A This is a schematic diagram of the home screen interface of a tablet computer 100 according to some embodiments of this application;

[0020] Figure 1B This is a schematic diagram of the settings interface of a tablet computer 100 according to some embodiments of this application;

[0021] Figure 2 This is a schematic diagram of the "Accessibility" option of a tablet computer 100 settings interface, according to some embodiments of this application.

[0022] Figure 3 This is a schematic diagram of a product information interface in a tablet computer 100, according to some embodiments of this application;

[0023] Figure 4 This is a schematic diagram of a firmware update interface in a tablet computer 100, according to some embodiments of this application;

[0024] Figure 5 This is a schematic diagram of the "Bluetooth" option in the settings interface of a tablet computer 100, according to some embodiments of this application.

[0025] Figure 6 This is a schematic diagram of a Bluetooth settings interface in a tablet computer 100, according to some embodiments of this application;

[0026] Figure 7 This is a schematic diagram of the interface of a "firmware update" option in a tablet computer 100, according to some embodiments of this application;

[0027] Figure 8 According to some embodiments of this application, a schematic diagram of another Bluetooth settings interface in a tablet computer 100 is shown;

[0028] Figure 9 According to some embodiments of this application, a schematic diagram of the interface for another "firmware update" option in a tablet computer 100 is shown;

[0029] Figure 10 This is a schematic diagram of the settings interface of a tablet computer 100 according to some embodiments of this application;

[0030] Figure 11A This is a schematic diagram of the interface of the "System and Updates" option in a tablet computer 100, according to some embodiments of this application;

[0031] Figure 11B This is a schematic diagram of a software update interface in a tablet computer 100, according to some embodiments of this application;

[0032] Figure 12 The present application illustrates a schematic diagram of the software architecture of a tablet computer 100 according to some embodiments thereof;

[0033] Figure 13 This is a schematic diagram of a process for storing connection information, based on some embodiments of this application;

[0034] Figure 14 The present invention provides a schematic flowchart illustrating an update method based on some embodiments thereof.

[0035] Figure 15 Based on some embodiments of the application, a flowchart of another update method is shown;

[0036] Figure 16 The present invention provides a schematic diagram of the hardware structure of a tablet computer 100 according to some embodiments thereof. Detailed Implementation

[0037] Embodiments of this application include, but are not limited to, an update method, a readable medium, a program product, and an electronic device.

[0038] The specific solutions of the embodiments of this application are described below with reference to the accompanying drawings.

[0039] It is understood that the main electronic device can be any electronic device that can connect to a Bluetooth accessory device via Bluetooth and obtain the software or firmware of the Bluetooth accessory device from a server, including but not limited to mobile phones, tablets, printers, etc. For ease of description, the technical solutions of the embodiments of this application are described below using a tablet computer 100 as the main electronic device.

[0040] It is understood that Bluetooth accessory devices are any electronic devices that can connect to a host electronic device and update the software or firmware in the Bluetooth accessory device through the host electronic device, including but not limited to mobile phones, tablets, headphones, styluses, keyboards, smart home devices (such as smart TVs, smart speakers, and air purifiers), and Internet of Things devices (such as smart switches and sockets).

[0041] It is understood that the content updated by the main electronic device for the Bluetooth accessory device may include, but is not limited to, the operating system, applications, drivers, firmware, etc. of the Bluetooth accessory device. The following will take the firmware update of the Bluetooth accessory device by the main electronic device as an example.

[0042] As mentioned above, in some embodiments, users can update the software or firmware of various Bluetooth accessory devices by operating through the update entry corresponding to different Bluetooth accessory devices in the main electronic device. This operation is cumbersome and affects the user experience.

[0043] For example, such as Figure 1A As shown, when updating the firmware of the stylus 01, the user can first click the settings icon 101 on the home screen of the tablet 100, and then enter the settings menu. Figure 1B The settings interface shown is accessible by clicking the "Accessibility" option 102. Figure 2 The "Accessibility" interface is shown; then, in the Accessibility interface, click the "Stylus" option 201 to enter the following... Figure 3 The product information interface shown; then, by clicking the "Firmware Update" option 301 on the product information interface, you can enter the following... Figure 4 The image shows the firmware update interface for stylus 01. If tablet 100 obtains a new firmware version for stylus 01, it will display the version number of the new version, such as... Figure 4As shown, the tablet 100 can display the new version number of the stylus 01 as "1.0.0.58". Users can update the firmware of the stylus 01 by clicking option 401. It's understandable that if the tablet 100 does not have a new firmware version for the stylus 01, it can display "Already the latest version," and therefore does not need to update the firmware of the stylus 01.

[0044] For example, when a user updates the firmware of the Bluetooth headset 02, they can... Figure 1B In the settings interface shown, click the "Bluetooth" option 103 to enter... Figure 5 The Bluetooth interface shown; then, by clicking the settings option 501 for Bluetooth headset 02 in the Bluetooth interface, you can enter the settings menu as shown. Figure 6 The settings interface of Bluetooth headset 02 is shown below; then, in the settings interface of Bluetooth headset 02, click the "Firmware Update" option 601 to enter the settings as shown below. Figure 7 The image shows the firmware update interface for Bluetooth headset 02. If tablet 100 obtains a new firmware version for Bluetooth headset 02, it can display the new version number, such as... Figure 7 As shown, the tablet 100 can display the new version number of the Bluetooth headset 02 as "6.0.0.69(T02)". Users can update the firmware of the Bluetooth headset 02 by clicking option 701. It's understandable that if the tablet 100 does not have a new firmware version for the Bluetooth headset 02, it can display "Already the latest version," and therefore, no firmware update for the Bluetooth headset 02 is required.

[0045] For example, when a user updates the firmware of the Bluetooth keyboard 03, they can... Figure 1B In the settings interface shown, click the "Bluetooth" option 103 to enter the settings as follows. Figure 5 The Bluetooth interface shown; then, by clicking the settings option 502 on the Bluetooth keyboard 03 within the Bluetooth interface, you can enter the settings menu as shown. Figure 8 The Bluetooth keyboard 03 settings interface is shown below; then, in the Bluetooth keyboard 03 settings interface, click the "Firmware Update" option 801 to enter the settings interface as shown below. Figure 9 The image shows the firmware update interface for Bluetooth Keyboard 03. If Tablet 100 obtains a new firmware version for Bluetooth Keyboard 03, it can display the new version number, such as... Figure 9 As shown, tablet 100 can display the new version number of Bluetooth keyboard 03 as "2.0.0.66". Users can update the firmware of Bluetooth keyboard 03 by clicking option 901. It's understandable that if tablet 100 does not have a new firmware version for Bluetooth keyboard 03, it can display "Already the latest version," and therefore does not need to update the firmware of Bluetooth keyboard 03.

[0046] In the above operation, when users update the firmware of different Bluetooth accessory devices on the tablet 100, they need to find the update entry of each Bluetooth accessory device before updating, which is cumbersome and affects the user experience.

[0047] In view of this, this application provides an update method. The main electronic device can store connection information of Bluetooth accessory devices that have historically connected to the main electronic device (hereinafter referred to as historical connection information) and provide a unified update entry point (e.g., the main electronic device's software update entry point) for Bluetooth accessory devices connected to the main electronic device. When the main electronic device detects that a user has entered this unified update entry point, it obtains the device information of the Bluetooth accessory devices already connected to the main electronic device based on the historical connection information. Based on the obtained device information, it retrieves the update information of each Bluetooth accessory device connected to the main electronic device from the server and displays it on the update interface. Thus, the user can update the software or firmware of each Bluetooth accessory device through the aforementioned update interface without needing to update the software or firmware of the corresponding Bluetooth accessory device through the corresponding update entry point, which is convenient and improves the user experience.

[0048] It is understood that historical connection information may include connection information of Bluetooth accessory devices (hereinafter referred to as historical connected devices) that have historically connected to the main electronic device, including but not limited to device type, Media Access Control Address (MAC address), etc.

[0049] It is understood that the device information of Bluetooth accessory devices may include device identifiers used to identify the Bluetooth accessory device, such as the type, model, and serial number of the Bluetooth accessory device, as well as the software or firmware version information of the Bluetooth accessory device.

[0050] It is understandable that the update information may include the version information of the new software or firmware of each Bluetooth accessory device.

[0051] It is understood that the aforementioned server can be any server capable of providing software or firmware updates for Bluetooth accessory devices, such as a server provided by the developer of the Bluetooth accessory device to update the software or firmware of the Bluetooth accessory device for users, or a server provided by the main electronic device to provide software or firmware updates for various Bluetooth accessory devices, etc., without any limitation.

[0052] For example, in some embodiments, this unified update entry point can be located in the "System and Updates" option of the main electronic device. Figure 10 As shown, users can access the following by first clicking the "System and Updates" option (1001). Figure 11AThe "System and Updates" interface of the tablet computer 100 is shown. After detecting a user's operation on the "Software Update" option 1101, the tablet computer 100 obtains the device information of the Bluetooth accessory devices connected to the tablet computer 100 based on historical connection information, such as the aforementioned stylus 01, Bluetooth headset 02, and Bluetooth keyboard 03. Based on the obtained device information of the Bluetooth accessory devices, it retrieves the update information of the Bluetooth accessory devices from the server and displays the update information. Figure 11B The "Software Update" interface shown prompts the user that a new firmware version of the Bluetooth accessory device is available for update.

[0053] Specifically, such as Figure 11B As shown, the "Software Update" interface can include the current firmware version information for Bluetooth accessory devices and tablet 100, as well as update information for devices with new firmware versions. (Reference) Figure 11B If the tablet computer 100 obtains a new firmware version for the stylus 01, it can display the "Update Now" option 1111 and the new firmware version number "1.0.0.58". If the tablet computer 100 detects that the user clicks the "Update Now" option 1111, it will update the firmware version of the stylus 01. If the tablet computer 100 obtains a new firmware version for the Bluetooth headset 02, it can display the "Update Now" option 1112 and the new firmware version number "6.0.0.69(T02)". If the tablet computer 100 detects that the user clicks the "Update Now" option 1112, it will update the firmware version of the Bluetooth headset 02. If the tablet computer 100 obtains a new firmware version for the Bluetooth keyboard 03, it can display the "Update Now" option 1113 and the new firmware version number "2.0.0.66". If the tablet computer 100 detects that the user clicks the "Update Now" option 1113, it will update the firmware version of the Bluetooth keyboard 03.

[0054] It is understandable that if the tablet 100 does not obtain the latest firmware version information of the Bluetooth accessory device connected to the tablet 100, it can only display the current firmware version information of the Bluetooth accessory device. For example, refer to Figure 11B The mobile phone 200 is connected to the tablet computer 100 via Bluetooth, but the tablet computer 100 does not detect the new firmware version of the mobile phone 200, and only displays the version information of the current firmware version of the mobile phone 200, namely the version number "9.0.1.129".

[0055] The method provided in this application allows users to update the firmware of various Bluetooth accessory devices through the "Software Update" entry on the tablet computer 100, without having to search for different update entries for different Bluetooth accessory devices on the tablet computer 100. This simplifies the operation and improves the user experience.

[0056] To facilitate understanding of the technical solution of this application, the software architecture of the tablet computer 100 is described below.

[0057] Specifically, Figure 12 According to some embodiments of this application, a schematic diagram of the software architecture of a tablet computer 100 is shown.

[0058] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the operating system can be divided into four layers, from top to bottom: application layer 1210, application framework layer 1220, system library 1230, and kernel layer 1240.

[0059] Application layer 1210 may include a series of application packages. Application packages may include applications such as camera, gallery, calendar, phone, messaging, contacts, weather, browser, music, and video.

[0060] It is understood that, in some embodiments, the software update application 30 corresponding to the aforementioned "software update" option 1101 may be located in the application layer 1210. This software update application 30 can be used to accept and store connection information of Bluetooth accessory devices as historical connection information, and, upon detecting that a user has clicked the "software update" option 1101, to obtain and display update information of the Bluetooth accessory devices already connected to the tablet computer 100 based on this historical connection information.

[0061] Application framework layer 1220 provides an application programming interface (API) and programming framework for the applications of application layer 1210. Application framework layer 1220 includes some predefined functions.

[0062] like Figure 12 As shown, the application framework layer 1220 may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc. The window manager is used to manage window programs. The window manager can obtain the screen size, determine if a status bar is present, lock the screen, and capture the screen, etc. The content provider is used to store and retrieve data, making this data accessible to applications. The data may include video, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc. The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. The display interface may consist of one or more views.

[0063] It is understood that the services corresponding to the aforementioned Bluetooth accessory devices can be set in the application framework layer 1220. For example, the PencilManager service 40 corresponding to the stylus 01 can be used to pass the connection information and device information of the stylus 01 to the software update application 30; the IConnect service 50 corresponding to the Bluetooth headset 02 can be used to pass the connection information and device information of the Bluetooth headset 02 to the software update application 30; and the PencilManager service 40 corresponding to the Bluetooth keyboard 03 can be used to pass the connection information and device information of the Bluetooth headset 03 to the software update application 30.

[0064] System layer 1230 may include multiple functional modules. For example, a surface manager, media libraries, 3D graphics processing libraries (such as OpenGL ES), a 2D graphics engine (such as SGL), and the Android runtime.

[0065] The Surface Manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The Media Library supports playback and recording of various common audio and video formats, as well as still image files. The Media Library supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG. The 3D Graphics Processing Library implements 3D graphics drawing, image rendering, compositing, and layer processing. The 2D Graphics Engine is the drawing engine for 2D graphics.

[0066] The Android runtime includes a core library and a virtual machine. The core library consists of two parts: functions that the Java language needs to call, and the core libraries of the operating system. The application layer 1210 and the application framework layer 1220 run within the virtual machine. The virtual machine executes the Java files of the application layer 1210 and the application framework layer 1220 as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection. The kernel layer 1240 is the layer between hardware and software. The kernel layer 1240 includes at least a display driver, camera driver, audio driver, Bluetooth driver, and software applications. In some embodiments, the Bluetooth driver can be used to drive the Bluetooth hardware of the tablet computer 100 to establish a Bluetooth connection with other electronic devices and perform data transmission based on that Bluetooth connection.

[0067] Understandable. Figure 12 The software architecture of the tablet computer 100 shown is only an example. In other embodiments, the software architecture of the tablet computer 100 may include more or fewer modules, may split or merge some modules, or may adopt other architectures, which are not limited here.

[0068] To facilitate understanding, the following will be combined with Figure 12 The software architecture of the tablet computer 100 is shown, and the technical solution for storing Bluetooth accessory device connection information in the tablet computer 100 is introduced.

[0069] Specifically, Figure 13 According to some embodiments of this application, a flowchart is shown of a software update application 30 receiving and storing connection information of a Bluetooth accessory device, the flowchart including the following steps.

[0070] S1301: Bluetooth accessory devices and tablet computer 100 establish Bluetooth connection.

[0071] It is understood that in some embodiments, after the Bluetooth accessory device and the tablet computer 100 establish a Bluetooth connection, the Bluetooth accessory device can send connection information to the tablet computer 100 so that the Bluetooth accessory device can re-establish a connection with the tablet computer 100.

[0072] S1302: Bluetooth device service 20 initiates the service corresponding to software update application 30.

[0073] After the Bluetooth accessory device establishes a Bluetooth connection with the tablet computer 100, the Bluetooth device service 20 corresponding to the Bluetooth accessory device can initiate the service corresponding to the software update application 30.

[0074] For example, if the Bluetooth accessory device is the aforementioned stylus 01, the Bluetooth device service 20 can be PencilManager 40, which will launch the service corresponding to the software update application 30.

[0075] For example, if the Bluetooth accessory device is the aforementioned Bluetooth headset 02, the Bluetooth device service 20 can be IConnect 50, which initiates the service corresponding to the software update application 30.

[0076] For example, in the case of the Bluetooth accessory device being the aforementioned Bluetooth keyboard 03, the Bluetooth device service 20 can be PencilManager 40, which initiates the service corresponding to the software update application 30.

[0077] S1303: Software update application 30 and Bluetooth device service 20 establish a communication connection channel.

[0078] The software update application 30 and the Bluetooth device service 20 establish a communication connection channel so that the software update application 30 can send a command to the Bluetooth device service 20 to obtain Bluetooth accessory device connection information.

[0079] For example, when the Bluetooth accessory device is the aforementioned stylus 01, the software update application 30 can establish a communication connection channel with the PencilManager service 40 corresponding to the stylus 01.

[0080] For example, when the Bluetooth accessory device is the aforementioned Bluetooth headset 02, the software update application 30 can establish a communication connection channel with the IConnect service 50 corresponding to the Bluetooth headset 02.

[0081] For example, when the Bluetooth accessory device is the aforementioned Bluetooth keyboard 03, the software update application 30 can establish a communication connection channel with the PencilManager service 40 corresponding to the Bluetooth keyboard 03.

[0082] S1304: Software update application 30 sends a command to Bluetooth device service 20 to obtain connection information of Bluetooth accessory devices.

[0083] The software update application 30 sends a command to the Bluetooth device service 20 to obtain the connection information of the Bluetooth accessory device, wherein the connection information may include information such as the MAC address and device type of the Bluetooth accessory device.

[0084] For example, if the Bluetooth accessory device is the aforementioned stylus 01, the software update application 30 can send a command to the PencilManager service 40 corresponding to the stylus 01 to obtain the connection information of the stylus 01.

[0085] For example, when the Bluetooth accessory device is the aforementioned Bluetooth headset 02, the software update application 30 can send a command to the IConnect service 50 corresponding to the Bluetooth headset 02 to obtain the connection information of the Bluetooth headset 02.

[0086] For example, if the Bluetooth accessory device is the aforementioned Bluetooth keyboard 03, the software update application 30 can send a command to the PencilManager service 40 corresponding to the Bluetooth keyboard 03 to obtain the connection information of the Bluetooth keyboard 03.

[0087] S1305: Bluetooth Device Service 20 forwards a command to the Bluetooth accessory device to obtain connection information of the Bluetooth accessory device.

[0088] Bluetooth Device Service 20 forwards the instruction received from Software Update Application 30 to obtain Bluetooth accessory device connection information to the Bluetooth accessory device.

[0089] For example, when the Bluetooth accessory device is the aforementioned stylus 01, the PencilManager service 40 corresponding to stylus 01 forwards an instruction to stylus 01 to obtain the connection information of stylus 01.

[0090] For example, when the Bluetooth accessory device is the aforementioned Bluetooth headset 02, the IConnect service 50 corresponding to the Bluetooth headset 02 forwards an instruction to the Bluetooth headset 02 to obtain the connection information of the Bluetooth headset 02.

[0091] For example, when the Bluetooth accessory device is the aforementioned Bluetooth keyboard 03, the PencilManager service 40 corresponding to the Bluetooth keyboard 03 forwards an instruction to the Bluetooth keyboard 03 to obtain the connection information of the Bluetooth keyboard 03.

[0092] S1306: The Bluetooth accessory device sends connection information to the Bluetooth device service 20.

[0093] After receiving the instruction to obtain Bluetooth accessory device connection information forwarded by Bluetooth Device Service 20, the Bluetooth accessory device sends the Bluetooth accessory device connection information to Bluetooth Device Service 20.

[0094] It is understandable that the connection information includes the MAC address and device type of the Bluetooth accessory.

[0095] For example, if the Bluetooth accessory device is the aforementioned stylus 01, the stylus 01 sends its connection information to the corresponding PencilManager service 40.

[0096] For example, when the Bluetooth accessory device is the aforementioned Bluetooth headset 02, the Bluetooth headset 02 sends its connection information to the corresponding IConnect service 50.

[0097] For example, when the Bluetooth accessory device is the aforementioned Bluetooth keyboard 03, the Bluetooth keyboard 03 sends its connection information to the corresponding PencilManager service 40.

[0098] S1307: Bluetooth Device Service 20 transmits connection information of Bluetooth accessory devices to software update application 30.

[0099] Bluetooth Device Service 20 transmits the connection information received from Bluetooth accessory devices to Software Update Application 30.

[0100] For example, when the Bluetooth accessory device is the aforementioned stylus 01, the PencilManager service 40 corresponding to the stylus 01 transmits the connection information of the stylus 01 to the software update application 30.

[0101] For example, when the Bluetooth accessory device is the aforementioned Bluetooth headset 02, the IConnect service 50 corresponding to the Bluetooth headset 02 transmits the connection information of the Bluetooth headset 02 to the software update application 30.

[0102] For example, when the Bluetooth accessory device is the aforementioned Bluetooth keyboard 03, the PencilManager service 40 corresponding to the Bluetooth keyboard 03 transmits the connection information of the Bluetooth keyboard 03 to the software update application 30.

[0103] S1308: Software update application 30 receives and stores connection information of Bluetooth accessory devices.

[0104] The software update application 30 stores the connection information (including MAC address and device type) of the received Bluetooth accessory devices in the historical connection information.

[0105] It is understood that in other embodiments, the software update application 30 may also obtain and store historical connection information in other ways, which is not limited here.

[0106] It is understandable that after the tablet computer 100 stores the connection information of Bluetooth accessory devices that have previously connected to the tablet computer 100 as historical connection information, it can obtain the device information of the Bluetooth accessory devices that have been connected to the tablet computer 100 based on the historical connection information after detecting the user's operation through the aforementioned unified update entry. Based on the obtained device information of the Bluetooth accessory devices, it can obtain the update information of each Bluetooth accessory device that has been connected to the tablet computer 100 from the server and display it on the update interface.

[0107] Specifically, Figure 14 The present invention provides a schematic flowchart of an update method according to some embodiments thereof, the process comprising the following steps.

[0108] S1401: Software update application 30 detected a user's operation on the update entry.

[0109] After detecting a user's operation on the update entry, the software update application 30 triggers the update method provided in this application embodiment.

[0110] For example, refer to Figure 11A The update entry point can be the "Software Update" option 1101. After the software update application 30 detects that the user clicks the "Software Update" option 1101, it triggers the update method provided in this application.

[0111] S1402: Software update application 30 retrieves historical connection information.

[0112] The software update application 30 obtains stored historical connection information, including the device type, MAC address, etc. of Bluetooth accessory devices that have previously connected to the tablet 100.

[0113] S1403: The software update application 30 sends a command to the corresponding Bluetooth device service 20 to establish a connection with the historical connected device of the current Bluetooth accessory device based on the connection information of the current historical connected device.

[0114] The software update application 30 selects a Bluetooth accessory device from the historical connection information as the current historical connection device, and sends a command to the corresponding Bluetooth device service 20 to establish a connection with the current historical connection device.

[0115] It is understandable that "current historical connected devices" refers to the Bluetooth accessory devices that the software update application 30 is currently attempting to connect to.

[0116] For example, when the currently connected device is the aforementioned stylus 01, the software update application 30 sends a command to the corresponding PencilManager service 40 to establish a connection with the stylus 01 based on the connection information of the stylus 01.

[0117] For example, when the currently connected device is the aforementioned Bluetooth headset 02, the software update application 30 sends a command to the corresponding IConnect service 50 to establish a connection with the Bluetooth headset 02 based on the connection information of the Bluetooth headset 02.

[0118] For example, when the currently connected device is the aforementioned Bluetooth keyboard 03, the software update application 30 sends a command to the corresponding PencilManager service 40 to establish a connection with the Bluetooth keyboard 03 based on the connection information of the Bluetooth keyboard 03.

[0119] S1404: Bluetooth Device Service 20 sends a command to the currently connected historical device to obtain the device information of the currently connected historical device based on the connection command.

[0120] Bluetooth Device Service 20 sends a command to the currently connected historical device to obtain the device information of the currently connected historical device based on the connection command sent by the software update application 30.

[0121] For example, Bluetooth Device Service 20 can send a command to the MAC address of the currently connected historical device to obtain device information of the currently connected historical device.

[0122] For example, when the currently connected device is the aforementioned stylus 01, the PencilManager service 40 corresponding to stylus 01 sends an instruction to stylus 01 to obtain the device information of stylus 01 based on the connection instruction.

[0123] For example, when the currently connected device is the aforementioned Bluetooth headset 02, the IConnect service 50 corresponding to the Bluetooth headset 02 sends a command to the Bluetooth headset 02 to obtain the device information of the Bluetooth headset 02 based on the connection command.

[0124] For example, when the currently connected device is the aforementioned Bluetooth keyboard 03, the PencilManager service 40 corresponding to Bluetooth keyboard 03 sends a command to Bluetooth keyboard 03 to obtain the device information of Bluetooth keyboard 03 based on the connection command.

[0125] S1405: The currently connected device sends its device information to the Bluetooth device service 20.

[0126] If the currently connected historical device is already connected to the tablet 100, the device information of the currently connected historical device can be sent to the Bluetooth device service 20 in response to the received instruction.

[0127] For example, when the currently connected device is stylus 01, stylus 01 sends its device information to the corresponding PencilManager service 40.

[0128] For example, when the currently connected device is Bluetooth headset 02, Bluetooth headset 02 sends its device information to the corresponding IConnect service 50.

[0129] For example, when the currently connected device is Bluetooth Keyboard 03, Bluetooth Keyboard 03 sends its device information to the corresponding PencilManager service 40.

[0130] It is understandable that the device information of the currently connected devices may include: the device type and MAC address of the Bluetooth accessory device.

[0131] S1406: Bluetooth Device Service 20 forwards the received device information of currently connected historical devices to Software Update Application 30.

[0132] For example, when the currently connected historical device is stylus 01, the PencilManager service 40 corresponding to stylus 01 forwards the device information of stylus 01 to the software update application 30.

[0133] For example, when the current historical connected device is Bluetooth headset 02, the IConnect service 50 corresponding to Bluetooth headset 02 forwards the device information of Bluetooth headset 02 to the software update application 30.

[0134] For example, when the currently connected device is Bluetooth keyboard 03, the PencilManager service 40 corresponding to Bluetooth keyboard 03 forwards the device information of Bluetooth keyboard 03 to the software update application 30.

[0135] S1407: Software update application 30 determines whether it has received device information of currently connected historical devices.

[0136] If the software update application 30 receives device information of the currently connected historical device, it means that the currently connected historical device has been connected to the tablet computer 100, and proceeds to step S1408; otherwise, if the software update application 30 does not receive device information of the currently connected historical device, it means that the currently connected historical device has not been connected to the tablet computer 100, and proceeds to step S1409.

[0137] S1408: Software update application 30 acquires and stores update information for currently connected historical devices.

[0138] Based on the received device information, such as the device type, model, and software / firmware version information of the currently connected historical device, the software update application 30 queries the corresponding server for the new version of the firmware or software of the currently connected historical device. If the new version of the firmware or software of the currently connected historical device is found, the update information of the currently connected historical device is stored.

[0139] S1409: Software update application 30 determines whether a connection has been attempted with all historically connected devices.

[0140] If yes, it indicates that the software update application 30 has attempted to establish a connection with all previously connected Bluetooth accessory devices, and proceeds to step S1411; otherwise, it indicates that the software update application 30 has not yet attempted to establish a connection with all previously connected Bluetooth accessory devices, and proceeds to step S1410.

[0141] S1410: Software update application 30 attempts to establish a connection with the next historically connected device.

[0142] If the software update application 30 determines that it has not yet tried to establish a connection with all historical connected devices, it selects a historical connected device that has not yet been tried as the current historical connected device, and proceeds to step S1403 to try to establish a connection with the selected current historical connected device.

[0143] S1411: Software update application 30 displays update information for each historically connected device corresponding to the received device information.

[0144] When the software update application 30 determines that it has already attempted to connect to all previously connected devices, it displays update information for each Bluetooth accessory device corresponding to the received device information. For example, refer to the aforementioned... Figure 11B The software update interface on the tablet 100 displays update information for devices such as the stylus 01, Bluetooth headset 02, and Bluetooth keyboard 03. The tablet 100 can update the firmware version of each Bluetooth accessory device when it detects a user's "Update Now" option selection. For details, please refer to the aforementioned documentation. Figure 11BThe relevant descriptions will not be repeated here.

[0145] The method provided in this application embodiment allows the tablet computer 100 to detect when a user enters the unified update portal. Based on historical connection information, it obtains device information of Bluetooth accessory devices already connected to the tablet computer 100. Then, based on this device information, it retrieves update information for each Bluetooth accessory device connected to the tablet computer 100 from the server and displays it on the update interface. This allows users to update the software or firmware of each Bluetooth accessory device directly through the update interface, without needing to access the individual update portals for each device. This convenient operation enhances the user experience.

[0146] exist Figure 14 In the illustrated embodiment, the software update application 30 sequentially attempts to establish connections with currently connected historical devices until it attempts to establish connections with all currently connected historical devices. In other embodiments, the software update application 30 may also send instructions to the services corresponding to each Bluetooth accessory device in the historical connection information to obtain device information all at once.

[0147] Specifically, Figure 15 This is a flowchart illustrating another update method according to some embodiments of this application. Figure 15 As shown, the flowchart includes steps S1501 to S1508. Steps S1501 to S1502 can be referred to in the description of steps S1401 to S1402 above, and steps S1505 to S1506 can be referred to in the description of steps S1405 to S1406 above, and will not be repeated here. The following describes steps different from... Figure 14 Steps S1503 to S1504 and steps S1507 to S1508 of the illustrated embodiment are described.

[0148] 1503: The software update application 30 sends a command to the Bluetooth device service 20 corresponding to each historically connected device in the historical connection information to establish a connection with each historically connected device.

[0149] After obtaining the historical connection information of the historical connected devices, the software update application 30 sends a command to the Bluetooth device service 20 corresponding to all historical connected devices to establish a connection with each historical connected device.

[0150] Specifically, the Bluetooth device service 20 corresponding to each historically connected device can be referred to the relevant description of step S1403 above, and will not be repeated here.

[0151] S1504: Bluetooth Device Service 20 sends a command to the corresponding Bluetooth accessory device to obtain device information of historically connected devices based on the connection command.

[0152] After receiving the connection command from the software update application 30, the Bluetooth device service 20 sends a command to the corresponding Bluetooth accessory device to obtain device information of historically connected devices.

[0153] Specifically, the Bluetooth device service 20 corresponding to each historically connected device can be referred to the relevant description of step S1404 above, and will not be repeated here.

[0154] S1507: Software update application 30 determines whether device information has been received.

[0155] If so, the software update application 30 receives device information from the Bluetooth accessory device, indicating that there is a Bluetooth accessory device already connected to the tablet computer 100, and proceeds to step S1508; otherwise, the software update application 30 does not receive device information from the Bluetooth accessory device, indicating that there is no Bluetooth accessory device already connected to the tablet computer 100, and the current operation ends.

[0156] S1508: Software update application 30 obtains and displays the software version update information of each Bluetooth accessory device corresponding to the received device information.

[0157] The software update application 30 will display the software version update information for all Bluetooth accessory devices corresponding to the received device information. For example, refer to the aforementioned... Figure 11B The software update interface on the tablet 100 displays update information for devices such as the stylus 01, Bluetooth headset 02, and Bluetooth keyboard 03. The tablet 100 can update the firmware version of each Bluetooth accessory device when it detects a user's "Update Now" option selection. For details, please refer to the aforementioned documentation. Figure 11B The relevant descriptions will not be repeated here.

[0158] Based on the above method, users can update the software or firmware of each Bluetooth accessory device through the update interface, without having to update the software or firmware of each Bluetooth accessory device through the corresponding update entry. This is convenient and helps improve the user experience.

[0159] The following description uses a tablet computer 100 as an example to illustrate the hardware of the electronic device to which the technical solutions of the embodiments of this application are applicable.

[0160] Specifically, Figure 16 According to some embodiments of this application, a schematic diagram of the hardware structure of a tablet computer 100 is shown.

[0161] like Figure 16As shown, the tablet computer 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and so on.

[0162] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0163] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0164] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system. In some embodiments, the processor 110 can be used to execute instructions for the update method provided in the embodiments of this application, such as executing instructions to send to the Bluetooth device service 20 to establish a connection with a currently connected historical device.

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

[0166] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.

[0167] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via the PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0168] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback through Bluetooth headphones.

[0169] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the tablet computer 100 to take pictures. The processor 110 and the display screen 194 communicate via the DSI interface to enable the tablet computer 100 to display.

[0170] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to a camera 193, a display screen 194, a wireless communication module 160, an audio module 170, a sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0171] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, or USB Type-C port. USB port 130 can be used to connect a charger to charge tablet 100, and can also be used for data transfer between tablet 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0172] The charging management module 140 receives charging input from the charger. While charging the battery 142, the charging management module 140 can also supply power to the electronic device through the power management module 141.

[0173] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 121, display 194, camera 193, and wireless communication module 160, etc.

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

[0175] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.

[0176] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use on the tablet computer 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0177] The wireless communication module 160 can provide solutions for wireless communication applications on the tablet computer 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0178] In particular, Bluetooth-enabled wireless communication solutions can be used to establish Bluetooth connections with other electronic devices, such as the aforementioned Bluetooth accessory devices, to obtain connection information and device information of the Bluetooth accessory devices, or to send instructions, new firmware / software versions, etc. to the Bluetooth accessory devices.

[0179] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini-LED, Micro-LED, Micro-OLED, quantum dot light-emitting diodes (QLED), etc. In some embodiments, tablet computer 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0180] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the tablet computer 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0181] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the tablet computer 100. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.

[0182] Internal memory 121 can be used to store computer executable program code, including instructions, such as the aforementioned memory 103. Internal memory 121 may include a program storage area and a data storage area. The data storage area may store data created during the use of tablet computer 100, such as the aforementioned historical connection information and update information of various Bluetooth accessory devices. In addition, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications of tablet computer 100 by running instructions stored in internal memory 121 and / or instructions stored in memory disposed in processor 110.

[0183] The tablet computer 100 can perform audio functions, such as music playback and recording, through an audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0184] Audio module 170 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. Audio module 170 can also be used for encoding and decoding audio signals.

[0185] The loudspeaker 170A, also known as a "speaker," is used to convert audio electrical signals into sound signals. The receiver 170B, also known as a "handpiece," is used to convert audio electrical signals into sound signals.

[0186] The microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals.

[0187] The 170D headphone jack is used to connect wired headphones.

[0188] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Tablet PC 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, tablet PC 100 detects the intensity of the touch operation based on pressure sensor 180A. Tablet PC 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands.

[0189] The 180E accelerometer can detect the magnitude of acceleration of the tablet computer 100 in various directions (typically three axes). When the tablet computer 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic devices and applied to applications such as screen orientation switching and pedometers.

[0190] The ambient light sensor 180L is used to sense the ambient light intensity. The tablet 100 can adaptively adjust the brightness of the display 194 based on the sensed ambient light intensity. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the tablet 100 is in a pocket to prevent accidental touches.

[0191] The fingerprint sensor 180H is used to collect fingerprints. The tablet computer 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, app access lock, fingerprint photography, fingerprint answering of calls, etc.

[0192] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of tablet computer 100, in a different position than display screen 194.

[0193] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from vibrating bone fragments in the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals.

[0194] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. The tablet computer 100 can receive button input and generate key signal inputs related to user settings and function control of the tablet computer 100.

[0195] Motor 191 can generate vibration alerts.

[0196] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.

[0197] The SIM card interface 195 is used to connect the SIM card.

[0198] It is understood that the structure of the tablet computer 100 illustrated in the embodiments of this application does not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0199] The various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.

[0200] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application-specific integrated circuit (ASIC), or a microprocessor.

[0201] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.

[0202] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored thereon on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine-readable (e.g., computer-readable) form, including but not limited to floppy disks, optical disks, CD-ROMs, magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable storage for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in the form of electrical, optical, acoustic, or other propagation signals. Therefore, machine-readable media include any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine-readable (e.g., computer-readable) form.

[0203] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.

[0204] It should be noted that all units / modules mentioned in the device embodiments of this application are logical units / modules. Physically, a logical unit / module can be a physical unit / module, a part of a physical unit / module, or a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important factor; the combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed in this application. Furthermore, to highlight the innovative aspects of this application, the above-described device embodiments of this application have not introduced units / modules that are not closely related to solving the technical problems proposed in this application. This does not mean that the above-described device embodiments do not contain other units / modules.

[0205] It should be noted that in the examples and description of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0206] Although this application has been illustrated and described with reference to certain preferred embodiments thereof, those skilled in the art should understand that various changes in form and detail may be made thereto without departing from the spirit and scope of this application.

Claims

1. An update method, characterized in that, Applied to a first electronic device, the first electronic device including Bluetooth device services and software update applications, including: Establish a Bluetooth connection with the second electronic device; The software update application sends an instruction to the Bluetooth device service to obtain the connection information of the second electronic device; The Bluetooth device service forwards the instruction received from the software update application to obtain the connection information of the second electronic device to the second electronic device; The Bluetooth device service receives the connection information of the second electronic device sent by the second electronic device; The Bluetooth device service transmits the connection information of the second electronic device to the software update application; The software update application receives the connection information of the second electronic device and stores it as historical connection information; In response to the user's click, the settings application of the first electronic device is accessed; User actions in the settings app were detected. Based on the pre-stored historical connection information, an instruction to obtain device information is sent to one of the at least one historical connection electronic devices, wherein the at least one historical connection electronic device includes the second electronic device; After receiving device information from one historically connected electronic device, the instruction to obtain device information is sent to the next historically connected electronic device among the at least one historically connected electronic devices, until the instruction to obtain device information has been sent to all historically connected electronic devices; or... Based on the pre-stored historical connection information, the instruction to obtain device information is sent to each of the at least one historical connection electronic device. Obtain device information for each of the historically connected electronic devices; wherein the historical connection information includes the MAC address and device type of the at least one historically connected electronic device, and the historical connection information is obtained when the at least one historically connected electronic device first connects to the first electronic device; Based on the device information of each of the historically connected electronic devices, software and / or firmware update information of each of the historically connected electronic devices is obtained from the server; The update interface displays the version information of the first electronic device, the current version information of each of the historically connected electronic devices, and the software and / or firmware update information of each of the historically connected electronic devices.

2. The method according to claim 1, characterized in that, The display update interface includes a first update control, wherein the first update control is used to indicate an entry point for updating the software and / or firmware version of the third electronic device to a new version, the third electronic device being any one of the at least one historically connected electronic devices, and the server including the new version of the software and / or firmware of the third electronic device.

3. The method according to claim 2, characterized in that, Also includes: Upon detecting user interaction with the first update control, the software and / or firmware of the third electronic device are updated to the new version.

4. The method according to claim 2, characterized in that, The display update interface includes version information of the current version of the software and / or the firmware of the fourth electronic device, and a second update control, wherein the fourth electronic device is any one of the at least one historically connected electronic devices, and the server does not include a new version of the software and / or the firmware of the fourth electronic device, and the second update control is used to indicate an entry point for obtaining a new version of the software and / or the firmware of the fourth electronic device from the server.

5. The method according to claim 1, characterized in that, The device information of the second electronic device includes the device identifier of each second electronic device and the software and / or firmware version information of each second electronic device.

6. A computer-readable storage medium, characterized in that, The readable storage medium stores instructions that, when executed on an electronic device, cause the electronic device to implement the update method of any one of claims 1 to 5.

7. An electronic device, characterized in that, include: Memory is used to store instructions executed by one or more processors of an electronic device; And a processor, one of the processors of the electronic device, for executing instructions stored in the memory to implement the update method of any one of claims 1 to 5.

8. A computer program product, characterized in that, When the computer program product is run on an electronic device, it enables the electronic device to implement the update method according to any one of claims 1 to 5.