CN114610349A - Display device and upgrading method - Google Patents
Display device and upgrading method Download PDFInfo
- Publication number
- CN114610349A CN114610349A CN202210210600.5A CN202210210600A CN114610349A CN 114610349 A CN114610349 A CN 114610349A CN 202210210600 A CN202210210600 A CN 202210210600A CN 114610349 A CN114610349 A CN 114610349A
- Authority
- CN
- China
- Prior art keywords
- display
- user
- upgrade
- power
- state
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
- H04N21/4586—Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The application discloses a display device and an upgrading method, wherein the method comprises the steps that after the display device is started, if an upgrading packet is detected to exist, an upgrading process is controlled to hold a wake-up lock, and the wake-up lock is used for controlling the display device to enter a light sleep state; if the attribute flag bit of the temporary power-off memoryless system is not provided with any state information, setting the attribute flag bit of the temporary power-off memoryless system to be in a new version discovery state; and if the mark value of the attribute mark bit of the permanent power-off memory system is greater than a first preset value and not greater than a second preset value, controlling the display to display a first system upgrade reminding page. The upgrading package is downloaded, verified and installed in a light sleep state, normal use of a user cannot be influenced, and a silent restart function is used for switching a new version to really achieve zero interference; meanwhile, aiming at the energy-saving use habit of the user, the user is guided to carry out the zero-interference upgrading process of the light sleep state, and the user experience is improved.
Description
Technical Field
The application relates to the technical field of intelligent display equipment, in particular to display equipment and an upgrading method.
Background
In the related art, the latest android display device platform already adopts an a/B seamless upgrade architecture, and the definition of seamless upgrade focuses on "seamless" two-character, that is, in the process of normally using the display device by a user, an update _ engine process alone in the background completes upgrade package installation (that is, erasing and writing of a read-only partition, which is equivalent to understanding as system upgrade); the A/B seamless upgrading architecture consists of the update _ engine and two independent systems of Slot A and Slot B. Wherein, the Slot refers to a peripheral element expansion Slot. Assuming that the current system is running in the Slot A, when the system is upgraded, the Slot B system is updated based on the running Slot A system, and after the installation of the Slot B system upgrade package is completed, the system is automatically switched to the Slot B system only by once direct current or alternating current restart, so that the latest software can be enjoyed.
However, after the mobile terminal is started, the OTA upgrading process interacts with a background server, an upgrading packet is detected, the upgrading packet is downloaded, the upgrading packet is verified, and the upgrading packet is installed. After the upgrade package is installed, the user is often forced to select a "restart" button to enable the new version to take effect, so that the user is interrupted in watching television programs, and user experience is influenced.
Disclosure of Invention
The application provides a display device and an upgrading method, downloading, verifying and installing an OTA upgrading packet are carried out in a light sleep state, normal use of a user cannot be influenced, and a silent restart function carries out new version switching to really achieve zero interference; meanwhile, aiming at the energy-saving use habit of the user, the user is guided to carry out the standby zero-interference upgrading process, and the user experience is improved.
A first aspect of an embodiment of the present application provides a display device, including:
a display;
a controller configured to:
after the display equipment is started, if the upgrade package is detected to exist, controlling an upgrade process to hold a wake-up lock, wherein the wake-up lock is used for controlling the display equipment to enter a light sleep state;
if the attribute flag bit of the temporary power-off memoryless system is not provided with any state information, setting the attribute flag bit of the temporary power-off memoryless system to be in a new version discovery state;
and if the marking value of the attribute marking bit of the permanent power-off memory system is greater than a first preset value and not greater than a second preset value, controlling the display to display a first system upgrade reminding page, wherein the marking value is used for recording the times of direct current standby and alternating current power-off of a user, and the first system upgrade reminding page is used for reminding the user that an upgrade task currently exists and the power supply or the alternating current is not required to be turned off.
With reference to the first aspect, in a first possible implementation manner, the controller is configured to:
receiving an instruction for closing the first system upgrading reminding page input by a user, and canceling the display of the first system upgrading reminding page;
and receiving a power-off instruction input by a user, and controlling the display to display a second system upgrade reminding page, wherein the second system upgrade reminding page is used for reminding the user that an upgrade task currently exists and needs to be executed in a standby state.
With reference to the first implementable manner of the first aspect, in a second implementable manner, the controller is configured to:
and receiving a standby instruction input by a user or not receiving any instruction input by the user within a first preset time length, and controlling the display equipment to enter a light sleep state.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, after the step of controlling the display device to enter the light sleep state, the controller is configured to:
when a starting-up instruction is not received within a second preset time, reading the state information of the attribute mark bit of the temporary power-off memoryless system, executing upgrading operation based on the state information, and simultaneously monitoring the power state of the display equipment in real time; wherein the temporary power-off non-memory system attribute flag bit is used for determining the upgrade progress state of the display device.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner, the controller is configured to:
if receiving a display screen starting broadcast, immediately stopping the upgrading operation, and recording the current upgrading progress state to the attribute mark bit of the temporary power-off non-memory system;
if a display screen closing broadcast is received, controlling the display equipment to enter a light sleep state;
and when the starting-up instruction is not received within a second preset time, reading the state information of the attribute flag bit of the temporary power-off memoryless system, and continuously executing upgrading operation according to the state information.
With reference to the fourth implementable manner of the first aspect, in a fifth implementable manner, the controller is configured to:
after the system upgrading is detected to be completed, executing silent restarting operation;
obtaining a current version number after restarting;
and if the current version number is a new version number, setting the mark value of the attribute mark bit of the permanent power-off memory system to be 0, and controlling the display equipment to enter a light sleep state.
With reference to the first aspect, in a sixth implementable manner, the controller is configured to:
if the mark value of the permanent power-off memory system attribute mark bit is not larger than the preset value, performing plus 1 operation on the mark value of the permanent power-off memory system attribute mark bit;
and if the mark value of the attribute mark bit of the permanent power-off memory system is greater than the second preset value, executing upgrading operation.
A second aspect of the present embodiment provides an upgrading method, including:
after the display equipment is started, if the upgrade package is detected to exist, controlling an upgrade process to hold a wake-up lock, wherein the wake-up lock is used for controlling the display equipment to enter a light sleep state;
if the attribute flag bit of the temporary power-off memoryless system is not provided with any state information, setting the attribute flag bit of the temporary power-off memoryless system to be in a new version discovery state;
and if the mark value of the attribute mark bit of the permanent power-off memory system is larger than a preset value, controlling the display to display a first system upgrade reminding page, wherein the mark value is used for recording the times of closing the power supply or the alternating current by a user, and the first system upgrade reminding page is used for reminding the user that the upgrade task currently exists and the power supply or the alternating current is not closed.
With reference to the second aspect, in a first possible implementation manner, the method further includes:
and receiving an instruction for closing the first system upgrade reminding page input by a user, and canceling the display of the first system upgrade reminding page.
And receiving a power-off instruction input by a user, and controlling the display to display a second system upgrade reminding page, wherein the second system upgrade reminding page is used for reminding the user that an upgrade task currently exists and needs to be executed in a standby state.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the method further includes:
and receiving a standby instruction input by a user or receiving no instruction input by the user within a first preset time length, and controlling the display equipment to enter a light sleep state.
The upgrading method provided by the embodiment of the application is applicable to display equipment, the display equipment at least comprises a controller and a display, the controller is configured to control an upgrading process to hold a wake-up lock if an upgrading packet is detected to exist after the display equipment is started, and the wake-up lock is used for controlling the display equipment to enter a light sleep state; if the attribute flag bit of the temporary power-off memoryless system is not provided with any state information, setting the attribute flag bit of the temporary power-off memoryless system to be in a new version discovery state; and if the marking value of the attribute marking bit of the permanent power-off memory system is greater than a first preset value and not greater than a second preset value, controlling the display to display a first system upgrade reminding page, wherein the marking value is used for recording the times of direct current standby and alternating current power-off of a user, and the first system upgrade reminding page is used for reminding the user that an upgrade task currently exists and the power supply or the alternating current is not required to be turned off. The OTA upgrade package is downloaded, verified and installed in a light sleep state, so that the normal use of a user is not influenced, and the silent restart function is used for switching new versions to really achieve zero interference; meanwhile, aiming at the energy-saving use habit of the user, the user is guided to carry out the standby zero-interference upgrading process, and the user experience is improved.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 illustrates an operational scenario between a display device and a control apparatus according to some embodiments;
fig. 2 illustrates a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments;
FIG. 5 is a flow chart of user interaction with a controller provided by a possible embodiment;
FIG. 6 is a schematic diagram of power state switching of a display device according to a possible embodiment;
FIG. 7 is a schematic diagram of a first system upgrade reminder page provided in an exemplary embodiment;
FIG. 8 is a schematic diagram of a second system upgrade alert page provided in a possible embodiment;
FIG. 9 is a schematic diagram of an OTA upgrade architecture provided by a possible embodiment;
FIG. 10 is a flow chart of a method for upgrading in a light sleep state provided by a possible embodiment;
FIG. 11 is a flowchart of an upgrade at light sleep according to one possible embodiment.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The display device provided by the embodiment of the present application may have various implementation forms, and for example, the display device may be a television, a smart television, a laser projection device, a display (monitor), an electronic whiteboard (electronic whiteboard), an electronic desktop (electronic table), and the like. Fig. 1 and 2 are specific embodiments of a display device of the present application.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 1, a user may operate the display apparatus 200 through the smart device 300 or the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 in a wireless or wired manner. The user may input a user instruction through a key on a remote controller, voice input, control panel input, etc., to control the display apparatus 200.
In some embodiments, the smart device 300 (e.g., mobile terminal, tablet, computer, laptop, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device.
In some embodiments, the display device may not receive instructions using the smart device or control device described above, but rather receive user control through touch or gestures, or the like.
In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received by a module configured inside the display device 200 to obtain a voice command, or may be received by a voice control device provided outside the display device 200.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 according to an exemplary embodiment. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.
As shown in fig. 3, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.
In some embodiments the controller comprises a processor, a video processor, an audio processor, a graphics processor, a RAM, a 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, performing display of video content, image content, and a menu manipulation interface, and a user manipulation UI interface.
The display 260 may be a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
The communicator 220 is a component for communicating with an external device or a server according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the external control apparatus 100 or the server 400 through the communicator 220.
A user interface for receiving control signals for controlling the apparatus 100 (e.g., an infrared remote control, etc.).
The detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds.
The external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
The tuner demodulator 210 receives a broadcast television signal through a wired or wireless reception manner, and demodulates an audio/video signal, such as an EPG data signal, from a plurality of wireless or wired broadcast television signals.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
The controller 250 controls the operation of the display device and responds to the user's operation through various software control programs stored in the memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the controller includes at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphic Processing Unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory), a first interface to an nth interface for input/output, a communication Bus (Bus), and the like.
A user may input a user command on a 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). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
A "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include 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.
Referring to fig. 4, in some embodiments, the system is divided into four layers, which are, from top to bottom, an Application (Applications) layer (referred to as an "Application layer"), an Application Framework (Application Framework) layer (referred to as a "Framework layer"), an Android runtime (Android runtime) layer and a system library layer (referred to as a "system runtime library layer"), and a kernel layer.
In some embodiments, at least one application program runs in the application program layer, and the application programs may be windows (windows) programs carried by an operating system, system setting programs, clock programs or the like; or an application developed by a third party developer. In particular implementations, the application packages in the application layer are not limited to the above examples.
The framework layer provides an Application Programming Interface (API) and a programming framework for the application program. The application framework layer includes a number of predefined functions. The application framework layer acts as a processing center that decides to let the applications in the application layer act. The application program can access the resources in the system and obtain the services of the system in execution through the API interface.
As shown in fig. 4, in the embodiment of the present application, the application framework layer includes a manager (Managers), a Content Provider (Content Provider), and the like, where the manager includes at least one of the following modules: an Activity Manager (Activity Manager) is used for interacting with all activities running in the system; the Location Manager (Location Manager) is used for providing the system service or application with the access of the system Location service; a Package Manager (Package Manager) for retrieving various information related to an application Package currently installed on the device; a Notification Manager (Notification Manager) for controlling display and clearing of Notification messages; a Window Manager (Window Manager) is used to manage the icons, windows, toolbars, wallpapers, and desktop components on a user interface.
In some embodiments, the activity manager is used to manage the lifecycle of the various applications as well as general navigational fallback functions, such as controlling exit, opening, fallback, etc. of the applications. The window manager is used for managing all window programs, such as obtaining the size of a display screen, judging whether a status bar exists, locking the screen, intercepting the screen, controlling the change of the display window (for example, reducing the display window, displaying a shake, displaying a distortion deformation, and the like), and the like.
In some embodiments, the system runtime layer provides support for the upper layer, i.e., the framework layer, and when the framework layer is used, the android operating system runs the C/C + + library included in the system runtime layer to implement the functions to be implemented by the framework layer.
In some embodiments, the kernel layer is a layer between hardware and software. As shown in fig. 4, the core layer includes at least one of the following drivers: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
In the related art, the latest android display device platform adopts an A/B seamless upgrading architecture; the A/B seamless upgrading architecture consists of the update _ engine and two independent systems of Slot A and Slot B. Assuming that the current system is running in the Slot A, when the system is upgraded, the Slot B system is updated based on the running Slot A system, and after the installation of the Slot B system upgrade package is completed, the system is automatically switched to the Slot B system only by once direct current or alternating current restart, so that the latest software can be enjoyed. After the mobile terminal is started, an OTA upgrading process is started, the OTA upgrading process interacts with a background server, an upgrading packet is detected, the upgrading packet is downloaded, the upgrading packet is verified, and the upgrading packet is installed. After the upgrade package is installed, the user is often forced to select a 'restart' button to enable the new version to take effect, so that the user is interrupted in watching television programs, and the user experience is influenced.
In order to solve the above technical problems, embodiments of the present application provide a display device, and the structure and functions of each portion of the display device may refer to the above embodiments. In addition, on the basis of the display device shown in the above embodiments, the present embodiment further improves some functions of the display device. As shown in fig. 5, fig. 5 is a flowchart of the interaction between the user and the display device provided in the feasible embodiment.
The user performs step S501: inputting a starting-up instruction;
in some embodiments, as shown in fig. 6, fig. 6 is a schematic diagram of power state switching of a display device according to a possible embodiment. In fig. 6, the Power states of the display device include a normal operation state (on), a light sleep state (Active Standby), a Standby state (Suspend to RAM), a direct current Standby state (Power Off), and an alternating current Off state (AC Off). The system can be switched to a normal working state in a light sleep state, a standby state, a direct current standby state and an alternating current power-off state. Switching to a light sleep state may be done when there is a timed task in the standby state, for example: the user sets to perform the upgrade operation at two points in the morning, and the user enters a standby state after using the display device. When two points in the morning, the display device is switched from a standby state to a light sleep state, and upgrading operation is executed. The light sleep state may be switched to a standby state upon completion of the background task. For example, when the display apparatus performs the upgrade operation two points in the morning, the display apparatus is switched from the light sleep state to the standby state. The switch to the normal operation state can be based on the command of the application program in the light sleep state and the standby state.
The Active Standby also belongs to a sleep mode, and belongs to shallow sleep. In this mode, the CPU is not powered off, and can still receive and process certain events, and depending on the particular device, the CPU can return to the normal operating state faster than the standby state, but also consumes more power. For example: when the user enters sleep in a light sleep mode, the system can be awakened by clicking a keyboard subsequently; when the user enters sleep in a light sleep mode and sends a voice instruction, the display device can still respond to the user instruction and execute corresponding operation. Suspend to ram, commonly called standby and Sleep (Sleep), and enter this state, the main operations of the system are as follows: (1) storing data such as the current running state of the system in a memory, and supplying power to the RAM at the moment so as to ensure that the system is subsequently and quickly restored to a working state; (2) freezing a user-state process and a kernel-state task (a process entering a kernel state or a kernel-own task); (3) turning off peripheral equipment such as a display screen and a mouse, and interrupting and awakening peripheral equipment not to be turned off such as a power key; (4) and stopping the CPU. A direct current standby state (Power Off) which is a state in which the system is turned Off or the Power is turned Off; the AC Off state (AC Off) is a state in which an AC power supply is not turned on or Off, and is generally a state in which an AC power supply is cut Off or a power plug is unplugged.
In some embodiments, the user-entered power-on command is intended to cause the display device to enter a normal operating state. As shown in fig. 6, when the display device is in a light sleep state or a standby state, the user can input a power-on command by pressing a power key of the control device; a user can input a starting-up instruction by pressing a power key on the display device; the user can also input a power-on instruction by clicking a power key on an application program which is installed on a mobile device (such as a mobile phone and a tablet computer) matched with the display device and can control the functions of the display device. When the display device is in a light sleep state, the user can input a power-on instruction by speaking the voice information of 'turning on the display device'. When the display equipment is in a direct current standby state, a user can input a starting instruction by pressing a power key of the control device; the user may enter a power-on command by pressing a power key on the display device. When the display device is in an alternating current power-off state (the power plug is pulled out), a user can input a power-on instruction by inserting the power plug.
In response to the power-on command input by the user, the controller executes step S502: the display device is started.
After the display apparatus is started, the controller performs step S503: detecting whether an upgrade package exists;
in some embodiments, the OTA upgrade is divided into a display device side and a server side, and the server side is used to configure the display device upgrade package. After the display equipment is started, the OTA upgrading process actively interacts with the server side, and whether an upgrading package suitable for upgrading the display equipment exists or not is detected.
In some embodiments, the step of detecting whether there is an upgrade package suitable for the upgrade of the display device includes:
acquiring the version number/version code of the current display equipment;
acquiring the version number/version code of the display equipment at the server side;
comparing the version number or version code of the current display equipment with the version number/version code of the display equipment acquired from a server side;
if the version number or the version code of the current display equipment is the same as the version number/the version code of the display equipment acquired from the server, an upgrade package suitable for upgrading the display equipment does not exist;
if the version number or version code of the current display device is different from the version number/version code of the display device obtained from the server side, an upgrade package suitable for upgrading the display device exists.
If there is no upgrade package suitable for the upgrade of the display device, no operation is performed.
If there is an upgrade package suitable for the upgrade of the display device, the controller performs step S504: and controlling the OTA upgrading process to hold the wake-up lock.
In some embodiments, wake lock is a lock for display device power management that will control the display device to enter a light sleep (Active Standby) state after holding; and after the upgrading process holds the awakening lock, OTA upgrading operation can be carried out after the display equipment enters a light sleep state.
After the control upgrading process holds the wake-up lock, the controller executes step S505: reading the state of the attribute flag bit of the temporary power-off memoryless system, and judging whether the attribute flag bit of the temporary power-off memoryless system is in any unset state;
in some embodiments, the temporary power down memoryless system attribute flag bit is used to determine an upgrade progress status of the display device. When the display equipment does not detect the upgrade package, the temporary power-off non-memory system attribute flag bit is not set in any state; when the upgrading of the display equipment is in a state of finding a new version, temporarily powering off and not memorizing the attribute marking bit of the system to be 'found _ new _ version'; when the upgrading of the display equipment is in a downloading state, temporarily powering off and memorizing the attribute marking bit of the system to be 'downloading'; when the upgrading of the display equipment is in a downloading completion state, temporarily powering off and memorizing the attribute marking bit of the system to be 'down'; when the upgrading of the display equipment is in a checking state, temporarily powering off and memorizing the attribute marking bit of the system to be 'verifying'; when the upgrading of the display equipment is in a verification completion state, the attribute marking bit of the temporary power-off memoryless system is 'verified'; when the upgrading of the display equipment is in an installation state, temporarily powering off and memorizing the attribute marking bit of the system as 'installing'; when the upgrade of the display apparatus is in the in-installation state, the temporary power-off memoryless attribute flag bit is "installed".
The temporary power-off memoryless system attribute flag bit (sys. vt. ota. state) can keep memorializing in a normal operating state (on), a light sleep state and a standby state. I.e., the upgrade progress of the display device is not lost in the normal operation state (on), the light sleep state, and the standby state. The temporary power-down memoryless system attribute flag bit (sys. vt. ota. state) does not keep memorializing in both the dc standby state and the ac power-down state. That is, the upgrade progress of the display device is lost in the dc standby state and the ac power-off state. When the display device is in a DC standby state and an AC power-off state, the temporary power-off non-memory system attribute flag bit does not set any state.
If the temporary power-off non-memory system attribute flag bit is not set to any state, the controller executes step S506: and setting the temporary power-off memoryless system attribute flag bit to find a new version state.
In some embodiments, the fact that the status of the temporary power-off memoryless attribute flag bit is not set may be that an upgrade package suitable for the display device is detected to exist for the first time after the display device is powered on, and therefore, the upgrade progress status needs to be recorded in the temporary power-off memoryless attribute flag bit, that is, the temporary power-off memoryless attribute flag bit is set to a new version discovery status, which is specifically represented by setting the sys.
In some embodiments, the fact that the status of the temporary power-off memoryless attribute flag bit is not set may be due to that, after the last time the display device is powered on and detects that the upgrade package of the display device exists, although the upgrade progress status may have been recorded in the temporary power-off memoryless attribute flag bit, the temporary power-off memoryless attribute flag bit is set to find the new version status. However, the user turns off the display device in a direct current standby or alternating current power off mode, and the upgrade progress state recorded by the temporary power off non-memory system attribute flag bit is lost, that is, the temporary power off non-memory system attribute flag bit is changed into a state without any setting. Therefore, after the display device is turned on, the upgrade progress state needs to be recorded in the temporary power-off memoryless system attribute flag bit again, that is, the temporary power-off memoryless system attribute flag bit is set to a new version discovery state, which is specifically represented by setting the sys.
After setting the temporary power-off memoryless system attribute flag bit to the found new version state, the controller performs step S507: and reading the mark value of the attribute mark bit of the permanent power-off memory system, and judging whether the mark value of the attribute mark bit of the permanent power-off memory system is greater than a first preset value and not greater than a second preset value.
In some embodiments, the flag value (persistence. vt. ac. checktimes) of the permanent power-off memory system attribute flag bit is used to record the number of times of dc standby and ac power-off of the user, and it should be noted that the flag value of the permanent power-off memory system attribute flag bit records the sum of the number of times of dc standby and the number of times of ac power-off of the user. If the attribute flag value of the read permanent power-off memory system is 6, it indicates that the user turns off the display device in a direct-current standby or alternating-current power-off mode for 6 times continuously, and detects the system upgrade package for the 7 th time.
If the flag value of the attribute flag bit of the permanent power-off memory system is not greater than the first predetermined value, the controller executes step S508: and performing 1 addition operation on the mark value of the attribute mark bit of the permanent power-off memory system.
In some embodiments, the first preset value is set to 6, and if the flag value of the read persistent power-off memory system attribute flag bit is 3, an operation of adding 1 is performed on the flag value of the read persistent power-off memory system attribute flag bit, that is, 3+1 is 4. The user turns off the display device continuously for 3 times in a direct current standby or alternating current power-off mode, and the user can continue to use the display device when detecting that the system upgrade package exists in the 4 th time. If the user turns off the display device next time in a DC standby or AC power-off mode, the flag value of the flag bit for reading the attribute of the permanent power-off memory system next time is 4.
If the flag value of the attribute flag bit of the permanently powered off memory system is greater than the first preset value and not greater than the second preset value, the controller executes step S509: and controlling the display to display a first system upgrade reminding page.
In some embodiments, the first preset value is set to 6, the second preset value is 8, and if the flag value of the flag bit of the permanent power-off memory system attribute is read to be 7, it indicates that the user turns off the display device continuously for 7 times in a dc standby or ac power-off manner, and this time, the presence of the system upgrade package is detected for the 8 th time. Based on the using habit of the user, the user can be judged that the user often directly cuts off the power or presses a power key of the control device for direct current Standby after watching the television program, so that the steps of downloading, checking, installing and the like of the OTA upgrade package can not be carried out in the Active Standby light sleep state, therefore, when the mark value of the attribute mark bit of the permanent power-off memory system is larger than a first preset value and not larger than a second preset value, the display is controlled to display a first system upgrade reminding page, and the user is guided to execute the zero-interference OTA upgrade process.
In some embodiments, as shown in fig. 7, fig. 7 is a schematic diagram of a first system upgrade reminder page provided by a feasible embodiment. The first system upgrade alert page shown in fig. 7 includes a prompt 71 and a confirmation control 72, and further includes a selector 73 indicating that the confirmation control 72 is selected. The prompt message comprises' finding a new system software version, and advising you to upgrade when the television is in standby in order not to disturb your normal use; after the television is watched, please not unplug the power plug ".
It should be noted that the selector is used to indicate that any control has been selected, such as the focus object. In one aspect, the control may be selected or controlled by controlling movement of a display focus object in the display device according to an input from a user through the control means. Such as: the user can select and control the controls by controlling the movement of the focus object between the controls through the directional keys on the control device. On the other hand, the movement of each control displayed in the display device may be controlled according to the input of the user through the control device to cause the focus object to select or control the control. Such as: the user can control all the controls to move left and right through the direction keys on the control device, so that the focus object can be selected and the controls can be controlled when the position of the focus object is kept unchanged.
The form of identification of the selector is generally diversified. For example, the position of the focus object may be implemented or identified by enlarging the control, by setting a background color of the control, or by changing a border line, a size, a color, a transparency, an outline, and/or a font of a text or an image of the focus control.
After controlling the display to display the first system upgrade reminder page, the user performs step S510: the input instruction is used for closing the first system upgrading reminding page;
after receiving the instruction of closing the first system upgrade reminding page input by the user, the controller executes step S511 to control the display to cancel displaying the first system upgrade reminding page.
In some embodiments, in fig. 7, the currently indicated confirmation control 72 is selected, the user presses the confirmation key of the control device after reading the prompt message, and the display is controlled to cancel the display of the first system upgrade alert page in response to an instruction input by the user.
In some embodiments, after a first preset time (e.g., 2s) interval from the control display displaying the first system upgrade reminder page, the control display cancels the first display system upgrade reminder page without receiving any instruction input by the user.
After waiting for the user to use up the display device, the user performs step S512: inputting a command for turning off the power supply;
in some embodiments, the user enters a Power Off command by long pressing a Power key on the control device.
After receiving the instruction of turning off the power input by the user, the controller performs step S513: and controlling the display to display a second system upgrading reminding page.
In some embodiments, the first system upgrade alert page may be the same as the second system upgrade alert page, and the first system upgrade alert page may also be different from the second system upgrade alert page.
In some embodiments, as shown in fig. 8, fig. 8 is a schematic diagram of a second system upgrade reminder page provided by a feasible embodiment. The second system upgrade alert page shown in fig. 8 includes a prompt message 81 and a confirmation control 82, and further includes a selector 83 indicating that the confirmation control 82 is selected. The prompt message comprises that the system upgrading task is required to be executed when the television is in standby, and the television executes the standby operation at this time.
After controlling the display to display the second system upgrade reminder page, the user performs step S514: an input standby instruction;
in some embodiments, the user may input the standby instruction by pressing a power key of the control device for a short time.
In some embodiments, in fig. 8, the currently indicated confirmation control 82 is selected, and the user presses the confirmation key of the control device to input the standby instruction after reading the prompt.
After receiving the standby instruction input by the user, the controller executes step S515: controlling the display device to enter a light sleep state.
In some embodiments, after receiving a standby instruction input by a user, the controller may further control the display device to enter a standby state and then enter a light sleep state after a preset time.
In some embodiments, after the display is controlled to display the second system upgrade alert page, no instruction input by the user is received after a first preset time interval from the display to display the system upgrade alert page, and the display device is controlled to enter the light sleep state.
In some embodiments, after the display is controlled to display the second system upgrade alert page, after a first preset time interval from the display to display the system upgrade alert page, no instruction input by the user is received, and the display device is controlled to enter the standby state and then enter the light sleep state after the preset time interval.
In some embodiments, after the display is controlled to cancel the display of the first system upgrade reminder page, the user directly inputs a standby instruction by pressing a power key of the control device for a short time, so that the display device is controlled to directly enter the light sleep state, or the display device is controlled to enter the standby state and then enter the light sleep state after a preset time.
In some embodiments, the upgrade operation is performed immediately after the display device enters the light sleep state.
In some embodiments, after the display device enters the light sleep state, in order to prevent the display device from being turned off to enter the standby state or the light sleep state due to the user mistakenly pressing a power key of the control device or the local device, the upgrade operation is performed after the start-up instruction is not received after a second preset time interval from the time when the display device enters the light sleep state.
If the permanently powered-off memory system attribute flag bit is greater than the second predetermined value, the controller executes step S516: and executing upgrading operation.
In some embodiments, the first preset value is set to 6, the second preset value is 8, if the flag value of the flag bit of the permanent power-off memory system attribute is read to be 9, this indicates that the user turns off the display device by means of dc standby or ac power-off for 9 consecutive times, and this time, the presence of the system upgrade package is detected for 10 th time, and the user has been prompted to have the upgrade task currently for at least 2 times and does not turn off the power supply or ac power, but the user continues to turn off the display device by means of dc standby or ac power-off. Based on the using habit of the user, the steps of downloading, verifying, installing and the like of the OTA upgrade package can be judged to be impossible in the Active Standby light sleep state, so that when the attribute mark bit of the permanent power-off memory system is larger than the second preset value, the first system upgrade reminding page is not displayed, and the system is directly upgraded in the background in an A/B seamless upgrade mode.
In some embodiments, after the step of reading the flag value of the permanently powered off memory system attribute flag bit, the following steps may be performed:
judging whether the mark value of the attribute mark bit of the permanent power-off memory system is greater than a first preset value or not;
and if the mark value of the permanent power-off memory system attribute mark bit is not greater than the first preset value, performing an operation of adding 1 to the mark value of the permanent power-off memory system attribute mark bit.
If the mark value of the attribute mark bit of the permanent power-off memory system is larger than a first preset value, judging whether the display frequency of the first system upgrade reminding page is larger than a third preset value or not;
if the display frequency of the first system upgrade reminding page is not more than a third preset value, controlling the display to display the first system upgrade reminding page, and executing an operation of adding 1 to the display frequency of the first system upgrade reminding page;
and if the display times of the first system upgrade reminding page are larger than a third preset value, executing upgrade operation.
OTA upgrade architecture figure 9 is shown, and figure 9 is a schematic diagram of an OTA architecture provided by a possible embodiment. As shown in fig. 9, the server is used to make and manage the upgrade package, the display device sends a data request to the server after detecting that there is an upgrade package suitable for the local device, and the server and the display device perform data transmission and information interaction through a network. The whole process of OTA upgrading is as follows: (1) and (3) detection: the display equipment end is responsible for detecting that the server end has an upgrade package (2) suitable for the display equipment to download: the display equipment terminal downloads the upgrade package (3) from the server terminal for verification: and checking the validity of the downloaded upgrade package. (4) Installation: and erasing the upgrade package into the system partition.
In some embodiments, after the display device enters the light sleep state, the upgrade step is as shown in fig. 10, and fig. 10 is a flowchart of an upgrade method in the light sleep state provided by a feasible embodiment.
Step S101: monitoring the power state of the display equipment in real time;
in some embodiments, after the display device enters the light sleep state, the OTA upgrade process creates a new working thread, which is used to monitor the power state of the display device. Once the user inputs a power-on command, such as pressing a power key of the control device, the controller receives a screen on broadcast; when the user inputs a standby command, for example, presses the power key of the control device again, the controller receives a screen off broadcast.
Step S102: reading the state information of the attribute mark bit of the temporary power-off memoryless system;
the state information of the attribute flag bit of the system is not memorized in the current temporary power-off mode, namely the state of finding a new version;
step S103: downloading an upgrade package from a server side;
after the downloading is completed, step S104 is executed: verifying the validity of the upgrade package;
if the upgrade package is valid, executing step S105;
after the verification is completed, step S105 is executed: installing the upgrade package;
after the installation is completed, step S106 is executed: silent restart.
After the silent restart is successful, step S107 is executed: acquiring a current version number;
step S108 is executed: and if the current version number is a new version number, setting the mark value of the attribute mark bit of the permanent power-off memory system to be 0, and controlling the display equipment to enter a light sleep state.
In some embodiments, after the upgrade package is successfully installed, executing a quiesce Reboot logic of android native, completing switching of the new version, when the new version is successfully started, setting a flag value of a flag bit of the attribute of the permanent power-off memory system to 0, and controlling the display device to enter a light sleep state or a standby state, waiting for the user to use the display device again.
The above steps are performed in the case where the user does not use the display device during the upgrade process, but once the user turns on the display device during the upgrade process, the upgrade process needs to be stopped immediately.
In some embodiments, in the upgrading process, if a display screen starting broadcast is received, the upgrading operation is immediately stopped, and the current upgrading progress state is recorded to the attribute mark bit of the temporary power-off non-memory system;
in some embodiments, the status information of the temporary power down memoryless system attribute flag bit includes found new version (found _ new _ version), downloaded (downloading), downloaded (downloaded), verified (verifying), verified (verified), installed (installing), and installed (installed).
When receiving a display screen closing broadcast, controlling the display equipment to enter a light sleep state;
in some embodiments, after the display device enters the light sleep state, the state information of the attribute flag bit of the temporary power-off non-memory system is read immediately, and the upgrading operation is continuously executed according to the state information.
In some embodiments, after the display device enters the light sleep state, a power-on instruction of a user is not received within a second preset time period, the state information of the attribute flag bit of the temporary power-off non-memory system is read, and the upgrade operation is continuously executed according to the state information.
In some embodiments, if the state information of the attribute flag bit of the temporary power-off memoryless system is read as a new version, the step of downloading the upgrade package from the server side is executed; and if the state information of the attribute mark bit of the temporary power-off memorability-free system is read to be downloaded, executing a step of breakpoint continuous transmission, namely continuously downloading the upgrade package from the server side. The breakpoint resume function is a function of the server, and since the file names are the same, downloading is started from the breakpoint. For example, when the last upgrade package is downloaded to 45% of the interruption, when the upgrade package is requested again from the server, the download will be continued from 45% without re-downloading from 0%. If the status information of the attribute flag bit of the temporary power-off non-memory system is read as the completion of downloading, executing a step of checking the upgrade package; if the state information of the attribute mark bit of the temporary power-off non-memory system is read as the verification, continuing to execute the step of verifying the upgrade package; if the state information of the attribute mark bit of the temporary power-off non-memory system is read as the verification completion, executing the step of installing the upgrade package; if the state information of the attribute mark bit of the temporary power-off memoryless system is read as being installed, executing the step of recovering installation at the breakpoint; and if the status information of the attribute mark bit of the temporary power-off non-memory system is read as the installation completion, executing the step of silent restart.
In some embodiments, after the display device enters the light sleep state, the upgrade step is as shown in fig. 11, and fig. 11 is a flowchart of an upgrade method in the light sleep state provided by a feasible embodiment.
Step S111: judging whether the upgrade patch is installed;
if the upgrade package is installed, go to step S112;
step S112: silent restart;
if the upgrade package is not installed, executing step S113;
step S113: judging whether the upgrade package is in a state of installation stop;
if the upgrade package is in a state of installation stop, executing step S114;
step S114: continuing breakpoint restoration installation;
if the upgrade package is not in the installation-stopped state, executing step S115;
step S115: judging whether the installation package is in a state of completing downloading and verification;
if the upgrade package is in a state of completion of downloading and verification, go to step S116;
step S116: starting to install the upgrade package;
if the upgrade package is not in a state of completion of the download and verification, performing step S117;
step S117: judging whether the installation package is in a downloading stop state or not;
if the upgrade package is in a state of download stop, go to step S118;
step S118: continuing breakpoint transmission;
if the upgrade package is not in a download stopped state, go to step S119;
step S119: and starting to download the upgrade package.
In some embodiments, during a system upgrade, particularly when an upgrade operation has been started but not completed in a state where the display device is in a shallow sleep, the display device is turned off if the user finishes using the display device. But the display equipment is turned off directly by pulling out the power plug of the display equipment; or the display device is turned off by pressing the power key of the control device for a long time after the use is finished, and at this time, the display device still needs to control the display to display the first system upgrade prompt page shown in fig. 8. If the user still wants to turn off the power of the display device regardless of the page information or the user directly turns off the display device by unplugging the power plug of the display device. Both of the above two ways of turning off the display device may result in the system upgrade progress being lost. After the display device is turned back on, a re-upgrade is required in a light sleep state. Specifically, the OTA process is started, the upgrading package is detected to exist, the attribute marking position of the temporary power-off memoryless system is not set in any state, the attribute marking position of the temporary power-off memoryless system is set in a new version finding state, and in the process of upgrading in the light sleep state of the display equipment, if the upgrading package is found to be downloaded completely, the step of downloading the upgrading package can be directly skipped, the step of checking the upgrading package is directly carried out, and if the upgrading package is found to be checked completely, the step of installing the upgrading package can be directly entered. If the upgrade package is found to be installed, the step of silent restart can be directly entered.
The upgrading method provided by the embodiment of the application is applicable to display equipment, the display equipment at least comprises a controller and a display, the controller is configured to control an upgrading process to hold a wake-up lock if an upgrading packet is detected to exist after the display equipment is started, and the wake-up lock is used for controlling the display equipment to enter a light sleep state; if the attribute flag bit of the temporary power-off memoryless system is not provided with any state information, setting the attribute flag bit of the temporary power-off memoryless system to be in a new version discovery state; and if the marking value of the attribute marking bit of the permanent power-off memory system is greater than a first preset value and not greater than a second preset value, controlling the display to display a first system upgrade reminding page, wherein the marking value is used for recording the times of direct current standby and alternating current power-off of a user, and the first system upgrade reminding page is used for reminding the user that an upgrade task currently exists and the power supply or the alternating current is not required to be turned off. The OTA upgrade package is downloaded, verified and installed in a light sleep state, so that the normal use of a user is not influenced, and the silent restart function is used for switching new versions to really achieve zero interference; meanwhile, aiming at the energy-saving use habit of the user, the user is guided to carry out the standby zero-interference upgrading process, and the user experience is improved.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, and the program may include some or all of the steps in each embodiment of the method for customizing a control key and the method for starting the control key provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be substantially or partially embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the method of the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.
Claims (10)
1. A display device, comprising:
a display;
a controller configured to:
after the display equipment is started, if the upgrade package is detected to exist, controlling an upgrade process to hold a wake-up lock, wherein the wake-up lock is used for controlling the display equipment to enter a light sleep state;
if the attribute flag bit of the temporary power-off memoryless system is not provided with any state information, setting the attribute flag bit of the temporary power-off memoryless system to be in a new version discovery state;
and if the marking value of the attribute marking bit of the permanent power-off memory system is greater than a first preset value and not greater than a second preset value, controlling the display to display a first system upgrade reminding page, wherein the marking value is used for recording the times of direct current standby and alternating current power-off of a user, and the first system upgrade reminding page is used for reminding the user that an upgrade task currently exists and the power supply or the alternating current is not required to be turned off.
2. The display device according to claim 1, wherein the controller is configured to:
receiving an instruction for closing the first system upgrading reminding page input by a user, and canceling the display of the first system upgrading reminding page;
and receiving a power-off instruction input by a user, and controlling the display to display a second system upgrade reminding page, wherein the second system upgrade reminding page is used for reminding the user that an upgrade task currently exists and needs to be executed in a standby state.
3. The display device according to claim 2, wherein the controller is configured to:
and receiving a standby instruction input by a user or not receiving any instruction input by the user within a first preset time length, and controlling the display equipment to enter a light sleep state.
4. The display device of claim 3, wherein after the step of controlling the display device to enter a light sleep state, the controller is configured to:
when a starting-up instruction is not received within a second preset time, reading the state information of the attribute mark bit of the temporary power-off memoryless system, executing upgrading operation based on the state information, and simultaneously monitoring the power state of the display equipment in real time; the temporary power-off memoryless system attribute marking bit is used for determining the upgrading progress state of the display equipment.
5. The display device according to claim 4, wherein the controller is configured to:
if receiving a display screen starting broadcast, immediately stopping the upgrading operation, and recording the current upgrading progress state to the attribute mark bit of the temporary power-off non-memory system;
if a display screen closing broadcast is received, controlling the display equipment to enter a light sleep state;
and when a starting-up instruction is not received within a second preset time length, reading the state information of the attribute flag bit of the temporary power-off memoryless system, and continuously executing upgrading operation based on the state information.
6. The display device according to claim 5, wherein the controller is configured to:
after the system upgrading is detected to be completed, executing silent restarting operation;
obtaining a current version number after restarting;
and if the current version number is a new version number, setting the mark value of the attribute mark bit of the permanent power-off memory system to be 0, and controlling the display equipment to enter a light sleep state.
7. The display device according to claim 1, wherein the controller is configured to:
if the mark value of the permanent power-off memory system attribute mark bit is not larger than a first preset value, adding 1 to the mark value of the permanent power-off memory system attribute mark bit;
and if the mark value of the attribute mark bit of the permanent power-off memory system is greater than the second preset value, executing upgrading operation.
8. A method of upgrading, comprising:
after the display equipment is started, if the upgrade package is detected to exist, controlling an upgrade process to hold a wake-up lock, wherein the wake-up lock is used for controlling the display equipment to enter a light sleep state;
if the attribute flag bit of the temporary power-off memoryless system is not provided with any state information, setting the attribute flag bit of the temporary power-off memoryless system to be in a new version discovery state;
and if the mark value of the attribute mark bit of the permanent power-off memory system is larger than a preset value, controlling the display to display a first system upgrade reminding page, wherein the mark value is used for recording the times of closing the power supply or the alternating current by a user, and the first system upgrade reminding page is used for reminding the user that the upgrade task currently exists and the power supply or the alternating current is not closed.
9. The method of claim 8, further comprising:
receiving an instruction of closing the system upgrading reminding page input by a user, and canceling to display the first system upgrading reminding page;
and receiving a power-off instruction input by a user, and controlling the display to display a second system upgrade reminding page, wherein the second system upgrade reminding page is used for reminding the user that an upgrade task currently exists and needs to be executed in a standby state.
10. The method of claim 8, further comprising:
and receiving a standby instruction input by a user or not receiving any instruction input by the user within a first preset time length, and controlling the display equipment to enter a light sleep state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210210600.5A CN114610349A (en) | 2022-03-04 | 2022-03-04 | Display device and upgrading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210210600.5A CN114610349A (en) | 2022-03-04 | 2022-03-04 | Display device and upgrading method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114610349A true CN114610349A (en) | 2022-06-10 |
Family
ID=81860529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210210600.5A Pending CN114610349A (en) | 2022-03-04 | 2022-03-04 | Display device and upgrading method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114610349A (en) |
-
2022
- 2022-03-04 CN CN202210210600.5A patent/CN114610349A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10445104B2 (en) | Electronic device, method for controlling electronic device, and program | |
CN112764627B (en) | Upgrade package installation progress display method and display device | |
CN113064645B (en) | Startup interface control method and display device | |
US10978020B2 (en) | Display apparatus and method of operating the same | |
CN113342415B (en) | Timed task execution method and display device | |
CN112612525A (en) | Display device and display device starting method | |
CN112988246A (en) | System switching method and device, electronic equipment and storage medium | |
CN114302201A (en) | Method for automatically switching on and off screen in loudspeaker box mode, intelligent terminal and display device | |
CN114302238A (en) | Method for displaying prompt message in loudspeaker box mode and display device | |
CN112616090B (en) | Display equipment system upgrading method and display equipment | |
CN114610349A (en) | Display device and upgrading method | |
CN114173179A (en) | Compatible execution method of system upgrading task and video recording task and display equipment | |
CN111901649B (en) | Video playing method and display equipment | |
CN112492393A (en) | Method for realizing MIC switch associated energy-saving mode and display equipment | |
CN113741820A (en) | Method for refreshing data from memory to eMMC memory and display equipment | |
CN117857887A (en) | Display equipment and upgrading method | |
CN114979735B (en) | Display equipment and application starting method | |
CN116708915A (en) | Display equipment system restarting method and display equipment | |
KR102697347B1 (en) | Image display apparatus and operating method for the same | |
CN118278994A (en) | Display equipment and advertisement display control method | |
CN116567785A (en) | Display equipment, standby method and far-field voice control method | |
CN113971049B (en) | Background service management method and display device | |
CN117998131A (en) | Electronic device and device control method | |
CN118819572A (en) | Display device and application upgrading method | |
CN116737449A (en) | Display device and method for restoring factory settings |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |