CN112165651A - Method and system for realizing online upgrade of Linux set top box into Android set top box - Google Patents

Method and system for realizing online upgrade of Linux set top box into Android set top box Download PDF

Info

Publication number
CN112165651A
CN112165651A CN202011015864.2A CN202011015864A CN112165651A CN 112165651 A CN112165651 A CN 112165651A CN 202011015864 A CN202011015864 A CN 202011015864A CN 112165651 A CN112165651 A CN 112165651A
Authority
CN
China
Prior art keywords
upgrade
upgrading
top box
android
umt
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.)
Granted
Application number
CN202011015864.2A
Other languages
Chinese (zh)
Other versions
CN112165651B (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.)
Sichuan Jiuzhou Electronic Technology Co Ltd
Original Assignee
Sichuan Jiuzhou Electronic 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 Sichuan Jiuzhou Electronic Technology Co Ltd filed Critical Sichuan Jiuzhou Electronic Technology Co Ltd
Priority to CN202011015864.2A priority Critical patent/CN112165651B/en
Publication of CN112165651A publication Critical patent/CN112165651A/en
Application granted granted Critical
Publication of CN112165651B publication Critical patent/CN112165651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for realizing online upgrade of a Linux set-top box into an Android set-top box, which comprises the steps of detecting upgrade, setting an upgrade mark and upgrade control information; the Loader module reads the upgrade control information, locks the UMT frequency point, and downloads and analyzes the upgrade management table UMT; downloading a first UDT carrying an upgrading processing module, programming to a Kernel partition and clearing an upgrading mark; and starting the system, normally guiding to a Kernel partition, entering an upgrading processing module, locking a UMT frequency point, downloading and analyzing a UMT, downloading a second UDT carrying Android partition data, and programming the Android data according to the partition. The system comprises an upgrade detection module, a Loader module and an upgrade processing module. The Linux system is upgraded into the Android system on line under the condition that the set top box is not replaced, and convenience experience is brought to users.

Description

