CN113438296B - Upgrade package downloading method and display device - Google Patents

Upgrade package downloading method and display device Download PDF

Info

Publication number
CN113438296B
CN113438296B CN202110692233.2A CN202110692233A CN113438296B CN 113438296 B CN113438296 B CN 113438296B CN 202110692233 A CN202110692233 A CN 202110692233A CN 113438296 B CN113438296 B CN 113438296B
Authority
CN
China
Prior art keywords
upgrade package
target
downloaded
package
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.)
Active
Application number
CN202110692233.2A
Other languages
Chinese (zh)
Other versions
CN113438296A (en
Inventor
王彬
纪开虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN202110692233.2A priority Critical patent/CN113438296B/en
Publication of CN113438296A publication Critical patent/CN113438296A/en
Application granted granted Critical
Publication of CN113438296B publication Critical patent/CN113438296B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management 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/458Scheduling 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/4586Content 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)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an upgrade package downloading method and display equipment, which are used for searching whether an upgrade package which is downloaded or an upgrade package which is not downloaded and corresponds to target upgrade package information exists in a current recorded downloading directory by acquiring the target upgrade package information of the target upgrade package required for upgrading a system from a first version to a second version, and when the upgrade package which is downloaded and corresponds to the target upgrade package information exists, the upgrade package can be directly used as the target upgrade package to realize system upgrading without downloading the target upgrade package again, and when the upgrade package which is downloaded and corresponds to the target upgrade package information exists, the complete target upgrade package can be continuously downloaded based on the upgrade package which is not downloaded so as to acquire the complete target upgrade package without downloading the whole target upgrade package again, so that network resources are saved.

Description

