WO2016000355A1 - Terminal upgrade method and device - Google Patents

Terminal upgrade method and device Download PDF

Info

Publication number
WO2016000355A1
WO2016000355A1 PCT/CN2014/088862 CN2014088862W WO2016000355A1 WO 2016000355 A1 WO2016000355 A1 WO 2016000355A1 CN 2014088862 W CN2014088862 W CN 2014088862W WO 2016000355 A1 WO2016000355 A1 WO 2016000355A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
terminal
data source
upgrade file
file
Prior art date
Application number
PCT/CN2014/088862
Other languages
French (fr)
Chinese (zh)
Inventor
尹成水
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016000355A1 publication Critical patent/WO2016000355A1/en

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

Abstract

Provided are a terminal upgrade method and device, the method comprising: entering an upgrade mode; after receiving a first button command or after a predetermined duration, obtaining a data source used for terminal upgrade, the first button command indicating a terminal upgrade; and upgrading the terminal according to the data source. The present invention solves the problem in the relevant art of a professional being required to upgrade a set top box, resulting in the upgrade being complicated, and achieves convenient and efficient upgrade of a set top box.

Description

终端升级方法及装置Terminal upgrade method and device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及终端升级方法及装置。The present invention relates to the field of communications, and in particular, to a terminal upgrade method and apparatus.
背景技术Background technique
在相关技术中,存在各种类型的终端,这些终端是需要进行升级的,下面以机顶盒为例进行说明。In the related art, there are various types of terminals, and these terminals need to be upgraded. The following describes a set-top box as an example.
机顶盒,也称为数字视频变换盒(Set Top Box,简称STB),是一个连接电视机与外部信号源的设备。它可以将压缩的数字信号转成电视内容,并在电视机上显示出来。信号可以来自有线电缆、卫星天线、宽带网络以及地面广播。对于数字电视的播放来说,是必不可少的设备。A set-top box, also known as a Set Top Box (STB), is a device that connects a TV to an external source. It converts compressed digital signals into TV content and displays them on the TV. Signals can come from cable, satellite antennas, broadband networks, and terrestrial broadcasts. It is an indispensable device for the playback of digital TV.
目前,交互式网络电视IPTV应用越来越广泛,用户的数量也越来越多,对IPTV的需求也越来越高,因此,机顶盒上的软件在不断的更新,完善,朝着更强大的功能、更多样化的服务不断的发展,为了能够及时给用户提供最新、最全面的IPTV业务,机顶盒上的软件势必要经常进行软件升级,目前在机顶盒上采取的升级方式一般是在正常开机后在定制的电视界面较繁琐地引导用户升级或者预留一个插座专门给升级工具来进行升级,或者拆开机顶盒的硬件完成升级功能。这种升级方式主要缺点是需要预留接口,在有些电路中这些接口都没用到,并且,升级工具有的价格也比较贵,还不稳定,容易损坏,同时外面需要接很多线,操作也不方便。At present, interactive network TV IPTV applications are more and more extensive, the number of users is increasing, and the demand for IPTV is getting higher and higher. Therefore, the software on the set-top box is constantly updated, perfected, and more powerful. The function and more diversified services are constantly developing. In order to provide users with the latest and most comprehensive IPTV services in time, the software on the set-top box needs to be upgraded frequently. Currently, the upgrade method adopted on the set-top box is generally started normally. Later, in the customized TV interface, the user is more cumbersome to guide the upgrade or reserve a socket specifically for the upgrade tool to upgrade, or remove the hardware of the boot top box to complete the upgrade function. The main disadvantage of this upgrade method is that it needs to reserve interfaces. In some circuits, these interfaces are not used, and the upgrade tools are expensive, unstable, and easy to damage. At the same time, many wires need to be connected outside. inconvenient.
因此,在相关技术中,终端升级需要由专业人员进行升级,导致终端升级复杂。Therefore, in the related art, the terminal upgrade needs to be upgraded by a professional, resulting in a complicated terminal upgrade.
发明内容Summary of the invention
本发明提供了一种终端升级方法及装置,以至少解决相关技术中存在的由于终端升级需要由专业人员进行升级,导致终端升级复杂的问题。The present invention provides a method and a device for upgrading a terminal, so as to at least solve the problem that the terminal upgrade is complicated due to the upgrade of the terminal due to the upgrade of the terminal.
根据本发明的一方面,提供了一种终端升级方法,包括:进入升级模式;在接收第一按键命令或者在预定时长之后,获取所述终端升级所使用的数据源,其中,所述第一按键命令用于指示对所述终端进行升级;根据所述数据源对所述终端进行升级。 According to an aspect of the present invention, a method for upgrading a terminal includes: entering an upgrade mode; acquiring a data source used by the terminal upgrade after receiving a first key command or after a predetermined time period, wherein the first The button command is used to indicate that the terminal is upgraded; and the terminal is upgraded according to the data source.
优选的,进入所述升级模式包括以下至少之一:通过启动引导器boot检测到进入系统失败;接收到用户发出的第二按键命令,其中,所述第二按键命令用于将所述终端的开机启动模式修改升级模式;在所述终端正常进入系统后,检测到系统运行异常。Preferably, entering the upgrade mode comprises at least one of: detecting that the entering system fails by starting the boot boot; receiving a second key command issued by the user, wherein the second key command is used to The boot mode changes the upgrade mode; after the terminal enters the system normally, it detects that the system is running abnormally.
优选地,所述第一按键命令和所述第二按键命令是通过遥控器触发的按键命令和/或终端面板触发的按键命令。Preferably, the first button command and the second button command are key commands triggered by a remote controller and/or button commands triggered by a terminal panel.
优选的,获取所述终端升级所使用的数据源包括以下方式至少之一:获取所述终端中的存储设备和/或安全数字卡SD卡中预存的第一升级文件,其中,所述第一升级文件中存储有所述终端升级所使用的数据源;获取远程服务器中预存的第二升级文件,其中,所述远程服务器用于为所述终端提供升级文件,所述第二升级文件中存储有所述终端升级所使用的数据源。Preferably, obtaining the data source used by the terminal to upgrade includes at least one of: acquiring a storage device and/or a first upgrade file pre-stored in the SD card of the secure digital card, wherein the first The data source used by the terminal upgrade is stored in the upgrade file, and the second upgrade file pre-stored in the remote server is obtained, where the remote server is used to provide an upgrade file for the terminal, and the second upgrade file is stored. There is a data source used by the terminal upgrade.
优选的,当同时获取所述第一升级文件和所述第二升级文件时,根据所述数据源对所述终端进行升级包括:将所述第一升级文件的版本号与所述第二升级文件的版本号进行对比;根据对比结果选择升级文件;根据选择的升级文件中存储的数据源对所述终端进行升级。Preferably, when the first upgrade file and the second upgrade file are acquired at the same time, upgrading the terminal according to the data source includes: updating a version number of the first upgrade file with the second upgrade The version number of the file is compared; the upgrade file is selected according to the comparison result; the terminal is upgraded according to the data source stored in the selected upgrade file.
优选的,在根据所述数据源对所述终端进行升级之前,还包括:检验所述数据源的合法性和有效性。Preferably, before upgrading the terminal according to the data source, the method further includes: verifying validity and validity of the data source.
优选的,所述终端为机顶盒。Preferably, the terminal is a set top box.
根据本发明的另一方面,提供了一种终端升级装置,包括:获取模块,设置为在进入升级模式并接收到第一按键命令或者在预定时长之后,获取所述终端升级所使用的数据源,其中,所述第一按键命令用于指示对所述终端进行升级;升级模块,设置为根据所述数据源对所述终端进行升级。According to another aspect of the present invention, a terminal upgrading apparatus is provided, comprising: an obtaining module, configured to acquire a data source used by the terminal upgrade after entering an upgrade mode and receiving a first key command or after a predetermined time length The first button command is used to indicate that the terminal is upgraded, and the upgrade module is configured to upgrade the terminal according to the data source.
优选的,进入所述升级模式包括以下至少之一:通过启动引导器boot检测到进入系统失败;接收到用户发出的第二按键命令,其中,所述第二按键命令用于将所述终端的开机启动模式修改升级模式;在所述终端正常进入系统后,检测到系统运行异常。Preferably, entering the upgrade mode comprises at least one of: detecting that the entering system fails by starting the boot boot; receiving a second key command issued by the user, wherein the second key command is used to The boot mode changes the upgrade mode; after the terminal enters the system normally, it detects that the system is running abnormally.
优选地,所述第一按键命令和所述第二按键命令是通过遥控器触发的按键命令和/或终端面板触发的按键命令。Preferably, the first button command and the second button command are key commands triggered by a remote controller and/or button commands triggered by a terminal panel.
优选的,所述获取模块包括以下至少之一:第一获取单元,设置为获取所述终端中的存储设备和/或安全数字卡SD卡中预存的第一升级文件,其中,所述第一升级文件中存储有所述终端升级所使用的数据源;第二获取单元,设置为获取远程服务器中 预存的第二升级文件,其中,所述远程服务器用于为所述终端提供升级文件,所述第二升级文件中存储有所述终端升级所使用的数据源。Preferably, the obtaining module includes at least one of the following: a first obtaining unit configured to acquire a first upgrade file pre-stored in a storage device and/or a secure digital card SD card in the terminal, where the first The upgrade file stores the data source used by the terminal upgrade; the second obtaining unit is configured to obtain the remote server. And a pre-stored second upgrade file, wherein the remote server is configured to provide an upgrade file for the terminal, and the second upgrade file stores a data source used by the terminal upgrade.
优选的,所述升级模块包括:对比单元,设置为当同时获取所述第一升级文件和所述第二升级文件时,将所述第一升级文件的版本号与所述第二升级文件的版本号进行对比;选择单元,设置为根据对比结果选择升级文件;升级单元,设置为根据选择的升级文件中存储的数据源对所述终端进行升级。Preferably, the upgrade module includes: a comparison unit, configured to: when the first upgrade file and the second upgrade file are simultaneously acquired, the version number of the first upgrade file and the second upgrade file The version number is compared; the selection unit is set to select an upgrade file according to the comparison result; the upgrade unit is configured to upgrade the terminal according to the data source stored in the selected upgrade file.
优选的,还包括:检验模块,设置为检验所述数据源的合法性和有效性。Preferably, the method further includes: an inspection module configured to verify the legality and validity of the data source.
优选的,所述终端为机顶盒。Preferably, the terminal is a set top box.
通过本发明,采用进入升级模式;在接收第一按键命令或者在预定时长之后,获取所述终端升级所使用的数据源,其中,所述第一按键命令用于指示对所述终端进行升级;根据所述数据源对所述终端进行升级,解决了相关技术中存在的由于终端升级需要由专业人员进行升级,导致终端升级复杂的问题,进而实现了可以自动的或仅通过按键实现对终端的升级,达到方便快捷的效果。According to the present invention, the access upgrade mode is adopted; after receiving the first key command or after a predetermined duration, the data source used by the terminal upgrade is obtained, wherein the first key command is used to indicate that the terminal is upgraded; Upgrading the terminal according to the data source, which solves the problem that the terminal upgrade is complicated by the upgrade of the terminal due to the upgrade of the terminal, and the terminal upgrade is complicated, and the terminal can be implemented automatically or only by using a button. Upgrade to achieve convenient and fast results.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的终端升级方法的流程图;1 is a flowchart of a method for upgrading a terminal according to an embodiment of the present invention;
图2是根据本发明实施例的终端升级装置的结构框图;2 is a structural block diagram of a terminal upgrading apparatus according to an embodiment of the present invention;
图3是根据本发明实施例的终端升级装置中获取模块22的结构框图;FIG. 3 is a structural block diagram of an obtaining module 22 in a terminal upgrading apparatus according to an embodiment of the present invention;
图4是根据本发明实施例的终端升级装置中升级模块24的结构框图;4 is a structural block diagram of an upgrade module 24 in a terminal upgrading apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的终端升级装置的优选结构框图;FIG. 5 is a block diagram showing a preferred structure of a terminal upgrading apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的按键触发的机顶盒升级装置和文件镜像逻辑部署系统。 6 is a key-trigger set top box upgrade apparatus and file mirror logic deployment system in accordance with an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种终端升级方法,图1是根据本发明实施例的终端升级方法的流程图,如图1所示,该流程包括如下步骤:A method for upgrading a terminal is provided in this embodiment. FIG. 1 is a flowchart of a method for upgrading a terminal according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,进入升级模式;Step S102, entering an upgrade mode;
步骤S104,在接收第一按键命令或者在预定时长之后,获取终端升级所使用的数据源,其中,该第一按键命令用于指示对终端进行升级;Step S104, after receiving the first button command or after a predetermined time period, acquiring a data source used by the terminal to upgrade, wherein the first button command is used to indicate that the terminal is upgraded;
步骤S106,根据上述数据源对终端进行升级。Step S106: The terminal is upgraded according to the data source.
通过上述步骤,采用进入升级模式;在接收第一按键命令或者在预定时长之后,获取终端升级所使用的数据源,其中,第一按键命令用于指示对终端进行升级;根据数据源对终端进行升级,从而能够实现终端自动升级或仅仅依靠按键即可完成升级,无需依靠专业升级人员,解决了相关技术中存在的由于机顶盒升级需要由专业人员进行升级,导致机顶盒升级复杂的问题,进而实现了可以自动的或仅通过按键实现对机顶盒的升级,达到方便快捷的效果。Through the above steps, adopting the upgrade mode; obtaining the data source used by the terminal upgrade after receiving the first key command or after a predetermined time length, wherein the first key command is used to indicate that the terminal is upgraded; and the terminal is performed according to the data source. Upgrade, so that the terminal can be upgraded automatically or simply rely on the button to complete the upgrade, without relying on professional upgrade personnel, solve the problem that the upgrade of the set-top box needs to be upgraded by the professional in the related technology, which leads to the complicated upgrade of the set-top box, and thus realizes The upgrade of the set-top box can be realized automatically or only by pressing a button, thereby achieving a convenient and quick effect.
在一个可选的实施例中,可以依据如下的方法进入升级模式:In an optional embodiment, the upgrade mode can be entered according to the following method:
方式一:通过启动引导器boot检测到进入系统失败时进行升级模式。更优地,当进入系统失败时会提示用户进入升级模式,或在不提示用户的情况下自动进入升级模式。Manner 1: The boot mode is detected by the boot loader boot when the system fails to enter. More preferably, the user is prompted to enter the upgrade mode when the system fails to enter, or automatically enters the upgrade mode without prompting the user.
方式二:接收到用户发出的第二按键命令,其中,该第二按键命令用于将终端的开机启动模式修改升级模式。可见,在该种情况下,进入升级模式是由用户主动发起的,可以依据用户的喜好进行升级。Manner 2: receiving a second button command issued by the user, wherein the second button command is used to modify the upgrade mode of the terminal startup mode. It can be seen that in this case, entering the upgrade mode is initiated by the user, and can be upgraded according to the user's preference.
方式三:在终端正常进入系统后,检测到系统运行异常。即,终端可以正常启动,但是在启动之后部分进程运行出现故障,导致画面定格或声音画面不同步或黑屏等现象,此时终端中的检测系统会检测到系统异常,提示用户进入升级模式,或者自动进入升级模式,当然也可以依据其他的方式进入升级模式。 Manner 3: After the terminal enters the system normally, it detects that the system is running abnormally. That is, the terminal can start normally, but some processes run after the startup fails, resulting in the phenomenon that the picture freezes or the sound picture is out of sync or black screen. At this time, the detection system in the terminal detects the system abnormality and prompts the user to enter the upgrade mode, or Automatically enter the upgrade mode, of course, you can also enter the upgrade mode according to other methods.
优选地,上述第一按键命令和第二按键命令均可以是通过操作遥控器上的按键触发的按键命令,也均可以是通过操作终端上自带的按键,即终端面板上的按键触发的按键命令。用户可以仅仅依靠按键即可进入升级模式,简单方便。Preferably, each of the first button command and the second button command may be a button command triggered by operating a button on the remote controller, and may also be a button triggered by a button on the terminal panel, that is, a button triggered by a button on the terminal panel. command. Users can enter the upgrade mode by simply pressing the button, which is simple and convenient.
在另一个可选的实施例中,获取终端升级所使用的数据源包括以下方式至少之一:In another optional embodiment, obtaining a data source used by the terminal upgrade includes at least one of the following:
方式一:可以通过获取插接在终端上的U盘、或终端中内置的内存卡、或终端中的安全数字卡SD卡中预存的第一升级文件,利用该第一升级文件来进行终端升级。其中,该第一升级文件中存储有终端升级所需要的数据源。Manner 1: The first upgrade file can be used to upgrade the terminal by acquiring the U disk inserted in the terminal, or the memory card built in the terminal, or the first upgrade file pre-stored in the SD card of the secure digital card in the terminal. . The first upgrade file stores a data source required for terminal upgrade.
方式二:可以获取远程服务器中预存的第二升级文件,利用该第二升级文件来进行终端升级,该远程服务器用于为终端提供升级文件,该第二升级文件中也存储有终端升级所需要的数据源。Manner 2: The second upgrade file pre-stored in the remote server can be obtained, and the second upgrade file is used to perform terminal upgrade. The remote server is used to provide an upgrade file for the terminal, and the second upgrade file also stores the terminal upgrade required. Data source.
当然也可以通过其他的方式获取终端升级所使用的数据源。例如:还可以通过联网的方式,从网络中下载最新版本的终端升级所需要的升级文件,利用该升级文件中的数据源实现终端的升级;还可以通过资源共享的方式,获取其他终端升级时所使用的升级文件,利用该升级文件中的数据源进行升级。Of course, the data source used by the terminal upgrade can also be obtained in other ways. For example, you can also download the latest version of the upgrade file required for the terminal upgrade from the network, and use the data source in the upgrade file to upgrade the terminal. You can also use the resource sharing method to obtain other terminal upgrades. The upgrade file used is upgraded with the data source in the upgrade file.
当获取了上述的两个及两个以上的升级文件时,可以对获取的各升级文件进行比较,依据比较结果选取最终使用的升级文件。在进行升级文件选择时,可以选取各升级文件中版本号最新的升级文件,也可以选取性能最稳定的升级文件,还可以依据文件格式进行选择,还可以由系统随机选择。在选定了升级文件后,根据选择的升级文件中存储的数据源对终端进行升级。When the above two or more upgrade files are obtained, the obtained upgrade files may be compared, and the final upgrade file is selected according to the comparison result. When you select the upgrade file, you can select the latest upgrade file with the latest version number in each upgrade file, or select the most stable upgrade file. You can also select it according to the file format, or you can select it randomly. After the upgrade file is selected, the terminal is upgraded according to the data source stored in the selected upgrade file.
在另一个可选的实施例中,还可以在根据数据源对终端进行升级之前,检验该数据源的合法性和有效性,以保障终端不被非法入侵。In another optional embodiment, the validity and validity of the data source may be verified before the terminal is upgraded according to the data source to ensure that the terminal is not illegally intruded.
在一个可选的实施例中,上述的终端可以为机顶盒,当然也可以为其他类型的终端。In an optional embodiment, the terminal may be a set top box, and of course other types of terminals.
图2是根据本发明实施例的终端升级装置的结构框图,如图2所示,该装置包括获取模块22和升级模块24,下面对该装置进行说明。2 is a structural block diagram of a terminal upgrading apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes an obtaining module 22 and an upgrading module 24. The apparatus will be described below.
获取模块22,设置为在进入升级模式并接收到第一按键命令或者在预定时长之后,获取终端升级所使用的数据源,其中,该第一按键命令用于指示对终端进行升级;升级模块24,连接至上述获取模块22,设置为根据上述数据源对终端进行升级。 The obtaining module 22 is configured to acquire a data source used by the terminal upgrade after entering the upgrade mode and receiving the first key command or after a predetermined time period, wherein the first key command is used to indicate that the terminal is upgraded; the upgrade module 24 Connected to the above obtaining module 22, configured to upgrade the terminal according to the above data source.
图3是根据本发明实施例的终端升级装置中获取模块22的结构框图,如图3所示,该获取模块22包括以下单元至少之一:FIG. 3 is a structural block diagram of an obtaining module 22 in a terminal upgrading apparatus according to an embodiment of the present invention. As shown in FIG. 3, the acquiring module 22 includes at least one of the following units:
第一获取单元32,设置为获取终端中的存储设备和/或安全数字卡SD卡中预存的第一升级文件,其中,该第一升级文件中存储有终端升级所使用的数据源;第二获取单元34,设置为获取远程服务器中预存的第二升级文件,其中,远程服务器用于为终端提供升级文件,该第二升级文件中存储有终端升级所使用的数据源。The first obtaining unit 32 is configured to acquire a first upgrade file pre-stored in the storage device and/or the secure digital card SD card in the terminal, where the first upgrade file stores a data source used by the terminal upgrade; The obtaining unit 34 is configured to obtain a second upgrade file pre-stored in the remote server, where the remote server is configured to provide an upgrade file for the terminal, where the second upgrade file stores a data source used by the terminal upgrade.
图4是根据本发明实施例的终端升级装置中升级模块24的结构框图,如图4所示,该升级模块24包括对比单元42、选择单元44和升级单元46,下面对该升级模块24进行说明。FIG. 4 is a structural block diagram of an upgrade module 24 in a terminal upgrade apparatus according to an embodiment of the present invention. As shown in FIG. 4, the upgrade module 24 includes a comparison unit 42, a selection unit 44, and an upgrade unit 46, and the upgrade module 24 is provided below. Be explained.
对比单元42,设置为当同时获取第一升级文件和第二升级文件时,将第一升级文件的版本号与第二升级文件的版本号进行对比;选择单元44,连接至上述对比单元42,设置为根据对比结果选择升级文件;升级单元46,连接至上述选择单元44,设置为根据选择的升级文件中存储的数据源对终端进行升级。The comparing unit 42 is configured to compare the version number of the first upgrade file with the version number of the second upgrade file when the first upgrade file and the second upgrade file are simultaneously acquired; the selecting unit 44 is connected to the comparing unit 42 The setting is to select an upgrade file according to the comparison result; the upgrading unit 46 is connected to the above selecting unit 44, and is configured to upgrade the terminal according to the data source stored in the selected upgrade file.
图5是根据本发明实施例的终端升级装置的优选结构框图,如图5所示,该装置除包括图2所示的所有模块外,还包括检验模块52,下面对该装置进行说明。FIG. 5 is a block diagram showing a preferred structure of a terminal upgrading apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a verification module 52 in addition to all the modules shown in FIG. 2, and the apparatus will be described below.
检验模块52,连接至上述获取模块22和升级模块24,设置为检验数据源的合法性和有效性。The verification module 52 is coupled to the acquisition module 22 and the upgrade module 24 described above and is configured to verify the legality and validity of the data source.
为解决相关技术中存在的由于终端升级需要由专业人员进行升级,导致终端升级复杂的问题,本发明实施例提供了终端升级方法,下面以机顶盒为例进行说明:In order to solve the problem that the terminal upgrade is complicated and the terminal upgrade is complicated, the terminal upgrade method is provided. The following describes the set-top box as an example:
本发明实施例提供了一种通过定制文件系统和文件镜像逻辑部署,采用遥控器或者机顶盒前端面板按键快捷触发本地或者网络联机升级功能,保证了在硬件没损坏前提下因为机顶盒系统应用异常导致开机失败,或者在开发环节等情景下安全、快捷地对机顶盒进行复位升级的方法。The embodiment of the invention provides a function of customizing the file system and file mirroring logic, and adopting a remote controller or a set top box front panel button to quickly trigger a local or network online upgrade function, thereby ensuring that the application of the set top box system is abnormal when the hardware is not damaged. Failure, or a safe and quick way to reset and upgrade the set-top box in scenarios such as development.
在另一个可选的实施例中,采用一种定制文件系统并按特定的逻辑部署文件镜像实现对终端的升级,这种系统在Flash中逻辑上由启动器boot、升级处理最小系统和机顶盒其它业务应用系统3大部分构成,其中前两者是只读的,而后者可以按需要进行读写属性的细分。本发明实施例中还提供了一种升级处理装置,该装置主要包括按键触发升级处理、升级数据读取/下载处理(按预置的格式)、数据校验、Flash数据擦写 等,完成响应按键升级请求的一系列处理。此外本发明实施例中还提供了一种界面化的用户交互方式运维引导模块实现深度个性化需求升级的方法。In another optional embodiment, the upgrade of the terminal is implemented by using a custom file system and deploying file mirrors according to a specific logic. The system is logically activated by the boot, the upgrade processing minimum system, and the set top box in the flash. The business application system 3 is mostly composed of the first two, which are read-only, and the latter can be subdivided into read and write attributes as needed. The embodiment of the invention further provides an upgrade processing device, which mainly comprises a button trigger upgrade process, an upgrade data read/download process (in a preset format), a data check, and a flash data erase Wait, complete a series of processing in response to the button upgrade request. In addition, the embodiment of the present invention further provides an interface user interface interaction operation and maintenance guidance module to implement a deep personalized requirement upgrade method.
图6是根据本发明实施例的按键触发的机顶盒升级装置和文件镜像逻辑部署系统,下面结合图6对本发明实施例进行说明。FIG. 6 is a diagram of a set-top box upgrading apparatus and a file mirroring logic deployment system triggered by a button according to an embodiment of the present invention. Hereinafter, an embodiment of the present invention will be described with reference to FIG. 6.
在一个可选的实施例中,可以通过如下步骤进行终端的升级:In an optional embodiment, the terminal may be upgraded by the following steps:
步骤S1.按照图6所示定制对应的Flash硬件和文件系统镜像。Step S1. Customize the corresponding Flash hardware and file system image as shown in FIG. 6.
步骤S2.触发升级模式:可以通过下面3种情景方式向机顶盒请求进入开机升级模式,重启后boot启动引导系统进入升级模式:Step S2. Trigger upgrade mode: You can request to enter the boot upgrade mode by using the following three scenarios: After booting, the boot boot boot system enters the upgrade mode:
boot启动引导器检测到进入正常机顶盒系统失败,则自动触发重启进入升级修复模式;When the boot boot loader detects that the system fails to enter the normal set-top box, it automatically triggers the reboot to enter the upgrade repair mode.
机顶盒能正常进入正常机顶盒的系统,但是用户想升级更新,用户通过遥控器或前端面板按键或按键组合触发机顶盒修改启动模式为开机升级修复模式并自动重启盒子;The set-top box can normally enter the system of the normal set-top box, but the user wants to upgrade and update, the user triggers the set-top box through the remote control or the front panel button or the combination of the keys to modify the startup mode to the boot upgrade repair mode and automatically restart the box;
机顶盒能正常进入正常机顶盒的系统,但是部分进程运行现象异常,机顶盒系统中监控进程判断系统异常后自动将地将启动模式改为开机升级修复模式并自动重启盒子。The set-top box can normally enter the system of the normal set-top box, but some processes are abnormal. After the monitoring process in the set-top box system determines that the system is abnormal, the startup mode is automatically changed to the boot-up upgrade mode and the box is automatically restarted.
步骤S3.触发升级响应:进入升级模式后,机顶盒升级处理装置可以定时自动地进入升级服务准备状态,也可以通过接收按键命令进入升级服务准备状态。Step S3. Triggering the upgrade response: After entering the upgrade mode, the set top box upgrade processing device may automatically enter the upgrade service preparation state periodically, or may enter the upgrade service preparation state by receiving a button command.
步骤S4.升级源准备:a)数据读取下载模块检查U盘或者SD卡预置的目录(如/mnt/sddisk/)有没有指定的升级文件镜像,如有则记录其版本;b)接着联机查看预置的远程版本服务器上面的版本号;c)对比版本号,取其中版本号较新的作为升级数据源,并读取下载到升级缓存中;d)特殊的,在网络或者U盘和SD卡不并存的情况下,可以取其中一种可以获取的作为数据源,若都无法获取则弹出界面提醒用户升级失败及原因。Step S4. Upgrade source preparation: a) The data read download module checks whether the U disk or the SD card preset directory (such as /mnt/sddisk/) has the specified upgrade file image, and if so, records its version; b) then Online to view the version number of the preset remote version server; c) compare the version number, take the newer version as the upgrade data source, and read and download to the upgrade cache; d) special, in the network or U disk If the SD card does not coexist, you can take one of them as a data source. If none of them can be obtained, the pop-up interface reminds the user of the upgrade failure and the reason.
步骤S5.数据校验:通过消息摘要算法第五版(Message Digest Algorithm 5,简称为MD5)等校验手段检验数据的合法性和有效性。Step S5. Data verification: The validity and validity of the data are verified by a verification means such as Message Digest Algorithm 5 (MD5).
步骤S6.数据擦写:将校验通过的升级源进行升级,把数据写入到Flash对应的分区。 Step S6. Data erasing: The upgrade source that passes the verification is upgraded, and the data is written to the partition corresponding to the Flash.
步骤S7.升级反馈:以图形界面或者闪烁指示灯的方式进行提醒用户升级完成并自动重启系统。Step S7. Upgrade feedback: remind the user to complete the upgrade and automatically restart the system by means of a graphical interface or a flashing indicator.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,通过上述实施例及优选实施方式,解决了相关技术中存在的由于终端升级需要由专业人员进行升级,导致终端升级复杂的问题,进而实现了可以自动的或仅通过按键实现对终端的升级,达到方便快捷的效果。 As described above, the foregoing embodiments and the preferred embodiments solve the problem that the terminal upgrade needs to be upgraded by a professional, which causes the terminal to be upgraded complicated, and thus realizes that the terminal can be implemented automatically or only by using a button. Upgrade to achieve convenient and fast results.