Method and system for realizing online upgrade of Linux set top box into Android set top box
Technical Field
The invention relates to the technical field of intelligent set-top boxes, in particular to a method and a system for realizing online upgrade of a Linux set-top box into an Android set-top box.
Background
In recent years, with the development and popularization of an Android intelligent operating system and rich resources brought by the Android system, more and more intelligent terminals adopt the Android operating system, set-top box terminal equipment advances with the current time, and more set-top box terminal manufacturers gradually use the Android operating system. However, the old set top box users still adopt Linux system set top boxes, some markets are not completely replaced by Android system set top boxes, the service life cycle of the set top boxes is long, and the existing set top boxes are continuously used to become one of the choices of some customers under the condition that the cost is not increased. Most of the set-top boxes of the traditional Linux system do not support upgrading in an IP manner, but are updated by TS upgrading streams sent by front-end equipment, and the set-top box end receives the TS upgrading streams for upgrading and is still updated to the Linux system. The existing Android system set-top box is basically upgraded in an OTA mode in an IP mode, and the Android system is still updated. Therefore, there is no feasible method in the prior art for upgrading the Linux system of the set-top box to the Android system on line.
Disclosure of Invention
The invention aims to provide a method and a system for realizing online upgrade of a Linux set top box to an Android set top box, which are used for solving the problem that the set top box of the Linux system cannot be upgraded to the Android system in the prior art.
The invention solves the problems through the following technical scheme:
a method for realizing online upgrade of a Linux set top box into an Android set top box comprises the following steps:
step S100: performing upgrade detection, and when the upgrade condition is met, setting an upgrade flag and upgrade control information and storing the upgrade flag and the upgrade control information to Flash, wherein the upgrade control information comprises an upgrade frequency point, a software and hardware version number and a range of upgrade equipment;
step S200: detecting an upgrading mark when the system is restarted or restarted, entering a Loader module, reading upgrading control information by the Loader module, locking UMT frequency points, downloading and analyzing an upgrading management table UMT; when the upgrading condition is met, downloading a first UDT carrying an upgrading processing module, programming the upgrading processing module to a Kernel partition after the downloaded data is successfully verified, and clearing an upgrading mark;
step S300: and starting the system, normally guiding the system to a Kernel partition, entering an upgrading processing module, locking a UMT frequency point, downloading and analyzing the UMT, downloading a second UDT carrying Android partition data when upgrading conditions are met, and burning the Android data according to the partition after the downloaded data passes verification.
The upgrade detection in step S100 includes automatic upgrade detection and manual upgrade detection.
The automatic upgrade detection requires the addition of parsing of the upgrade descriptor when DVB parses NIT table descriptors; the upgrade descriptor describes customized upgrade control information for the set-top box to find out specific upgrade content.
The manual upgrade detection is realized by adding a manual upgrade detection function to a main program of the Linux set top box, and when a user detects a new version at a preset detection frequency point, the user performs manual upgrade.
The utility model provides a system for realize online upgrading of Linux STB for Android STB, includes upgrading detection module, Loader module and upgrading processing module, wherein:
the upgrading detection module is configured to perform upgrading detection according to the serial number and/or software and hardware version information of the equipment, set an upgrading mark and upgrading control information when upgrading is detected, and store the upgrading mark and the upgrading control information to Flash; the upgrade control information comprises an upgrade frequency point, a software and hardware version number and a range of upgrade equipment;
the Loader module is used for reading the upgrade control information, locking the UMT frequency point, downloading and analyzing the upgrade management table UMT; when the upgrading condition is met, downloading a first UDT carrying an upgrading processing module, programming the upgrading processing module to a Kernel partition after the downloaded data is successfully verified, and clearing an upgrading mark;
and the upgrading processing module is used for being programmed to the Kernel partition, locking the UMT frequency point, downloading and analyzing the UMT, downloading the Android image splicing file, and programming the Android data according to the partition.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the invention provides a method for upgrading a Linux set-top box into an Android set-top box on line, which realizes the online upgrading of the Linux system of the set-top box into an Android system under the condition that the hardware condition meets the condition of using the Android system without replacing the set-top box, so that a user of an old set-top box can enjoy rich resources brought by the Android system.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is an upgrade detection flow diagram;
FIG. 3 is a flowchart of loading an upgrade processing module into a Loader module;
FIG. 4 is a flow diagram of an upgrade processing module.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example (b):
with reference to fig. 1, a method for realizing online upgrade of a Linux set-top box to an Android set-top box includes:
step S100: the upgrade detection module carries out upgrade detection, including manual detection and background automatic detection, and writes an upgrade flag and upgrade control information into Flash when detecting that upgrade conditions are met, wherein the upgrade control information comprises an upgrade frequency point, a software and hardware version number and a range of upgrade equipment;
step S200: detecting an upgrading mark when the system is restarted or restarted, entering a Loader module, reading upgrading control information by the Loader module, locking UMT frequency points, downloading and analyzing an upgrading management table UMT; when the upgrading condition is met, downloading a first UDT carrying an upgrading processing module, programming the upgrading processing module to a Kernel partition after the downloaded data is successfully verified, and clearing an upgrading mark;
step S300: and restarting the system, normally guiding the system to a Kernel partition, entering an upgrading processing module, locking a UMT frequency point, downloading and analyzing the UMT, downloading a second UDT carrying Android partition data when upgrading conditions are met, and after the downloaded data passes verification, performing Android data programming according to the partition to finish online upgrading of the Linux system to the Android system.
Automatic upgrade detection requires the addition of parsing of the upgrade descriptor when DVB parses NIT table descriptors; the upgrade descriptor describes customized upgrade control information for the set-top box to find out specific upgrade content. The manual upgrade detection is realized by adding a manual upgrade detection function to a main program of the Linux set top box, and when a user detects a new version at a preset detection frequency point, the user performs manual upgrade.
The utility model provides a system for realize online upgrading of Linux STB for Android STB, includes upgrading detection module, Loader module and upgrading processing module, wherein:
the upgrading detection module is configured to perform upgrading detection according to the serial number and/or software and hardware version information of the equipment, set an upgrading mark and upgrading control information when upgrading is detected, and store the upgrading mark and the upgrading control information to Flash; the upgrade control information comprises an upgrade frequency point, a software and hardware version number and a range of upgrade equipment;
the Loader module is used for reading the upgrade control information, locking the UMT frequency point, downloading and analyzing the upgrade management table UMT; when the upgrading condition is met, downloading a first UDT carrying an upgrading processing module, programming the upgrading processing module to a Kernel partition after the downloaded data is successfully verified, and clearing an upgrading mark;
and the upgrading processing module is used for being programmed to the Kernel partition, locking the UMT frequency point, downloading and analyzing the UMT, downloading the Android image splicing file, and programming the Android data according to the partition.
The process of the upgrade detection module is as shown in fig. 2, when upgrading is automatically detected, whether an NIT upgrade descriptor is detected is judged, when the NIT upgrade descriptor is detected and the upgrade condition is satisfied (if the hardware conforms to the Android system), an upgrade flag and upgrade control information are set, and the latter is selected to be restarted and then the next process is started;
the process of loading the upgrade processing module by the Loader module is shown in fig. 3, after the system is restarted or started, if the upgrade flag is not detected, the system normally enters the system, when the upgrade flag is detected, the Loader module enters the Loader module, reads upgrade control information, locks a frequency point where the UMT is located, downloads and analyzes the UMT, when the upgrade condition is met, downloads the UDT (carrying the upgrade processing module), writes the upgrade processing module to the Kernel partition after the data verification is successful, and clears the upgrade flag;
the process of upgrading the processing module is as shown in fig. 4, after the system is restarted or started, the system is normally guided to the Kernel partition, and if the upgrading processing module is not downloaded, the system is normally started; downloading the upgrading processing module, then taking the partition content as the upgrading processing module, entering the upgrading processing module, locking the UMT frequency point, downloading and analyzing the UMT, downloading the UDT (carrying Android main partition data) when the upgrading condition is met, after the downloaded data passes verification, performing Android data programming according to the partition, covering the content of the original Kernel partition in the programming process, and after the programming is finished, upgrading the Linux set-top box to the Android set-top box on line.
Although the present invention has been described herein with reference to the illustrated embodiments thereof, which are intended to be preferred embodiments of the present invention, it is to be understood that the invention is not limited thereto, and that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure.

