CN117931255A - Display device, system upgrade display method, device and storage medium - Google Patents

Display device, system upgrade display method, device and storage medium Download PDF

Info

Publication number
CN117931255A
CN117931255A CN202311783226.9A CN202311783226A CN117931255A CN 117931255 A CN117931255 A CN 117931255A CN 202311783226 A CN202311783226 A CN 202311783226A CN 117931255 A CN117931255 A CN 117931255A
Authority
CN
China
Prior art keywords
progress
display
upgrade
stage
upgrading
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.)
Pending
Application number
CN202311783226.9A
Other languages
Chinese (zh)
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 CN202311783226.9A priority Critical patent/CN117931255A/en
Publication of CN117931255A publication Critical patent/CN117931255A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the application provides display equipment, a system upgrading display method, a system upgrading display device and a storage medium, relates to the field of intelligent equipment, and can solve the problem of hundredth jump of the display progress of system upgrading. The specific scheme is as follows: determining a first load parameter of the display equipment at a first moment in response to a system upgrading instruction; in response to the first load parameter being less than the first load threshold, running a system upgrade program in the foreground; and controlling a display to display the upgrading progress corresponding to the upgrading stage in the target progress control in the upgrading process according to the size of the upgrading packet corresponding to the system upgrading program.

Description

Display device, system upgrade display method, device and storage medium
Technical Field
The present application relates to the field of intelligent devices, and in particular, to a display device, a system upgrade display method, a device, and a storage medium.
Background
In general, when a remote (OTA) upgrade is performed On a display device, the upgrade is required to be performed through four stages of an upgrade package downloading stage, a data package checking stage, an installation stage, and a hash value checking stage after installation. At present, when the display equipment is upgraded by the upgrade package with smaller size, the time consumption of the upgrade package downloading stage and the upgrade package checking stage is smaller. Thus, when the upgrade progress is displayed through the upgrade control, the problem of percentage jump of the display progress exists.
Disclosure of Invention
The embodiment of the application provides a display device, a system upgrading display method, a device and a storage medium, which can control a display control to display the corresponding upgrading progress of an upgrading stage according to the size of a system package so as to solve the problem of percentage jump of the display progress during system upgrading.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme:
In a first aspect, the present application provides a display device, which may include: a display configured to display a user interface; a communicator configured to receive a system upgrade instruction input by a user; a controller coupled to the display and the communicator, respectively, and configured to: determining a first load parameter of the display equipment at a first moment in response to a system upgrading instruction; in response to the first load parameter being less than the first load threshold, running a system upgrade program in the foreground; and controlling a display to display the upgrading progress corresponding to the upgrading stage in the target progress control in the upgrading process according to the size of the upgrading packet corresponding to the system upgrading program.
In some embodiments, the controller is specifically configured to: when the size of the upgrade package is larger than or equal to the capacity threshold and the upgrade package is not downloaded, controlling a display to display the upgrade progress of the corresponding stage in the first stage control corresponding to the downloading stage, the second stage control corresponding to the first verification stage and the third stage control corresponding to the installation stage and the second verification stage in sequence in the upgrade process; when the size of the upgrade package is larger than or equal to the capacity threshold value and the upgrade package is downloaded, controlling a display to sequentially display the upgrade progress of the corresponding stage in the second stage control and the third stage control in the upgrade process; the target progress control comprises at least one of a first stage control, a second stage control and a third stage control.
In some embodiments, the controller is further configured to: the controller is specifically configured to: when the size of the upgrade package is smaller than the capacity threshold and the upgrade package is not downloaded, controlling a display to sequentially display upgrade progress corresponding to a downloading stage, a first verification stage, an installation stage and a second verification stage in a first comprehensive control in the upgrade process; when the size of the upgrade package is smaller than the capacity threshold and the upgrade package is downloaded, controlling a display to sequentially display upgrade progress corresponding to a first verification stage, an installation stage and a second verification stage in a second comprehensive control in the upgrade process; the target progress control comprises a first comprehensive control or a second comprehensive control.
In some embodiments, in the event that the upgrade package is not downloaded, the controller is specifically configured to: responding to the current upgrading stage as a downloading stage, and controlling a display to display a first progress in a first comprehensive control; the first progress is 1/4 of the actual downloading progress of the upgrade package; responding to the current upgrading stage as a first checking stage, and controlling a display to display a second progress in a first comprehensive control; the second progress is 1/4 of the sum of one hundred percent of downloading progress and the first actual checking progress of the upgrade package; responding to the current upgrading stage as an installation stage, and controlling a display to display a third progress in the first comprehensive control; the third progress is 1/4 of the sum of one hundred percent of downloading progress, one hundred percent of first checking progress and actual installation progress of the upgrade package; responding to the current upgrading stage as a second checking stage, and controlling a display to display a fourth progress in the first comprehensive control; the fourth progress is 1/4 of the sum of one hundred percent of downloading progress, one hundred percent of first checking progress, one hundred percent of installing progress and second actual checking progress.
In some embodiments, in the event that the upgrade package has been downloaded, the controller is specifically configured to: responding to the current upgrading stage as a first checking stage, and controlling a display to display a fifth progress in a second comprehensive control; the fifth progress is 1/3 of the first actual checking progress of the upgrade package; responding to the current upgrading stage as an installation stage, and controlling a display to display a sixth progress in the second comprehensive control; the sixth progress is 1/3 of the sum of the hundred percent of the first checking progress and the actual installation progress of the upgrade package; responding to the current upgrading stage as a second checking stage, and controlling a display to display a seventh progress in a second comprehensive control; the seventh schedule is 1/3 of the sum of one hundred percent of the first check schedule, one hundred percent of the installation schedule and the second actual check schedule.
In some embodiments, the first load parameter includes a first memory occupancy and/or a first processor utilization; the controller is configured to: and determining that the first load parameter is smaller than the first load threshold when the first memory occupancy is smaller than the first occupancy threshold or the first processor utilization is smaller than the first utilization threshold.
In some embodiments, the controller is further configured to: determining a second load parameter at a second moment in the process of running a system upgrading program at the foreground; generating a first background upgrade prompt to prompt a user to select whether to enter a background upgrade in response to the second load parameter being greater than or equal to a second load threshold; and responding to a first background upgrading instruction input by a user, and continuing to operate a system upgrading program corresponding to the upgrading package in the background.
In some embodiments, the controller is further configured to: generating a second background upgrade prompt to prompt a user to select whether to enter a background upgrade in response to the first load parameter being greater than or equal to the first load threshold; responding to a second background upgrading instruction input by a user, and running a system upgrading program corresponding to the upgrading package in the background; and determining a third load parameter of the display device at a third moment, and determining to run or pause the system upgrade program in the background based on the third load parameter.
In some embodiments, the controller is specifically configured to: responsive to the third load parameter being greater than or equal to a third load threshold, determining to suspend the system upgrade procedure in the background; in response to the third load parameter being less than the third load threshold, it is determined to run the system upgrade program in the background.
In some embodiments, the controller is further configured to: generating a third background upgrade prompt to prompt a user to select whether to enter a foreground upgrade in response to the third load parameter being less than a third load threshold; and responding to a foreground upgrading instruction input by a user, and running a system upgrading program corresponding to the upgrading package at the foreground.
In some embodiments, the first load parameter includes a first memory occupancy and/or a first processor utilization; the controller is further configured to: and determining that the first load parameter is greater than or equal to the first load threshold when the first memory occupancy is greater than or equal to the first occupancy threshold, or the first processor utilization is greater than or equal to the first utilization threshold.
In a second aspect, the present application provides a display method for system upgrade, which is applied to an electronic device. The method may include: responding to a system upgrading instruction input by a user, and determining a first load parameter of the display equipment at a first moment; in response to the first load parameter being less than the first load threshold, running a system upgrade program in the foreground; and controlling a display to display the upgrading progress corresponding to the upgrading stage in the target progress control in the upgrading process according to the size of the upgrading packet corresponding to the system upgrading program.
In some embodiments, according to the size of an upgrade package corresponding to a system upgrade program, in an upgrade process, controlling a display to display an upgrade progress corresponding to an upgrade stage in a target progress control, including: when the size of the upgrade package is larger than or equal to the capacity threshold and the upgrade package is not downloaded, controlling a display to display the upgrade progress of the corresponding stage in the first stage control corresponding to the downloading stage, the second stage control corresponding to the first verification stage and the third stage control corresponding to the installation stage and the second verification stage in sequence in the upgrade process; when the size of the upgrade package is larger than or equal to the capacity threshold value and the upgrade package is downloaded, controlling a display to sequentially display the upgrade progress of the corresponding stage in the second stage control and the third stage control in the upgrade process; the target progress control comprises at least one of a first stage control, a second stage control and a third stage control.
In some embodiments, according to the size of an upgrade package corresponding to a system upgrade program, in an upgrade process, controlling a display to display an upgrade progress corresponding to an upgrade stage in a target progress control, including: when the size of the upgrade package is smaller than the capacity threshold and the upgrade package is not downloaded, controlling a display to sequentially display upgrade progress corresponding to a downloading stage, a first verification stage, an installation stage and a second verification stage in a first comprehensive control in the upgrade process; when the size of the upgrade package is smaller than the capacity threshold and the upgrade package is downloaded, controlling a display to sequentially display upgrade progress corresponding to a first verification stage, an installation stage and a second verification stage in a second comprehensive control in the upgrade process; the target progress control comprises a first comprehensive control or a second comprehensive control.
In some embodiments, in the case where the upgrade package is not downloaded, in the upgrade process, controlling the display to sequentially display, in the first integrated control, an upgrade progress corresponding to the download stage, the first verification stage, the installation stage, and the second verification stage, including: responding to the current upgrading stage as a downloading stage, and controlling a display to display a first progress in a first comprehensive control; the first progress is 1/4 of the actual downloading progress of the upgrade package; responding to the current upgrading stage as a first checking stage, and controlling a display to display a second progress in a first comprehensive control; the second progress is 1/4 of the sum of one hundred percent of downloading progress and the first actual checking progress of the upgrade package; responding to the current upgrading stage as an installation stage, and controlling a display to display a third progress in the first comprehensive control; the third progress is 1/4 of the sum of one hundred percent of downloading progress, one hundred percent of first checking progress and actual installation progress of the upgrade package; responding to the current upgrading stage as a second checking stage, and controlling a display to display a fourth progress in the first comprehensive control; the fourth progress is 1/4 of the sum of one hundred percent of downloading progress, one hundred percent of first checking progress, one hundred percent of installing progress and second actual checking progress.
In some embodiments, when the upgrade package is downloaded, in an upgrade process, controlling the display to sequentially display an upgrade progress corresponding to the first verification stage, the installation stage, and the second verification stage in the second integrated control, including: responding to the current upgrading stage as a first checking stage, and controlling a display to display a fifth progress in a second comprehensive control; the fifth progress is 1/3 of the first actual checking progress of the upgrade package; responding to the current upgrading stage as an installation stage, and controlling a display to display a sixth progress in the second comprehensive control; the sixth progress is 1/3 of the sum of the hundred percent of the first checking progress and the actual installation progress of the upgrade package; responding to the current upgrading stage as a second checking stage, and controlling a display to display a seventh progress in a second comprehensive control; the seventh schedule is 1/3 of the sum of one hundred percent of the first check schedule, one hundred percent of the installation schedule and the second actual check schedule.
In some embodiments, the first load parameter includes memory occupancy and/or processor usage; the display method of the system upgrade further comprises the following steps: and when the memory occupancy is less than the occupancy threshold, or the processor usage is less than the usage threshold, determining that the first load parameter is less than the first load threshold.
In some embodiments, the display method of the system upgrade further includes: determining a second load parameter at a second moment in the process of running a system upgrading program at the foreground; generating a first background upgrade prompt to prompt a user to select whether to enter a background upgrade in response to the second load parameter being greater than or equal to a second load threshold; and responding to a first background upgrading instruction input by a user, and continuing to operate a system upgrading program corresponding to the upgrading package in the background.
In some embodiments, the display method of the system upgrade further includes: generating a second background upgrade prompt to prompt a user to select whether to enter a background upgrade in response to the first load parameter being greater than or equal to the first load threshold; responding to a second background upgrading instruction input by a user, and running a system upgrading program corresponding to the upgrading package in the background; and determining a third load parameter of the display device at a third moment, and determining to run or pause the system upgrade program in the background based on the third load parameter.
In some embodiments, determining to run or suspend the system upgrade program in the background based on the third load parameter comprises: responsive to the third load parameter being greater than or equal to a third load threshold, determining to suspend the system upgrade procedure in the background; in response to the third load parameter being less than the third load threshold, it is determined to run the system upgrade program in the background.
In some embodiments, the display method of the system upgrade further includes: generating a third background upgrade prompt to prompt a user to select whether to enter a foreground upgrade in response to the third load parameter being less than a third load threshold; and responding to a foreground upgrading instruction input by a user, and running a system upgrading program corresponding to the upgrading package at the foreground.
In some embodiments, the first load parameter includes memory occupancy and/or processor usage; the display method of the system upgrade further comprises the following steps: when the memory occupancy is greater than or equal to the occupancy threshold, or the processor usage is greater than or equal to the usage threshold, it is determined that the first load parameter is greater than or equal to the first load threshold.
In a third aspect, there is provided a system-upgraded display device, the device comprising: the first determining module is used for responding to a system upgrading instruction input by a user and determining a first load parameter of the display equipment at a first moment; the running module is used for responding to the fact that the first load parameter is smaller than a first load threshold value and running a system upgrading program in the foreground; and the control module is used for controlling the display to display the upgrading progress corresponding to the upgrading stage in the target progress control in the upgrading process according to the size of the upgrading packet corresponding to the system upgrading program.
In a fourth aspect, a computer readable storage medium having stored therein at least one executable instruction that when executed by a display device implements the display method of the system upgrade of the second aspect is provided.
In a fifth aspect, there is provided a computer program product comprising computer instructions which, when run on an electronic device, enable the electronic device to perform the system upgrade display method of the second aspect described above.
In the embodiment of the application, a first load parameter of the display equipment at a first moment is determined by responding to a system upgrading instruction; when the first load parameter is smaller than a first load threshold value, a system upgrading program is operated at the foreground; and controlling a display to display the upgrading progress corresponding to the upgrading stage in the target progress control in the upgrading process according to the size of the upgrading packet corresponding to the system upgrading program. The size of the different upgrade packages can correspondingly control the target progress control to display the corresponding upgrade progress of the upgrade stage through the control strategy. Therefore, when the size of the upgrade package is smaller, different upgrade stages can be displayed respectively, and further, the situation that the upgrade control is flashed when displaying the upgrade progress can be avoided, and the problem of percentage jump of the display progress is solved.
Drawings
Fig. 1 is a schematic diagram of a control scenario of a display device according to an exemplary embodiment of the present application;
fig. 2 is a block diagram illustrating a configuration of a control apparatus according to an exemplary embodiment of the present application;
Fig. 3 is a schematic structural diagram of a display device according to an exemplary embodiment of the present application;
FIG. 4 is a flowchart of a system upgrade display method according to an exemplary embodiment of the present application;
FIG. 5 is a flowchart of another system upgrade display method according to an exemplary embodiment of the present application;
FIG. 6A is a schematic diagram of a first progress control according to an exemplary embodiment of the present application;
FIG. 6B is a schematic diagram of a second progress control according to an exemplary embodiment of the present application;
FIG. 6C is a schematic diagram of a third progress control according to an exemplary embodiment of the present application;
FIG. 7 is a flowchart of a display method for a system upgrade according to an exemplary embodiment of the present application;
FIG. 8 is a flowchart of a display method for a system upgrade according to an exemplary embodiment of the present application;
FIG. 9A is a schematic diagram of a first progress in an integrated control according to an exemplary embodiment of the present application;
FIG. 9B is a diagram of a second progress in an integrated control according to an exemplary embodiment of the present application;
FIG. 9C is a diagram illustrating a third progress in an integrated control according to an exemplary embodiment of the present application;
FIG. 9D is a diagram illustrating a fourth progress in an integrated control according to an exemplary embodiment of the present application;
FIG. 10 is a flowchart of another system upgrade display method according to an exemplary embodiment of the present application;
FIG. 11 is a flowchart illustrating a display method of another system upgrade according to an exemplary embodiment of the present application;
FIG. 12 is a schematic diagram of a background upgrade prompt according to an exemplary embodiment of the present application;
FIG. 13 is a flowchart of another system upgrade display method according to an exemplary embodiment of the present application;
FIG. 14 is a flowchart of another system upgrade display method according to an exemplary embodiment of the present application;
Fig. 15 is a schematic diagram of a composition structure of a display device for system upgrade according to an exemplary embodiment of the present application.
Detailed Description
For the purposes of making the objects and embodiments of the present application more apparent, an exemplary embodiment of the present application will be described in detail below with reference to the accompanying drawings in which exemplary embodiments of the present application are illustrated, it being apparent that the exemplary embodiments described are only some, but not all, of the embodiments of the present application.
It should be noted that the brief description of the terminology in the present application is for the purpose of facilitating understanding of the embodiments described below only and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms first, second, third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar 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," "comprising," and any variations thereof herein 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 explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "and/or" in the present application is merely an association relation describing the association object, and indicates that three kinds of relations may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In the present application, the character "/" generally indicates that the front and rear related objects are an or relationship.
Based on the exemplary embodiments described herein, all other embodiments that may be obtained by one of ordinary skill in the art without making any inventive effort are within the scope of the appended claims. Furthermore, while the subject application has been described in terms of an exemplary embodiment or embodiments, it should be understood that various aspects of the subject application can be practiced otherwise than as specifically described. It should be noted that the brief description of the terminology in the present application is for the purpose of facilitating understanding of the embodiments described below only and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
Currently, when an OTA is upgraded, a display device (for example, an intelligent television platform) needs to interact with a cloud server through a process of an application end to download an upgrade package from the cloud server (a downloading stage), and verifies the downloaded upgrade package through an update engine (a data package verification stage). Then, the content of the upgrade package is read by the update engine, and the read content is updated into the system partition of the smart television platform (installation stage). Finally, the updating engine calculates hash values of the updated contents of all the partitions so as to verify that the data written into all the partitions are not changed (hash value verification stage), and the consistency of the data is ensured. And the updating engine also feeds back the upgrade progress (including the progress of the verification stage, the installation stage and the hash value verification stage) to the application end in real time.
In general, when the display device is updated through the upgrade package with a smaller size, the time consumed in the upgrade package downloading stage and the upgrade package checking stage is smaller, so that the upgrade control will flash when displaying the upgrade progress, and the problem of percentage jump of the display progress exists.
In view of the above technical problems, an embodiment of the present application provides a display method for system upgrade, which may be applied to a display device. In the technical scheme, a first load parameter of the display equipment at a first moment is determined by responding to a system upgrading instruction; when the first load parameter is smaller than a first load threshold value, a system upgrading program is operated at the foreground; and controlling a display to display the upgrading progress corresponding to the upgrading stage in the target progress control in the upgrading process according to the size of the upgrading packet corresponding to the system upgrading program. The size of the different upgrade packages can correspondingly control the target progress control to display the corresponding upgrade progress of the upgrade stage through the control strategy. Therefore, when the size of the upgrade package is smaller, different upgrade stages can be displayed respectively, and further, the situation that the upgrade control is flashed when displaying the upgrade progress can be avoided, and the problem of percentage jump of the display progress is solved.
The privileged operation execution method provided by the present application is described in detail below with reference to the accompanying drawings.
The display device provided by the embodiment of the application can have various implementation forms, for example, can be electronic devices with application programs installed, such as display devices, smart televisions, laser projection devices, electronic whiteboards (electronic bulletin board), electronic desktops (electronic tables) and the like. The embodiment of the application does not limit the specific form of the electronic equipment. In the embodiment of the application, the electronic device is taken as the display device for illustration.
Fig. 1 is a schematic diagram of a control scenario of a display device according to an exemplary embodiment of the present application. As shown in fig. 1, a user may operate the display device 200 through the smart device 300 or the control apparatus 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device 200 includes infrared protocol communication, and other short-range communication modes, and the display device 200 is controlled by a wireless or wired mode. The user may control the display device 200 by inputting user instructions through keys on a remote control, voice input, control panel input, etc.
It should be noted that, in the embodiment of the present application, the display device 200 and the control apparatus 100 may use an infrared protocol for communication, or may use other communication protocols for communication. The embodiment of the present application does not limit the communication protocol between the display apparatus 200 and the control device 100.
In some embodiments, a user may also control the display device 200 using a smart device 300 (e.g., mobile terminal, tablet, computer, notebook, etc.). For example, the display device 200 is controlled using an application running on a smart device.
In some embodiments, the same or matched software applications may be installed on the smart device 300 and the display device 200, so as to implement connection communication through a network protocol, thereby implementing the purpose of one-to-one control operation and data communication. In this case, the audio/video content displayed on the smart device 300 may also be transmitted to the display device 200, so as to implement a synchronous display function.
In some embodiments, the display device 200 may not receive instructions using the above-described smart device 300 or control apparatus 100, but receive control of a user through touch or gesture, or the like.
In some embodiments, the display device 200 may also perform control 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 device for acquiring voice commands, or the voice command control of the user may be received through a voice control device configured outside the display device 200 device.
Fig. 2 is a block diagram illustrating a configuration of a control apparatus 100 according to an exemplary embodiment of the present application. 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 (e.g., a voice instruction) of a user, and convert the operation instruction into an instruction recognizable and responsive to the display device 200, which serves as an interaction medium between the user and the display device 200.
Fig. 3 shows a schematic structural diagram of a display device according to an embodiment of the present application.
As shown in fig. 3, the display apparatus 200 includes at least one of a modem 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 includes a processor, a video processor, an audio processor, a graphics processor, a random access Memory (Random Access Memory, RAM), a Read-Only Memory (ROM), a first interface to an nth interface for input/output.
The display 260 includes a display screen component for presenting a picture, and a driving component for driving image display, a component for receiving an image signal from the controller output, displaying video content, image content, and a menu manipulation Interface, and a user manipulation User Interface (UI).
The display 260 may be a liquid crystal display, an Organic light emitting display (Organic LIGHT EMITTING DISPLAY, OLED) display, a projection display, or a projection device and a projection screen. In some embodiments, the display 260 may be configured to display a user interface.
The 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, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. In some examples, communicator 220 may be configured to receive user-entered system upgrade instructions. The display device 200 may establish transmission and reception of control signals and data signals with the control apparatus 100 or the smart device 300 through the communicator 220.
A user interface may be used to receive control signals from the control device 200 (e.g., an infrared remote control, etc.) or the smart device 3.
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 capturing the intensity of ambient light; either the detector 230 comprises an image collector, such as a camera, which may be used to collect external environmental scenes, user attributes or user interaction gestures, or the detector 230 comprises a sound collector, such as a microphone or the like, for receiving external sounds.
The external device interface 240 may include, but is not limited to, the following: high definition multimedia interface (High Definition Multimedia Interface, HDMI), analog or data high definition component input interface (component), composite video input interface (Composite Video Broadcast Signal, CVBS), universal serial bus (Universal Serial Bus, USB) input interface, red Green Blue (RGB) port, or the like. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
The modem 210 receives broadcast television signals via wired or wireless reception and demodulates audio and video signals, such as electronic program guide (Electronic Program Guide, EPG) data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
The controller 250 controls the operation of the display device 200 and responds to the user's operations through various software control programs stored on the memory and various services in the operating system. The controller 250 controls the overall operation of the display apparatus 01. For example: the controller 250 may control the super service in the electronic machine to receive the privileged operation request sent by the application process, verify the feature parameter of the application process carried therein and the operation code indicating the privileged operation, and after the verification is successful, execute the first privileged operation by the super service.
In some embodiments the controller includes at least one of a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), RAM and ROM, a first to nth interface for input/output, a communication Bus (Bus), etc.
A user may input a user command through a graphical user interface (GRAPHICAL USER INTERFACE, GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Or the user may input the user command by inputting a specific sound or gesture, the user input interface recognizes the sound or gesture through the sensor, and receives the user input command.
A "user interface UI" is a media interface for interaction and exchange of information between an application or operating system and a user, which enables conversion between an internal form of information and a user-acceptable form. A commonly used presentation form of a user interface is a GUI, which refers to a graphically displayed user interface related to computer operations. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the display device, where the control may include at least one of a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
Fig. 4 is a flowchart of a display method for system upgrade according to an exemplary embodiment of the present application. As shown in fig. 4, the display method of the system upgrade may be applied to the controller 250 of the display apparatus 200 shown in fig. 3, and the display method of the system upgrade may include steps 401 to 403.
In step 401, a first load parameter of the display device at a first moment is determined in response to a system upgrade instruction input by a user.
By way of example, the system upgrade instructions may refer to instructions that agree to perform a system upgrade to the display device. In some examples, the system upgrade instructions may refer to control instructions entered by a user for agreeing to a system upgrade. For example, after the display device performs information interaction with the cloud server, a system upgrading control popped up on the display device, and the system upgrading instruction may be a control instruction input by a user to the system upgrading control according to the requirement and agreeing to system upgrading.
The first time may be, for example, a time after the controller in the display device receives the system upgrade instruction. In some examples, the first time may be considered a system upgrade start time.
The first load parameter may refer to a magnitude parameter of a load of the display device at a first time. In some examples, the first load parameter may include a first processor parameter and a first memory parameter. For example, the first load parameter may include a first processor usage and a first memory occupancy.
In an exemplary embodiment, the controller in the display device may read, in response to a received system upgrade instruction input by a user, a usage of the processor and the memory by the processor reading instruction and the memory reading instruction, respectively, so as to calculate a first load parameter of the display device at a first moment according to the read usage of the processor and the memory.
In response to the first load parameter being less than the first load threshold, a system upgrade program is run in the foreground, step 402.
The first load threshold may be a threshold parameter for determining whether the display device is in a busy state, for example. In some embodiments, the first load threshold may correspond to a first occupancy threshold comprising a first utilization threshold corresponding to a first processor utilization and a first memory occupancy.
For example, the first load parameter may be determined to be less than the first load threshold when the first memory occupancy is less than the first occupancy threshold, or the first processor usage is less than the first usage threshold.
For example, if the first load parameter is smaller than the first load threshold, the controller not only controls to run the system upgrade program, but also controls the display to display the upgrade progress of the system upgrade.
Step 403, according to the size of the upgrade package corresponding to the system upgrade program, controlling the display to display the upgrade progress corresponding to the upgrade stage in the target progress control.
For example, the target progress control may be used to display the upgrade progress percentage. In some examples, the target progress control may be at least one display bar. In other embodiments, the target progress control may be at least one displayed pie chart. The embodiment of the present application is not particularly limited thereto. The embodiment of the application is exemplified by taking the target progress control as at least one display bar.
For example, the size of different upgrade packages corresponding to the system upgrade can be used, and in the upgrade process, the display is controlled to display the upgrade progress corresponding to the upgrade stage in different target process controls.
In the embodiment of the application, a first load parameter of the display equipment at a first moment is determined by responding to a system upgrading instruction; when the first load parameter is smaller than a first load threshold value, a system upgrading program is operated at the foreground; and controlling a display to display the upgrading progress corresponding to the upgrading stage in the target progress control in the upgrading process according to the size of the upgrading packet corresponding to the system upgrading program. The size of the different upgrade packages can correspondingly control the target progress control to display the corresponding upgrade progress of the upgrade stage through the control strategy. Therefore, when the size of the upgrade package is smaller, different upgrade stages can be displayed respectively, and further, the situation that the upgrade control is flashed when displaying the upgrade progress can be avoided, and the problem of percentage jump of the display progress is solved.
In some embodiments, different target progress controls may be employed for different stages of an upgrade in the upgrade process to perform progress presentation of the corresponding stages. In some examples, the target progress control may include at least one of a first stage control, a second stage control, and a third stage control. For example, the progress of the upgrade of the download stage may be displayed by a first stage control, the progress of the upgrade of the first check stage may be displayed by a second stage control, and the progress of the upgrade of the installation stage and the second check stage may be displayed by a third stage control. For another example, the upgrade progress of the download stage may be displayed by a first stage control, the upgrade progress of the first check stage may be displayed by a second stage control, the upgrade progress of the installation stage may be displayed by a third stage control, and the upgrade progress of the second check stage may be displayed by a fourth stage control.
In some examples, the first check phase may be a packet check phase and the second check phase may be a hash value check phase.
As shown in fig. 5, step 403 may include the following steps 4031 and 4032, based on the embodiment shown in fig. 4 described above.
Step 4031, when the size of the upgrade package is greater than or equal to the capacity threshold and the upgrade package is not downloaded, controlling the display to display the upgrade progress of the corresponding stage in the first stage control corresponding to the downloading stage, the second stage control corresponding to the first checking stage and the third stage control corresponding to the installation stage and the second checking stage in sequence in the upgrade process.
For example, the capacity threshold may be determined based on the upgrade progress display speed. In some examples, the capacity threshold may be any value greater than 250M (megabits) B (bits) less than 350 MB. For example, the capacity threshold may be 300MB.
For example, the first, second, and third stage controls may include first, second, and third progress bars for displaying upgrade progress of the download, first, installation, and second check stages, respectively.
As shown in fig. 6A, a progress bar 6011 may be included in the first progress control 601; as shown in fig. 6B, the second progress control 602 may include a progress bar 6021; as shown in fig. 6C, the third progress control 603 may include a progress bar 6031.
For example, when the size of the upgrade package is greater than or equal to the capacity threshold, whether the upgrade package is not downloaded may be first determined, if yes, the upgrade package is started to be downloaded, and the display is controlled to sequentially display the upgrade progress of the corresponding stage in the first stage control corresponding to the downloading stage, the second stage control corresponding to the first checking stage, and the third stage control corresponding to the installation stage and the second checking stage.
Step 4032, in the case that the size of the upgrade package is greater than or equal to the capacity threshold and the upgrade package is downloaded, in the upgrade process, controlling the display to sequentially display the upgrade progress of the corresponding stage in the second stage control and the third stage control corresponding to the second verification stage in the installation stage.
For example, when the size of the upgrade package is greater than or equal to the capacity threshold, whether the upgrade package is not downloaded may be determined first, if not, the upgrade package is indicated to be downloaded in advance, and the display is controlled to display the upgrade progress of the corresponding stage in the second stage control corresponding to the first check stage and the third stage control corresponding to the installation stage and the second check stage in sequence.
In the embodiment of the application, the upgrade progress of the corresponding stage is sequentially displayed through the first stage control, the second stage control and the third stage control respectively under the condition that the size of the upgrade package is larger than or equal to the capacity threshold and the upgrade package is not downloaded, and the upgrade progress of the corresponding stage is sequentially displayed through the second stage control and the third stage control respectively under the condition that the size of the upgrade package is larger than the capacity threshold and the upgrade package is downloaded. Thus, the system upgrade progress can be ensured to be displayed at a uniform speed and smoothly.
In some embodiments, the progress of the corresponding stage may be displayed with the same target progress control for different stages of the upgrade in the upgrade process. The target progress control may include a first integrated control. In some examples, the progress of the upgrades of the download phase, the first verification phase, the installation phase, and the second verification phase may be displayed through a first integrated control. In other examples, the progress of the upgrade of the first verification stage, the installation stage, and the second verification stage may be displayed through a second integrated control.
As shown in fig. 7, step 403 may include the following steps 4033 and 4034, based on the embodiment shown in fig. 4 described above.
Step 4033, in the case that the size of the upgrade package is smaller than the capacity threshold and the upgrade package is not downloaded, controlling the display to sequentially display the upgrade progress corresponding to the downloading stage, the first verification stage, the installation stage and the second verification stage in the first comprehensive control in the upgrade process.
For example, the first integrated control may include a first integrated progress bar for displaying progress of upgrades for the download phase, the first verification phase, the installation phase, and the second verification phase. In some examples, referring to fig. 9A, 9B, 9C, and 9D, the first integrated progress bar 9010 in the first integrated control 901 may be partitioned into four segments that end to display the upgrade progress corresponding to the download phase, the first verification phase, the installation phase, and the second verification phase that are entered sequentially.
For example, when the size of the upgrade package is smaller than the capacity threshold, whether the upgrade package is not downloaded may be determined first, if yes, the upgrade package is indicated to be not downloaded, and the display is controlled to display the upgrade progress corresponding to the download stage, the first verification stage, the installation stage and the second verification stage in the first integrated control in sequence.
Step 4034, in the case that the size of the upgrade package is smaller than the capacity threshold and the upgrade package is downloaded, controlling the display to sequentially display the upgrade progress corresponding to the first verification stage, the installation stage and the second verification stage in the second comprehensive control in the upgrade process.
The second integrated control may be, for example, a second integrated progress bar for displaying progress of upgrades of the first check-up phase, the installation phase, and the second check-up phase. In some examples, the second integrated control may be partitioned into three segments that end to display the progress of the upgrade corresponding to the first check-up phase, the installation phase, and the second check-up phase entered sequentially.
For example, when the size of the upgrade package is smaller than the capacity threshold, whether the upgrade package is not downloaded may be determined first, if not, the upgrade package is indicated to be downloaded in advance, and the display is controlled to sequentially control the upgrade progress corresponding to the first verification stage, the installation stage and the second verification stage.
In the embodiment of the application, under the condition that the size of the upgrade package is smaller than the capacity threshold and the upgrade package is not downloaded, the upgrade progress corresponding to the downloading stage, the first verification stage, the installation stage and the second verification stage is sequentially displayed through the first comprehensive control; under the condition that the size of the upgrade package is smaller than the capacity threshold value and the upgrade package is downloaded, the upgrade progress corresponding to the first verification stage, the installation stage and the second verification stage is passed. Thus, the system upgrade progress can be ensured to be displayed at a uniform speed and smoothly.
As shown in fig. 8, step 4033 may include steps 801 to 804 based on the embodiment shown in fig. 7 described above.
In step 801, in response to the current upgrade stage being the download stage, the display is controlled to display a first progress in the first integrated control.
The first progress is 1/4 of the actual downloading progress of the upgrade package.
For example, referring to fig. 9A, the first progress may be a progress of the integrated display bar 9010 in the first integrated control 901 within a first range. The first range may be 0 to 25%.
If the current upgrade stage is a download stage, the display is controlled to display a progress corresponding to the actual download progress within a first range of the first integrated control.
Step 802, in response to the current upgrade stage being the first verification stage, controlling the display to display a second progress in the first integrated control.
The second progress is 1/4 of the sum of one hundred percent of downloading progress and the first actual checking progress of the upgrade package.
Illustratively, referring to fig. 9B, the second progress may be a progress of the integrated display bar 9010 in the first integrated control 901 within a second range. The second range may be 25% to 50%.
If the current upgrade stage is the first verification stage, the display is controlled to display a progress corresponding to the first actual verification progress in a second range of the first integrated control.
And step 803, in response to the current upgrade stage being the installation stage, controlling the display to display a third progress in the first integrated control.
The third progress is 1/4 of the sum of one hundred percent of downloading progress, one hundred percent of first checking progress and actual installation progress of the upgrade package.
For example, referring to fig. 9C, the third progress may be a progress of the integrated display bar 9010 in the first integrated control 901 within a third range. The second range may be 50% to 75%.
If the current upgrade stage is the installation stage, the display is controlled to display the progress corresponding to the actual installation progress in the third range of the first integrated control.
In step 804, in response to the current upgrade stage being the second verification stage, the display is controlled to display a fourth progress in the first integrated control.
The fourth progress is 1/4 of the sum of one hundred percent of downloading progress, one hundred percent of first checking progress, one hundred percent of installing progress and second actual checking progress.
Illustratively, referring to fig. 9D, the fourth progress may be a progress of the integrated display bar 9010 in the first integrated control 901 within a fourth range. The fourth range may be 75% to 100%.
If the current upgrade stage is the second verification stage, the display is controlled to display a progress corresponding to the second actual verification progress in a fourth range of the first integrated control.
In the embodiment of the application, when the current upgrading stage is a downloading stage, the display is controlled to display a first progress in a first comprehensive control; when the current upgrading stage is a first verification stage, controlling a display to display a second progress in the first comprehensive control; when the current upgrading stage is the installation stage, controlling a display to display a third progress in the first comprehensive control; and when the current upgrading stage is the second checking stage, controlling a display to display a third progress in the first comprehensive control. Therefore, the upgrading progress of the system upgrading can be uniformly and smoothly displayed, and the problem of percentage jump of the displaying progress is solved.
As shown in fig. 10, step 4034 may include steps 1001 to 1003 on the basis of the embodiment shown in fig. 7 described above.
In step 1001, in response to the current upgrade stage being the first verification stage, the display is controlled to display a fifth progress in the second integrated control.
The fifth progress is 1/3 of the first actual checking progress of the upgrade package.
Illustratively, the fifth progress may be in the range of 0 to (100/3)% progress in the second integrated control.
And step 1002, in response to the current upgrading stage being the installation stage, controlling a display to display a sixth progress in the second comprehensive control.
Wherein the sixth progress is 1/3 of the sum of the hundred percent of the first checking progress and the actual installation progress of the upgrade package.
Illustratively, the sixth progress may be a progress in the range of (100/3)% to (100 x 2/3)% in the second integrated control.
In step 1003, in response to the current upgrade stage being the second verification stage, the display is controlled to display a seventh progress in the second integrated control.
The seventh progress is 1/3 of the sum of the hundred percent of the first checking progress, the hundred percent of the installation progress and the second actual checking progress.
Illustratively, the seventh progress may be in the range of (100 x 2/3)% to 100% of the progress in the second integrated control.
In the embodiment of the application, when the current upgrading stage is the first verification stage, the display is controlled to display the fifth progress in the second comprehensive control; when the current upgrading stage is the installation stage, controlling a display to display a sixth progress in the second comprehensive control; and when the current upgrading stage is the second checking stage, controlling a display to display a seventh progress in the second comprehensive control. Therefore, the upgrading progress of the system upgrading can be uniformly and smoothly displayed, and the problem of percentage jump of the displaying progress is solved.
As shown in fig. 11, the system upgrade display method further includes steps 404 to 406 based on the embodiment shown in fig. 4.
Step 404, determining a second load parameter at a second moment in the process of running the system upgrade program in the foreground.
The second time instance may be, for example, any time instance different from the first time instance. In some examples, the second time may be any one of all times after the first time in all times in the running system upgrade program in the foreground. For example, the second time may be any one of a download stage, a first verification stage, an installation stage, and a second verification stage in a case where the system upgrade program is run in the foreground and the upgrade package is not downloaded. For another example, the second time may be any time of the first verification stage, the installation stage, and the second verification stage in the case where the system upgrade program is run in the foreground and the upgrade package is downloaded.
The second load parameter is, for example, a size parameter of the load of the display device at the second moment in time. In some examples, the second load parameter may include a second processor parameter and a second memory parameter. For example, the second load parameter may include a second processor usage and a second memory occupancy.
In an exemplary embodiment, during the running of the system upgrade program in the foreground, the processor and the memory may be read in real time to read the usage of the processor and the memory, respectively, so as to calculate the second load parameter of the display device at the second moment according to the read usage of the processor and the memory.
In response to the second load parameter being greater than or equal to the second load threshold, a first background upgrade prompt is generated to prompt the user to select whether to enter a background upgrade, step 405.
The second load threshold may be the same as the first load threshold or may be different from the first load threshold, which is not particularly limited in the present application. The embodiment of the application is exemplified by taking the second load threshold value as the same as the first load threshold value. In some embodiments, the second load threshold may correspond to a second occupancy threshold comprising a second usage threshold corresponding to a second processor usage and a second memory occupancy.
For example, the second load parameter may be determined to be greater than or equal to the second load threshold when the second memory occupancy is greater than or equal to the second occupancy threshold, or the second processor usage is greater than or equal to the second usage threshold.
Illustratively, the first background upgrade prompt may refer to dialog 1200 shown in FIG. 12 that includes a background execution 1201 (which may be an operational control to switch to a background upgrade, activation of which may switch a system upgrade to a background execution). As shown in fig. 12, the purpose and reason for issuing the dialog box 1200 may also be included in the dialog box 1200. If the current system is detected to be busy, the user is recommended to go to the background to execute the system upgrade.
For example, the first background upgrade prompt may be popped up on the control display to prompt the user to select whether to enter a background upgrade when the second load parameter is greater than or equal to the second load threshold.
And step 406, responding to a first background upgrading instruction input by a user, and continuing to operate a system upgrading program corresponding to the upgrading package in the background.
For example, after the user triggers the background execution 1201 as shown in fig. 12, the system upgrade may be switched from the foreground to the background, and the upgrade program corresponding to the upgrade package may be continuously run in the background.
In some embodiments, the display may be controlled to display the background execution 1201 as shown in fig. 12 all the time during the running of the system upgrade program in the foreground, so that the user may transfer the running system upgrade in the foreground to the background execution at any time. Referring to fig. 6A, 6B, and 6C, first stage control 601, second stage control 602, and third stage control 603 each include a background execution 6012 therein. 9A, 9B, 9C and 9D, a background execution 9011 is also included in the first progress control 901 of the download stage.
In the embodiment of the application, whether the user is prompted to perform the background upgrade is determined according to the second load parameter at the second moment in the process of operating the system upgrade at the foreground, and the system upgrade program is operated at the background under the condition that the user determines the background upgrade. Therefore, when the second load parameter display system is busy, the user can select to enter the background to upgrade the system, and the influence of the system upgrade on normal use of the user can be reduced.
As shown in fig. 13, the display method of the system upgrade further includes steps 407 to 409 based on the embodiment shown in fig. 4.
In step 407, in response to the first load parameter being greater than or equal to the first load threshold, a second background upgrade prompt is generated to prompt the user to select whether to enter a background upgrade.
For example, the second background upgrade prompt may be similar to the first background upgrade prompt and will not be described in detail herein.
For example, when the first memory occupancy is greater than or equal to the first occupancy threshold, or the first processor usage is greater than or equal to the first usage threshold, the two-load parameter is greater than or equal to the first load threshold, the second background upgrade prompt may be controlled to pop up on the display to prompt the user to select whether to enter the background upgrade.
And step 408, responding to a second background upgrading instruction input by the user, and running a system upgrading program corresponding to the upgrading package in the background.
For example, the controller may control the upgrade program corresponding to the upgrade package to be run in the background after the user triggers the background execution 1201 as shown in fig. 12.
Step 409, determining a third load parameter of the display device at a third time, and determining to run or suspend the system upgrade program in the background based on the third load parameter.
The third time instance may be, for example, any time instance different from the first time instance. In some examples, the third time may be any time within a system upgrade time determined after running the system upgrade program in the background. For example, the third time may be any time of a download stage, a first verification stage, an installation stage, and a second verification stage in the case where the system upgrade program is run in the background and the upgrade package is not downloaded. For another example, the third time may be any time of the first verification stage, the installation stage, and the second verification stage in the case where the system upgrade program is run in the background and the upgrade package is downloaded.
The third load parameter may, for example, refer to a magnitude parameter of the load of the display device at the third moment in time. In some examples, the third load parameter may include a third processor parameter and a third memory parameter. For example, the third load parameter may include a third processor utilization and a third memory occupancy.
For example, the processor and the memory may be read in real time by the processor reading instruction and the memory reading instruction, so that the third load parameter of the display device at the third moment is calculated according to the read processor and memory usage. And then determining to run or suspend the system upgrade program in the background according to the third load parameter.
In the embodiment of the application, the second background upgrading prompt is generated when the first load parameter is greater than or equal to the first load threshold. And when the user inputs a second background upgrading instruction, running a system upgrading program corresponding to the upgrading package in the background. And determining to run or suspend the system upgrade program in the background according to the third load parameter at the third moment. Therefore, when the first load parameter display system is busy, the system upgrading program can be selected to be switched into the background operation system, and the influence of system upgrading on normal use of a user can be reduced.
As shown in fig. 14, step 409 may include steps 4091 to 4094 based on the embodiment described above with respect to fig. 13.
In step 4091, in response to the third load parameter being greater than or equal to the third load threshold, it is determined to suspend the system upgrade procedure in the background.
The third load threshold may be the same as the first load threshold or may be different from the first load threshold, which is not particularly limited in the present application. The embodiment of the application is exemplified by the fact that the third load threshold value is the same as the first load threshold value. In some embodiments, the third load threshold may correspond to a third occupancy threshold comprising a third utilization threshold corresponding to a third processor utilization and a third memory occupancy.
For example, the third load parameter may be determined to be greater than or equal to the third load threshold when the third memory occupancy is greater than or equal to the third occupancy threshold, or the third processor usage is greater than or equal to the third usage threshold.
For example, the system upgrade procedure may be suspended when the third load parameter is greater than or equal to the third load threshold.
In step 4092, in response to the third load parameter being less than the third load threshold, it is determined to run the system upgrade program in the background.
For example, the third load parameter may be determined to be less than the third load threshold when the third memory occupancy is less than the third occupancy threshold, or the third processor usage is less than the third usage threshold.
For example, the running of the system upgrade program in the background may resume when the third load parameter is less than the third load threshold.
In the embodiment of the application, when the third load parameter is greater than or equal to the third load threshold, the system upgrading program is suspended in the background, and when the third load parameter is less than the third load threshold, the system upgrading program is operated in the background. Therefore, when the background operation system is updated, the normal use of the display equipment by the user is not influenced.
In step 4093, in response to the third load parameter being less than the third load threshold, a third background upgrade prompt is generated to prompt the user to select whether to enter a foreground upgrade.
For example, the third background upgrade prompt may be a dialog box for prompting the user to select to enter a foreground upgrade. In some examples, a background execution control similar to background execution 1201 shown in fig. 12 may be included in the third foreground upgrade prompt, as well as showing the reason and purpose of popping up the dialog box. For example, the third foreground upgrade prompt may include "detect that the current system supports to go to the foreground to perform the system upgrade".
For example, when the third load parameter is less than the third load threshold, a third background upgrade prompt may be controlled to pop up on the display to prompt the user to select whether to enter a foreground upgrade.
Step 4094, in response to the foreground upgrade instruction input by the user, continuing to run the system upgrade program corresponding to the upgrade package in the foreground.
When the user triggers the foreground execution control, the system upgrade program can be switched from the background to the foreground for continuous execution, and the display is controlled to display the upgrade progress corresponding to the current upgrade stage in the target progress control.
In the embodiment of the application, the third background upgrading prompt is generated when the third load parameter is smaller than the third load threshold value. In this manner, the user may be provided with an opportunity to view the progress of the system upgrade in real-time. And under the condition that the user selects to check the system upgrading progress, continuously running the system upgrading program corresponding to the upgrading package at the foreground. Therefore, a user can conveniently check the real-time progress of the system upgrade on the display.
In the embodiment of the application, the display method of the system upgrade can be executed by a controller in the display device.
The foregoing description of the solution provided by the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the electronic device according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Fig. 15 is a schematic diagram of a composition structure of a display device for system upgrade according to an exemplary embodiment of the present application. The preprocessing device of the application program can be applied to the display equipment. As shown in fig. 15, the system-upgraded display device 150 may include a first determination module 151, an operation module 152, and a control module 153.
The first determining module 151 is configured to determine a first load parameter of the display device at a first moment in response to a system upgrade instruction input by a user.
An operation module 152 is configured to operate the system upgrade program in the foreground in response to the first load parameter being less than the first load threshold.
The control module 153 is configured to control the display to display an upgrade progress corresponding to the upgrade stage in the target progress control according to the size of the upgrade package corresponding to the system upgrade program in the upgrade process.
In a possible implementation manner, the control module 153 is specifically configured to, when the size of the upgrade package is greater than or equal to the capacity threshold and the upgrade package is not downloaded, control the display to sequentially display, in an upgrade process, an upgrade progress of a corresponding stage in a first stage control corresponding to the download stage, a second stage control corresponding to the first verification stage, and a third stage control corresponding to the installation stage and the second verification stage, respectively; when the size of the upgrade package is larger than or equal to the capacity threshold value and the upgrade package is downloaded, controlling a display to sequentially display the upgrade progress of the corresponding stage in the second stage control and the third stage control in the upgrade process; the target progress control comprises at least one of a first stage control, a second stage control and a third stage control.
In a possible implementation manner, the control module 153 is specifically configured to, when the size of the upgrade package is smaller than the capacity threshold and the upgrade package is not downloaded, control the display to sequentially display, in the upgrade process, an upgrade progress corresponding to the download stage, the first verification stage, the installation stage and the second verification stage in the first comprehensive control; when the size of the upgrade package is smaller than the capacity threshold and the upgrade package is downloaded, controlling a display to sequentially display upgrade progress corresponding to a first verification stage, an installation stage and a second verification stage in a second comprehensive control in the upgrade process; the target progress control comprises a first comprehensive control or a second comprehensive control.
In a possible implementation manner, in a case that the upgrade package is not downloaded, the control module 153 is specifically configured to control the display to display the first progress in the first integrated control in response to the current upgrade stage being the download stage; the first progress is 1/4 of the actual downloading progress of the upgrade package; responding to the current upgrading stage as a first checking stage, and controlling a display to display a second progress in a first comprehensive control; the second progress is 1/4 of the sum of one hundred percent of downloading progress and the first actual checking progress of the upgrade package; responding to the current upgrading stage as an installation stage, and controlling a display to display a third progress in the first comprehensive control; the third progress is 1/4 of the sum of one hundred percent of downloading progress, one hundred percent of first checking progress and actual installation progress of the upgrade package; responding to the current upgrading stage as a second checking stage, and controlling a display to display a fourth progress in the first comprehensive control; the fourth progress is 1/4 of the sum of one hundred percent of downloading progress, one hundred percent of first checking progress, one hundred percent of installing progress and second actual checking progress.
In a possible implementation manner, in a case that the upgrade package is downloaded, the control module 153 is specifically configured to control the display to display a fifth progress in the second integrated control in response to the current upgrade stage being the first verification stage; the fifth progress is 1/3 of the first actual checking progress of the upgrade package; responding to the current upgrading stage as an installation stage, and controlling a display to display a sixth progress in the second comprehensive control; the sixth progress is 1/3 of the sum of the hundred percent of the first checking progress and the actual installation progress of the upgrade package; responding to the current upgrading stage as a second checking stage, and controlling a display to display a seventh progress in a second comprehensive control; the seventh schedule is 1/3 of the sum of one hundred percent of the first check schedule, one hundred percent of the installation schedule and the second actual check schedule.
In one possible implementation, the first load parameter includes a first memory occupancy and/or a first processor utilization; the system-upgraded display device 150 further includes: the second determining module 154 is configured to determine that the first load parameter is less than the first load threshold when the first memory occupancy is less than the first occupancy threshold, or the first processor usage is less than the first usage threshold.
In one possible implementation, the system-upgraded display device 150 further includes: a first selecting module 155, configured to determine a second load parameter at a second moment in a process of running a system upgrade program in the foreground; generating a first background upgrade prompt to prompt a user to select whether to enter a background upgrade in response to the second load parameter being greater than or equal to a second load threshold; and responding to a first background upgrading instruction input by a user, and continuing to operate a system upgrading program corresponding to the upgrading package in the background.
In one possible implementation, the system-upgraded display device 150 further includes: a second selection module 156, configured to generate a second background upgrade prompt to prompt a user to select whether to enter a background upgrade in response to the first load parameter being greater than or equal to the first load threshold; responding to a second background upgrading instruction input by a user, and running a system upgrading program corresponding to the upgrading package in the background; and determining a third load parameter of the display device at a third moment, and determining to run or pause the system upgrade program in the background based on the third load parameter.
In one possible implementation, the second selection module 156 is specifically configured to determine to suspend the system upgrade procedure in the background in response to the third load parameter being greater than or equal to the third load threshold; in response to the third load parameter being less than the third load threshold, it is determined to run the system upgrade program in the background.
In one possible implementation, the second selecting module 156 is specifically further configured to generate a third background upgrade prompt to prompt the user to select whether to enter the foreground upgrade in response to the third load parameter being less than the third load threshold; and responding to a foreground upgrading instruction input by a user, and continuing to operate a system upgrading program corresponding to the upgrading package in the foreground.
In one possible implementation, the first load parameter includes a first memory occupancy and/or a first processor utilization; the system-upgraded display device 150 further includes: the third determining module 157 is configured to determine that the first load parameter is greater than or equal to the first load threshold when the first memory occupancy is greater than or equal to the first occupancy threshold, or the first processor usage is greater than or equal to the first usage threshold.
The specific manner in which the respective modules perform the operations in the preprocessing apparatus applied to the application program of the electronic device in the above embodiment has been described in detail in the foregoing embodiment of the display method of the system upgrade, and will not be described in detail here.
It should be understood that the division of units or modules (hereinafter referred to as units) in the above apparatus is merely a division of logic functions, and may be fully or partially integrated into one physical entity or may be physically separated. And the units in the device can be all realized in the form of software calls through the processing element; or can be realized in hardware; it is also possible that part of the units are implemented in the form of software, which is called by the processing element, and part of the units are implemented in the form of hardware.
For example, each unit may be a processing element that is set up separately, may be implemented as integrated in a certain chip of the apparatus, or may be stored in a memory in the form of a program, and the functions of the unit may be called and executed by a certain processing element of the apparatus. Furthermore, all or part of these units may be integrated together or may be implemented independently. The processing element herein may also be referred to as a processor and may be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each unit above may be implemented by an integrated logic circuit of hardware in a processor element or in the form of software called by a processing element.
In one example, the units in the above apparatus may be one or more integrated circuits configured to implement the above method, for example: one or more Application SPECIFIC INTEGRATED Circuits (ASICs), or one or more digital signal processors (DIGITAL SINGNAL processors, DSPs), or one or more Field-Programmable gate arrays (Field-Programmable GATE ARRAY, FPGA), or a combination of at least two of these integrated Circuit forms.
For another example, when the units in the apparatus may be implemented in the form of a scheduler of processing elements, the processing elements may be general-purpose processors, such as CPUs or other processors that may invoke programs. For another example, the units may be integrated together and implemented in the form of a System On Chip (SOC).
In one implementation, the above means for implementing each corresponding step in the above method may be implemented in the form of a processing element scheduler. For example, the apparatus may include a processing element and a storage element, the processing element invoking a program stored in the storage element to perform the display method of the system upgrade of the above method embodiment. The memory element may be a memory element on the same chip as the processing element, i.e. an on-chip memory element.
In another implementation, the program for performing the above method may be on a memory element on a different chip than the processing element, i.e. an off-chip memory element. At this time, the processing element calls or loads a program from the off-chip storage element on the on-chip storage element to call and execute the display method of the system upgrade of the above method embodiment.
The embodiment of the invention provides a computer readable storage medium, wherein the storage medium stores at least one executable instruction, and the executable instruction realizes the display method of the system upgrade in any method embodiment when being executed by a display device.
In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, a RAM, a ROM, an erasable programmable read-Only Memory (EPROM) or flash Memory), an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules, that is, the internal structure of the apparatus (e.g., the first control device, the regional controller) is divided into different functional modules, so as to perform all or part of the functions described above. The specific working processes of the above-described system, apparatus (e.g., first control device, area controller) and unit may refer to the corresponding processes in the foregoing method embodiments, which are not described herein again.
In several embodiments provided herein, it should be understood that the disclosed systems, apparatuses (e.g., first control device, zone controller) and methods may be implemented in other ways. For example, the above-described apparatus (e.g., first control device, regional controller) embodiments are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a display apparatus to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic or optical disk, and the like.
The foregoing is merely illustrative embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present application, and the application should be covered. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (14)

