CN112764627B - Upgrade package installation progress display method and display device - Google Patents

Upgrade package installation progress display method and display device Download PDF

Info

Publication number
CN112764627B
CN112764627B CN202110116361.2A CN202110116361A CN112764627B CN 112764627 B CN112764627 B CN 112764627B CN 202110116361 A CN202110116361 A CN 202110116361A CN 112764627 B CN112764627 B CN 112764627B
Authority
CN
China
Prior art keywords
installation progress
display
upgrade
upgrade package
installation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110116361.2A
Other languages
Chinese (zh)
Other versions
CN112764627A (en
Inventor
王彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN202110116361.2A priority Critical patent/CN112764627B/en
Publication of CN112764627A publication Critical patent/CN112764627A/en
Application granted granted Critical
Publication of CN112764627B publication Critical patent/CN112764627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

Abstract

The application discloses an upgrade package installation progress display method and display equipment, which are used for solving the problems that the upgrade package installation progress percentage is displayed smoothly, sudden change does not exist or the retention time on a certain percentage is too long, and the user experience is improved. The method comprises the following steps: if the current upgrade is the differential upgrade, the hundred-percent upgrade package installation progress is returned and the installation progress mark position does not exist, the display is controlled to display a first installation progress bar, and the first installation progress bar increases the first preset progress every other first preset time from 0%.

Description

Upgrade package installation progress display method and display device
Technical Field
The application relates to the technical field of display, in particular to an upgrade package installation progress display method and display equipment.
Background
At present, when an intelligent television platform (a/B OTA) (Over-The-Air, Over-The-Air technology) of a display device is upgraded seamlessly and differentially, an upgrade package is read by an upgrade package installation interface, an image of each partition in The upgrade package is read and updated to each complete machine read-only partition, The upgrade package installation interface returns The installation progress at a proper time, but when The installation progress returns 100%, The upgrade package installation interface still needs 2 minutes to update a hash (hash) value of each partition of a system, at this time, The upgrade package installation interface cannot return state information and progress information, The actual upgrade progress is displayed for 2 minutes at 100%, and user experience is extremely bad. Meanwhile, if the display is suddenly powered off within the 2 minutes, when the television is powered on again, the display device completes the installation of the upgrade package before the last power off, but does not complete the action of updating the hash value, and at the moment, no progress returns, so that the television needs to be displayed for 2 minutes at the position of 0% of the upgrade progress, and the user experience is extremely unfriendly.
Disclosure of Invention
The embodiment of the application provides an upgrade package installation progress display method and display equipment, which are used for solving the problems that the upgrade package installation progress percentage is displayed smoothly, sudden change does not exist or the retention time on a certain percentage is too long, and the user experience is improved.
In a first aspect, there is provided a display device comprising:
a display;
a controller for performing:
if the current upgrade is differential upgrade, the upgrade package installation progress of one hundred percent is returned, the installation progress mark position does not exist, the display is controlled to display a first installation progress bar, and the first installation progress bar increases the first preset progress every first preset time from 0%.
In some embodiments, the controller is further configured to perform:
if the current upgrade is differential upgrade and the hundred percent upgrade package installation progress is not returned, reinstalling the upgrade package;
and when the installation progress of the upgrade package is in a first preset range, controlling a display to display a second installation progress bar, wherein the second installation progress bar is the installation progress of the upgrade package divided by a preset value.
In some embodiments, the controller is further configured to perform:
when the installation progress of the upgrade package is within a second preset range, the installation progress of the upgrade package is saved to the installation progress mark position, and a display is controlled to display a third installation progress bar, wherein the third installation progress bar is the second preset progress.
In some embodiments, the controller is further configured to perform:
and when the installation progress of the upgrade package reaches one hundred percent, controlling a display to display a fourth installation progress bar, wherein the fourth installation progress bar increases a third preset progress every second preset time on the basis of the third installation progress bar.
In some embodiments, the controller is further configured to perform:
and if the current upgrade is not differential upgrade, controlling a display to display a fifth installation progress bar, wherein the fifth installation progress bar is the upgrade package installation progress.
In a second aspect, a method for displaying an installation progress of an upgrade package is provided, including:
if the current upgrade is differential upgrade, the upgrade package installation progress of one hundred percent is returned, the installation progress mark position does not exist, the display is controlled to display a first installation progress bar, and the first installation progress bar increases the first preset progress every first preset time from 0%.
In some embodiments, the method further comprises:
if the current upgrade is differential upgrade and the hundred percent upgrade package installation progress is not returned, reinstalling the upgrade package;
and when the installation progress of the upgrade package is in a first preset range, controlling a display to display a second installation progress bar, wherein the second installation progress bar is the installation progress of the upgrade package divided by a preset value.
In some embodiments, the method further comprises:
when the installation progress of the upgrade package is within a second preset range, the installation progress of the upgrade package is saved to the installation progress mark position, and a display is controlled to display a third installation progress bar, wherein the third installation progress bar is the second preset progress.
In some embodiments, the method further comprises:
and when the installation progress of the upgrade package reaches one hundred percent, controlling a display to display a fourth installation progress bar, wherein the fourth installation progress bar increases a third preset progress every second preset time on the basis of the third installation progress bar.
In some embodiments, the method further comprises:
and if the current upgrade is not differential upgrade, controlling a display to display a fifth installation progress bar, wherein the fifth installation progress bar is the upgrade package installation progress.
In the embodiment, when the display device performs A/B OTA seamless differential upgrading, and suddenly cuts off power in the process of updating the hash value of each partition of the system, and is powered on again, the display can smoothly display the installation progress percentage of the upgrade package, so that the upgrade progress is prevented from being displayed for a plurality of minutes at the position of 0%, and the user experience is improved.
Drawings
FIG. 1 illustrates a usage scenario of a display device according to some embodiments;
fig. 2 illustrates a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments;
FIG. 5 illustrates a flow diagram of an upgrade package installation progress display method according to some embodiments;
a user interface diagram according to some embodiments is illustrated in fig. 6.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware or/and software code that is capable of performing the functionality associated with that element.
Fig. 1 is a schematic diagram of a usage scenario of a display device according to an embodiment. As shown in fig. 1, the display apparatus 200 is also in data communication with a server 400, and a user can operate the display apparatus 200 through the smart device 300 or the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and the display device 200 is controlled by a wireless or wired method. The user may control the display apparatus 200 by inputting a user instruction through at least one of a key on a remote controller, a voice input, a control panel input, and the like.
In some embodiments, the smart device 300 may include any of a mobile terminal, a tablet, a computer, a laptop, an AR/VR device, and the like.
In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device.
In some embodiments, the smart device 300 and the display device may also be used for communication of data.
In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received through a module configured inside the display device 200 to obtain the voice command, or may be received through a voice control apparatus provided outside the display device 200.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.
In some embodiments, software steps executed by one step execution agent may be migrated on demand to another step execution agent in data communication therewith for execution. Illustratively, software steps performed by the server may be migrated to be performed on a display device in data communication therewith, and vice versa, as desired.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 according to an exemplary embodiment. As shown in fig. 2, 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 apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.
In some embodiments, the communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module.
In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key, or an alternative module.
Fig. 3 shows a hardware configuration block diagram of the display apparatus 200 according to an exemplary embodiment.
In some embodiments, the display apparatus 200 includes at least one of 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.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
In some embodiments, the display 260 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, displaying video content, image content, and menu manipulation interface, and a user manipulation UI interface, etc.
In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the tuner demodulator 210 receives broadcast television signals via wired or wireless reception and demodulates audio/video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 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.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. The operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon.
In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory), a first to nth interface for input/output, a communication Bus (Bus), and the like.
A CPU processor. For executing operating system and application program instructions stored in the memory, and executing various application programs, data and contents according to various interactive instructions receiving external input, so as to finally display and play various audio-video contents. The CPU processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor for generating various graphics objects, such as: at least one of an icon, an operation menu, and a user input instruction display figure. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal displayed or played on the direct display device 200.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like. And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received video output signal after the frame rate conversion, and changing the signal to be in accordance with the signal of the display format, such as an output RGB data signal.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on display 260, and the user input interface receives the user input commands through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
In some embodiments, user interface 280 is an interface that may be used to receive control inputs (e.g., physical buttons on the body of the display device, or the like).
In some embodiments, a system of a display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
Referring to fig. 4, in some embodiments, the system is divided into four layers, which are, from top to bottom, an Application (Applications) layer (referred to as an "Application layer"), an Application Framework (Application Framework) layer (referred to as a "Framework layer"), an Android runtime (Android runtime) layer and a system library layer (referred to as a "system runtime library layer"), and a kernel layer.
In some embodiments, at least one application program runs in the application program layer, and the application programs may be windows (windows) programs carried by an operating system, system setting programs, clock programs or the like; or an application developed by a third party developer. In particular implementations, the application packages in the application layer are not limited to the above examples.
The framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. The application framework layer acts as a processing center that decides to let the applications in the application layer act. The application program can access the resources in the system and obtain the services of the system in execution through the API interface.
As shown in fig. 4, in the embodiment of the present application, the application framework layer includes a manager (Managers), a Content Provider (Content Provider), and the like, where the manager includes at least one of the following modules: an Activity Manager (Activity Manager) is used for interacting with all activities running in the system; a Location Manager (Location Manager) for providing access to the system Location service to the system service or application; a Package Manager (Package Manager) for retrieving various information about an application Package currently installed on the device; a Notification Manager (Notification Manager) for controlling display and clearing of Notification messages; a Window Manager (Window Manager) is used to manage the icons, windows, toolbars, wallpapers, and desktop components on a user interface.
In some embodiments, the activity manager is used to manage the lifecycle of the various applications as well as general navigational fallback functions, such as controlling exit, opening, fallback, etc. of the applications. The window manager is used for managing all window programs, such as obtaining the size of a display screen, judging whether a status bar exists, locking the screen, intercepting the screen, controlling the change of the display window (for example, reducing the display window, displaying a shake, displaying a distortion deformation, and the like), and the like.
In some embodiments, the system runtime layer provides support for an upper layer, i.e., the framework layer, and when the framework layer is used, the android operating system runs the C/C + + library included in the system runtime layer to implement the functions to be implemented by the framework layer.
In some embodiments, the kernel layer is a layer between hardware and software. As shown in fig. 4, the core layer includes at least one of the following drivers: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
Generally, the OTA system upgrading steps are: detecting an upgrade package, downloading the upgrade package, checking the upgrade package and installing the upgrade package; the user needs to be prompted by the aid of the elastic frame during detection of the upgrade package, progress needs to be displayed during downloading, checking and installation of the upgrade package, and particularly, the installation progress needs to be displayed due to long differential upgrade time in the installation process of the upgrade package, so that user experience is improved.
At present, an A/B seamless upgrade architecture is adopted for a display device smart television platform, and the definition of seamless upgrade focuses on 'seamless' two-character, namely, in the process that a user normally uses a television, a background independent upgrade package installation interface completes upgrade package installation (namely, erasing and writing of a read-only partition, which is equivalent to understanding as system upgrade); the A/B seamless upgrading structure is composed of the upgrading package installation interface and two sets of independent systems of the Slot A and the Slot B, the Slot B is updated based on the running Slot A when the current system is supposed to run in the Slot A and the system is upgraded, and after the Slot B is finished, the system is automatically switched to the Slot B system only by once direct current or alternating current restart, and the latest software can be enjoyed.
When an A/B OTA of an intelligent television platform of display equipment is upgraded in a seamless differential mode, an upgrade package installation interface reads an upgrade package, the image of each partition in the upgrade package is read and updated to each complete machine read-only partition, the upgrade package installation interface can return installation progress timely, when the installation progress returns to 100%, the upgrade package installation interface still needs 2 minutes to update the hash value of each partition of the system, the upgrade package installation interface cannot return state information and progress information, and the actual upgrade progress is displayed for 2 minutes at 100%. Meanwhile, if the display is suddenly powered off within the 2 minutes, when the television is powered on again, the display device completes the installation of the upgrade package before the last power off, but does not complete the action of updating the hash value, and at this time, no progress returns, so that the television is displayed for 2 minutes at the position of 0% of the upgrade progress. Both of the above two cases result in the upgrade process staying too long at a certain installation progress percentage, and the user experience is poor.
In order to solve the above technical problem, an embodiment of the present application provides a method for displaying an installation progress of an upgrade package.
As shown in fig. 5, the method includes:
step S501: judging whether the current upgrade is differential upgrade or not;
in some embodiments, when the upgrade package is installed, the installation package needs to be analyzed, and whether a differential upgrade flag bit exists in the installation package is determined. If the differential upgrading flag bit exists in the installation package, the current upgrading is differential upgrading; and if the differential upgrading zone bit does not exist in the installation package, the current upgrading is not differential upgrading. When not a differential upgrade, it may be a full package upgrade.
The whole package of upgrading does not distinguish the source version, contains the images of all the read-only upgrading partitions, directly writes the images in the whole package into the corresponding partitions, has quick upgrading time and safe upgrading, and has the defects of relatively large upgrading package (about 937M) and long time consumption for downloading. The OTA upgrade package only comprises a difference part manufactured by a difference tool, and the difference part is synthesized into the image corresponding to the target version by depending on the complete matching of the source version during the upgrade.
If the current upgrade is a differential upgrade, step S502 is performed.
Step S502: and judging whether the installation progress of the upgrade package is returned to 100%.
It should be noted that the step S502 of returning 100% of the upgrade package installation progress does not mean that the upgrade package installation interfaces sequentially return incremental upgrade package installation progress until returning 100% of the upgrade package installation progress, but means that the upgrade package installation interfaces directly return 100% of the upgrade package installation progress.
If 100% upgrade package installation progress is returned, step S503 is performed.
Step S503: judging whether an installation progress mark bit exists or not;
if the installation progress flag bit does not exist, step S504 is performed.
Step S504: and controlling a display to display a first installation progress bar, wherein the first installation progress bar increases a first preset progress every first preset time from 0%.
In some embodiments, the installation progress flag bit may be a sys.
In some embodiments, after the differential upgrade is determined, an android native upgrade patch installation interface is called, and the interface is used for installing the upgrade patch and returning the upgrade patch installation progress in real time. When the upgrade package installation interface directly returns 100% of the upgrade package installation progress and the installation progress flag bit does not exist, it indicates that the power of the display device is cut off at a certain time point after the actual upgrade package is installed by 100%, that is, the power is cut off when the upgrade package installation interface performs hash tree (hash tree) updating action, the upgrade package installation interface has completed the installation action of the upgrade package, and only about 2 minutes of operation for updating the hash tree remains at this time. According to the method and the device, in order to avoid the installation progress bar from being clamped at 0%, the percentage display of the installation progress bar is smooth, and the first preset progress is increased every first preset time from 0%.
In some embodiments, taking the time for updating the hash tree by the upgrade package installation interface as 2min as an example, the first installation progress bar displays 0%, when the first installation progress bar is automatically increased by 1% every 1.2s, and when the hash tree is updated, the progress is just 100%, and the user is prompted to complete the upgrade.
In some embodiments, to avoid the user waiting too long at 100% of the progress bar, the interval of the progress bar increase may be increased appropriately. Taking the time for updating the hash tree by the upgrade package installation interface as 2min as an example, the first installation progress bar displays 0%, and the first installation progress bar is automatically increased by 1% every 1.3s, after the upgrade package installation interface finishes the update operation of the hash tree, the first installation progress bar can be directly jumped from 92% of the display to 100% at the moment, and the user is prompted to finish the upgrade.
In some embodiments, the first installation progress bar displays 0%, and the first installation progress bar is automatically increased by 2% every 2.5s, and after the upgrade package installation interface completes the update operation of the hash tree, the user is prompted to complete the upgrade.
If 100% upgrade package installation progress is not returned, step S505 is performed.
In some embodiments, the case where 100% of the upgrade package installation progress is not returned may be that the upgrade package installation interface does not return the upgrade package installation progress, i.e., the upgrade package does not start to be installed. It is also possible that the upgrade package installation interface returns that the upgrade package installation progress is not 100%, i.e. the upgrade package is powered off after being installed at a certain stage. In both cases, the upgrade package is reinstalled.
In some embodiments, if the upgrade package installation progress reaches 50%, the display device is suddenly powered off, and the upgrade package still needs to be installed from the beginning when the display device is powered on again.
Step S505: and reinstalling the upgrade package.
Step S506: judging whether the installation progress of the upgrade package is within a first preset range;
in some embodiments, the step of differentially upgrading is divided into two steps, the first step being upgrade package installation and the second step being hash tree update. The installation progress of the upgrade package in the application refers to the installation progress of the actual upgrade package, and the installation progress bar displayed by the display is the progress of the overall upgrade of the differential upgrade.
If the upgrade package installation progress is within the first preset range, executing step S507.
Step S507: and controlling a display to display a second installation progress bar, wherein the second installation progress bar is the installation progress of the upgrade package divided by a preset value.
Step S506 is continued after step S507.
In some embodiments, the installation progress of the second installation progress bar is continuously increasing, and the progress of the upgrade package may be slowly increased when installation begins. For example, the first predetermined range is 0-90% and the predetermined value is 3. When the upgrade package installation progress falls within 0-90%, the displayed second installation progress bar may be the upgrade package installation progress divided by 3. That is, when the upgrade package installation progress a ∈ [ 0%, 90% ], the second installation progress bar displays progress b ∈ [ 0%, 30% ].
In some embodiments, the first predetermined range is 0-96% and the predetermined value is 2. When the upgrade package installation progress falls within 0-96%, the displayed second installation progress bar may be the upgrade package installation progress divided by 2. That is, when the upgrade package installation progress a ∈ [ 0%, 96% ], the second installation progress bar displays progress b ∈ [ 0%, 48% ].
If the upgrade package installation progress is not within the first preset range, step S508 is performed.
Step S508: judging whether the installation progress of the upgrade package is within a second preset range;
if the upgrade package installation progress is within the second preset range, step S509 is performed.
Step S509: and saving the installation progress of the upgrade package to an installation progress mark position, and controlling a display to display a third installation progress bar, wherein the third installation progress bar is a second preset progress.
Step S508 is continuously executed after step S509.
In some embodiments, when the installation of the upgrade package is about to be completed, the installation progress of the upgrade package needs to be saved to the installation progress mark position, and meanwhile, the display is controlled to display a third installation progress bar, and the display progress of the third installation progress bar can be preset.
In some embodiments, the second predetermined range is 90-100% and the second predetermined schedule is 31%. And when the installation progress of the upgrade package falls into 90-100%, storing the installation progress of the upgrade package to an installation progress mark position, and displaying a preset second preset progress of 31% by a displayed third installation progress bar. I.e., upgrade package installation progress a e (90, 100), the third installation progress bar is displayed as 31%.
In some embodiments, if the next upgrade package installation progress returned by the upgrade package installation interface still falls within the range of 90-100%, the upgrade package installation progress is continuously saved to the installation progress flag, and the upgrade package installation progress covers the last saved upgrade package installation progress, at this time, the third installation progress bar may be continuously displayed as 31%, or may be displayed as 32% in order to display the continuation of the installation progress.
In some embodiments, the second predetermined range is 96-100% and the second predetermined schedule is 49%. And when the installation progress of the upgrade package falls into 96-100%, storing the installation progress of the upgrade package to an installation progress mark position, and displaying a preset second preset progress 49% on a displayed third installation progress bar. I.e., upgrade package installation progress a e (96, 100), the third installation progress bar is displayed at 49%, as shown in fig. 6.
In some embodiments, the upgrade package installation schedule returned by the upgrade package installation interface, while continuously increasing, is not necessarily all increasing at 1% schedule. For example, the upgrade package installation progress returned by the last upgrade package installation interface is 95%, and the upgrade package installation progress returned by the next upgrade package installation interface is 97%. Compare with independent progress point, the second that this application set up predetermines the scope and more can guarantee to upgrade package installation progress to installation progress mark position.
In some embodiments, the upgrade package installation progress is saved to an installation progress flag bit, which is not memorized after the power of the display device is off, and does not exist when the power of the display device is turned on again.
If the upgrade package installation progress is not within the second preset range, step S510 is performed.
Step S510: judging whether the installation progress of the upgrade package reaches one hundred percent;
if the upgrade package installation progress reaches one hundred percent, step S511 is executed.
Step S511: and controlling a display to display a fourth installation progress bar, wherein the fourth installation progress bar increases a third preset progress every second preset time on the basis of the third installation progress bar.
In some embodiments, when the upgrade package is installed, an operation of updating the hash tree is required. At this time, the installation progress bar displayed by the display increases the third preset progress every second preset time on the basis of the third installation progress bar.
In some embodiments, taking the time for updating the hash tree by the upgrade package installation interface as 2min as an example, the third installation progress bar displays 31%, the second preset time is 3.5s, and the third preset progress is 2%. When the installation progress of the upgrade package reaches 100% and the display device is not powered off (the installation progress mark position exists), the displayed fourth installation progress bar starts from 31% of installation progress, when the fourth installation progress bar is automatically increased by 2% every 3.5s, and when the hash tree is updated, the user is prompted to complete the upgrade.
In some embodiments, taking the time for updating the hash tree by the upgrade package installation interface as 2min as an example, the third installation progress bar displays 49%, the second preset time is 2.5s, and the third preset progress is 1%. When the installation progress of the upgrade package reaches 100% and the display device is not powered off (the installation progress mark position exists), the displayed fourth installation progress bar starts from 49% of installation progress, when the fourth installation progress bar is automatically increased by 1% every 2.5s, and when the updating of the hash tree is completed, the user is prompted to complete the upgrade.
According to the method and the device, the time for updating the hash tree can be calculated in the display of the upgrade package installation progress bar, the situation that a user can wait for too long time to have a prompt for completing the upgrade when the display progress bar is 100% when the upgrade package is installed is avoided, the display of the upgrade package installation progress percentage can be smooth, and the user experience is improved.
If the current upgrade is not a differential upgrade, step S512 is performed.
Step S512: and controlling a display to display a fifth installation progress bar, wherein the fifth installation progress bar is the installation progress of the upgrade package.
In some embodiments, if there is no differential flag bit in the upgrade package, it indicates that the current upgrade is not a differential upgrade, but an entire package upgrade. The installation progress bar displayed by the display in the whole package of upgrade can be equal to the upgrade package installation progress.
In the embodiment, when the display device performs A/B OTA seamless differential upgrading, suddenly cuts off power in the process of updating the hash value of each partition of the system, and is powered on again, the display can smoothly display the installation progress percentage of the upgrade package, the upgrade progress is prevented from being displayed for a plurality of minutes at 0%, and the user experience is improved.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (4)