Claims (5)

1. A method for realizing online upgrade of a Linux set top box into an Android set top box is characterized by comprising the following steps:
step S100: performing upgrade detection, and when the upgrade condition is met, setting an upgrade flag and upgrade control information and storing the upgrade flag and the upgrade control information to Flash, wherein the upgrade control information comprises an upgrade frequency point, a software and hardware version number and a range of upgrade equipment;
step S200: detecting an upgrading mark when the system is restarted or restarted, entering a Loader module, reading upgrading control information by the Loader module, locking UMT frequency points, downloading and analyzing an upgrading management table UMT; when the upgrading condition is met, downloading a first UDT carrying an upgrading processing module, programming the upgrading processing module to a Kernel partition after the downloaded data is successfully verified, and clearing an upgrading mark;
step S300: and starting the system, normally guiding the system to a Kernel partition, entering an upgrading processing module, locking a UMT frequency point, downloading and analyzing the UMT, downloading a second UDT carrying Android partition data when upgrading conditions are met, and burning the Android data according to the partition after the downloaded data passes verification.
2. The method for realizing the online upgrade of the Linux set-top box to the Android set-top box according to claim 1, wherein the upgrade detection in the step S100 includes automatic upgrade detection and manual upgrade detection.
3. The method for realizing the online upgrade of the Linux set-top box to the Android set-top box according to claim 2, wherein the automatic upgrade detection requires adding the parsing of the upgrade descriptor when the DVB parses the NIT table descriptor; the upgrade descriptor describes customized upgrade control information for the set-top box to find out specific upgrade content.
4. The method for realizing the online upgrade of the Linux set-top box to the Android set-top box according to claim 2, wherein the manual upgrade detection is implemented by adding a manual upgrade detection function to a main program of the Linux set-top box, and when a user detects a new version at a preset detection frequency point, the user performs manual upgrade.
5. The utility model provides a system for realize online upgrading of Linux set-top box for Android set-top box which characterized in that, includes upgrade detection module, Loader module and upgrade processing module, wherein:
the upgrading detection module is configured to perform upgrading detection according to the serial number and/or software and hardware version information of the equipment, set an upgrading mark and upgrading control information when upgrading is detected, and store the upgrading mark and the upgrading control information to Flash; the upgrade control information comprises an upgrade frequency point, a software and hardware version number and a range of upgrade equipment;
the Loader module is used for reading the upgrade control information, locking the UMT frequency point, downloading and analyzing the upgrade management table UMT; when the upgrading condition is met, downloading a first UDT carrying an upgrading processing module, programming the upgrading processing module to a Kernel partition after the downloaded data is successfully verified, and clearing an upgrading mark;
and the upgrading processing module is used for being programmed to the Kernel partition, locking the UMT frequency point, downloading and analyzing the UMT, downloading the Android image splicing file, and programming the Android data according to the partition.
CN202011015864.2A 2020-09-24 2020-09-24 Method and system for realizing online upgrade of Linux set top box into Android set top box Active CN112165651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011015864.2A CN112165651B (en) 2020-09-24 2020-09-24 Method and system for realizing online upgrade of Linux set top box into Android set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011015864.2A CN112165651B (en) 2020-09-24 2020-09-24 Method and system for realizing online upgrade of Linux set top box into Android set top box

Publications (2)

Publication Number Publication Date
CN112165651A true CN112165651A (en) 2021-01-01
CN112165651B CN112165651B (en) 2022-11-08

Family

ID=73863671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011015864.2A Active CN112165651B (en) 2020-09-24 2020-09-24 Method and system for realizing online upgrade of Linux set top box into Android set top box

Country Status (1)