1. A display device, characterized by comprising:
a display configured to display a user interface;
A communicator configured to receive a system upgrade instruction input by a user;
A controller coupled with the display and the communicator, respectively, and configured to:
Determining a first load parameter of the display equipment at a first moment in response to the system upgrading instruction;
in response to the first load parameter being less than a first load threshold, running a system upgrade program in the foreground;
and controlling the display to display the upgrading progress corresponding to the upgrading stage in a target progress control in the upgrading process according to the size of the upgrading packet corresponding to the system upgrading program.
2. The display device of claim 1, wherein the controller is specifically configured to:
When the size of the upgrade package is larger than or equal to a capacity threshold and the upgrade package is not downloaded, controlling the display to display the upgrade progress of the corresponding stage in the first stage control corresponding to the downloading stage, the second stage control corresponding to the first checking stage and the third stage control corresponding to the installation stage and the second checking stage in sequence in the upgrade process;
when the size of the upgrade package is larger than or equal to the capacity threshold value and the upgrade package is downloaded, controlling the display to sequentially display the upgrade progress of the corresponding stage in the second stage control and the third stage control in the upgrade process;
Wherein the target progress control comprises at least one of the first stage control, the second stage control and the third stage control.
3. The display device of claim 1, wherein the controller is specifically configured to:
When the size of the upgrade package is smaller than a capacity threshold and the upgrade package is not downloaded, controlling the display to sequentially display the upgrade progress corresponding to the downloading stage, the first verification stage, the installation stage and the second verification stage in a first comprehensive control in the upgrade process;
When the size of the upgrade package is smaller than the capacity threshold and the upgrade package is downloaded, controlling the display to sequentially display upgrade progress corresponding to the first verification stage, the installation stage and the second verification stage in a second comprehensive control in the upgrade process;
The target progress control comprises a first comprehensive control or a second comprehensive control.
4. A display device according to claim 3, wherein in the event that the upgrade package is not downloaded, the controller is specifically configured to:
responding to the current upgrading stage as the downloading stage, and controlling the display to display a first progress in the first comprehensive control; the first progress is 1/4 of the actual downloading progress of the upgrade package;
Responding to the current upgrading stage as the first checking stage, and controlling the display to display a second progress in the first comprehensive control; the second progress is 1/4 of the sum of one hundred percent of downloading progress and the first actual verification progress of the upgrade package;
responding to the current upgrading stage as the installation stage, and controlling the display to display a third progress in the first comprehensive control; the third progress is 1/4 of the sum of one hundred percent of downloading progress, one hundred percent of first checking progress and the actual installation progress of the upgrade package;
Responding to the current upgrade stage as the second check stage, and controlling the display to display a fourth progress in the first comprehensive control; the fourth progress is 1/4 of the sum of one hundred percent of downloading progress, one hundred percent of first checking progress, one hundred percent of installing progress and second actual checking progress.
5. A display device according to claim 3, wherein, in case the upgrade package has been downloaded, the controller is specifically configured to:
responding to the current upgrading stage as the first checking stage, and controlling the display to display a fifth progress in the second comprehensive control; the fifth progress is 1/3 of the first actual verification progress of the upgrade package;
responding to the current upgrading stage as the installation stage, and controlling the display to display a sixth progress in the second comprehensive control; the sixth progress is 1/3 of the sum of the hundred percent of first checking progress and the actual installation progress of the upgrade package;
Controlling the display to display a seventh progress in the second integrated control in response to the current upgrade stage being the second verification stage; the seventh progress is 1/3 of the sum of one hundred percent of the first checking progress, one hundred percent of the installation progress and the second actual checking progress.
6. The display device of any one of claims 1 to 5, wherein the first load parameter comprises a first memory occupancy and/or a first processor usage; the controller is further configured to:
and determining that the first load parameter is smaller than the first load threshold when the first memory occupancy is smaller than the first occupancy threshold or the first processor usage is smaller than the first usage threshold.
7. The display device of any one of claims 1-5, wherein the controller is further configured to:
Determining a second load parameter at a second moment in the process of operating the system upgrading program by the foreground;
generating a first background upgrade prompt to prompt a user to select whether to enter a background upgrade in response to the second load parameter being greater than or equal to a second load threshold;
and responding to a first background upgrading instruction input by a user, and continuing to operate a system upgrading program corresponding to the upgrading package in the background.
8. The display device of any one of claims 1-5, wherein the controller is further configured to:
Generating a second background upgrade prompt to prompt a user to select whether to enter a background upgrade in response to the first load parameter being greater than or equal to the first load threshold;
responding to a second background upgrading instruction input by a user, and running a system upgrading program corresponding to the upgrading package in the background;
And determining a third load parameter of the display equipment at a third moment, and determining to run or pause the system upgrading program in the background based on the third load parameter.
9. The display device of claim 8, wherein the controller is specifically configured to:
responsive to the third load parameter being greater than or equal to a third load threshold, determining to suspend the system upgrade procedure in the background;
and in response to the third load parameter being less than the third load threshold, determining to run the system upgrade program in the background.
10. The display device of claim 8, wherein the controller is further configured to:
generating a third background upgrade prompt to prompt a user to select whether to enter a foreground upgrade in response to the third load parameter being less than the third load threshold;
And responding to a foreground upgrading instruction input by a user, and continuing to operate a system upgrading program corresponding to the upgrading package in the foreground.
11. The display device of claim 8, wherein the first load parameter comprises a first memory occupancy and/or a first processor usage; the controller is further configured to:
and determining that the first load parameter is greater than or equal to the first load threshold when the first memory occupancy is greater than or equal to the first occupancy threshold or the first processor usage is greater than or equal to the first usage threshold.
12. A display method of a system upgrade, applied to a display device, the method comprising:
Responding to a system upgrading instruction input by a user, and determining a first load parameter of the display equipment at a first moment;
in response to the first load parameter being less than a first load threshold, running a system upgrade program in the foreground;
and controlling the display to display the upgrading progress corresponding to the upgrading stage in a target progress control in the upgrading process according to the size of the upgrading packet corresponding to the system upgrading program.
13. A system-upgraded display device, the device comprising:
the first determining module is used for responding to a system upgrading instruction input by a user and determining a first load parameter of the display equipment at a first moment;
the running module is used for responding to the fact that the first load parameter is smaller than a first load threshold value and running a system upgrading program in the foreground;
and the control module is used for controlling the display to display the upgrading progress corresponding to the upgrading stage in the target progress control in the upgrading process according to the size of the upgrading packet corresponding to the system upgrading program.
14. A computer readable storage medium having stored therein at least one executable instruction that when executed by a display device implements the system upgrade display method of claim 12.
CN202311783226.9A 2023-12-22 2023-12-22 Display device, system upgrade display method, device and storage medium Pending CN117931255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311783226.9A CN117931255A (en) 2023-12-22 2023-12-22 Display device, system upgrade display method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311783226.9A CN117931255A (en) 2023-12-22 2023-12-22 Display device, system upgrade display method, device and storage medium