Upgrade package downloading method and display device
Technical Field
The application relates to the technical field of internet, in particular to an upgrade package downloading method and display equipment.
Background
The downloading of the upgrade package is one of important steps in the process of implementing system upgrade through an OTA (Over-the-Air Technology, over-the-Air download), the process of downloading the OTA upgrade package may be interrupted due to events such as network interruption, system power failure, system restart, etc., and when the downloading flow of the OTA upgrade package is recovered, the processing method in the related art is as follows: and directly downloading the upgrade package again. However, downloading the upgrade package again occupies limited network resources with other applications, which causes system resource waste and prolongs the download time of the upgrade package.
Disclosure of Invention
The application discloses an upgrade package downloading method and display equipment, which aim to reduce network resources wasted by downloading an upgrade package again when the download of the upgrade package is interrupted.
According to a first aspect of embodiments of the present application, there is provided a display apparatus including:
a display;
a controller coupled with the display configured to:
acquiring target upgrade package information of a target upgrade package required for upgrading the system from a first version to a second version, and judging whether the downloaded upgrade package for upgrading the system exists in a currently recorded download directory;
if yes, obtaining the information of each upgrade package corresponding to each upgrade package which is downloaded, and determining the upgrade package which is downloaded completely as a target upgrade package when detecting that the upgrade package information of any upgrade package which is downloaded completely is consistent with the target upgrade package information;
if not, judging whether the recorded downloading catalog has an updating packet for updating the system which is not downloaded completely; and if the unfinished download upgrade package exists, determining the unfinished download target upgrade package corresponding to the target upgrade package information according to the upgrade package information corresponding to the unfinished download upgrade package, and continuously downloading the unfinished download target upgrade package.
According to a second aspect of an embodiment of the present application, there is provided an upgrade package downloading method, including:
acquiring target upgrade package information of a target upgrade package required for upgrading the system from a first version to a second version, and judging whether the downloaded upgrade package for upgrading the system exists in a currently recorded download directory;
if the upgrade package information exists, acquiring the upgrade package information corresponding to each upgrade package which is downloaded completely, and determining the upgrade package which is downloaded completely as a target upgrade package when the upgrade package information of any upgrade package which is downloaded completely is detected to be consistent with the target upgrade package information;
if not, judging whether the recorded downloading catalog has an updating packet for updating the system which is not downloaded completely; and if the unfinished download upgrade package exists, determining the unfinished download target upgrade package corresponding to the target upgrade package information according to the upgrade package information corresponding to the unfinished download upgrade package, and continuously downloading the unfinished download target upgrade package.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
according to the technical scheme, by acquiring the target upgrade package information of the target upgrade package required for upgrading the system from the first version to the second version, whether the downloaded upgrade package corresponding to the target upgrade package information or the upgrade package not downloaded exists is searched from the currently recorded download directory, when the downloaded upgrade package corresponding to the target upgrade package information exists, the upgrade package can be directly used as the target upgrade package to realize system upgrading without downloading the target upgrade package again, and when the downloaded upgrade package not corresponding to the target upgrade package information exists, the complete target upgrade package can be continuously downloaded based on the unfinished upgrade package without downloading the whole target upgrade package again, so that network resources are saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments consistent with the present application and together with the application, serve to explain the principles of the application.
Fig. 1A is a schematic diagram illustrating an operation scenario between the display device 200 and the control apparatus 100;
fig. 1B is a block diagram schematically showing the configuration of the control apparatus 100 in fig. 1A;
fig. 1C is a block diagram schematically illustrating a configuration of the display device 200 in fig. 1A;
FIG. 1D is a block diagram illustrating an architectural configuration of an operating system in memory of display device 200;
FIG. 2 is a flowchart of a method for downloading an upgrade package according to an embodiment of the present disclosure;
FIG. 3 is a schematic interface diagram of a system upgrade provided in an embodiment of the present application;
FIG. 4 is a schematic interface diagram of another system upgrade provided by an embodiment of the present application;
fig. 5 is a schematic interface diagram of another system upgrade provided in the embodiment of the present application.
Detailed Description
To make the objects, embodiments and advantages of the present application clearer, the following is a clear and complete description of exemplary embodiments of the present application with reference to the attached drawings in exemplary embodiments of the present application, and it is apparent that the exemplary embodiments described are only a part of the embodiments of the present application, and not all of the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments described herein without making any creative effort, shall fall within the protection scope of the present application. In addition, while the disclosure herein has been presented in terms of exemplary embodiment or embodiments, it should be appreciated that individual aspects of the disclosure can be utilized in a variety of forms and embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for convenience of understanding of 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 this application are used for distinguishing between similar or analogous objects or entities and are not necessarily meant to define a particular order or sequence Unless otherwise noted (Unless thermally induced). It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
Furthermore, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or device that comprises a list of elements is not necessarily limited to those elements explicitly listed, but may include other elements not expressly listed or inherent to such product or device.
In order to facilitate understanding of the embodiments provided in the present application, the following first describes the structure of the display device and the interaction process between the display device and the control device:
fig. 1A is a schematic diagram illustrating an operation scenario between the display device 200 and the control apparatus 100. As shown in fig. 1A, the control apparatus 100 and the display device 200 may communicate with each other in a wired or wireless manner.
Among them, the control apparatus 100 is configured to control the display device 200, which can receive an operation instruction input by a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an intermediary for interaction between the user and the display device 200. Such as: the user operates the channel up/down key on the control device 100, and the display device 200 responds to the channel up/down operation.
The control device 100 may be a remote controller 100A, which includes infrared protocol communication or bluetooth protocol communication, and other short-distance communication methods, etc. to control the display apparatus 200 in a wireless or other wired manner. The user may input a user command through a key on a remote controller, a voice input, a control panel input, etc. to control the display apparatus 200. Such as: the user can input a corresponding control command through a volume up/down key, a channel control key, up/down/left/right moving keys, a voice input key, a menu key, a power on/off key, etc. on the remote controller, to implement the function of controlling the display device 200.
The control device 100 may also be a smart device, such as a mobile terminal 100B, a tablet computer, a notebook computer, and so on. For example, the display device 200 is controlled using an application program running on the smart device. The application program may provide various controls to a user through an intuitive User Interface (UI) on a screen associated with the smart device through configuration.
For example, the mobile terminal 100B may install a software application with the display device 200 to implement connection communication through a network communication protocol for the purpose of one-to-one control operation and data communication. Such as: the mobile terminal 100B may be caused to establish a control instruction protocol with the display device 200 to implement the functions of the physical keys as arranged in the remote control 100A by operating various function keys or virtual buttons of the user interface provided on the mobile terminal 100B. The audio and video content displayed on the mobile terminal 100B may also be transmitted to the display device 200, so as to implement a synchronous display function.
The display apparatus 200 may be implemented as a television, and may provide an intelligent network television function of a broadcast receiving television function as well as a computer support function. Examples of the display device include a digital television, a web television, a smart television, an Internet Protocol Television (IPTV), and the like.
The display device 200 may be a liquid crystal display, an organic light emitting display, a projection display device. The specific display device type, size, resolution, etc. are not limited.
The display apparatus 200 also performs data communication with the server 300 through various communication means. Here, the display apparatus 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 300 may provide various contents and interactions to the display apparatus 200. By way of example, the display device 200 may send and receive information such as: receiving Electronic Program Guide (EPG) data, receiving software program updates, or accessing a remotely stored digital media library. The servers 300 may be a group or groups of servers, and may be one or more types of servers. Other web service contents such as a video on demand and an advertisement service are provided through the server 300.
Fig. 1B is a block diagram schematically showing the configuration of the control apparatus 100. As shown in fig. 1B, the control device 100 includes a controller 110, a memory 120, a communicator 130, a user input interface 140, an output interface 150, and a power supply 160.
The controller 110 includes a Random Access Memory (RAM) 111, a Read Only Memory (ROM) 112, a processor 113, a communication interface, and a communication bus. The controller 110 is used to control the operation of the control device 100, as well as the internal components of the communication cooperation, external and internal data processing functions.
Illustratively, when an interaction of a user pressing a key disposed on the remote controller 100A or an interaction of touching a touch panel disposed on the remote controller 100A is detected, the controller 110 may control to generate a signal corresponding to the detected interaction and transmit the signal to the display device 200.
A memory 120 for storing various operation programs, data and applications for driving and controlling the control apparatus 100 under the control of the controller 110. The memory 120 may store various control signal commands input by a user.
The communicator 130 enables communication of control signals and data signals with the display apparatus 200 under the control of the controller 110. Such as: the control apparatus 100 transmits a control signal (e.g., a touch signal or a button signal) to the display device 200 via the communicator 130, and the control apparatus 100 may receive the signal transmitted by the display device 200 via the communicator 130. The communicator 130 may include an infrared signal interface 131 and a radio frequency signal interface 132. For example: when the infrared signal interface is used, the user input command needs to be converted into an infrared control signal according to an infrared control protocol, and the infrared control signal is sent to the display device 200 through the infrared sending module. And the following steps: when the rf signal interface is used, a user input command needs to be converted into a digital signal, and then modulated according to an rf control signal modulation protocol, and then transmitted to the display device 200 through the rf transmitting terminal.
The user input interface 140 may include at least one of a microphone 141, a touch pad 142, a sensor 143, a key 144, and the like, so that a user can input a user instruction regarding controlling the display apparatus 200 to the control apparatus 100 through voice, touch, gesture, press, and the like.
The output interface 150 outputs a user instruction received by the user input interface 140 to the display apparatus 200, or outputs an image or voice signal received by the display apparatus 200. Here, the output interface 150 may include an LED interface 151, a vibration interface 152 generating vibration, a sound output interface 153 outputting sound, a display 154 outputting an image, and the like. For example, the remote controller 100A may receive an output signal such as audio, video, or data from the output interface 150, and display the output signal in the form of an image on the display 154, in the form of audio on the sound output interface 153, or in the form of vibration on the vibration interface 152.
And a power supply 160 for providing operation power support for each element of the control device 100 under the control of the controller 110. In the form of a battery and associated control circuitry.
A hardware configuration block diagram of the display device 200 is exemplarily illustrated in fig. 1C. As shown in fig. 1C, the display apparatus 200 may further include a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a memory 260, a user interface 265, a video processor 270, a display 275, an audio processor 280, an audio input interface 285, and a power supply 290.
The tuner/demodulator 210 receives broadcast television signals in a wired or wireless manner, and may perform modulation/demodulation processing such as amplification, mixing, resonance, and the like, so as to demodulate, from a plurality of wireless or wired broadcast television signals, audio/video signals carried in a frequency of a television channel selected by a user, and additional information (e.g., EPG data).
The tuner demodulator 210 is responsive to the user selected frequency of the television channel and the television signal carried by the frequency, as selected by the user and controlled by the controller 250.
The tuner demodulator 210 may receive a television signal in various ways according to the broadcasting system of the television signal, such as: terrestrial broadcasting, cable broadcasting, satellite broadcasting, internet broadcasting, or the like; and according to different modulation types, a digital modulation mode or an analog modulation mode can be adopted; and can demodulate the analog signal and the digital signal according to the different kinds of the received television signals.
In other exemplary embodiments, the tuning demodulator 210 may also be in an external device, such as an external set-top box. In this way, the set-top box outputs a television signal after modulation and demodulation, and inputs the television signal into the display apparatus 200 through the external device interface 240.
The communicator 220 is a component for communicating with an external device or an external server according to various communication protocol types. For example, the display apparatus 200 may transmit content data to an external apparatus connected via the communicator 220, or browse and download content data from an external apparatus connected via the communicator 220. The communicator 220 may include a network communication protocol module or a near field communication protocol module, such as a WIFI module 221, a bluetooth communication protocol module 222, and a wired ethernet communication protocol module 223, so that the communicator 220 may receive a control signal of the control device 100 according to the control of the controller 250 and implement the control signal as a WIFI signal, a bluetooth signal, a radio frequency signal, and the like.
The detector 230 is a component of the display apparatus 200 for collecting signals of an external environment or interaction with the outside. The detector 230 may include an image collector 231, such as a camera, a video camera, etc., which may be used to collect external environment scenes to adaptively change the display parameters of the display device 200; and the function of collecting the attribute of the user or the gesture interacted with the user so as to realize the interaction between the display equipment and the user. A light receiver 232 may also be included to collect ambient light intensity to adapt to changes in display parameters of the display device 200, etc.
In some other exemplary embodiments, the detector 230 may further include a temperature sensor, such as by sensing an ambient temperature, and the display device 200 may adaptively adjust a display color temperature of the image. For example, when the temperature is higher, the display device 200 may be adjusted to display a color temperature of the image that is colder; when the temperature is lower, the display device 200 may be adjusted to display a warmer color temperature of the image.
In some other exemplary embodiments, the detector 230, which may further include a sound collector, such as a microphone, may be configured to receive a sound of a user, such as a voice signal of a control instruction of the user controlling the display device 200; alternatively, ambient sounds may be collected that identify the type of ambient scene, enabling the display device 200 to adapt to ambient noise.
The external device interface 240 is a component for providing the controller 210 to control data transmission between the display apparatus 200 and an external apparatus. The external device interface 240 may be connected to an external apparatus such as a set-top box, a game device, a notebook computer, etc. in a wired/wireless manner, and may receive data such as a video signal (e.g., moving image), an audio signal (e.g., music), additional information (e.g., EPG), etc. of the external apparatus.
The external device interface 240 may include: a High Definition Multimedia Interface (HDMI) terminal 241, a Composite Video Blanking Sync (CVBS) terminal 242, an analog or digital Component terminal 243, a Universal Serial Bus (USB) terminal 244, a Component terminal (not shown), a red, green, blue (RGB) terminal (not shown), and the like.
The controller 250 controls the operation of the display device 200 and responds to the operation of the user by operating various software control programs (e.g., an operating system and various application programs) stored in the memory 260.
As shown in fig. 1C, the controller 250 includes a Random Access Memory (RAM) 251, a Read Only Memory (ROM) 252, a graphics processor 253, a CPU processor 254, a communication interface 255, and a communication bus 256. The RAM251, the ROM252, the graphic processor 253, and the CPU processor 254 are connected to each other through a communication bus 256 through a communication interface 255.
The ROM252 stores various system boot instructions. When the display apparatus 200 starts power-on upon receiving the power-on signal, the CPU processor 254 executes a system boot instruction in the ROM252, copies the operating system stored in the memory 260 to the RAM251, and starts running the boot operating system. After the start of the operating system is completed, the CPU processor 254 copies the various application programs in the memory 260 to the RAM251 and then starts running and starting the various application programs.
A graphic processor 253 for generating screen images of various graphic objects such as icons, images, and operation menus. The graphic processor 253 may include an operator for performing an operation by receiving various interactive instructions input by a user, and further displaying various objects according to display attributes; and a renderer for generating various objects based on the operator and displaying the rendered result on the display 275.
A CPU processor 254 for executing operating system and application program instructions stored in memory 260. And according to the received user input instruction, processing of various application programs, data and contents is executed so as to finally display and play various audio-video contents.
In some example embodiments, the CPU processor 254 may comprise a plurality of processors. The plurality of processors may include one main processor and a plurality of or one sub-processor. A main processor for performing some initialization operations of the display apparatus 200 in the display apparatus preload mode and/or operations of displaying a screen in the normal mode. A plurality of or one sub-processor for performing an operation in a state of a display device standby mode or the like.
The communication interface 255 may include a first interface to an nth interface. These interfaces may be network interfaces that are connected to external devices via a network.
The controller 250 may control the overall operation of the display apparatus 200. For example: in response to receiving a user input command for selecting a GUI object displayed on the display 275, the controller 250 may perform an operation related to the object selected by the user input command.
Where the object may be any one of the selectable objects, such as a hyperlink or an icon. The operation related to the selected object is, for example, an operation of displaying a link to a hyperlink page, document, image, or the like, or an operation of executing a program corresponding to an icon. The user input command for selecting the GUI object may be a command input through various input means (e.g., a mouse, a keyboard, a touch panel, etc.) connected to the display apparatus 200 or a voice command corresponding to a user uttering voice.
A memory 260 for storing various types of data, software programs, or applications for driving and controlling the operation of the display device 200. The memory 260 may include volatile and/or nonvolatile memory. And the term "memory" includes the memory 260, the RAM251 and the ROM252 of the controller 250, or a memory card in the display device 200.
In some embodiments, the memory 260 is specifically used for storing an operating program for driving the controller 250 of the display device 200; storing various application programs built in the display apparatus 200 and downloaded by a user from an external apparatus; data such as visual effect images for configuring various GUIs provided by the display 275, various objects related to the GUIs, and selectors for selecting GUI objects are stored.
In some embodiments, the memory 260 is specifically configured to store drivers and related data for the tuner demodulator 210, the communicator 220, the detector 230, the external device interface 240, the video processor 270, the display 275, the audio processor 280, and the like, external data (e.g., audio-visual data) received from the external device interface, or user data (e.g., key information, voice information, touch information, and the like) received from the user interface.
In some embodiments, memory 260 specifically stores software and/or programs representing an Operating System (OS), which may include, for example: a kernel, middleware, an Application Programming Interface (API), and/or an application program. Illustratively, the kernel may control or manage system resources, as well as functions implemented by other programs (e.g., the middleware, APIs, or applications); at the same time, the kernel may provide an interface to allow middleware, APIs, or applications to access the controller to enable control or management of system resources.
A block diagram of the architectural configuration of the operating system in the memory of the display device 200 is illustrated in fig. 1D. The operating system architecture comprises an application layer, a middleware layer and a kernel layer from top to bottom.
The application layer, the application programs built in the system and the non-system-level application programs belong to the application layer and are responsible for direct interaction with users. The application layer may include a plurality of applications such as NETFLIX applications, setup applications, media center applications, and the like. These applications may be implemented as Web applications that execute based on a WebKit engine, and in particular may be developed and executed based on HTML, cascading Style Sheets (CSS), and JavaScript.
Here, HTML, which is called HyperText Markup Language (HyperText Markup Language), is a standard Markup Language for creating web pages, and describes the web pages by Markup tags, where the HTML tags are used to describe characters, graphics, animation, sound, tables, links, etc., and a browser reads an HTML document, interprets the content of the tags in the document, and displays the content in the form of web pages.
CSS, known as Cascading Style Sheets (HTML) is a computer language used to represent the Style of HTML documents, and can be used to define the Style structure, such as the language of fonts, colors, positions, etc. The CSS style can be directly stored in the HTML webpage or a separate style file, so that the style in the webpage can be controlled.
JavaScript, a language applied to Web page programming, can be inserted into an HTML page and interpreted and executed by a browser. The interaction logic of the Web application is realized by JavaScript. The JavaScript can package a JavaScript extension interface through a browser, realize the communication with the kernel layer,
the middleware layer may provide some standardized interfaces to support the operation of various environments and systems. For example, the middleware layer may be implemented as multimedia and hypermedia information coding experts group (MHEG) middleware related to data broadcasting, DLNA middleware of middleware related to communication with an external device, middleware providing a browser environment in which each application program in the display device operates, and the like.
The kernel layer provides core system services, such as: file management, memory management, process management, network management, system security authority management and the like. The kernel layer may be implemented as a kernel based on various operating systems, for example, a kernel based on the Linux operating system.
The kernel layer also provides communication between system software and hardware, and provides device driver services for various hardware, such as: the method comprises the steps of providing a display driver for a display, providing a camera driver for a camera, providing a key driver for a remote controller, providing a WiFi driver for a WIFI module, providing an audio driver for an audio output interface, providing a power management driver for a Power Management (PM) module and the like.
A user interface 265 receives various user interactions. Specifically, it is used to transmit an input signal of a user to the controller 250 or transmit an output signal from the controller 250 to the user. For example, the remote controller 100A may transmit an input signal, such as a power switch signal, a channel selection signal, a volume adjustment signal, etc., input by the user to the user interface 265, and then the input signal is transferred to the controller 250 through the user interface 265; alternatively, the remote controller 100A may receive an output signal such as audio, video, or data output from the user interface 265 via the controller 250, and display the received output signal or output the received output signal in audio or vibration form.
In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on the display 275, and the user interface 265 receives the user input commands through the GUI. Specifically, the user interface 265 may receive user input commands for controlling the position of a selector in the GUI to select different objects or items.
Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user interface 265 receives the user input command by recognizing the sound or gesture through the sensor.
The video processor 270 is configured to receive an external video signal, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a video signal that is directly displayed or played on the display 275.
Illustratively, the video processor 270 includes a demultiplexing module, a video decoding module, an image synthesizing module, a frame rate conversion module, a display formatting module, and the like.
The demultiplexing module is configured to demultiplex an input audio/video data stream, where, for example, an input MPEG-2 stream (based on a compression standard of a digital storage media moving image and voice), the demultiplexing module demultiplexes the input audio/video data stream into a video signal and an audio signal.
And the video decoding module is used for processing the demultiplexed video signal, including decoding, scaling and the like.
And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display.
The frame rate conversion module is configured to convert a frame rate of an input video, for example, convert a frame rate of an input 60Hz video into a frame rate of 120Hz or 240Hz, where a common format is implemented by using, for example, an interpolation frame method.
And a display formatting module for converting the signal output by the frame rate conversion module into a signal conforming to a display format of a display, such as converting the format of the signal output by the frame rate conversion module to output RGB data signals.
And a display 275 for receiving the image signal from the output of the video processor 270 and displaying video, images and menu manipulation interfaces. For example, the display may display video from a broadcast signal received by the tuner demodulator 210, may display video input from the communicator 220 or the external device interface 240, and may display an image stored in the memory 260. The display 275, while displaying a user manipulation interface UI generated in the display apparatus 200 and used to control the display apparatus 200.
And, the display 275 may include a display screen assembly for presenting a picture and a driving assembly for driving the display of an image. Alternatively, a projection device and projection screen may be included, provided that display 275 is a projection display.
The audio processor 280 is configured to receive an external audio signal, and perform decompression and decoding, and audio data processing such as noise reduction, digital-to-analog conversion, and amplification according to a standard codec protocol of the input signal, so as to obtain an audio signal that can be played in the speaker 286.
Illustratively, audio processor 280 may support various audio formats. Such as MPEG-2, MPEG-4, advanced Audio Coding (AAC), high efficiency AAC (HE-AAC), and the like.
Audio output interface 285 receives audio signals from the output of audio processor 280. For example, the audio output interface may output audio in a broadcast signal received via the tuner demodulator 210, may output audio input via the communicator 220 or the external device interface 240, and may output audio stored in the memory 260. The audio output interface 285 may include a speaker 286, or an external audio output terminal 287, such as an earphone output terminal, that outputs to a generating device of an external device.
In other exemplary embodiments, video processor 270 may comprise one or more chips. Audio processor 280 may also comprise one or more chips.
And, in other exemplary embodiments, the video processor 270 and the audio processor 280 may be separate chips or may be integrated with the controller 250 in one or more chips.
And a power supply 290 for supplying power supply support to the display apparatus 200 from the power input from the external power source under the control of the controller 250. The power supply 290 may be a built-in power supply circuit installed inside the display apparatus 200 or may be a power supply installed outside the display apparatus 200.
In order to facilitate understanding of the embodiments provided in the present application, the technical solutions in the embodiments of the present application are further described in detail below with reference to the accompanying drawings. Referring to fig. 2, fig. 2 is a flowchart of a method for downloading an upgrade package according to an embodiment of the present application. As an embodiment, the flow shown in fig. 2 may be applied to the display device as described above.
As shown in fig. 2, the process may include the following steps:
step 201, obtaining the target upgrade patch information of the target upgrade patch required for upgrading the system from the first version to the second version.
As an embodiment, the target upgrade information may be obtained from a backend server for providing the system upgrade service, where the backend server may be a server arranged in a cloud by a manufacturer. In the background server, various upgrade policies for upgrading the system, such as the name and size of the upgrade package used when upgrading the system from the first version to the second version, and a check value for identifying the upgrade package, may be saved.
Based on the introduction of the background server, when receiving an instruction message for upgrading the system from the first version to the second version, the target upgrade package information of the target upgrade package required for upgrading the system from the first version to the second version may be acquired from the background server.
It should be noted that the check value for identifying the upgrade package is a unique identifier for upgrading the upgrade package of the system, that is, the check value corresponding to each upgrade package is different, for example, the check value corresponding to the upgrade package for upgrading the system from the first version to the second version is different from the check value corresponding to the upgrade package for upgrading the system from the second version to the third version. Further, the check value may be implemented in various ways, for example, an MD5 value may be determined for each upgrade package by using an MD5 algorithm, and the MD5 value of each upgrade package is different.
Step 202, judging whether the downloaded upgrade package for upgrading the system exists in the currently recorded download directory, if so, executing step 203, otherwise, executing step 204.
As an embodiment, based on that the file suffix of the upgrade package which has completed downloading is different from the file suffix of the upgrade package which has not completed downloading, for example, the file suffix of the upgrade package which has completed downloading may be.zip or.rar, while the file suffix of the upgrade package which has not completed downloading is.tmp, it may be determined whether each upgrade package is the upgrade package for the upgrade system which has completed downloading by obtaining the file suffix of each upgrade package downloaded in the download directory.
Step 203, obtaining each upgrade package information corresponding to each upgrade package that has completed downloading, and determining the upgrade package that has completed downloading as the target upgrade package when detecting that the upgrade package information of any upgrade package that has completed downloading is consistent with the target upgrade package information.
In this embodiment of the present application, if the target upgrade package information at least includes a target upgrade package name, a target upgrade package size, and a check value for identifying the target upgrade package, when there is an upgrade package that has completed downloading in the download directory, the size of each upgrade package that has completed downloading and the check value configured in each upgrade package may be calculated, and then, for each upgrade package that has completed downloading, the name, size, and check value of each upgrade package that has completed downloading are detected to determine whether the name, size, and check value of each upgrade package that has completed downloading are consistent with the target upgrade package name, target upgrade package size, and check value for identifying the target upgrade package included in the target upgrade package information.
It should be noted that, in the embodiment of the present application, the check value of the upgrade package calculated under the condition that the upgrade package is completely downloaded is consistent with the check value corresponding to the upgrade package stored in the background server.
Further, in this embodiment of the present application, if it is detected that upgrade package information of any upgrade package that has been downloaded is consistent with the target upgrade package information, it may indicate that the target upgrade package required for upgrading the system from the first version to the second version has been downloaded before the display device is turned on this time, and then it may be started to check whether the target upgrade package is available.
Optionally, in the verification process of the target upgrade package, referring to an interface shown in fig. 3, a prompt message used for prompting that the target upgrade package is downloaded before the start-up of the display device and is currently being verified is popped up on a display screen of the display device, and the progress of verification execution is displayed, so as to determine the progress of system upgrade.
As an embodiment, if it is detected that the upgrade package information of all the upgrade packages that have completed downloading is inconsistent with the target upgrade package information, the obtained upgrade packages that have completed downloading may be deleted, and the target upgrade package is downloaded again from the background server in the cloud through the OTA technology, and referring to the interface shown in fig. 4, a prompt message for prompting that the target upgrade package is being downloaded is popped up on the display screen of the display device, and the downloading progress of the target upgrade package is displayed.
In this embodiment of the present application, when a target upgrade package is downloaded again, a temporary file is newly created in the device, a file suffix of the temporary file is a file suffix used for indicating that the target upgrade package is not downloaded, and the name of the target upgrade package obtained from the backend server is used as a name of the temporary file, where the target upgrade package downloaded in this embodiment is to be stored in the temporary file. Further, when the target upgrade package finishes downloading, the file suffix of the temporary file is modified to a file suffix used for indicating that the target upgrade package finishes downloading, such as modifying the file suffix of the temporary file from tmp to zip.
Step 204, determining whether there is an unfinished downloaded upgrade package for upgrading the system in the currently recorded download directory, and if there is an unfinished downloaded upgrade package for upgrading the system, executing step 205.
As an embodiment, when an incomplete downloaded upgrade package for system upgrade does not exist in the current download directory, a target upgrade package may be downloaded from a background server in the cloud, and an interface as shown in fig. 4 is displayed through a display screen of the device.
Step 205, when it is determined in step 204 that there is an unfinished download upgrade package, determining an unfinished download target upgrade package corresponding to the target upgrade package information according to each upgrade package information corresponding to each unfinished download upgrade package, and continuing to download the unfinished download target upgrade package.
In this embodiment of the present application, when there is an incomplete download upgrade package, the size of each incomplete download upgrade package may be calculated first, and the size of each incomplete download upgrade package is compared with the size of the target upgrade package, where if there is an incomplete download target upgrade package in the incomplete download upgrade packages, the size of the incomplete download target upgrade package should be smaller than the size of the target upgrade package because the target upgrade package is not completed download.
Optionally, when it is detected that the size of one unfinished downloaded upgrade package is smaller than the size of the target upgrade package, it may be further detected whether the name of the unfinished downloaded upgrade package is consistent with the name of the target upgrade package, and in the case of consistency, it is determined that the unfinished downloaded upgrade package is the unfinished downloaded target upgrade package.
Optionally, when the target upgrade package which is not downloaded is continuously downloaded, a prompt message for prompting that the target upgrade package is not downloaded before the start-up of the display device is popped up on a display screen of the display device with reference to an interface shown in fig. 5, and the target upgrade package is continuously downloaded at present, and the downloading progress of the target upgrade package is displayed. As to how to continue downloading the target upgrade package which is not downloaded, the breakpoint resume function in the related art may be referred to, which is not described herein again.
As an embodiment, after the target upgrade package that has not been downloaded in step 205 completes downloading, the file suffix of the target upgrade package recorded in the present apparatus may be modified from the file suffix used for indicating that the target upgrade package has not completed downloading to the file suffix used for indicating that the target upgrade package has completed downloading, such as modifying the file suffix of the target upgrade package that has not completed downloading from.
It should be noted that, in the embodiment of the present application, if there is no unfinished downloaded target upgrade package corresponding to the target upgrade package information in the unfinished downloaded upgrade package, the currently stored unfinished downloaded upgrade package may be deleted, the target upgrade package is re-downloaded from the background server by the OTA technology, and the interface shown in fig. 4 is displayed.
Thus, the flow shown in fig. 2 is completed.
Through the embodiment shown in fig. 2, it is possible to search whether there is an upgrade package already downloaded or an upgrade package not yet downloaded corresponding to the target upgrade package information from the currently recorded download directory by obtaining the target upgrade package information of the target upgrade package required for upgrading the system from the first version to the second version, and when there is an upgrade package already downloaded corresponding to the target upgrade package information, the upgrade package may be directly used as the target upgrade package to implement system upgrade without re-downloading the target upgrade package, and when there is an upgrade package not yet downloaded corresponding to the target upgrade package information, the complete target upgrade package may be obtained by continuing to download based on the upgrade package not yet downloaded, without re-downloading the entire target upgrade package, thereby saving network resources.
It should be noted that, in the implementation process of the embodiment of the present application, the interface shown in fig. 3, or fig. 4, or fig. 5 displayed on the screen may be hidden in the background through a background-implemented button displayed on the interface, so as to prevent the interface from affecting the use of the display device during the upgrade process.
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 purpose of explanation, has been described with reference to 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 (8)

