A display device and a method for local upgrade

By automatically identifying and parsing upgrade packages in external storage devices through the display device's controller, the problem of display devices being unable to upgrade when offline is solved, enabling a fast and reliable local upgrade process, reducing the number of restarts and ensuring normal user operation.

CN116860277BActive Publication Date: 2026-11-17QINGDAO HISENSE MEDIA NETWORKS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210315623.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-28
Publication Date
2026-11-17
Estimated Expiration
2042-03-28

AI Technical Summary

Technical Problem

In existing technologies, display devices cannot be upgraded via OTA when not connected to the internet, and local upgrade packages are large and require two restarts, resulting in long upgrade times, making it impossible for users to use the device normally, and there is also a risk that abnormal power outages may cause the device to fail to start.

Method used

A display device and a local upgrade method are provided. The controller automatically identifies upgrade packages in external storage devices, parses upgrade information, has foolproof capability, and can automatically identify the appropriate upgrade package and perform the upgrade operation, reducing the number of restarts and upgrade time.

Benefits of technology

It enables automatic identification and upgrading of display devices even when offline, reducing the number of restarts, improving the fault tolerance and operability of the upgrade, and ensuring that users can use the device normally during the upgrade process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116860277B_ABST
    Figure CN116860277B_ABST
Patent Text Reader

Abstract

This application discloses a display device and a method for local upgrades. The method includes scanning all files in the external storage device after it is inserted; if a first file in the external storage device is found to be in a preset format and includes a metadata file, the metadata file is read; if the source version fingerprint parameter in the metadata file is the same as a preset field of the fingerprint parameter of the display device, and the target version security patch level in the metadata file is greater than or equal to the security patch level of the display device, the display is controlled to show a first upgrade prompt page, which prompts the user that an upgrade operation is possible; and in response to an upgrade command entered by the user on the first prompt page, the upgrade operation is executed. This application embodiment can automatically identify whether there is a suitable upgrade package in the external storage device, parse the upgrade information carried by the upgrade package, and has better error prevention capabilities, fault tolerance, and operability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent display device technology, and more particularly to a display device and a method for local upgrade. Background Technology

[0002] In the TV and smart screen display industries, system upgrades are mostly performed via OTA (Over-the-Air) updates. However, OTA upgrades rely on a network environment, and in some usage scenarios, TVs or smart screens are offline, making OTA upgrades impossible. Therefore, the industry often uses external storage devices for local upgrades. However, local upgrade packages and OTA upgrade packages are not the same; local upgrade packages are generally very large, around 1.6GB. Furthermore, because local upgrades are completed during the boot process, this method requires two restarts, resulting in a long upgrade time, offline access for the smart device, and inability to use the device normally. Additionally, if an abnormal power outage occurs during a local upgrade, the device will fail to boot. Summary of the Invention

[0003] This application provides a display device and a method for local upgrades, which can automatically identify whether there is a suitable upgrade package in the external storage device, parse the upgrade information carried by the upgrade package, and has foolproof capability, fault tolerance and better operability.

[0004] The first aspect of this application provides a display device, including:

[0005] monitor;

[0006] The controller is configured as follows:

[0007] After the external storage device is inserted, scan all files in the external storage device;

[0008] If the first file detected in the external storage device is in a preset format and includes a metadata file, the metadata file is read, and the preset format is the format of an upgrade package.

[0009] If the source version fingerprint parameter exists in the metadata file, obtain the fingerprint parameter of the display device;

[0010] If the source version fingerprint parameters are the same as the preset fields of the fingerprint parameters of the display device, obtain the security patch level of the display device;

[0011] If the security patch level of the target version in the metadata file is greater than or equal to the security patch level of the display device, the display is controlled to show a first upgrade prompt page, which is used to prompt the user that an upgrade operation can be performed.

[0012] In response to the upgrade command entered by the user on the first prompt page, the upgrade operation is executed.

[0013] In conjunction with the first aspect, in the first implementable manner, the controller is configured to:

[0014] If the source version fingerprint parameter does not exist in the metadata file but the target version fingerprint parameter exists, obtain the fingerprint parameter of the display device.

[0015] If the target version fingerprint parameters are the same as the preset fields of the fingerprint parameters of the display device, obtain the current version timestamp of the display device;

[0016] If the target version timestamp in the metadata file is greater than the current version timestamp of the display device, control the display to show the first upgrade prompt page;

[0017] In response to the upgrade command entered by the user on the first prompt page, the upgrade operation is executed.

[0018] In conjunction with the first aspect, in the second implementable manner, the controller is configured to perform the step of controlling the display to show the first upgrade prompt page in the following manner:

[0019] Obtain the current version number of the display device;

[0020] If the source version number in the metadata file is the same as the current version number of the display device, control the display to show the first upgrade prompt page.

[0021] In conjunction with the first aspect, in a third possible implementation, the controller is configured to perform the step of controlling the display to show the first upgrade prompt page in the following manner:

[0022] Obtain the name information of the first file; the name of the first file cannot be changed.

[0023] Extract the source version number from the name information of the first file;

[0024] Obtain the current version number of the display device;

[0025] If the source version number is the same as the current version number of the display device, control the display to show the first upgrade prompt page.

[0026] In conjunction with the first aspect, in the fourth implementable manner, the controller is configured to:

[0027] If the source version fingerprint parameters are not the same as the fingerprint parameters of the display device, or if the target version security patch level in the metadata file is not greater than the security patch level of the display device;

[0028] The display is controlled to show a second upgrade prompt page, which is used to inform the user that there is currently no available upgrade version.

[0029] In conjunction with the second or third possible implementation of the first aspect, in the fifth possible implementation, the controller is configured to:

[0030] If the source version number is different from the current version number of the display device, the display is controlled to show a second upgrade prompt page, which is used to prompt the user that there is no version available for upgrade.

[0031] In conjunction with the first aspect, in the sixth implementable manner, the controller is configured to perform the upgrade operation in the following manner:

[0032] Verify the first file and control the display to show a verification progress bar;

[0033] After verification is complete, install the first file and control the display to show the installation progress bar;

[0034] After installation, the monitor is controlled to display a restart prompt page, which prompts the user to restart and switch to the new version.

[0035] In conjunction with the first aspect, in the seventh implementable method, the restart prompt page includes an immediate restart control and an automatic switching control, and the controller is configured as follows:

[0036] In response to the user's confirmation of the immediate restart control, the display device is controlled to restart and switch to the new version;

[0037] In response to the user's confirmation operation on the automatic switching control, the upgrade restart flag is set to a preset value;

[0038] In conjunction with the seventh possible implementation of the first aspect, in the eighth possible implementation, the controller is configured as follows:

[0039] In response to a user's standby command, the display device is controlled to enter standby mode;

[0040] Read the upgrade restart flag;

[0041] If the upgrade / restart flag is set to a preset value, the display device will be silently turned on and switched to the new version.

[0042] The first aspect of this application provides a method for local upgrade, including:

[0043] After the external storage device is inserted, scan all files in the external storage device;

[0044] If the first file detected in the external storage device is in a preset format and includes a metadata file, the metadata file is read, and the preset format is the format of an upgrade package.