Country Link
CN (1) CN112165651B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207729A (en) * 2007-12-17 2008-06-25 深圳市同洲电子股份有限公司 Digital television receiving terminal and software upgrading system thereof
CN102222011A (en) * 2011-06-28 2011-10-19 广东中大讯通软件科技有限公司 Software upgrading method for set-top box and set-top box
CN103929670A (en) * 2014-04-30 2014-07-16 深圳市九洲电器有限公司 Set top box programming method and system
CN104581397A (en) * 2014-12-29 2015-04-29 四达时代通讯网络技术有限公司 System upgrade method and device for android set-top box
CN106331862A (en) * 2016-08-11 2017-01-11 宁波亦道信息科技有限公司 Set-top box software upgrading method and set-top box
CN107493290A (en) * 2017-08-31 2017-12-19 四川长虹电器股份有限公司 The method that Android intelligent television system software carries out OTA upgradings
US20180136926A1 (en) * 2014-08-12 2018-05-17 Kamilah Joanna Marie Taylor Enhancing a multitasking user interface of an operating system
WO2018157570A1 (en) * 2017-03-03 2018-09-07 百富计算机技术(深圳)有限公司 Method for upgrading software of pos terminal, pos terminal, and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101207729A (en) * 2007-12-17 2008-06-25 深圳市同洲电子股份有限公司 Digital television receiving terminal and software upgrading system thereof
CN102222011A (en) * 2011-06-28 2011-10-19 广东中大讯通软件科技有限公司 Software upgrading method for set-top box and set-top box
CN103929670A (en) * 2014-04-30 2014-07-16 深圳市九洲电器有限公司 Set top box programming method and system
US20180136926A1 (en) * 2014-08-12 2018-05-17 Kamilah Joanna Marie Taylor Enhancing a multitasking user interface of an operating system
CN104581397A (en) * 2014-12-29 2015-04-29 四达时代通讯网络技术有限公司 System upgrade method and device for android set-top box
CN106331862A (en) * 2016-08-11 2017-01-11 宁波亦道信息科技有限公司 Set-top box software upgrading method and set-top box
WO2018157570A1 (en) * 2017-03-03 2018-09-07 百富计算机技术(深圳)有限公司 Method for upgrading software of pos terminal, pos terminal, and storage medium
CN107493290A (en) * 2017-08-31 2017-12-19 四川长虹电器股份有限公司 The method that Android intelligent television system software carries out OTA upgradings

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张一哲等: "基于TVOS-H系统的存量机顶盒升级方案设计与实施", 《广播与电视技术》 *
彭毅弘: "嵌入式机顶盒改进Loader系统的设计与实现", 《电子测量技术》 *

Also Published As

Publication number Publication date
CN112165651B (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US6718374B1 (en) Method and system for identifying and downloading appropriate software or formware specific to a particular model of set-top box in a cable television system
CA2384082C (en) Method and system for directing the download of software and firmware objects over a network such as a cable television system
US7082603B2 (en) Upgrading peripheral devices
CN102890638B (en) Upgrade method of STB (set top box)
KR19990082617A (en) Multicast downloading system and method of software and data module
CN104991793A (en) Method, device and system used for application program subpackage
CN111263354B (en) OTA differential upgrading method and device
CN110750280B (en) Android platform-based application upgrading method and system and storage medium
CN103945264A (en) Set top box application program upgrading method
CN110457049B (en) Method and device for realizing plug-in automation, electronic equipment and storage medium
CN107305495A (en) Realize the method and terminal of software installation packet function modification
CN106469078A (en) A kind of upgrade method of intelligent appliance and device
CN105760183A (en) File processing method, device, and communication system
CN103442272A (en) System upgrading method
CN109831702B (en) Method for preventing upgrade error of television software
CN114745740B (en) Intelligent household appliance upgrading system and method
CN112165651B (en) Method and system for realizing online upgrade of Linux set top box into Android set top box
CN107172493B (en) OTA (over the air) upgrading method compatible with different partition types
CN106231421A (en) The upgrade method of a kind of Set Top Box and device
CN112004155A (en) OAD upgrading method and device, smart television and readable storage medium
CN110764809A (en) OTA APN upgrading method, device, equipment and medium
CN118276887A (en) Set top box cross-system upgrading method and device, set top box and storage medium
CN112312212B (en) Upgrading method and related device for digital television system
WO2001013644A1 (en) Method and system for automatically purging code objects being updated by download
CN108833128A (en) A kind of method that equipment updates

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Luo Yi

Inventor after: Li Zuzhang

Inventor after: Xie Xiaodong

Inventor after: Chen Dejin

Inventor after: Shen Renbo

Inventor before: Luo Yi

Inventor before: Xie Xiaodong

Inventor before: Li Zuzhang

Inventor before: Chen Dejin

Inventor before: Shen Renbo

GR01 Patent grant
GR01 Patent grant