Claims (14)

  1. 一种终端升级方法,包括:A terminal upgrade method includes:
    进入升级模式;Enter upgrade mode;
    在接收第一按键命令或者在预定时长之后,获取所述终端升级所使用的数据源,其中,所述第一按键命令用于指示对所述终端进行升级;Obtaining a data source used by the terminal upgrade after receiving the first key command or after a predetermined time period, wherein the first key command is used to indicate that the terminal is upgraded;
    根据所述数据源对所述终端进行升级。The terminal is upgraded according to the data source.
  2. 根据权利要求1所述的方法,其中,进入所述升级模式包括以下至少之一:The method of claim 1 wherein entering the upgrade mode comprises at least one of:
    通过启动引导器boot检测到进入系统失败;Failure to enter the system by booting the boot boot;
    接收到用户发出的第二按键命令,其中,所述第二按键命令用于将所述终端的开机启动模式修改升级模式;Receiving a second button command issued by the user, where the second button command is used to modify the boot mode of the terminal to modify the upgrade mode;
    在所述终端正常进入系统后,检测到系统运行异常。After the terminal normally enters the system, it detects that the system is operating abnormally.
  3. 根据权利要求2所述的方法,其中,所述第一按键命令和所述第二按键命令是通过遥控器触发的按键命令和/或终端面板触发的按键命令。The method of claim 2, wherein the first key command and the second key command are key commands triggered by a remote controller and/or key commands triggered by a terminal panel.
  4. 根据权利要求1所述的方法,其中,获取所述终端升级所使用的数据源包括以下方式至少之一:The method of claim 1, wherein the obtaining the data source used by the terminal upgrade comprises at least one of the following:
    获取所述终端中的存储设备和/或安全数字卡SD卡中预存的第一升级文件,其中,所述第一升级文件中存储有所述终端升级所使用的数据源;Obtaining a first upgrade file pre-stored in the storage device and/or the secure digital card SD card in the terminal, where the first upgrade file stores a data source used by the terminal upgrade;
    获取远程服务器中预存的第二升级文件,其中,所述远程服务器用于为所述终端提供升级文件,所述第二升级文件中存储有所述终端升级所使用的数据源。Obtaining a second upgrade file pre-stored in the remote server, where the remote server is configured to provide an upgrade file for the terminal, and the second upgrade file stores a data source used by the terminal upgrade.
  5. 根据权利要求4所述的方法,其中,当同时获取所述第一升级文件和所述第二升级文件时,根据所述数据源对所述终端进行升级包括:The method of claim 4, wherein when the first upgrade file and the second upgrade file are simultaneously acquired, upgrading the terminal according to the data source comprises:
    将所述第一升级文件的版本号与所述第二升级文件的版本号进行对比;Comparing the version number of the first upgrade file with the version number of the second upgrade file;
    根据对比结果选择升级文件;Select an upgrade file based on the comparison results;
    根据选择的升级文件中存储的数据源对所述终端进行升级。 The terminal is upgraded according to the data source stored in the selected upgrade file.
  6. 根据权利要求1所述的方法,其中,在根据所述数据源对所述终端进行升级之前,还包括:The method of claim 1, further comprising: before upgrading the terminal according to the data source, further comprising:
    检验所述数据源的合法性和有效性。Verify the legitimacy and validity of the data source.
  7. 根据权利要求1至6中任一项所述的方法,其中,所述终端为机顶盒。The method of any of claims 1 to 6, wherein the terminal is a set top box.
  8. 一种终端升级装置,包括:A terminal upgrading device includes:
    获取模块,设置为在进入升级模式并接收到第一按键命令或者在预定时长之后,获取所述终端升级所使用的数据源,其中,所述第一按键命令用于指示对所述终端进行升级;Obtaining a module, configured to acquire a data source used by the terminal upgrade after entering the upgrade mode and receiving the first key command or after a predetermined time period, wherein the first key command is used to indicate that the terminal is upgraded ;
    升级模块,设置为根据所述数据源对所述终端进行升级。The upgrade module is configured to upgrade the terminal according to the data source.
  9. 根据权利要求8所述的装置,其中,进入所述升级模式包括以下至少之一:The apparatus of claim 8 wherein entering the upgrade mode comprises at least one of:
    通过启动引导器boot检测到进入系统失败;Failure to enter the system by booting the boot boot;
    接收到用户发出的第二按键命令,其中,所述第二按键命令用于将所述终端的开机启动模式修改升级模式;Receiving a second button command issued by the user, where the second button command is used to modify the boot mode of the terminal to modify the upgrade mode;
    在所述终端正常进入系统后,检测到系统运行异常。After the terminal normally enters the system, it detects that the system is operating abnormally.
  10. 根据权利要求9所述的装置,其中,其中,所述第一按键命令和所述第二按键命令是通过遥控器触发的按键命令和/或终端面板触发的按键命令。The apparatus according to claim 9, wherein said first key command and said second key command are key commands triggered by a remote controller and/or key commands triggered by a terminal panel.
  11. 根据权利要求8所述的装置,其中,所述获取模块包括以下至少之一:The apparatus of claim 8, wherein the acquisition module comprises at least one of:
    第一获取单元,设置为获取所述终端中的存储设备和/或安全数字卡SD卡中预存的第一升级文件,其中,所述第一升级文件中存储有所述终端升级所使用的数据源;a first acquiring unit, configured to acquire a first upgrade file pre-stored in the storage device and/or the secure digital card SD card in the terminal, where the first upgrade file stores data used by the terminal upgrade source;
    第二获取单元,设置为获取远程服务器中预存的第二升级文件,其中,所述远程服务器用于为所述终端提供升级文件,所述第二升级文件中存储有所述终端升级所使用的数据源。a second obtaining unit, configured to acquire a second upgrade file pre-stored in the remote server, where the remote server is configured to provide an upgrade file for the terminal, where the second upgrade file stores the upgrade used by the terminal data source.
  12. 根据权利要求11所述的装置,其中,所述升级模块包括:The apparatus of claim 11 wherein said upgrading module comprises:
    对比单元,设置为当同时获取所述第一升级文件和所述第二升级文件时,将所述第一升级文件的版本号与所述第二升级文件的版本号进行对比;a comparison unit, configured to compare a version number of the first upgrade file with a version number of the second upgrade file when acquiring the first upgrade file and the second upgrade file at the same time;
    选择单元,设置为根据对比结果选择升级文件; Select the unit, set to select the upgrade file based on the comparison result;
    升级单元,设置为根据选择的升级文件中存储的数据源对所述终端进行升级。The upgrade unit is configured to upgrade the terminal according to a data source stored in the selected upgrade file.
  13. 根据权利要求8所述的装置,其中,还包括:The apparatus of claim 8 further comprising:
    检验模块,设置为检验所述数据源的合法性和有效性。An inspection module configured to verify the legitimacy and validity of the data source.
  14. 根据权利要求8至13中任一项所述的装置,其中,所述终端为机顶盒。 Apparatus according to any one of claims 8 to 13 wherein the terminal is a set top box.