1. A display device, comprising:
a display;
a controller coupled with the display configured to:
acquiring target upgrade package information of a target upgrade package required for upgrading a system from a first version to a second version, and judging whether the downloaded upgrade package for upgrading the system exists in a currently recorded download directory or not by acquiring a file suffix of each upgrade package downloaded in the download directory; the file suffix of the upgrade package which is completely downloaded is different from the file suffix of the upgrade package which is not completely downloaded;
if the upgrade package information exists, acquiring the upgrade package information corresponding to each upgrade package which is downloaded completely, and determining the upgrade package which is downloaded completely as a target upgrade package when the upgrade package information of any upgrade package which is downloaded completely is detected to be consistent with the target upgrade package information;
if not, judging whether the recorded downloading catalog has an updating packet for updating the system which is not downloaded completely; if the unfinished download upgrading package exists, determining the unfinished download target upgrading package corresponding to the target upgrading package information according to the upgrading package information corresponding to the unfinished download upgrading package, and continuously downloading the unfinished download target upgrading package; and after the target upgrade package which is not downloaded is downloaded, modifying the recorded file suffix of the target upgrade package from the file suffix used for indicating that the target upgrade package is not downloaded to the file suffix used for indicating that the target upgrade package is downloaded completely.
2. The display device of claim 1, wherein the controller is further configured to:
and when detecting that the upgrade package information of all the downloaded upgrade packages is inconsistent with the target upgrade package information, deleting all the downloaded upgrade packages, and re-downloading the target upgrade packages.
3. The display device according to claim 1, wherein the target upgrade package information includes at least a target upgrade package name, a target upgrade package size, and a check value for identifying a target upgrade package;
the controller detects that the upgrade package information of any upgrade package which is downloaded is consistent with the target upgrade package information, and the method comprises the following steps:
and detecting that the name of the upgrade package, the size of the upgrade package and the check value for identifying the upgrade package corresponding to any downloaded upgrade package are consistent with the name of the target upgrade package, the size of the target upgrade package and the check value for identifying the target upgrade package in the target upgrade package information.
4. The apparatus according to claim 3, wherein the controller determines the target upgrade package which is not completed to be downloaded and corresponds to the target upgrade package information according to each upgrade package information which corresponds to each upgrade package which is not completed to be downloaded, and the method includes:
calculating the size of each upgrading packet which is not downloaded, and comparing the size of each upgrading packet which is not downloaded with the size of the target upgrading packet;
when the size of the unfinished download upgrading package is smaller than the size of the target upgrading package, detecting whether the name of the unfinished download upgrading package is consistent with the name of the target upgrading package, and if so, determining that the unfinished download upgrading package is the unfinished download target upgrading package.
5. An upgrade package downloading method, comprising:
acquiring target upgrade package information of a target upgrade package required for upgrading a system from a first version to a second version, and judging whether the downloaded upgrade package for upgrading the system exists in a currently recorded download directory or not by acquiring a file suffix of each upgrade package downloaded in the download directory; the file suffix of the upgrade package which is completely downloaded is different from the file suffix of the upgrade package which is not completely downloaded;
if the upgrade package information exists, acquiring the upgrade package information corresponding to each upgrade package which is downloaded completely, and determining the upgrade package which is downloaded completely as a target upgrade package when the upgrade package information of any upgrade package which is downloaded completely is detected to be consistent with the target upgrade package information;
if not, judging whether an upgrading packet for upgrading the system exists in the currently recorded downloading catalog and is not downloaded; if the unfinished download upgrading package exists, determining the unfinished download target upgrading package corresponding to the target upgrading package information according to the upgrading package information corresponding to the unfinished download upgrading package, and continuously downloading the unfinished download target upgrading package; and after the target upgrading packet which is not downloaded is downloaded, modifying the recorded file suffix of the target upgrading packet from the file suffix which is used for indicating that the target upgrading packet is not downloaded completely into the file suffix which is used for indicating that the target upgrading packet is downloaded completely.
6. The method of claim 5, further comprising:
and when detecting that the upgrade package information of all the downloaded upgrade packages is inconsistent with the target upgrade package information, deleting all the downloaded upgrade packages, and re-downloading the target upgrade packages.
7. The method of claim 5, wherein the target upgrade package information comprises at least a target upgrade package name, a target upgrade package size, and a check value for identifying a target upgrade package;
the step of detecting that the upgrade package information of any upgrade package which is downloaded is consistent with the target upgrade package information comprises the following steps:
and detecting that the name of the upgrade package, the size of the upgrade package and the check value for identifying the upgrade package corresponding to any downloaded upgrade package are consistent with the name of the target upgrade package, the size of the target upgrade package and the check value for identifying the target upgrade package in the target upgrade package information.
8. The method according to claim 7, wherein the determining, according to the upgrade package information corresponding to each upgrade package that is not completely downloaded, the target upgrade package that is not completely downloaded corresponding to the target upgrade package information includes:
calculating the size of each upgrading packet which is not downloaded, and comparing the size of each upgrading packet which is not downloaded with the size of the target upgrading packet;
when the size of the unfinished download upgrading package is smaller than the size of the target upgrading package, detecting whether the name of the unfinished download upgrading package is consistent with the name of the target upgrading package, and if so, determining that the unfinished download upgrading package is the unfinished download target upgrading package.
CN202110692233.2A 2021-06-22 2021-06-22 Upgrade package downloading method and display device Active CN113438296B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110692233.2A CN113438296B (en) 2021-06-22 2021-06-22 Upgrade package downloading method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110692233.2A CN113438296B (en) 2021-06-22 2021-06-22 Upgrade package downloading method and display device