1. A display device, comprising:
a display;
a controller for performing:
if the current upgrade is differential upgrade, returning a hundred-percent upgrade package installation progress and no installation progress mark position, controlling a display to display a first installation progress bar, wherein the first installation progress bar increases a first preset progress every other first preset time from 0%, and the upgrade package installation progress returning to the hundred percent and no installation progress mark position are power-off when the display equipment performs hash tree update;
if the current upgrade is differential upgrade and the hundred percent upgrade package installation progress is not returned, reinstalling the upgrade package;
when the installation progress of the upgrade package is in a first preset range, controlling a display to display a second installation progress bar, wherein the second installation progress bar is the installation progress of the upgrade package divided by a preset value;
when the installation progress of the upgrade package is in a second preset range, the installation progress of the upgrade package is saved to an installation progress mark position, and a display is controlled to display a third installation progress bar, wherein the third installation progress bar is a second preset progress;
and when the installation progress of the upgrade package reaches one hundred percent, controlling a display to display a fourth installation progress bar, wherein the fourth installation progress bar increases a third preset progress every second preset time on the basis of the third installation progress bar.
2. The display device according to claim 1, wherein the controller is further configured to perform:
and if the current upgrade is not differential upgrade, controlling a display to display a fifth installation progress bar, wherein the fifth installation progress bar is the upgrade package installation progress.
3. A method for displaying an installation progress of an upgrade package is characterized by comprising the following steps:
if the current upgrade is differential upgrade, returning hundred percent upgrade package installation progress and having an installation progress mark position, controlling a display to display a first installation progress bar, wherein the first installation progress bar increases a first preset progress every first preset time from 0%, and the upgrade package installation progress returning hundred percent is powered off when the installation progress mark position does not exist for performing hash tree update on the display equipment;
if the current upgrade is differential upgrade and the hundred percent upgrade package installation progress is not returned, reinstalling the upgrade package;
when the installation progress of the upgrade package is in a first preset range, controlling a display to display a second installation progress bar, wherein the second installation progress bar is the installation progress of the upgrade package divided by a preset value;
when the installation progress of the upgrade package is in a second preset range, the installation progress of the upgrade package is saved to an installation progress mark position, and a display is controlled to display a third installation progress bar, wherein the third installation progress bar is a second preset progress;
and when the installation progress of the upgrade package reaches hundred percent, controlling a display to display a fourth installation progress bar, wherein the fourth installation progress bar increases a third preset progress every second preset time on the basis of the third installation progress bar.
4. The method of claim 3, further comprising:
and if the current upgrade is not the differential upgrade, controlling a display to display a fifth installation progress bar, wherein the fifth installation progress bar is the upgrade patch installation progress.
CN202110116361.2A 2021-01-28 2021-01-28 Upgrade package installation progress display method and display device Active CN112764627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110116361.2A CN112764627B (en) 2021-01-28 2021-01-28 Upgrade package installation progress display method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110116361.2A CN112764627B (en) 2021-01-28 2021-01-28 Upgrade package installation progress display method and display device