[0045] If the source version fingerprint parameter exists in the metadata file, obtain the fingerprint parameter of the display device;

[0046] If the source version fingerprint parameters are the same as the preset fields of the fingerprint parameters of the display device, obtain the security patch level of the display device;

[0047] If the security patch level of the target version in the metadata file is greater than or equal to the security patch level of the display device, the display is controlled to show a first upgrade prompt page, which is used to prompt the user that an upgrade operation can be performed.

[0048] In response to the upgrade command entered by the user on the first prompt page, the upgrade operation is executed.

[0049] This application provides a local upgrade method applicable to a display device, which includes at least a controller and a display. The controller is configured to scan all files in an external storage device after it is inserted; if a first file in the external storage device is found to be in a preset format and includes a metadata file, the controller reads the metadata file, where the preset format is the format of an upgrade package; if a source version fingerprint parameter exists in the metadata file, the controller obtains the fingerprint parameter of the display device; if the source version fingerprint parameter is the same as a preset field of the fingerprint parameter of the display device, the controller obtains the security patch level of the display device; if the target version security patch level in the metadata file is greater than or equal to the security patch level of the display device, the controller controls the display to display a first upgrade prompt page, which prompts the user that an upgrade operation is possible; and in response to an upgrade command entered by the user on the first prompt page, the controller executes the upgrade operation. This application can automatically identify whether there is a suitable upgrade package in the external storage device, parse the upgrade information carried by the upgrade package, and has better error prevention, fault tolerance, and operability. Attached Figure Description

[0050] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0051] Figure 1 An operational scenario between a display device and a control device according to some embodiments is illustrated;

[0052] Figure 2 A hardware configuration block diagram of a control device 100 according to some embodiments is shown;

[0053] Figure 3 A hardware configuration block diagram of a display device 200 according to some embodiments is shown;

[0054] Figure 4 A software configuration diagram of a display device 200 according to some embodiments is shown;

[0055] Figure 5 This is an illustration of the local upgrade page;

[0056] Figure 6 A flowchart illustrating the interaction between the user and the controller, provided as a feasible embodiment;

[0057] Figure 7 This is a schematic diagram of a page when a user uses a display device, provided as a feasible embodiment.

[0058] Figure 8 A schematic diagram of an external storage device insertion prompt page provided as a feasible embodiment;

[0059] Figure 9 This is a schematic diagram of a prompt page during scanning of an external storage device, provided as a feasible embodiment.

[0060] Figure 10 This is a schematic diagram of an external storage device scan completion prompt page provided as a feasible embodiment;

[0061] Figure 11 A schematic diagram of a first upgrade prompt page provided for a feasible embodiment;

[0062] Figure 12 A schematic diagram of a second upgrade prompt page provided for a feasible embodiment;

[0063] Figure 13 A schematic diagram of an upgrade page provided for a feasible embodiment;

[0064] Figure 14 A schematic diagram of a verification progress page provided for a feasible embodiment;

[0065] Figure 15 A schematic diagram of an installation progress page provided for a feasible embodiment;

[0066] Figure 16 A schematic diagram of a restart prompt page provided for a feasible embodiment;

[0067] Figure 17 This is a schematic diagram of a restart prompt page provided in a feasible embodiment. Detailed Implementation

[0068] To make the objectives and implementation methods of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the exemplary embodiments described are only some embodiments of this application, and not all embodiments.

[0069] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0070] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.

[0071] The terms “include” and “have”, and any variations thereof, are intended to cover but not exclusively include, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0072] The display device provided in this application can have various implementation forms, such as a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 and Figure 2 This is one specific embodiment of the display device of this application.

[0073] Figure 1 This is a schematic diagram illustrating the operational scenario between the display device and the control unit according to the embodiment. Figure 1 As shown, the user can operate the display device 200 through the smart device 300 or the control device 100.

[0074] In some embodiments, the control device 100 may be a remote control. Communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, and other short-range communication methods, controlling the display device 200 wirelessly or via wired means. Users can control the display device 200 by inputting user commands through buttons on the remote control, voice input, control panel input, etc.

[0075] In some embodiments, a smart device 300 (such as a mobile terminal, tablet computer, computer, laptop computer, etc.) may also be used to control the display device 200. For example, an application running on the smart device may be used to control the display device 200.

[0076] In some embodiments, the display device may receive instructions not through the aforementioned smart devices or control devices, but through touch or gestures.

[0077] In some embodiments, the display device 200 can also be controlled in ways other than the control device 100 and the smart device 300. For example, it can be controlled by directly receiving the user's voice commands through a module configured inside the display device 200 for acquiring voice commands, or it can be controlled by receiving the user's voice commands through a voice control device set outside the display device 200.

[0078] In some embodiments, the display device 200 also communicates with the server 400. The display device 200 may communicate via a local area network (LAN), wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactive features to the display device 200. The server 400 may be a cluster or multiple clusters, and may include one or more types of servers.

[0079] Figure 2 An exemplary block diagram of the configuration of the control device 100 according to an exemplary embodiment is shown. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive user input operation commands and convert the operation commands into commands that the display device 200 can recognize and respond to, thus acting as an intermediary for interaction between the user and the display device 200.

[0080] like Figure 3 The display device 200 includes at least one of the following: a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.

[0081] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, RAM, ROM, and a first interface to an nth interface for input / output.

[0082] The display 260 includes a display screen assembly for presenting images, a driving assembly for driving image display, a component for receiving image signals from the controller output, and a user control UI interface for displaying video content, image content, menu control interface, and user control UI interface.

[0083] The display 260 can be an LCD display, an OLED display, or a projection display, and can also be a projection device and a projection screen.

[0084] The communicator 220 is a component used to communicate with external devices or servers according to various communication protocol types. For example, the communicator may include at least one of the following: a Wi-Fi module, a Bluetooth module, a wired Ethernet module, other network communication protocol chips or near-field communication protocol chips, and an infrared receiver. The display device 200 can establish the transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.

[0085] The user interface can be used to receive control signals from the control device 100 (such as an infrared remote control).

[0086] Detector 230 is used to collect signals from the external environment or to interact with the external environment. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; or, detector 230 includes an image acquisition device, such as a camera, which can be used to collect external environmental scenes, user attributes, or user interaction gestures; or, detector 230 includes a sound acquisition device, such as a microphone, for receiving external sounds.

[0087] The external device interface 240 may include, but is not limited to, one or more of the following: High Definition Multimedia Interface (HDMI), analog or high-definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, etc. It may also be a composite input / output interface formed by multiple interfaces mentioned above.

[0088] The tuner / demodulator 210 receives broadcast television signals via wired or wireless means, and demodulates audio and video signals, such as EPG data signals, from multiple wireless or wired broadcast television signals.

[0089] In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.

[0090] The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command to select a UI object to display on the monitor 260, the controller 250 can execute operations related to the object selected by the user command.

[0091] In some embodiments, the controller includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM (random access memory), ROM (read-only memory), a first to an nth interface for input / output, a communication bus, etc.