Publications (2)

Publication Number Publication Date
CN113438296A CN113438296A (en) 2021-09-24
CN113438296B true CN113438296B (en) 2023-01-10

Family

ID=77756996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110692233.2A Active CN113438296B (en) 2021-06-22 2021-06-22 Upgrade package downloading method and display device

Country Status (1)

Country Link
CN (1) CN113438296B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885805A (en) * 2014-03-28 2014-06-25 深圳创维-Rgb电子有限公司 Software running interface identification data loading method and system
CN105763722A (en) * 2016-01-29 2016-07-13 努比亚技术有限公司 Mobile terminal and system update method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101470609A (en) * 2007-12-28 2009-07-01 Tcl集团股份有限公司 Software upgrading method, system and electronic equipment thereof
CN102541599B (en) * 2011-12-27 2015-04-29 深圳创维-Rgb电子有限公司 Method and system for upgrading electronic equipment on line, and television
CN106982254B (en) * 2017-03-30 2019-09-10 中国联合网络通信集团有限公司 The method and apparatus of file download
CN110086885A (en) * 2019-05-10 2019-08-02 上海擎感智能科技有限公司 The upgrade package method for down loading and device of space download technology, storage medium and terminal
CN111865646A (en) * 2019-12-30 2020-10-30 北京骑胜科技有限公司 Terminal upgrading method and related device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103885805A (en) * 2014-03-28 2014-06-25 深圳创维-Rgb电子有限公司 Software running interface identification data loading method and system
CN105763722A (en) * 2016-01-29 2016-07-13 努比亚技术有限公司 Mobile terminal and system update method