Publications (2)

Publication Number Publication Date
CN112764627A CN112764627A (en) 2021-05-07
CN112764627B true CN112764627B (en) 2022-08-26

Family

ID=75706347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110116361.2A Active CN112764627B (en) 2021-01-28 2021-01-28 Upgrade package installation progress display method and display device

Country Status (1)

Country Link
CN (1) CN112764627B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821235B (en) * 2021-06-15 2023-10-20 荣耀终端有限公司 Operating system data updating method, device, storage medium and program product
CN116719556A (en) * 2022-09-26 2023-09-08 荣耀终端有限公司 System upgrading method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182324A (en) * 2014-08-26 2014-12-03 广州华多网络科技有限公司 Vote progress bar presenting method and device
CN105975178A (en) * 2016-04-27 2016-09-28 北京小米移动软件有限公司 Progress bar display method and apparatus
CN109343778A (en) * 2018-09-25 2019-02-15 北京金山安全软件有限公司 Display method and device and electronic equipment
CN112073446A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Dual-system OTA parallel upgrading method and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2525281B1 (en) * 2011-05-20 2019-01-02 EchoStar Technologies L.L.C. Improved progress bar
CN102929762B (en) * 2012-09-26 2015-09-16 北京奇虎科技有限公司 The monitoring method of the health status of terminal device and device
CN104461631B (en) * 2014-12-09 2018-01-16 广东欧珀移动通信有限公司 A kind of system OTA upgrade methods and device
CN104572408B (en) * 2014-12-29 2017-06-09 广东欧珀移动通信有限公司 Progress bar display processing method and device
CN105389179A (en) * 2015-10-19 2016-03-09 上海斐讯数据通信技术有限公司 Method and device for processing router upgrade time
CN107291852B (en) * 2017-06-07 2021-01-22 北京金山安全软件有限公司 Progress bar display optimization method and device and electronic equipment
CN110597525A (en) * 2019-09-16 2019-12-20 上海连尚网络科技有限公司 Method and apparatus for installing applications
CN111372133A (en) * 2020-03-13 2020-07-03 青岛海信传媒网络技术有限公司 Method for reserving upgrading and display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182324A (en) * 2014-08-26 2014-12-03 广州华多网络科技有限公司 Vote progress bar presenting method and device
CN105975178A (en) * 2016-04-27 2016-09-28 北京小米移动软件有限公司 Progress bar display method and apparatus
CN109343778A (en) * 2018-09-25 2019-02-15 北京金山安全软件有限公司 Display method and device and electronic equipment
CN112073446A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Dual-system OTA parallel upgrading method and system