[0092] Users can input commands through a graphical user interface (GUI) displayed on the monitor 260, and the user input interface receives the user input commands through the GUI. Alternatively, users can input commands by entering specific sounds or gestures, and the user input interface receives the user input commands by recognizing the sounds or gestures through sensors.

[0093] A "user interface" is the medium through which an application or operating system interacts and exchanges information with the user. It converts information from its internal form to a form that the user can accept. A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operation displayed graphically. It can be an icon, window, control, or other interface element displayed on the screen of an electronic device. Controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.

[0094] See Figure 4 In some embodiments, the system is divided into four layers, from top to bottom: the Applications layer (referred to as the "Application Layer"), the Application Framework layer (referred to as the "Framework Layer"), the Android runtime and system library layer (referred to as the "System Runtime Library Layer"), and the kernel layer.

[0095] In some embodiments, at least one application runs in the application layer. These applications may be Windows programs, system settings programs, or clock programs that come with the operating system; they may also be applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the examples above.

[0096] The framework layer provides application programming interfaces (APIs) and a programming framework for applications. The application framework layer includes predefined functions. It acts as a central processing unit, determining the actions taken by applications within the application layer. Through the API, applications can access system resources and obtain system services during execution.

[0097] like Figure 4 As shown, the application framework layer in this embodiment includes managers, content providers, etc., wherein the managers include at least one of the following modules: ActivityManager, which interacts with all activities running in the system; LocationManager, which provides access to system location services for system services or applications; PackageManager, which retrieves various information related to application packages currently installed on the device; NotificationManager, which controls the display and clearing of notification messages; and WindowManager, which manages icons, windows, toolbars, wallpapers, and desktop widgets on the user interface.

[0098] In some embodiments, the Activity Manager manages the lifecycle of individual applications and common navigation and back functions, such as controlling application exit, opening, and back actions. The Window Manager manages all window programs, such as obtaining the screen size, determining if a status bar is present, locking the screen, capturing the screen, and controlling display window changes (e.g., shrinking the display window, shaking the display, distorting the display, etc.).

[0099] In some embodiments, the system runtime library layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system runs the C / C++ libraries contained in the system runtime library layer to implement the functions that the framework layer needs to perform.

[0100] In some embodiments, the kernel layer is a layer between hardware and software. For example... Figure 4As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver.

[0101] In related technologies, the TV and smart screen display industries mostly use OTA (Over-The-Air) updates for system upgrades. However, OTA upgrades rely on a network environment, and in some usage scenarios, the TV or smart screen is offline, making OTA upgrades impossible. Therefore, the industry often uses external storage devices for local upgrades. However, local upgrades and OTA upgrades use different packages, and local upgrade packages are generally very large, around 1.6GB. Furthermore, because local upgrades are completed during the boot process, this method requires two restarts, resulting in a long upgrade time. During the upgrade, the smart terminal is offline, making it unusable for users. Additionally, if an abnormal power outage occurs during the local upgrade, the device will fail to boot. Traditional local upgrade solutions not only erase data partitions, leading to complete data loss, but also have long upgrade times and require the device to be offline during the upgrade, making them only suitable for internal R&D use and extremely user-unfriendly. The local upgrade page is shown below. Figure 5 As shown, this page is displayed continuously during the upgrade process, preventing users from using the display device normally.

[0102] OTA (Over the Air) upgrades aim to upgrade the entire machine's basic operating system, the data and applications carried on the system's read-only partition, and the executable programs.

[0103] OTA upgrades use separately compiled OTA upgrade packages, which are divided into full packages and differential packages, corresponding to full package upgrades and differential upgrades, respectively. Their specific differences are as follows: Full package upgrade: Does not distinguish the source version, includes images of all read-only upgrade partitions, and directly writes the images from the full package into the corresponding partitions. Upgrade time is fast and the upgrade is secure. The disadvantage is that the upgrade package is relatively large (approximately 1.1GB), and the installation time is also longer. Differential upgrade: Also called incremental upgrade, the OTA upgrade package only contains the differences created using a differential tool. During the upgrade, it relies on a complete match of the source version to synthesize the image corresponding to the target version. The advantage is that the upgrade package is smaller, and the upgrade package installation speed is also faster. To reduce upgrade package download and installation time, smart TVs default to differential upgrades. When the OTA differential package is placed in the root directory of the USB drive, the latest software version is written into the EMMC by comparing the differences between the source and target versions.

[0104] To address the above technical problems, this application provides a display device. The structure and functions of each part of the display device can be found in the above embodiments. Furthermore, based on the display device shown in the above embodiments, this embodiment further improves some functions of the display device. For example... Figure 6 As shown, Figure 6 This is a flowchart illustrating the interaction between a user and a display device, provided as a feasible embodiment.

[0105] In some embodiments, the Android display device platform adopts an A / B seamless upgrade architecture. The definition of seamless upgrade emphasizes the word "seamless," meaning that during the user's normal use of the display device, a separate background update_engine process completes the upgrade package installation (i.e., erasing and rewriting the read-only partition, equivalent to understanding a system upgrade). The A / B seamless upgrade architecture consists of this update_engine and two independent systems, Slot A and Slot B. Here, Slot refers to a peripheral component expansion slot. Assuming the current system is running in Slot A, during system upgrade, the Slot B system is updated based on the running Slot A system. After the Slot B system upgrade package is installed, only a single DC or AC reboot is needed for the system to automatically switch to the Slot B system and enjoy the latest software.

[0106] User performs step S601: Input power-on command;

[0107] In some embodiments, the purpose of the power-on command input by the user is to bring the display device into normal operating mode. When the display device is in a light sleep or standby state, the user can input the power-on command by pressing the power button on the control device; the user can input the power-on command by pressing the power button on the display device itself; the user can also input the power-on command by clicking the power button on an application installed on a mobile device (such as a mobile phone or tablet) that controls the display device's functions. When the display device is in a light sleep state, the user can also input the power-on command by speaking the voice message "Turn on the display device". When the display device is in DC standby mode, the user can input the power-on command by pressing the power button on the control device; the user can also input the power-on command by pressing the power button on the display device itself. When the display device is in an AC power-off state (the power plug is unplugged), the user can input the power-on command by plugging in the power plug.

[0108] In response to the power-on command input by the user, the controller executes step S602: start the display device.

[0109] It should be noted that starting the display device means that the current display device is running the Slot A system or the Slot B system normally.

[0110] User performs step S603: Insert an external storage device;

[0111] In some embodiments, after a user turns on the display device, the display device can be used normally. An external storage device can be inserted during use, or the external storage device can be inserted directly after the display device is turned on.

[0112] External storage devices can be plugged into the display device via its USB (Universal Serial Bus) interface. External storage devices include, but are not limited to, USB flash drives and portable hard drives.

[0113] After the user inserts the external storage device, the controller executes step S604: scan all files in the external storage device;

[0114] In some embodiments, after a user inserts an external storage device, the settings module in the controller receives the mounting broadcast of the external storage device from the Android system and begins to call the Platform HIDL service interface to start automatic detection, scanning all files in the root directory and subdirectories of the external storage device.