PCT/CN2014/088862 2014-06-30 2014-10-17 Terminal upgrade method and device WO2016000355A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410309223.6A CN105208446A (en) 2014-06-30 2014-06-30 Terminal upgrading method and apparatus
CN201410309223.6 2014-06-30

Publications (1)

Publication Number Publication Date
WO2016000355A1 true WO2016000355A1 (en) 2016-01-07

Family

ID=54955823

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088862 WO2016000355A1 (en) 2014-06-30 2014-10-17 Terminal upgrade method and device

Country Status (2)

Country Link
CN (1) CN105208446A (en)
WO (1) WO2016000355A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959765B (en) * 2016-06-30 2019-04-05 青岛海信宽带多媒体技术有限公司 A kind of terminal starting control method, device and set-top box based on IR remote controller
CN108966078A (en) * 2017-05-19 2018-12-07 广西三诺数字科技有限公司 A kind of speaker firmware upgrade method and circuit
CN109086065A (en) * 2018-08-16 2018-12-25 深圳市元征科技股份有限公司 A kind of method for upgrading software, system and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315605A (en) * 2008-06-26 2008-12-03 四川长虹电器股份有限公司 Automatic upgrading method of panel TV software based on USB port
US7581217B2 (en) * 2001-10-31 2009-08-25 Microsoft Corporation Dynamic software update
CN102289383A (en) * 2011-09-22 2011-12-21 四川长虹电器股份有限公司 Method for upgrading software of set top box
CN102541595A (en) * 2011-12-20 2012-07-04 Tcl集团股份有限公司 Method and device for upgrading intelligent device and intelligent device
CN102622254A (en) * 2012-03-12 2012-08-01 深圳市酷开网络科技有限公司 Method and system for processing television outage
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729948A (en) * 2009-12-02 2010-06-09 中兴通讯股份有限公司 Remote upgrading method and system
CN101800842B (en) * 2010-04-16 2012-05-30 四川长虹电器股份有限公司 Method for upgrading software of set-top box
CN102722394B (en) * 2012-06-08 2015-03-18 深圳路迪网络有限公司 Start upgrading method of embedded equipment
CN103716695A (en) * 2013-12-16 2014-04-09 乐视致新电子科技(天津)有限公司 System software upgrading method and smart television

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7581217B2 (en) * 2001-10-31 2009-08-25 Microsoft Corporation Dynamic software update
CN101315605A (en) * 2008-06-26 2008-12-03 四川长虹电器股份有限公司 Automatic upgrading method of panel TV software based on USB port
CN102289383A (en) * 2011-09-22 2011-12-21 四川长虹电器股份有限公司 Method for upgrading software of set top box
CN102541595A (en) * 2011-12-20 2012-07-04 Tcl集团股份有限公司 Method and device for upgrading intelligent device and intelligent device
CN102622254A (en) * 2012-03-12 2012-08-01 深圳市酷开网络科技有限公司 Method and system for processing television outage
CN102802083A (en) * 2012-08-24 2012-11-28 乐视网信息技术(北京)股份有限公司 Set top box updating method based on Android system and set top box