Also Published As

Publication number Publication date
CN113438296A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN111200746B (en) Method for awakening display equipment in standby state and display equipment
CN111601149B (en) Operation guide display method and display equipment
CN111901653B (en) Configuration method of external sound equipment of display equipment and display equipment
CN111726673B (en) Channel switching method and display device
CN111324411B (en) User interface upgrading method in display equipment and display equipment
CN111639281A (en) Page resource display method and display equipment
CN111601142B (en) Subtitle display method and display equipment
CN111479155A (en) Display device and user interface display method
CN111045557A (en) Moving method of focus object and display device
CN109857972B (en) Page updating method and display equipment
CN112004126A (en) Search result display method and display device
CN111654729B (en) Account login state updating method and display device
CN111897641B (en) Micro-service monitoring and scheduling method and display device
CN111726674B (en) HbbTV application starting method and display equipment
CN111479144A (en) Display device and application interaction method
CN111901677B (en) Method for uniformly controlling process starting and display equipment
WO2021253575A1 (en) Method for selecting audio output device, and display device
WO2021232398A1 (en) Method for playing media file and display device
CN113438296B (en) Upgrade package downloading method and display device
CN113094140B (en) System update display method and display equipment
CN111614995A (en) Menu display method and display equipment
CN111901686B (en) Method for keeping normal display of user interface stack and display equipment
CN112040317B (en) Event response method and display device
CN111562887B (en) Display device and partition capacity expansion method
CN111246282B (en) Program information acquisition method in display equipment and display equipment

Legal Events

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