[0115] In some embodiments, when a user inserts an external storage device, a notification message indicating that the external storage device has been inserted should be displayed regardless of the current interface displayed on the display device. This notification message can be a pop-up message indicating that the external storage device has been inserted displayed on the current user interface, a notification sound indicating that the external storage device has been inserted played, or both of these methods can appear simultaneously.

[0116] In some embodiments, during the scanning of an external storage device, the display is controlled to show an animation of the external storage device scanning process.

[0117] In some embodiments, after the user activates the display device, the currently playing page is as follows: Figure 7 As shown, Figure 7 This is a schematic diagram illustrating a user interface when using a display device, as provided in a feasible embodiment. When the user inserts an external storage device, the display shows a prompt page indicating that the external storage device has been inserted, such as... Figure 8 As shown. Figure 8 This is a schematic diagram of an external storage device insertion prompt page provided as a feasible embodiment. Figure 8 In the original playback page ( Figure 7Based on the existing user interface, an external storage device insertion prompt box 81 is added to the lower right corner. This prompt box is used to indicate that an external storage device has been inserted into the current display device. This prompt box does not obscure the original user interface, but still indicates that an external storage device has been inserted into the current display device. In some embodiments, the external storage device insertion prompt box 81 disappears after a preset time.

[0118] In some embodiments, Figure 9 This is a schematic diagram of a prompt page during external storage device scanning, provided as a feasible embodiment. When the user inserts an external storage device, the system automatically scans the files in the root directory and subdirectories of the external storage device, and controls the display to show the prompts. Figure 9 The page shown. On the original playback page ( Figure 7 Based on the existing interface, a notification box 91 for scanning external storage devices is added to the lower right corner. This notification box is used to indicate that the current display device is scanning external storage devices. This notification box does not obscure the original user interface, but can still indicate that the current display device is scanning external storage devices.

[0119] The controller executes step S605: Determine whether the format of the first scanned file is a preset format;

[0120] In some embodiments, the default format is the upgrade package format. The upgrade package is often a compressed file. The system scans all files to determine if the first file is a compressed file. Compressed file extensions include .rar, .zip, .arj, .z, etc.

[0121] In some embodiments, the upgrade package is a compressed file ending with ".zip". Scan all file names and determine if the first file's name ends with ".zip". If the first file's name ends with ".zip", it means the first file's format is the default format; if the first file's name does not end with ".zip", it means the first file's format is not the default format.

[0122] It should be noted that the upgrade package in this application embodiment is not the same as the traditional local (USB) upgrade package, but uses an OTA upgrade package as the local upgrade package.

[0123] If the format of the first file is not the preset format, continue scanning the next file and continue to perform the step of determining whether it is a file of the preset format.

[0124] In some embodiments, if all files scanned on the external storage device are not in the preset format, the display is controlled to show the following: Figure 10 The page shown. Figure 10 This is a schematic diagram of an external storage device scanning completion prompt page provided as a feasible embodiment. Figure 10The page shown includes an external storage device scan completion prompt box 101. The external storage device scan completion prompt box 101 includes an external storage device scan completion prompt message 1011, an open control 1012 for opening the external storage device, and a close control 1013 for closing the prompt box. The external storage device scan completion prompt box 101 also includes a selector 1014 indicating which control is selected. When the user selects the open control 1012 to open the external storage device via the control device, the user can directly jump to the user interface displaying the contents of the external storage device. When the user selects the close control 1013 to close the external storage device scan completion prompt box 101, restoring the page as shown in the image. Figure 7 The page shown. After a preset time of inactivity, the user can also close the external storage device scan completion prompt box 101 and restore the status as shown. Figure 7 The page shown.

[0125] It should be noted that the selector is used to indicate that any control has been selected, such as the focus object. On one hand, the user can select or control the control by moving the focus object displayed on the display device according to input from the control device. For example, the user can use the arrow keys on the control device to move the focus object between controls to select and control the control. On the other hand, the user can also select or control the focus object by moving the controls displayed on the display device according to input from the control device. For example, the user can use the arrow keys on the control device to move all controls left and right simultaneously, so as to select and control the focus object while keeping its position unchanged.

[0126] Selector identifiers can take many forms. For example, the position of the focused object can be indicated by enlarging the control, by setting the background color of the control, or by changing the border, size, color, transparency, outline, and / or font of the text or image of the focused control.

[0127] If the format of the first file is a preset format, the controller executes step S606: parse the first file and determine whether there is a metadata file in the first file;

[0128] In some embodiments, the step of determining whether the first file has a metadata file includes: scanning the names of all files within the first file, and sequentially determining whether any of the file names contains a file name with the metadata "metadata". If the first file contains a file name with the "metadata" name, then the first file contains a metadata file; if the first file does not contain a file name with the "metadata" name, then the first file does not contain a metadata file.

[0129] If the first file does not contain a metadata file, it means that the first file is just a regular compressed file. The system will continue to scan the next file and continue to perform the step of determining whether the format of the scanned file is the preset format.

[0130] In some embodiments, if scanning all files on an external storage device reveals files in a preset format, but these files do not contain metadata files, the control display will still show the same result. Figure 10 The page shown.

[0131] If the first file contains a metadata file, the controller executes step S607: read the metadata file;

[0132] The controller executes step S608: Determine whether the source version fingerprint parameter exists in the metadata file;

[0133] In some embodiments, the step of determining whether a source version fingerprint parameter exists in the metadata file includes: determining whether a key line starting with "pre-build=" exists in the metadata file. If a key line starting with "pre-build=" exists in the metadata file, it indicates that a source version fingerprint parameter exists in the metadata file; if a key line starting with "pre-build=" does not exist in the metadata file, it indicates that a source version fingerprint parameter does not exist in the metadata file. Here, the fingerprint parameter is a unique identifier for the device.

[0134] It should be noted that the presence of source version fingerprint parameters in the metadata file indicates that the first file is a differential upgrade package.

[0135] If the source version fingerprint parameter exists in the metadata file, the controller executes step S609: read and save the source version fingerprint parameter, and obtain the fingerprint parameter of this display device.

[0136] In some embodiments, the content of the display device version attribute fingerprint parameter (ro.build.fingerprint) is obtained through the Android system standard interface property__get().

[0137] The controller executes step S610: determining whether the source version fingerprint parameters are the same as the preset fields of the fingerprint parameters of the display device;

[0138] In some embodiments, if the first three key fields of the fingerprint parameters are the same, it can indicate that they come from the same chip manufacturer. Therefore, determining whether the preset fields of the source version fingerprint parameters are the same as those of the fingerprint parameters of the display device can further determine whether the chip model of the display device is the same as the chip model that can be upgraded by the upgrade package.

[0139] In some embodiments, the source version fingerprint parameter in the metadata file is represented as:

[0140] pre-build=AAA / BBB / CCC:11 / RTT2.211209.001 / 00.00.00.01:userdebug / release-keys;

[0141] If the obtained fingerprint parameters of the display device are represented as:

[0142] ro.build.fingerprint=AAA / BBB / CCC:11 / RTT2.212909.001 / 00.00.00.01:userdebug / release-keys;

[0143] The first three key fields of the source version fingerprint parameters are AAA / BBB / CCC, and the first three key fields of the obtained display device fingerprint parameters are also AAA / BBB / CCC, indicating that the chip model of this display device is the same as the chip model that can be upgraded by the upgrade package.

[0144] If the obtained fingerprint parameters of the display device are represented as:

[0145] ro.build.fingerprint=AAA / BBB / DDD:11 / RTT2.212909.001 / 00.00.00.01:userdebug / release-keys;

[0146] The first three key fields of the source version fingerprint parameters are AAA / BBB / CCC, and the first three key fields of the obtained display device fingerprint parameters are also AAA / BBB / DDD, indicating that the chip model of this display device is different from the chip model that can be upgraded by the upgrade package.

[0147] If the source version fingerprint parameters are the same as the preset fields of the fingerprint parameters of the display device, the controller executes step S611: read the target version security patch level of the metadata file and obtain the security patch level of the display device;

[0148] In some embodiments, reading the target version security patch level of the metadata file specifically includes reading the post-security-patch-level line (target version security patch level) in the metadata file.

[0149] In some embodiments, obtaining the security patch level of the display device specifically includes: obtaining the content of the local version attribute ro.vendor.build.security_patch (the current security patch level of the display device) through the Android system standard interface property_get().

[0150] The controller executes step S612: Determine whether the security patch level of the target version is greater than or equal to the security patch level of the display device;

[0151] In some embodiments, the target version security patch level in the metadata file is represented as follows:

[0152] post-security-patch-level=2022-02-05;

[0153] If the security patch level of the obtained display device is:

[0154] ro.vendor.build.security_patch=2021-11-24;

[0155] The target version's security patch level in the metadata file is 2022-02-05, while the security patch level of the display device is 2021-11-24, indicating that the target version's security patch level is higher than the display device's security patch level.

[0156] If the security patch level of the obtained display device is:

[0157] ro.vendor.build.security_patch=2022-03-24;

[0158] The target version's security patch level in the metadata file is 2022-02-05, while the security patch level of the display device is 2022-03-24, indicating that the target version's security patch level is lower than the display device's security patch level.

[0159] In some embodiments, if the security patch level of the target version is greater than or equal to the security patch level of the display device, the controller executes step S613: controlling the display to show a first upgrade prompt page, the first upgrade prompt page being used to prompt the user that an upgrade operation can be performed;

[0160] In some embodiments, Figure 11 This is a schematic diagram of a first upgrade prompt page provided for a feasible embodiment. Figure 11The first upgrade prompt page shown includes a first upgrade prompt box 111, which includes a prompt message 1111, a countdown time 1112, a confirmation control 1113, a "execute later" control 1114, and a selector 1115 indicating that any control is selected. If the user does not select any control after the countdown ends, the user will default to selecting the confirmation control 1113.

[0161] In some embodiments, if the security patch level of the target version is greater than or equal to the security patch level of the display device, the first upgrade prompt page can be omitted, and the upgrade can proceed directly in the background.

[0162] In some embodiments, if the source version fingerprint parameters are different from the preset fields of the fingerprint parameters of the display device, the controller executes step S614: controlling the display to show a second upgrade prompt page, the second upgrade prompt page being used to prompt the user that there is currently no upgradeable version.

[0163] In some embodiments, Figure 12 This is a schematic diagram of a second upgrade prompt page provided for a feasible embodiment. Figure 12 The second upgrade prompt page shown includes a second upgrade prompt box 121, which includes a prompt message, a countdown timer, and a confirmation control 1211. Users can directly select the confirmation control 1211 to close the second upgrade prompt page. Alternatively, the page can be closed after the countdown ends. The prompt message indicates that the current storage device does not contain an upgradable upgrade package. In some embodiments, the prompt message may also display the reason why the upgrade package in the external storage device is incompatible with the display device, for example, that the upgrade package in the external storage device is incompatible with the chip of the display device. Users can clearly understand that the display device cannot be upgraded due to chip incompatibility, facilitating timely problem identification and resolution.

[0164] In some embodiments, if the source version fingerprint parameters are different from the preset fields of the fingerprint parameters of the display device, no operation is performed; or, the display is controlled to show, as... Figure 10 The user interface shown.

[0165] In some embodiments, if the source version fingerprint parameters are different from the preset fields of the fingerprint parameters of the display device, the scanning continues to the next file, and the step of determining whether it is a preset format file continues. If no upgrade package matching the upgrade conditions is found in any file on the external storage device, the display is controlled to show a second upgrade prompt page, such as... Figure 12 As shown. Alternatively, no operation may be performed; or the display may be controlled to show, as shown. Figure 10 The user interface shown.

[0166] In some embodiments, if the security patch level of the target version is lower than the security patch level of the display device, the controller executes step S614: controlling the display to show a second upgrade prompt page, the second upgrade prompt page being used to prompt the user that there is currently no upgradeable version.

[0167] In some embodiments, the second upgrade prompt page is as follows: Figure 12 As shown, the prompt message includes information such as the current storage device not containing an upgradable upgrade package. In some embodiments, the prompt message may also display the reason why the upgrade package in the external storage device is incompatible with the display device, for example: the target version security patch level of the upgrade package in the external storage device is less than or equal to the security patch level of the display device. Users can clearly understand that the display device cannot be upgraded because the upgrade package in the external storage device is not the latest version, facilitating timely problem identification and resolution.

[0168] In some embodiments, if the security patch level of the target version is lower than the security patch level of the display device, no operation is performed; or, the display is controlled to show, as... Figure 10 The user interface shown.

[0169] In some embodiments, if the security patch level of the target version is lower than the security patch level of the display device, the scan continues to the next file, and the step of determining whether it is a file of a preset format continues. If no upgrade package matching the upgrade conditions is found in any file on the external storage device, the display is controlled to show a second upgrade prompt page, such as... Figure 12 As shown, either do nothing; or control the display to show as indicated. Figure 10 The user interface shown.

[0170] In some embodiments, if the target version security patch level is greater than or equal to the display device's security patch level, the controller performs the following steps:

[0171] Read the source version number from the metadata file to obtain the current version number of the display device;

[0172] Determine whether the source version number in the metadata file is the same as the current version number of the display device;

[0173] If the source version number in the metadata file is the same as the current version number of the display device, the display is controlled to show the first upgrade prompt page. This first upgrade prompt page is used to notify the user that an upgrade is possible. The first upgrade prompt page is as follows: Figure 11 As shown;

[0174] In some embodiments, if the source version number in the metadata file is the same as the current version number of the display device, the user may not be prompted to perform an upgrade operation; instead, the upgrade operation may be performed directly in the background.

[0175] If the source version number in the metadata file is different from the current version number of the display device, the display is controlled to show a second upgrade prompt page, which is used to inform the user that there is currently no available upgrade version.

[0176] In some embodiments, the second upgrade prompt page is as follows: Figure 12 As shown. In Figure 12 The prompt message includes information such as the absence of an available upgrade package on the current storage device. In some embodiments, the prompt message may also display the reason why the upgrade package on the external storage device is incompatible with the display device, for example: the version number of the upgrade package source on the external storage device does not match the version number of the display device. Users can clearly understand that the display device cannot be upgraded because the version number of the upgrade package source on the external storage device does not match the version number of the display device, facilitating timely problem identification and resolution.

[0177] In some embodiments, if the source version number in the metadata file is different from the current version number of the display device, no operation is performed; or, the display is controlled to show, as... Figure 10 The user interface shown.

[0178] In some embodiments, if the source version number in the metadata file is different from the current version number of the display device, the scan continues to the next file, and the step of determining whether it is a file of a preset format continues. If no upgrade package matching the upgrade conditions is found in any file on the external storage device, the display is controlled to show a second upgrade prompt page, such as... Figure 12 As shown; or do not perform any operation; or control the display to show as... Figure 10 The user interface shown.

[0179] In some embodiments, if the target version security patch level is greater than or equal to the display device's security patch level, the controller performs the following steps:

[0180] Obtain the name information of the first file;

[0181] In some embodiments, differential upgrade packages can only upgrade from a specified version to a target version. The name of the upgrade package often includes both the source version number and the target version number. For example, the name of the upgrade package could be "Version 2.1 to Version 2.2 Upgrade Package". Users may change the name of the upgrade package, which could lead to inaccurate source version numbers. Therefore, the name of the upgrade package is set to be unmodifiable, meaning the name of the first file cannot be changed, to ensure the accuracy of the source version number extracted from the upgrade package name.

[0182] Extract the source version number from the name information of the first file;

[0183] In some embodiments, the numbers in the first filename information can be extracted, and the smaller value can be selected as the source version number. For example, if the upgrade package name is "Version 2.1 to Version 2.2 Upgrade Package", and the extracted numbers are 2.1 and 2.2, then the smaller value 2.1 can be selected as the source version number.

[0184] In some embodiments, the first digit in the first file name information can be extracted as the source version number. For example, if the upgrade package is named "Version 2.1 to Version 2.2 Upgrade Package", the first extracted digit is 2.1, which is the source version number.

[0185] Obtain the current version number of the display device;

[0186] Determine if the source version number is the same as the current version number of the display device;

[0187] If the source version number is the same as the current version number of the display device, control the display to show a first upgrade prompt page, as shown in the image. Figure 11 As shown, the upgrade can also be performed directly in the background without prompting the user that an upgrade is available.

[0188] If the source version number is different from the current version number of the display device, control the display to show the second upgrade prompt page.

[0189] In some embodiments, the second upgrade prompt page is as follows: Figure 12 As shown. In Figure 12 The message displayed indicates why the upgrade package on the external storage device is incompatible with the display device, such as: "The version number of the upgrade package source on the external storage device does not match the version number of the display device." Users can clearly understand that the display device cannot be upgraded because the version number of the upgrade package source on the external storage device does not match the version number of the display device, making it easier for users to identify and resolve the problem promptly.

[0190] If the source version fingerprint parameter is not present in the metadata file, the controller executes step S615: determine whether the target version fingerprint parameter exists in the metadata file;

[0191] In some embodiments, the step of determining whether a target version fingerprint parameter exists in the metadata file includes: determining whether a key line starting with "post-build=" exists in the metadata file. If a key line starting with "post-build=" exists in the metadata file, it indicates that a target version fingerprint parameter exists in the metadata file; if a key line starting with "post-build=" does not exist in the metadata file, it indicates that a target version fingerprint parameter does not exist in the metadata file.

[0192] If the target version fingerprint parameter exists in the metadata file, the controller executes step S616: read and save the target version fingerprint parameter, and obtain the fingerprint parameter of the display device;

[0193] In some embodiments, the content of the display device version attribute fingerprint parameter (ro.build.fingerprint) is obtained through the Android system standard interface property_get().

[0194] The controller executes step S617: Determine whether the target version fingerprint parameters are the same as the preset fields of the fingerprint parameters of the display device;

[0195] In some embodiments, the target version fingerprint parameter in the metadata file is represented as:

[0196] post-build=AAA / BBB / CCC:11 / RTT2.211209.001 / 00.00.00.01:userdebug / release-keys;

[0197] If the obtained fingerprint parameters of the display device are represented as:

[0198] ro.build.fingerprint=AAA / BBB / CCC:11 / RTT2.212909.001 / 00.00.00.01:userdebug / release-keys;

[0199] The first three key fields of the target version fingerprint parameters are AAA / BBB / CCC, and the first three key fields of the obtained display device fingerprint parameters are also AAA / BBB / CCC, indicating that the chip model of this display device is the same as the chip model that can be upgraded by the upgrade package.

[0200] If the obtained fingerprint parameters of the display device are represented as:

[0201] ro.build.fingerprint=AAA / BBB / DDD:11 / RTT2.212909.001 / 00.00.00.01:userdebug / release-keys;

[0202] The first three key fields of the target version fingerprint parameters are AAA / BBB / CCC, and the first three key fields of the obtained display device fingerprint parameters are also AAA / BBB / DDD, indicating that the chip model of this display device is different from the chip model that can be upgraded by the upgrade package.

[0203] If the target version fingerprint parameters are the same as the preset fields of the display device's fingerprint parameters, the controller executes step S618: read the target version timestamp from the metadata file and obtain the current version timestamp of the display device;

[0204] In some embodiments, reading the target version timestamp from the metadata file specifically includes reading the post-timestamp line (target version timestamp) from the metadata file.

[0205] In some embodiments, obtaining the current version timestamp of the display device specifically includes: obtaining the content of the local version attribute ro.build.date.utc (the current version timestamp of the display device) through the Android system standard interface property_get().

[0206] It should be noted that the metadata file does not contain the source version fingerprint parameter, but it does contain the target version fingerprint parameter, indicating that the first file is a complete upgrade package.

[0207] The controller executes step S619: Determine whether the target version timestamp is greater than the current version timestamp of the display device;

[0208] In some embodiments, the target version timestamp can be represented as post-timestamp = 1647206057;

[0209] If the current version timestamp of the display device can be represented as: ro.build.date.utc = 1447206057;

[0210] The target version timestamp in the metadata file is 1647206057, while the current version timestamp of the display device is 1447206057, indicating that the target version timestamp is greater than the current version timestamp of the display device.

[0211] If the current version timestamp of the display device can be represented as: ro.build.date.utc = 1847206057;

[0212] The target version timestamp in the metadata file is 1647206057, while the current version timestamp of the display device is 1847206057, indicating that the target version timestamp is less than the current version timestamp of the display device.

[0213] If the target version timestamp is greater than the current version timestamp of the display device, the controller executes step S613: controls the display to show a first upgrade prompt page, which prompts the user that an upgrade operation is possible; the first upgrade prompt page is as follows: Figure 11 As shown.

[0214] In some embodiments, if the source version number in the metadata file is the same as the current version number of the display device, the user may not be prompted to perform an upgrade operation; instead, the upgrade operation may be performed directly in the background.

[0215] If the timestamp of the target version is not greater than the timestamp of the current version on the display device, the controller executes step S614: controls the display to show the second upgrade prompt page, which is used to prompt the user that there is no version available for upgrade.

[0216] In some embodiments, the second upgrade prompt page is as follows: Figure 12 As shown. In Figure 12 The message displayed indicates why the upgrade package on the external storage device is incompatible with the display device. For example, it might state that the target version of the upgrade package on the external storage device is less than or equal to the version on the display device. This clearly tells the user that the display device cannot be upgraded because the upgrade package on the external storage device is not the latest version, allowing for timely problem identification and resolution.

[0217] In some embodiments, if the target version timestamp is not greater than the current version timestamp of the display device, no operation is performed; or, the display is controlled to show, as... Figure 10 The user interface shown.

[0218] In some embodiments, if the target version timestamp is not greater than the current version timestamp of the display device, the scan continues to the next file, and the step of determining whether it is a file of a preset format continues. If no upgrade package matching the upgrade conditions is found in any file on the external storage device, the display is controlled to show a second upgrade prompt page, such as... Figure 12 As shown; or do not perform any operation; or control the display to show as... Figure 10 The user interface shown.

[0219] In some embodiments, if the target version fingerprint parameter is not present in the metadata file, the display is controlled to show a second upgrade prompt page, such as... Figure 12 As shown; or do not perform any operation; or control the display to show as... Figure 10 The user interface shown.

[0220] In some embodiments, if the target version fingerprint parameter is not found in the metadata file, the scan continues to the next file, and the step of determining whether it is a file of a preset format is performed. If no upgrade package matching the upgrade conditions is found in any file on the external storage device, the control display shows the following: Figure 12 The second upgrade prompt page shown can be left as is; or the display can be controlled to show, as indicated. Figure 10 The user interface shown.

[0221] In some embodiments, if the fingerprint parameters of the target version are different from the preset fields of the fingerprint parameters of the display device, the display is controlled to show, as shown in the figure. Figure 12 The second upgrade prompt page shown; or do not perform any operation; or control the display to show, as shown Figure 10 The user interface shown. Figure 12 The error message may indicate that the upgrade package in the external storage device is incompatible with the chip of this display device.

[0222] In some embodiments, if the target version fingerprint parameters do not match the preset fields of the display device's fingerprint parameters, the scan continues to the next file, and the step of determining whether it is a file of a preset format continues. If no upgrade package matching the upgrade conditions is found in any file on the external storage device, the display is controlled to show the following: Figure 12 The second upgrade prompt page shown can be left as is; or the display can be controlled to show, as indicated. Figure 10 The user interface shown. In some embodiments, such as Figure 11 As shown, when the user moves selector 1115 to the later execution control 1114 and presses the confirmation button on the control device, in response to the user's operation, the controller controls the display not to show the first upgrade prompt box 111, as... Figure 7 As shown.

[0223] Without disconnecting the external storage device, the user can select the upgrade control in the settings menu, and the controller will then control the display to show the following: Figure 13 The page shown. Figure 13 This is a schematic diagram of an upgrade page provided for a feasible embodiment. Figure 13 In the process, the user can select the local upgrade control 131. In response to the user's operation, the controller re-executes step S604: scan all files in the external storage device.

[0224] In some embodiments, such as Figure 11 As shown, when the user moves the selector 1115 to the confirmation control 1113 and presses the confirmation button on the control device, the upgrade operation is performed in response to the user's operation.

[0225] In some embodiments, the upgrade steps include:

[0226] Verify the first file;

[0227] In some embodiments, while verifying the first file, the display is controlled to show a verification progress bar.

[0228] In some embodiments, Figure 14 This is a schematic diagram of a verification progress page provided in a feasible embodiment. Figure 14The page shown includes a verification progress bar 141 and a background execution control 142; the verification progress bar 141 displays the percentage of verification progress. When the user selects the background execution control 142, in response to the user's action, the verification progress page is canceled, and the upgrade operation is performed in the background.

[0229] After verification is complete, install the first file;

[0230] In some embodiments, if the user does not select the background execution control on the verification progress page, the installation progress bar is displayed on the screen while the first file is being installed.

[0231] In some embodiments, Figure 15 This is a schematic diagram of an installation progress page provided for a feasible embodiment. Figure 15 The page shown includes an installation progress bar 151 and a background execution control 152; the installation progress bar 151 displays the percentage of installation progress. When the user selects the background execution control 152, in response to the user's action, the installation progress page is canceled, and the upgrade operation is performed in the background.

[0232] In some embodiments, if the external storage device is accidentally removed during the upgrade process, the display device will not become unusable or cause system malfunctions due to the A / B seamless upgrade architecture. After the external storage device is reinserted, the controller will re-execute step S604: scanning all files in the external storage device.

[0233] In some embodiments, if the display device experiences an abnormal power outage during the upgrade process, the display device will not become unusable or cause system malfunctions due to the A / B seamless upgrade architecture. After the display device is powered on again, the controller will re-execute step S604: scanning all files in the external storage device.

[0234] After installation, the control monitor displays a restart prompt page, which prompts the user to restart and switch to the new version.

[0235] In some embodiments, the user does not select the background execution control on either the verification or installation progress page. Figure 16 This is a schematic diagram of a restart prompt page provided in a feasible embodiment. Figure 16 The page shown includes an immediate start control 161 and an automatic toggle control 162, as well as a selector 163 that indicates which control is selected.

[0236] In some embodiments, the user selects a background execution control on the verification or installation progress page. Figure 17 This is a schematic diagram of a restart prompt page provided in a feasible embodiment. Figure 17The page shown includes a restart prompt box 171, which includes an immediate start control 1711, an automatic switching control 1712, and a selector 1713 indicating whether any control is selected. The restart prompt box 171 is located in the lower right corner of the user interface. It neither obscures the original user interface nor fails to provide restart options. If the user does not select any control within a preset time, the controller will remove the restart prompt box and assume the user has selected the automatic switching control.

[0237] When the user selects the "Start Now" control, in response to the user's action, the Reboot interface is directly called to restart the display device and switch to the new version. When the user selects the "Switch Automatically" control, in response to the user's action, the upgrade / reboot flag is set to the default value.

[0238] In some embodiments, when the user selects automatic switching of controls, the sys.vt.ota.need.reboot flag (reboot flag) is set to 1.

[0239] In some embodiments, the user will input a standby command after using the display device;

[0240] In response to a user's standby command, the display device is controlled to enter standby mode;

[0241] Read the upgrade restart flag;

[0242] If the upgrade / restart flag is set to a preset value, the display device will be silently turned on and switched to the new version.

[0243] In some embodiments, after the display device is in standby mode, the Powermanagerservice module will read the restart flag. If the restart flag is read as a preset value, such as 1, the standby mode will be changed to silent power-on, and the new version switch will be completed.

[0244] This application integrates the convenience of local upgrades with the latest OTA A / B technology. By placing the OTA upgrade package in an external storage device and using the external storage device for OTA upgrades, it offers the following innovations: First, it provides a local, full-scenario upgrade interaction solution under Android's latest A / B dual-slot upgrade architecture, featuring automatic identification of suitable upgrade packages and improved fault tolerance and operability. Second, the smart terminal does not need to be offline during the upgrade, and the upgrade process can be completed in the background. Third, it can shield against the impact of abnormal power outages and accidental removal of external storage devices. Fourth, it can parse the upgrade information carried in the upgrade package, providing foolproof capabilities; it verifies the upgrade package, ensuring the security of the system upgrade. Fifth, it protects user data from being erased.

[0245] The local upgrade method provided in this application embodiment is applicable to a display device, which includes at least a controller and a display. The controller is configured to scan all files in the external storage device after an external storage device is inserted; if the format of a first file in the external storage device is a preset format and the first file includes a metadata file, the metadata file is read, and the preset format is the format of an upgrade package; if the metadata file contains source version fingerprint parameters, the fingerprint parameters of the display device are obtained; if the source version fingerprint parameters are the same as a preset field of the fingerprint parameters of the display device, the security patch level of the display device is obtained; if the target version security patch level in the metadata file is greater than the security patch level of the display device, the display is controlled to display a first upgrade prompt page, which is used to prompt the user that an upgrade operation can be performed; in response to the upgrade command entered by the user on the first prompt page, the upgrade operation is executed. This application embodiment can automatically identify whether there is a suitable upgrade package in the external storage device, parse the upgrade information carried by the upgrade package, and has foolproof capability, fault tolerance, and better operability.

[0246] In a specific implementation, the present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, it may include some or all of the steps of the various embodiments of the custom control button method and the startup method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0247] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or certain parts of the embodiments of the present invention.

[0248] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0249] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.