Publications (1)

Publication Number Publication Date
CN117931255A true CN117931255A (en) 2024-04-26

Family

ID=90762010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311783226.9A Pending CN117931255A (en) 2023-12-22 2023-12-22 Display device, system upgrade display method, device and storage medium

Country Status (1)

Country Link
CN (1) CN117931255A (en)

Similar Documents

Publication Publication Date Title
WO2021135068A1 (en) Selection control method for sound output device, and display device
CN112214189B (en) Image display method and display device
US20200364023A1 (en) Processing method and handheld device
KR20160035396A (en) Computer system
CN116612722A (en) Display equipment and backlight brightness adjusting method
CN112118400A (en) Display method of image on display device and display device
CN113593279B (en) Vehicle, interaction parameter adjusting method thereof and mobile terminal
CN112764627B (en) Upgrade package installation progress display method and display device
CN113064645B (en) Startup interface control method and display device
US11112880B1 (en) Selectively controlling a monitor's on-screen display with a keyboard or mouse
CN112289271B (en) Display device and dimming mode switching method
CN117931255A (en) Display device, system upgrade display method, device and storage medium
CN112911359B (en) Resource display method, display equipment and remote controller
CN115421846A (en) Cross-device control method, control device, electronic device and readable storage medium
CN112667285B (en) Application upgrading method, display device and server
CN113542878B (en) Wake-up method based on face recognition and gesture detection and display device
CN113971049A (en) Background service management method and display device
CN112637683A (en) Display equipment system optimization method and display equipment
CN114286320A (en) Display device, mobile terminal and Bluetooth connection method
CN115022690B (en) Code value switching method and display device
CN111913755B (en) Application scanning method and display device
CN114416234B (en) Page switching method and device, computer equipment and storage medium
WO2023138024A1 (en) Display device, split-screen display method and split-screen application switching method
CN110971938B (en) Data transmission method, device and system
CN113641423B (en) Display device and system starting method

Legal Events

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