Also Published As

Publication number Publication date
CN105208446A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
US8874892B1 (en) Assessing BIOS information prior to reversion
US8997090B2 (en) Installing an operating system in a host system
US9110679B1 (en) Pre-boot management of drivers and programs
US20160170736A1 (en) Updating firmware of a hardware component
TWI576764B (en) A computer system
CN104133709B (en) The upgrade method and device of embedded system
JP2007528534A (en) Using a loader to notify system software update services
US20160019116A1 (en) Apparatus and method for recovering an information handling system from a non-operational state
TWI533216B (en) Operating system updating method
KR101688631B1 (en) Apparatus and method for acquiring forensic data to guarantee integrity of flash memory in smart device
CN109976816B (en) Computer system configuration method and server
CN106331862A (en) Set-top box software upgrading method and set-top box
KR20200090010A (en) Method for updating firmware, electronic device and storage medium therefor
US20170134384A1 (en) Method and device for obtaining superuser permission
WO2016000355A1 (en) Terminal upgrade method and device
CN103997684A (en) Method and device for updating operating system
CN107396185B (en) Upgrading method and system
US10262309B1 (en) Augmenting a BIOS with new programs
CN116820528A (en) Firmware version upgrading method and device, chip and electronic equipment
US20200104112A1 (en) Information extraction apparatus, and automatic firmware update system and method for embedded system
CN110018918B (en) Method and device for repairing terminal abnormity, mobile terminal and storage medium
CN114237722B (en) System starting method, device, equipment and engineering vehicle
CN110909344B (en) Control method and device
EP4284006A1 (en) Abnormal state processing method, server, and electronic device
KR101206639B1 (en) Server and Method for updating firmware in Mobile communication terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14896919

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14896919

Country of ref document: EP

Kind code of ref document: A1