Claims

1. A display device, characterized in that, include: monitor; The controller is configured as follows: After an external storage device is inserted, the system receives a broadcast message indicating that the external storage device has been mounted. In response to the mounted broadcast call platform service interface, scan all files in the external storage device; If the first file detected in the external storage device is in a preset format and includes a metadata file, the metadata file is read. The preset format is an upgrade package format. The upgrade package is an OTA upgrade package in a compressed package format determined by scanning the name suffix of the first file. The OTA upgrade package is used for local upgrades of the display device. If the source version fingerprint parameter exists in the metadata file, obtain the fingerprint parameter of the display device; wherein, the fingerprint parameter is used to indicate the chip model of the display device, and the source version fingerprint parameter is used to indicate the chip model that the OTA upgrade package can upgrade; If the source version fingerprint parameters are the same as the preset fields of the fingerprint parameters of the display device, obtain the security patch level of the display device; If the security patch level of the target version in the metadata file is greater than or equal to the security patch level of the display device, the display is controlled to show a first upgrade prompt page, which is used to prompt the user that an upgrade operation can be performed. In response to the upgrade command entered by the user on the first upgrade prompt page, the upgrade operation is executed; The controller is also configured to: If the source version fingerprint parameter does not exist in the metadata file but the target version fingerprint parameter exists, obtain the fingerprint parameter of the display device. If the target version fingerprint parameters are the same as the preset fields of the fingerprint parameters of the display device, obtain the current version timestamp of the display device; If the target version timestamp in the metadata file is greater than the current version timestamp of the display device, control the display to show the first upgrade prompt page; In response to the upgrade command entered by the user on the first upgrade prompt page, the upgrade operation is executed.