Also Published As

Publication number Publication date
CN112764627A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
CN112612525A (en) Display device and display device starting method
CN112764627B (en) Upgrade package installation progress display method and display device
CN116612722A (en) Display equipment and backlight brightness adjusting method
CN113268199A (en) Display device and function item setting method
CN112860331B (en) Display equipment and voice interaction prompting method
CN112817680B (en) Upgrade prompting method and display device
CN113593488A (en) Backlight adjusting method and display device
CN112165642B (en) Display device
CN112584213A (en) Display device and display method of image recognition result
CN112616090B (en) Display equipment system upgrading method and display equipment
CN113556609B (en) Display device and startup picture display method
CN112667285B (en) Application upgrading method, display device and server
CN112911359B (en) Resource display method, display equipment and remote controller
CN112637683A (en) Display equipment system optimization method and display equipment
CN111970624B (en) Display device loudspeaker state detection method and display device
CN113286185A (en) Display device and homepage display method
CN112668546A (en) Video thumbnail display method and display equipment
CN113064534A (en) Display method and display equipment of user interface
CN113703705A (en) Display device and list updating method
CN113589990A (en) Application management method of display device, display device and mobile terminal
CN113608715A (en) Display device and voice service switching method
CN113064691A (en) Display method and display equipment for starting user interface
CN113971049A (en) Background service management method and display device
CN113132809A (en) Channel switching method, channel program playing method and display equipment
CN113689856B (en) Voice control method for video playing progress of browser page and display equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant