WO2016188037A1 - 一种版本烧录方法、系统、终端及计算机存储介质 - Google Patents
一种版本烧录方法、系统、终端及计算机存储介质 Download PDFInfo
- Publication number
- WO2016188037A1 WO2016188037A1 PCT/CN2015/093614 CN2015093614W WO2016188037A1 WO 2016188037 A1 WO2016188037 A1 WO 2016188037A1 CN 2015093614 W CN2015093614 W CN 2015093614W WO 2016188037 A1 WO2016188037 A1 WO 2016188037A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- card
- top box
- version
- set top
- terminal
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4432—Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4435—Memory management
Definitions
- the invention relates to a production technology of a set top box, in particular to a version burning method, system, terminal and computer storage medium.
- the bottom layer generally adopts the advanced RISC Machine (ARM) processor, the operating system usually adopts the linux operating system, and the high-level adopts the Android (android) application system; when generating the set-top box, it is required Burn the version to the memory chip in the set-top box through the USB serial port or network port.
- ARM advanced RISC Machine
- the operating system usually adopts the linux operating system
- the high-level adopts the Android (android) application system
- the manner in which the version is burned to the set top box based on the above manner has a complicated operating environment and implementation process, high requirements on the user's operation capability, and poor reliability of the entire burning process.
- the embodiment of the invention provides a version burning method, system, terminal and computer storage medium, which can quickly burn the version onto the set top box memory chip, and the user is simple in operation and high in reliability.
- An embodiment of the present invention provides a version burning method, where the method includes:
- the terminal copies the burned file containing the organic top box version to the flash memory card TF;
- the set top box performs a burning operation on the set top box version inserted into its own TF card in the TF card startup mode.
- the burning file further includes a function code corresponding to the boot sector executable code and the TF card startup mode.
- the terminal copies the burned file containing the organic top box version to the TF card.
- the method further includes: when the burning operation ends, prompting the device to prompt the burning operation to end by the burning operation.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the version burning method according to the embodiment of the invention.
- the embodiment of the invention further provides a version burning system, the system comprising a terminal, a set top box and a TF card;
- the terminal is configured to copy the burned file containing the organic set top box version into the TF card;
- the TF card is configured to cache the burned file including the organic top box version
- the set top box is configured to perform a burning operation on a set top box version inserted into its own TF card in a TF card startup mode.
- the burning file further includes a function code corresponding to the boot sector executable code and the TF card startup mode.
- the terminal includes a dividing unit, a booting card making unit, and a copying unit;
- the dividing unit is configured to partition the TF card by using a formatting tool to obtain a new partition aligned to a fixed sector;
- the boot card making unit is configured to copy the boot sector executable code and the function code corresponding to the TF card startup mode to the new partition according to a preset rule;
- the copy unit is configured to copy the set top box version to the remaining space of the new partition.
- the system further includes: a burning operation prompting device connected to the set top box;
- the programming operation prompting device is configured to prompt the burning operation to end when the burning operation ends.
- the terminal is a computer with a WinXP or higher system version installed.
- the embodiment of the present invention further provides a terminal, where the terminal includes a dividing unit, activating card making unit, and a copying unit;
- the dividing unit is configured to partition the TF card by using a formatting tool to obtain a new partition aligned to a fixed sector;
- the boot card making unit is configured to copy the boot sector executable code and the function code corresponding to the TF card startup mode to the new partition according to a preset rule;
- the copy unit is configured to copy the set top box version to the remaining space of the new partition, so that the set top box performs a burning operation on the set top box version inserted into the TF card of the TF card in the TF card startup mode.
- the terminal copies the burning file containing the organic top box version to the flash memory card (TransFLash, TF); the set top box is in the TF card startup mode Perform a burn operation on the set-top box version inserted into its own TF card.
- the version is quickly burned to the set top box memory chip by the startup of the TF card, and the user is easy to operate and has high reliability.
- FIG. 1 is a schematic flowchart of an implementation process of a version burning method according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of an implementation process for a terminal to copy a burned file containing an organic top box version to a TF card according to an embodiment of the present invention
- FIG. 3 is a schematic diagram showing spatial distribution of a TF card according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a terminal of an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a structure of a version burning system according to an embodiment of the present invention.
- the terminal copies the burned file containing the organic top box version to the TF card; the set top box performs the burning operation of the set top box version inserted into the TF card of the TF card in the TF card startup mode.
- FIG. 1 is a schematic flowchart of an implementation of a method for burning a version according to an embodiment of the present invention. As shown in FIG. 1 , a method for burning a version of the embodiment of the present invention includes:
- Step S101 The terminal copies the burned file containing the organic top box version into the TF;
- the terminal may be a computer with a WinXP or higher system version installed.
- the programming file further includes a function code corresponding to the boot sector executable code and the TF card startup mode.
- the terminal copies the burned file containing the organic set top box version into the TF card, including:
- Step S1011 Partitioning the TF card by using a formatting tool to obtain a new partition aligned to a fixed sector;
- the terminal partitions the TF card by a common formatting tool, such as the DiskGenius tool, to obtain a new partition with a size of 2M aligned to 4096 sectors.
- a common formatting tool such as the DiskGenius tool
- Step S1012 Copy the boot sector executable code and the function code corresponding to the TF card startup mode to the new partition according to a preset rule;
- the terminal may use the winHex tool to copy the boot sector executable code boot_1rd.hex and the mmc-related function code corresponding to the TF card startup mode sdboot to the new partition according to a preset rule.
- the terminal first copies the boot sector executable code boot_1rd.hex into the 446-byte space starting at address 0.
- the 446 bytes are the maximum number of bytes of the boot sector code, so the boot sector executable code cannot exceed 446.
- boot_1rd.hex is the binary machine instruction code, the machine instruction is the ARM processor instruction for Cortex-A9; after that, the terminal copies the mmc related function code of sdboot into the absolute disk address of 0x100000, and the mmc related function code of sdboot is stored.
- the sdboot_for_prog.bin file size is about 195k.
- Step S1013 Copy the set top box version to the remaining space of the new partition.
- the set-top box version includes a version file, a factory parameter file, and an index file corresponding to the factory parameter currently being burned.
- the terminal copies the version file update.bin, update.zip, the factory parameter file, and the index file mac.idx corresponding to the currently programmed factory parameter MAC to the remaining part of the new partition in the TF card.
- the factory parameter file mainly includes a MAC address, a usage protocol license, and an upgrade server address; the file name of the factory parameter file is named after mac.000 to mac.999. It should be noted that for each TF card, only one file name corresponding to the factory parameter file is stored.
- Step S102 The set top box performs a burning operation on the set top box version inserted into the TF card of the TF card in the TF card startup mode.
- the set-top box before performing the programming operation, the set-top box first sets the startup mode to the TF card startup mode, that is, the sdboot mode; after the set-top box is powered on, the TF card is inserted into the TF card slot, and the set-top box starts to execute the TF card inserted into itself.
- the set-top box version of the burning operation is not limited to the TF card startup mode.
- boot_1rd.hex file the number of bytes of the file cannot exceed 446 bytes, and is placed in the TF card.
- boot sector As the boot code.
- Line 5 Extract the lower 8 bits from it (store cpu id)
- Line 13 Go to 0x202000 and start executing code.
- the description of this file is as follows:
- the code in the sdboot.c file is mainly to configure the code of mmc. After the configuration, the event is sent to wake up cpu1, and then cpu1 executes the ddr address: 0x202000 (CFG_LOAD_ADDR), that is, the uboot startup process begins. .
- link.lds is a link script file, which arranges the code segment .text, the data segment .data, the address of the uninitialized data segment (.bss), the characteristics, etc., and the last part allocates the functions of each function. address. With this file, you can compile the boot_1rd.hex file.
- the method in the embodiment of the present invention may further include:
- Step S103 When the burning operation ends, the device is prompted to indicate that the burning operation ends by the burning operation.
- the burning operation is connected to the set top box to receive a prompting device, such as a light board.
- a prompting device such as a light board.
- the hardware connection structure is simple, only the set top box supports the TF card startup mode, and there is a TF card slot on the set top box. In practical applications, it takes only 1 to 2 minutes to burn a version by the version burning method according to the embodiment of the present invention, and the burning speed is fast, the user is easy to operate, and the reliability is high.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the version burning method according to the embodiment of the invention.
- the terminal includes a dividing unit 401, activating card making unit 402, and a copying unit 403.
- the dividing unit 401 is configured to partition the TF card by using a formatting tool to obtain a new partition aligned to a fixed sector;
- the startup card making unit 402 is configured to copy the boot sector executable code and the function code corresponding to the TF card startup mode to the new partition according to a preset rule;
- the copy unit 403 is configured to copy the set top box version to the remaining space of the new partition, so that the set top box performs a burning operation on the set top box version inserted into the TF card of the TF card in the TF card startup mode.
- the terminal may be a computer with a WinXP or higher system version installed.
- the dividing unit 401, the initiating card making unit 402, and the copying unit 403 in the terminal of the embodiment of the present invention may be implemented by a processor in the terminal, or may be implemented by a specific logic circuit; for example, in practical applications, It can be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), a Digital Signal Processor (DSP), or a Field Programmable Array (Field Programmable) located in the terminal. Gate Array, FPGA) and other implementations.
- CPU Central Processing Unit
- MPU Micro Processor Unit
- DSP Digital Signal Processor
- FPGA Field Programmable Array
- FIG. 5 is a schematic structural diagram of a version burning system according to an embodiment of the present invention. As shown in FIG. 5, the system includes a terminal 501, a set top box 502, and a TF card 503.
- the terminal 501 is configured to copy the burned file containing the organic set top box version into the TF card;
- the programming file further includes a function code corresponding to the boot sector executable code and the TF card startup mode; the terminal may be a computer with a WinXP or higher system version installed.
- the terminal may be a component structure as shown in FIG. 4, including a dividing unit 401, a booting card making unit 402, and a copying unit 403.
- the dividing unit 401 is configured to perform a TF card by using a formatting tool. Partitioning, obtaining a new partition aligned to a fixed sector; the boot card making unit 402, configured to copy the boot sector executable code and the function code corresponding to the TF card startup mode to the a new partition; the copy unit 403, configured to copy the set top box version to the remaining space of the new partition.
- the TF card 502 is configured to cache the burned file including the organic top box version
- the set top box 503 is configured to perform a burning operation on a set top box version inserted into its own TF card in a TF card startup mode.
- system may further include: a burning operation prompting device 504 connected to the set top box;
- the programming operation prompting device 504 is configured to prompt the burning operation to end when the burning operation ends.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
- the terminal copies the burning file containing the organic top box version to the flash memory card (TransFLash, TF); the set top box is in the TF card startup mode Perform a burn operation on the set-top box version inserted into its own TF card.
- the version is quickly burned to the set top box memory chip by the startup of the TF card, and the user is easy to operate and has high reliability.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
本发明实施例提供一种版本烧录方法、系统、终端及计算机存储介质,终端将包含有机顶盒版本的烧录文件拷贝到快闪存储器卡(TF)中;机顶盒在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
Description
本发明涉及机顶盒的生产技术,尤其涉及一种版本烧录方法、系统、终端及计算机存储介质。
目前,在机顶盒的实现过程中,底层一般采用高级精简指令集机器(Advanced RISC Machine,ARM)处理器,操作系统通常采用linux操作系统,高层采用安卓(android)应用系统;在生成机顶盒时,需要通过USB串口或网口把版本烧录到机顶盒中的存储芯片上。
然而,基于上述方式将版本烧录到机顶盒的方式,其操作环境和实现过程复杂,对用户的操作能力要求高,且整个烧录过程可靠性差。
发明内容
本发明实施例提供一种版本烧录方法、系统、终端及计算机存储介质,能够快速地把版本烧录到机顶盒存储芯片上,用户操作简便,可靠性高。
本发明实施例的技术方案是这样实现的:
本发明实施例提供一种版本烧录方法,所述方法包括:
终端将包含有机顶盒版本的烧录文件拷贝到快闪存储器卡TF中;
机顶盒在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
上述方案中,所述烧录文件还包括引导扇区可执行代码和TF卡启动方式对应的函数代码。
上述方案中,所述终端将包含有机顶盒版本的烧录文件拷贝到TF卡
中,包括:
通过格式化工具对TF卡进行分区,得到对齐到固定扇区的新分区;
将所述引导扇区可执行代码和所述TF卡启动方式对应的函数代码按照预设规则拷贝到所述新分区;
将机顶盒版本拷贝到所述新分区的剩余空间。
上述方案中,所述方法还包括:当所述烧录操作结束时,通过烧录操作提示设备提示所述烧录操作结束。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述版本烧录方法。
本发明实施例还提供一种版本烧录系统,所述系统包括终端、机顶盒和TF卡;
所述终端,配置为将包含有机顶盒版本的烧录文件拷贝到TF卡中;
所述TF卡,配置为缓存所述包含有机顶盒版本的烧录文件;
所述机顶盒,配置为在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
上述方案中,所述烧录文件还包括引导扇区可执行代码和TF卡启动方式对应的函数代码。
上述方案中,所述终端包括划分单元、启动卡制作单元和拷贝单元;其中,
所述划分单元,配置为通过格式化工具对TF卡进行分区,得到对齐到固定扇区的新分区;
所述启动卡制作单元,配置为将所述引导扇区可执行代码和所述TF卡启动方式对应的函数代码按照预设规则拷贝到所述新分区;
所述拷贝单元,配置为将机顶盒版本拷贝到所述新分区的剩余空间。
上述方案中,所述系统还包括:与所述机顶盒相连接的烧录操作提示设备;
所述烧录操作提示设备,配置为当所述烧录操作结束时,提示所述烧录操作结束。
上述方案中,所述终端为安装有WinXP或更高系统版本的计算机。
本发明实施例又提供一种终端,所述终端包括划分单元、启动卡制作单元和拷贝单元;其中,
所述划分单元,配置为通过格式化工具对TF卡进行分区,得到对齐到固定扇区的新分区;
所述启动卡制作单元,配置为将所述引导扇区可执行代码和所述TF卡启动方式对应的函数代码按照预设规则拷贝到所述新分区;
所述拷贝单元,配置为将机顶盒版本拷贝到所述新分区的剩余空间,以使机顶盒在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
本发明实施例所提供的版本烧录方法、系统、终端及计算机存储介质,终端将包含有机顶盒版本的烧录文件拷贝到快闪存储器卡(TransFLash,TF)中;机顶盒在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。如此,通过TF卡的启动快速地把版本烧录到机顶盒存储芯片上,用户操作简便,可靠性高。
图1为本发明实施例版本烧录方法的实现流程示意图;
图2为本发明实施例终端将包含有机顶盒版本的烧录文件拷贝到TF卡中的实现流程示意图;
图3为本发明实施例TF卡的空间分布示意图;
图4为本发明实施例终端的组成结构示意图;
图5为本发明实施例版本烧录系统的组成结构示意图。
在本发明实施例中,终端将包含有机顶盒版本的烧录文件拷贝到TF卡中;机顶盒在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
下面结合附图及具体实施例对本发明再作进一步详细的说明。
图1为本发明实施例版本烧录方法的实现流程示意图,如图1所示,本发明实施例版本烧录方法包括:
步骤S101:终端将包含有机顶盒版本的烧录文件拷贝到TF中;
这里,所述终端可以为安装有WinXP或更高系统版本的计算机。
其中,所述烧录文件还包括引导扇区可执行代码和TF卡启动方式对应的函数代码。
具体地,如图2所示,终端将包含有机顶盒版本的烧录文件拷贝到TF卡中,包括:
步骤S1011:通过格式化工具对TF卡进行分区,得到对齐到固定扇区的新分区;
具体地,终端通过常用的格式化工具,如DiskGenius工具,对TF卡进行分区,得到对齐到4096扇区的空间大小为2M的新分区。
步骤S1012:将所述引导扇区可执行代码和所述TF卡启动方式对应的函数代码按照预设规则拷贝到所述新分区;
具体地,终端可可以采用winHex工具将所述引导扇区可执行代码boot_1rd.hex和所述TF卡启动方式sdboot对应的mmc相关的函数代码按照预设规则拷贝到所述新分区。在一示例中,如图3所示,终端首先把引导扇区可执行代码boot_1rd.hex拷入0地址开始的446字节空间中。所述446字节为引导扇区代码最大字节数,所以,引导扇区可执行代码不能超过446
字节,boot_1rd.hex为二进制机器指令码,机器指令为针对Cortex-A9的ARM处理器指令;之后,终端把sdboot的mmc相关函数代码拷入0x100000的绝对盘地址,sdboot的mmc相关函数代码存放在sdboot_for_prog.bin文件中,所述sdboot_for_prog.bin文件大小为195k左右。
步骤S1013:将机顶盒版本拷贝到所述新分区的剩余空间。
其中,所述机顶盒版本包括版本文件、工厂参数文件及当前所烧录的工厂参数对应的索引文件。
具体地,终端将机顶盒版本对应的版本文件update.bin,update.zip、工厂参数文件及当前所烧录的工厂参数MAC对应的索引文件mac.idx均拷贝到TF卡中所述新分区的剩余空间中。其中,所述工厂参数文件主要包括MAC地址、使用协议License及升级服务器地址;所述工厂参数文件的文件名以mac.000到mac.999来命名。需要说明的是,对于每张TF卡来说最多只存放一个工厂参数文件对应的文件名。
步骤S102:机顶盒在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
具体地,机顶盒在执行烧录操作之前,首先把启动方式设置为TF卡启动方式,即sdboot方式;机顶盒上电后,将TF卡插入TF卡槽,机顶盒开始执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
这里,需要补充说明的是,在执行本发明实施例所述方法之前,需要编译生成引导扇区可执行代码boot_1rd.hex文件,此文件的字节数不能超过446字节,放在TF卡中的引导扇区中,做为启动代码。具体地,在编译生成boot_1rd.hex文件时,需要在计算机上安装eclipse环境,并安装交叉编译的编辑器,使得计算机可以在WinXP或更高系统版本下编译生成基于ARM处理器的代码。
另外,在上述编译生成boot_1rd.hex文件时,需要以下几个应用程序文
件:
文件1:start.s
内容如下:
对此文件的说明如下:
第4行:读处理器寄存器MPIDR寄存器
第5行:从中抽取出低8位(存放cpu id)
第6行:和0比较
第7行:如果相等(即为cpu0),则转到第15行cpu0标签处,继续执行后面代码
第9行:not_cpu0标签,
第10行:等待事件到来。
第11,12行,把0x202000地址放入r0寄存器,
第13行:进入到0x202000,开始执行代码。
每16行:进入到sd_boot子程序
第18行:执行完sd_boot后,进行死循环状态。
文件2:sdboot.c
内容如下:
对此文件的说明如下:sdboot.c文件中的代码,主要是配置mmc的代码,配置好后,通过发送事件,唤醒cpu1,然后cpu1执行ddr地址:0x202000(CFG_LOAD_ADDR),即开始进行uboot启动过程。
文件3:link.lds
内容如下:
对此文件的说明如下:link.lds为链接脚本文件,它把代码段.text,数据段.data,未初始化数据段(.bss)的地址,特性等安排好,最后一部分分配好各个函数的地址。有了这个文件,就可以编译出boot_1rd.hex文件。
在一实施例中,本发明实施例所述方法还可以包括:
步骤S103:当所述烧录操作结束时,通过烧录操作提示设备提示所述烧录操作结束。
具体地,在机顶盒上连接烧录操作接收提示设备,如灯板。这样,当所述烧录操作结束后,灯板上由状态为红灯亮切换至绿灯亮,或由红灯闪烁切换至绿灯闪烁等。
综上所述,本发明实施例所述版本烧录方法,其硬件连接结构简单,只需机顶盒支持TF卡启动方式,并且在机顶盒上有一个TF卡槽。在实际应用中,通过本发明实施例所述版本烧录方法烧录一个版本只需1到2分钟,其烧录速度快,用户操作简便,可靠性高。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述版本烧录方法。
图4为本发明实施例终端的组成结构示意图,如图4所示,所述终端包括划分单元401、启动卡制作单元402和拷贝单元403;其中,
所述划分单元401,配置为通过格式化工具对TF卡进行分区,得到对齐到固定扇区的新分区;
所述启动卡制作单元402,配置为将所述引导扇区可执行代码和所述TF卡启动方式对应的函数代码按照预设规则拷贝到所述新分区;
所述拷贝单元403,配置为将机顶盒版本拷贝到所述新分区的剩余空间,以使机顶盒在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
在实际应用中,所述终端可以为安装有WinXP或更高系统版本的计算机。本发明实施例所述终端中的划分单元401、启动卡制作单元402和拷贝单元403均可以通过所述终端中的处理器实现,也可以通过具体的逻辑电路实现;比如,在实际应用中,可由位于所述终端中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)、或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。
图5为本发明实施例版本烧录系统的组成结构示意图,如图5所示,所述系统包括终端501、机顶盒502和TF卡503;
所述终端501,配置为将包含有机顶盒版本的烧录文件拷贝到TF卡中;
其中,所述烧录文件还包括引导扇区可执行代码和TF卡启动方式对应的函数代码;所述终端可以为安装有WinXP或更高系统版本的计算机。
具体地,所述终端可以为如图4所示的组成结构,包括划分单元401、启动卡制作单元402和拷贝单元403;其中,所述划分单元401,用于通过格式化工具对TF卡进行分区,得到对齐到固定扇区的新分区;所述启动卡制作单元402,用于将所述引导扇区可执行代码和所述TF卡启动方式对应的函数代码按照预设规则拷贝到所述新分区;所述拷贝单元403,用于将机顶盒版本拷贝到所述新分区的剩余空间。
所述TF卡502,配置为缓存所述包含有机顶盒版本的烧录文件;
所述机顶盒503,配置为在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
在一实施例中,所述系统还可以包括:与所述机顶盒相连接的烧录操作提示设备504;
所述烧录操作提示设备504,配置为当所述烧录操作结束时,提示所述烧录操作结束。
本发明实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程
图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。
本发明实施例所提供的版本烧录方法、系统、终端及计算机存储介质,终端将包含有机顶盒版本的烧录文件拷贝到快闪存储器卡(TransFLash,TF)中;机顶盒在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。如此,通过TF卡的启动快速地把版本烧录到机顶盒存储芯片上,用户操作简便,可靠性高。
Claims (11)
- 一种版本烧录方法,所述方法包括:终端将包含有机顶盒版本的烧录文件拷贝到快闪存储器卡TF中;机顶盒在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
- 根据权利要求1所述的方法,其中,所述烧录文件还包括引导扇区可执行代码和TF卡启动方式对应的函数代码。
- 根据权利要求2所述的方法,其中,所述终端将包含有机顶盒版本的烧录文件拷贝到TF卡中,包括:通过格式化工具对TF卡进行分区,得到对齐到固定扇区的新分区;将所述引导扇区可执行代码和所述TF卡启动方式对应的函数代码按照预设规则拷贝到所述新分区;将机顶盒版本拷贝到所述新分区的剩余空间。
- 根据权利要求1至3任一项所述的方法,其中,所述方法还包括:当所述烧录操作结束时,通过烧录操作提示设备提示所述烧录操作结束。
- 一种版本烧录系统,所述系统包括终端、机顶盒和TF卡;所述终端,配置为将包含有机顶盒版本的烧录文件拷贝到TF卡中;所述TF卡,配置为缓存所述包含有机顶盒版本的烧录文件;所述机顶盒,配置为在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
- 根据权利要求5所述的系统,其中,所述烧录文件还包括引导扇区可执行代码和TF卡启动方式对应的函数代码。
- 根据权利要求6所述的系统,其中,所述终端包括划分单元、启动卡制作单元和拷贝单元;所述划分单元,配置为通过格式化工具对TF卡进行分区,得到对齐到 固定扇区的新分区;所述启动卡制作单元,配置为将所述引导扇区可执行代码和所述TF卡启动方式对应的函数代码按照预设规则拷贝到所述新分区;所述拷贝单元,配置为将机顶盒版本拷贝到所述新分区的剩余空间。
- 根据权利要求5至7任一项所述的系统,其中,所述系统还包括:与所述机顶盒相连接的烧录操作提示设备;所述烧录操作提示设备,配置为当所述烧录操作结束时,提示所述烧录操作结束。
- 根据权利要求5至7任一项所述的系统,其中,所述终端为安装有WinXP或更高系统版本的计算机。
- 一种终端,所述终端包括划分单元、启动卡制作单元和拷贝单元;所述划分单元,配置为通过格式化工具对TF卡进行分区,得到对齐到固定扇区的新分区;所述启动卡制作单元,配置为将所述引导扇区可执行代码和所述TF卡启动方式对应的函数代码按照预设规则拷贝到所述新分区;所述拷贝单元,配置为将机顶盒版本拷贝到所述新分区的剩余空间,以使机顶盒在TF卡启动方式下执行对插入到自身的TF卡中的机顶盒版本的烧录操作。
- 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至4任一项所述版本烧录方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510282002.9 | 2015-05-28 | ||
| CN201510282002.9A CN106303707A (zh) | 2015-05-28 | 2015-05-28 | 一种版本烧录方法、系统及终端 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016188037A1 true WO2016188037A1 (zh) | 2016-12-01 |
Family
ID=57392731
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/093614 Ceased WO2016188037A1 (zh) | 2015-05-28 | 2015-11-02 | 一种版本烧录方法、系统、终端及计算机存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106303707A (zh) |
| WO (1) | WO2016188037A1 (zh) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110209404A (zh) * | 2019-06-03 | 2019-09-06 | 深兰科技(上海)有限公司 | 一种序列号烧录方法及终端设备 |
| CN110471676A (zh) * | 2019-08-22 | 2019-11-19 | 深圳市讯盾科技有限公司 | Mac地址烧录方法及系统 |
| CN110716721A (zh) * | 2019-08-27 | 2020-01-21 | 中国船舶重工集团公司第七0七研究所 | 兼容网口和串口的tms320c6748程序加载方法 |
| CN112214230A (zh) * | 2020-09-15 | 2021-01-12 | 广芯微电子(广州)股份有限公司 | 一种芯片程序烧写装置及芯片程序烧写方法 |
| CN112698834A (zh) * | 2020-12-31 | 2021-04-23 | 深圳创维-Rgb电子有限公司 | 烧录文件生成方法及装置、烧录设备和计算机存储介质 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110704078B (zh) * | 2019-08-06 | 2023-07-21 | 浙江宇视科技有限公司 | Led屏幕更换方法、装置和led屏幕组件 |
| CN111221534B (zh) * | 2019-12-31 | 2022-08-30 | 卡斯柯信号有限公司 | 一种模块化嵌入式软件交叉编译烧录装置及方法 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020178352A1 (en) * | 2001-05-22 | 2002-11-28 | Lambino John P. | Firmware upgrade using address conversion |
| CN101101553A (zh) * | 2006-07-05 | 2008-01-09 | 乐金电子(昆山)电脑有限公司 | 韧件升级恢复方法 |
| CN102594974A (zh) * | 2011-01-05 | 2012-07-18 | 中兴通讯股份有限公司 | 一种无线通信终端软件升级装置与方法 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202632773U (zh) * | 2012-05-24 | 2012-12-26 | 天津百亚达科技有限公司 | 一种基于sd卡的便携式串行flash烧写装置 |
| CN102802083A (zh) * | 2012-08-24 | 2012-11-28 | 乐视网信息技术(北京)股份有限公司 | 一种基于Android系统的机顶盒升级方法及其机顶盒 |
| CN103677915B (zh) * | 2013-12-11 | 2018-08-07 | 厦门雅迅网络股份有限公司 | 一种基于TF启动卡进行flash镜像自动烧写的方法 |
| CN103997683B (zh) * | 2014-05-06 | 2017-03-22 | 四川长虹电器股份有限公司 | 利用机顶盒平台实现可定制Flash烧录器的系统及其方法 |
| CN104461665A (zh) * | 2014-12-31 | 2015-03-25 | 四川金网通电子科技有限公司 | 基于存储设备的外控触发android系统升级的方法 |
-
2015
- 2015-05-28 CN CN201510282002.9A patent/CN106303707A/zh not_active Withdrawn
- 2015-11-02 WO PCT/CN2015/093614 patent/WO2016188037A1/zh not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020178352A1 (en) * | 2001-05-22 | 2002-11-28 | Lambino John P. | Firmware upgrade using address conversion |
| CN101101553A (zh) * | 2006-07-05 | 2008-01-09 | 乐金电子(昆山)电脑有限公司 | 韧件升级恢复方法 |
| CN102594974A (zh) * | 2011-01-05 | 2012-07-18 | 中兴通讯股份有限公司 | 一种无线通信终端软件升级装置与方法 |
Non-Patent Citations (1)
| Title |
|---|
| ZHU, ZISHENG: "Design and Implementation of Industrial Control MCU Firmware Auto-Update System", ELECTRIC ENGINEERING, 28 August 2008 (2008-08-28), pages 50 - 51 * |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110209404A (zh) * | 2019-06-03 | 2019-09-06 | 深兰科技(上海)有限公司 | 一种序列号烧录方法及终端设备 |
| CN110209404B (zh) * | 2019-06-03 | 2023-07-14 | 深兰科技(上海)有限公司 | 一种序列号烧录方法及终端设备 |
| CN110471676A (zh) * | 2019-08-22 | 2019-11-19 | 深圳市讯盾科技有限公司 | Mac地址烧录方法及系统 |
| CN110716721A (zh) * | 2019-08-27 | 2020-01-21 | 中国船舶重工集团公司第七0七研究所 | 兼容网口和串口的tms320c6748程序加载方法 |
| CN112214230A (zh) * | 2020-09-15 | 2021-01-12 | 广芯微电子(广州)股份有限公司 | 一种芯片程序烧写装置及芯片程序烧写方法 |
| CN112698834A (zh) * | 2020-12-31 | 2021-04-23 | 深圳创维-Rgb电子有限公司 | 烧录文件生成方法及装置、烧录设备和计算机存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106303707A (zh) | 2017-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016188037A1 (zh) | 一种版本烧录方法、系统、终端及计算机存储介质 | |
| CN103942065B (zh) | 用于更新固件兼容性数据的方法和系统 | |
| CN105739961B (zh) | 一种嵌入式系统的启动方法和装置 | |
| US20140372998A1 (en) | App package deployment | |
| CN103677915B (zh) | 一种基于TF启动卡进行flash镜像自动烧写的方法 | |
| WO2017186089A1 (zh) | 一种车载解码器软件升级文件的方法 | |
| CN104572235A (zh) | 一种可加载内核模块的编译方法和装置 | |
| TW201525858A (zh) | 基板管理控制器與其韌體載入方法 | |
| CN105138382A (zh) | 一种Android系统升级的方法及终端 | |
| CN106293849B (zh) | 一种应用更新方法和终端 | |
| CN104035803A (zh) | 一种更新cpld/fpga固件的方法、装置及烧录器 | |
| CN105824678A (zh) | 一种操作系统安装方法及装置 | |
| CN104407890A (zh) | 一种从OTG设备启动Android系统的方法 | |
| WO2016078263A1 (zh) | 升级控制设备、终端、终端升级方法及系统、存储介质 | |
| WO2017202338A1 (zh) | 机顶盒加载驱动的方法及系统 | |
| CN105653330A (zh) | 一种基于SD卡的NorFlash烧写系统和方法 | |
| KR102128472B1 (ko) | 인-스토리지 컴퓨팅 동작들을 수행할 수 있는 스토리지 장치, 이의 동작 방법, 및 이를 포함하는 시스템 | |
| CN104866324A (zh) | 一种便携操作系统构建方法及便携存储器 | |
| CN105656970A (zh) | 一种raid卡配置方法、系统及相关装置 | |
| US10664598B1 (en) | Firmware security patch deployment | |
| WO2018014687A1 (zh) | 一种参数传递方法、装置及计算机存储介质 | |
| CN105893072A (zh) | 一种芯片的固件升级方法和装置 | |
| CN106201636A (zh) | 一种dsp片外代码动态加载方法及装置 | |
| US9934045B1 (en) | Embedded system boot from a storage device | |
| CN105224352A (zh) | 软件版本升级方法和单板 |
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: 15893112 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: 15893112 Country of ref document: EP Kind code of ref document: A1 |