2. The display device of claim 1, wherein, The controller is configured to perform the step of controlling the display to show the first upgrade prompt page in the following manner: Obtain the current version number of the display device; If the source version number in the metadata file is the same as the current version number of the display device, control the display to show the first upgrade prompt page.

3. The display device of claim 1, wherein, The controller is configured to perform the step of controlling the display to show the first upgrade prompt page in the following manner: Obtain the name information of the first file; the name of the first file cannot be changed. Extract the source version number from the name information of the first file; Obtain the current version number of the display device; If the source version number is the same as the current version number of the display device, control the display to show the first upgrade prompt page.

4. The display device of claim 1, wherein, The controller is configured as follows: If the source version fingerprint parameters are not the same as the fingerprint parameters of the display device, or if the target version security patch level in the metadata file is not greater than the security patch level of the display device; The display is controlled to show a second upgrade prompt page, which is used to inform the user that there is currently no available upgrade version.

5. The display device according to claim 2 or 3, characterized in that, The controller is configured as follows: If the source version number is different from the current version number of the display device, the display is controlled to show a second upgrade prompt page, which is used to prompt the user that there is no version available for upgrade.

6. The display device of claim 1, wherein, The controller is configured to perform the upgrade operation in the following manner: Verify the first file and control the display to show a verification progress bar; After verification is complete, install the first file and control the display to show the installation progress bar; After installation, the monitor is controlled to display a restart prompt page, which prompts the user to restart and switch to the new version.

7. The display device of claim 1, wherein, The restart prompt page includes an immediate restart control and an automatic switching control, wherein the controller is configured as follows: In response to the user's confirmation of the immediate restart control, the display device is controlled to restart and switch to the new version; In response to the user's confirmation of the automatic switching control, the upgrade restart flag is set to a preset value.

8. The display device according to claim 7, characterized in that, The controller is configured as follows: In response to a user's standby command, the display device is controlled to enter standby mode; Read the upgrade restart flag; If the upgrade / restart flag is set to a preset value, the display device will be silently turned on and switched to the new version.

9. A method for local upgrade, characterized in that, include: After an external storage device is inserted, the system receives a broadcast message indicating that the external storage device has been mounted. In response to the mounted broadcast call platform service interface, scan all files in the external storage device; If the format of the first file scanned in the external storage device is a preset format and the first file includes a metadata file, the metadata file is read. The preset format is the format of an upgrade package. The upgrade package is an OTA upgrade package in a compressed package format determined by scanning the name suffix of the first file. The OTA upgrade package is used to display the local upgrade of the device. If the source version fingerprint parameter exists in the metadata file, obtain the fingerprint parameter of the display device; wherein, the fingerprint parameter is used to indicate the chip model of the display device, and the source version fingerprint parameter is used to indicate the chip model that the OTA upgrade package can upgrade; If the source version fingerprint parameters are the same as the preset fields of the fingerprint parameters of the display device, obtain the security patch level of the display device; If the security patch level of the target version in the metadata file is greater than or equal to the security patch level of the display device, the display is controlled to show a first upgrade prompt page, which is used to prompt the user that an upgrade operation can be performed. In response to the upgrade command entered by the user on the first upgrade prompt page, execute the upgrade operation; The local upgrade method also includes: If the source version fingerprint parameter does not exist in the metadata file but the target version fingerprint parameter exists, obtain the fingerprint parameter of the display device. If the target version fingerprint parameters are the same as the preset fields of the fingerprint parameters of the display device, obtain the current version timestamp of the display device; If the target version timestamp in the metadata file is greater than the current version timestamp of the display device, control the display to show the first upgrade prompt page; In response to the upgrade command entered by the user on the first upgrade prompt page, the upgrade operation is executed.

Citation Information

Patent Citations

  • Method and device for verifying OTA multi-pack upgrading

    CN105718268A

  • Upgrade prompting method and display equipment

    CN112817680A