CN108134963B - Digital television all-in-one machine upgrading method, device, medium and computer equipment - Google Patents

Digital television all-in-one machine upgrading method, device, medium and computer equipment Download PDF

Info

Publication number
CN108134963B
CN108134963B CN201810113334.8A CN201810113334A CN108134963B CN 108134963 B CN108134963 B CN 108134963B CN 201810113334 A CN201810113334 A CN 201810113334A CN 108134963 B CN108134963 B CN 108134963B
Authority
CN
China
Prior art keywords
board
upgrading
digital
data
ota
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810113334.8A
Other languages
Chinese (zh)
Other versions
CN108134963A (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.)
Beijing Star Times Software Technology Co ltd
Original Assignee
Beijing Star Times Software 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 Beijing Star Times Software Technology Co ltd filed Critical Beijing Star Times Software Technology Co ltd
Priority to CN201810113334.8A priority Critical patent/CN108134963B/en
Publication of CN108134963A publication Critical patent/CN108134963A/en
Application granted granted Critical
Publication of CN108134963B publication Critical patent/CN108134963B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/241Operating system [OS] processes, e.g. server setup

Landscapes

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

Abstract

The invention provides an upgrading method and device for a digital television all-in-one machine. The method comprises the following steps: acquiring OTA upgrade data from a digital signal broadcasting network through an OTA upgrade data inlet; and upgrading the digital board in the digital television all-in-one machine by using the digital board upgrading data in the OTA upgrading data, and upgrading the analog board in the digital television all-in-one machine by using the analog board upgrading data in the OTA upgrading data. The invention can stably and reliably upgrade the digital television all-in-one machine by the OTA.

Description

Digital television all-in-one machine upgrading method, device, medium and computer equipment
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for upgrading a digital television all-in-one machine.
Background
In The set-top box industry, OTA (On The Air upgrade) is already a mature upgrade standard. The method comprises the steps of issuing upgrading data in a custom format through a digital television broadcasting Network, receiving linking upgrading Information from an NIT (Network Information Table) by a set-top box, and jumping to a loader for upgrading.
However, as the technology of the high-security television chip is not mature enough, the mainstream scheme of the digital television all-in-one machine (having the functions of both a television and a digital signal decoding) is still a double-board scheme: the television main chip realizes the basic functions of the liquid crystal television and is called as an analog board; the other set-top box chip is responsible for receiving and decoding the digital television signals and is called a digital board. The digital board is upgraded by a mature OTA (over the air) upgrading scheme, namely a set-top box OTA scheme. For the upgrade of the analog board, the traditional liquid crystal television product does not have the requirement of large-scale upgrade after the product is sold, so the analog board only supports the upgrade of the USB flash disk in the traditional television scheme. Although this upgrading method is sufficient for after-sales and maintenance, it is necessary for the digital tv operators to upgrade the digital tv product in a large scale in many application scenarios as the demand increases.
In the existing upgrading technology of the digital television all-in-one machine, an analog board and a digital board are upgraded separately. The traditional digital board upgrading scheme can be upgraded by using OTA (over the air) and can also be upgraded by using USB (universal serial bus). The OTA upgrading is suitable for operators to carry out large-scale user software upgrading: the upgrading software of the digital board part is made into an upgrading ts code stream after passing through a streaming tool, the upgrading ts code stream is multiplexed into a program code stream by the front end and is sent to the digital board end through a digital television broadcasting network, and the digital board judges that the upgrading conditions are met and automatically triggers the automatic upgrading. The USB upgrading is suitable for the maintenance of a single field digital television integrated machine or small-scale upgrading scenes such as test software upgrading and the like. The upgrading scheme of the traditional analog board adopts USB upgrading, an executable program compiled is made into a USB upgrading file through a analog board streaming tool, the USB upgrading file is copied to a USB flash disk and is connected to a USB interface connected to a template, and USB upgrading is triggered through menu options.
However, the technology of separately upgrading the analog board and the digital board of the digital television all-in-one machine has the following disadvantages:
1) the analog board does not support OTA upgrading, and is not convenient for large-scale upgrading of operators.
2) The upgrading of the analog board and the upgrading of the digital board are two independent processes, if the upgrading simultaneously involves two boards, and if the interactive protocols between the two boards are upgraded, a plurality of problems caused by protocol mismatching exist in the process of upgrading in sequence.
3) If both the digital board and the analog board need to support USB upgrade, USB flash disk interfaces need to be reserved on both boards. Because the two USB ports are respectively arranged on the two boards, the two USB ports have functional difference, which brings trouble to users and after-sales personnel and increases the hardware cost of one USB socket.
4) The existing upgrading scheme of the analog board has no security guarantee mechanisms such as digital signature and encryption, so that the cracking cost is low and the security guarantee is lacked.
Disclosure of Invention
The invention provides an upgrading method and device for a digital television all-in-one machine, which are used for stably and reliably upgrading the digital television all-in-one machine in an OTA (over the air) mode.
The embodiment of the invention provides an upgrading method for a digital television all-in-one machine, which comprises the following steps: acquiring OTA upgrade data from a digital signal broadcasting network through an OTA upgrade data inlet; and upgrading the digital board in the digital television all-in-one machine by using the digital board upgrading data in the OTA upgrading data, and upgrading the analog board in the digital television all-in-one machine by using the analog board upgrading data in the OTA upgrading data.
In one embodiment, obtaining OTA upgrade data from a digital signal broadcast network via an OTA upgrade data entry comprises: and acquiring OTA upgrading data from a digital signal broadcasting network through a digital board in the digital television all-in-one machine, wherein the digital board is used as an OTA upgrading data inlet.
In one embodiment, upgrading an analog board in the digital television all-in-one machine by using analog board upgrade data in the OTA upgrade data includes: transmitting the analog board upgrading data in the OTA upgrading data to an analog board in the digital television all-in-one machine in a USB OTG communication mode; and upgrading the simulation board by using the simulation board upgrading data transmitted to the simulation board.
In one embodiment, acquiring OTA upgrade data from a digital signal broadcasting network through a digital board in the digital television all-in-one machine includes: acquiring OTA data from a digital signal broadcasting network through a demux module in the digital board; analyzing the OTA data according to an OTA protocol in the digital board, wherein the OTA protocol meets the software requirements of the digital board and the analog board; and decrypting and signature verifying the analyzed OTA data to obtain OTA upgrading data.
In one embodiment, the transmitting the analog board upgrade data in the OTA upgrade data to the analog board in the digital television all-in-one machine by using a USB OTG communication method includes: generating a udisk.bin file in a memory of the digital board according to the file size of the upgrade data of the analog board; bin file format to a file system of a format supported by the simulation board; and copying the analog board upgrading data to the file system. Upgrading the simulation board by using the simulation board upgrading data transmitted to the simulation board, including: simulating the file system into a USB flash disk of a first USB end of the digital board by utilizing a command of an OTG simulation USB flash disk in a Linux system of the digital board; sending an upgrading instruction to the analog board according to an interaction protocol between the digital board and the analog board; and the simulation board accesses the simulated USB flash disk from the USB end according to the upgrading instruction, reads the upgrading data of the simulation board and upgrades the data.
In one embodiment, upgrading the simulation board by using the simulation board upgrade data transferred to the simulation board further includes: the analog board sends an upgrade success command to the digital board after upgrading successfully; and the digital board updates the software version zone bit of the analog board according to the upgrading success instruction.
The embodiment of the present invention further provides an upgrade device for a digital television all-in-one machine, including: an upgrade data acquisition unit configured to: acquiring OTA upgrade data from a digital signal broadcasting network through an OTA upgrade data inlet; an upgrade execution unit to: and upgrading the digital board in the digital television all-in-one machine by using the digital board upgrading data in the OTA upgrading data, and upgrading the analog board in the digital television all-in-one machine by using the analog board upgrading data in the OTA upgrading data.
In one embodiment, the digitizer includes a first USB port and a second USB port; the USB port of the analog board is connected with the first USB port of the digital board; and the second USB of the digital board is provided with an external USB socket in a buccal way.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method described in the above embodiments.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the steps of the method described in the above embodiments are implemented.
According to the digital television all-in-one machine upgrading method and device, OTA upgrading data are obtained from a digital signal broadcasting network through the OTA upgrading data inlet, the analog board in the digital television all-in-one machine is upgraded by using the analog board upgrading data in the OTA upgrading data, OTA upgrading on the analog board can be realized, the problems that the analog board can only be upgraded by using a USB (universal serial bus) and can not be upgraded by using the OTA are solved, maintenance of analog board software can be realized, remote triggering and automatic upgrading are realized, and large-scale upgrading of the analog board by an operator is facilitated. The unified data receiving channel, namely the digital signal broadcasting network, is adopted to receive and send the OTA upgrading data, and the unified OTA upgrading data inlet, such as a digital board, is adopted to uniformly receive the OTA upgrading data from the digital signal advertising network, thereby realizing the upgrading of the digital board and the analog board in the digital television all-in-one machine through the unified data sending channel and the data inlet. The upgrading of the analog board and the upgrading of the digital board are a unified process, and the upgrading is free from the problem of the order, so that even if the upgrading simultaneously involves the digital board and the analog board and the interactive protocol between the double boards, the problem caused by the mismatching of the protocols can not occur, and the integrated digital television can be stably and reliably upgraded.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic flow chart of an upgrade method of a digital television all-in-one machine according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a method for upgrading an analog board by using analog board upgrade data in OTA upgrade data according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating a method for obtaining OTA upgrade data from a digital signal broadcasting network through a digital board in a digital television all-in-one machine according to an embodiment of the present invention.
Fig. 4 is a schematic flow chart of a method for transmitting analog board upgrade data in OTA upgrade data to an analog board through USB OTG communication in an embodiment of the present invention.
FIG. 5 is a flowchart illustrating a method for upgrading a simulation board according to the upgrade data transferred to the simulation board according to an embodiment of the present invention.
FIG. 6 is a flowchart illustrating a method for upgrading a simulation board according to the upgrade data transferred to the simulation board according to an embodiment of the present invention.
Fig. 7 is a schematic structural diagram of an upgrade apparatus of a digital television all-in-one machine according to an embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Fig. 1 is a schematic flow chart of an upgrade method of a digital television all-in-one machine according to an embodiment of the present invention. As shown in fig. 1, the method for upgrading a digital television all-in-one machine of the present embodiment may include:
step S110: acquiring OTA upgrade data from a digital signal broadcasting network through an OTA upgrade data inlet;
step S120: and upgrading the digital board in the digital television all-in-one machine by using the digital board upgrading data in the OTA upgrading data, and upgrading the analog board in the digital television all-in-one machine by using the analog board upgrading data in the OTA upgrading data.
The digital television set may be, for example, a television set having digital television signal reception and decoding. The analog board in the integrated digital television can be, for example, a main board in a traditional liquid crystal television, and the digital board in the integrated digital television can be, for example, a main board for receiving and decoding digital signals.
In this embodiment, acquire OTA upgrading data from digital signal broadcast network through OTA upgrading data entry to utilize the analog board upgrading data in the OTA upgrading data to upgrade the analog board in the digital television all-in-one, can realize upgrading the analog board OTA, solve the analog board and only can use USB to upgrade, can not use the problem of OTA upgrading, can make the maintenance of analog board software also can realize, long-range triggering, automatic upgrade, the operator of being convenient for upgrades the analog board on a large scale. The unified data receiving channel, namely the digital signal broadcasting network, is adopted to receive and send the OTA upgrading data, and the unified OTA upgrading data inlet, such as a digital board, is adopted to uniformly receive the OTA upgrading data from the digital signal advertising network, thereby realizing the upgrading of the digital board and the analog board in the digital television all-in-one machine through the unified data sending channel and the data inlet. The upgrading of the analog board and the upgrading of the digital board are a unified process, and the upgrading process is free from the problem of upgrading sequence, so that even if the upgrading simultaneously involves the digital board and the analog board and involves the interactive protocol between the double boards, the problem caused by mismatching of the protocols can not occur.
In some embodiments, in the step S110, the OTA upgrade data is acquired from the digital signal broadcasting network through an OTA upgrade data entry, and the specific implementation may be: and acquiring OTA upgrading data from a digital signal broadcasting network through a digital board in the digital television all-in-one machine, wherein the digital board is used as an OTA upgrading data inlet.
In this embodiment, because of the traditional digital board upgrading scheme, OTA upgrading can be used, the digital board is used as an OTA upgrading data inlet, and if the digital board is improved on the basis of the existing digital board, the OTA upgrading data inlet function is realized, so that the cost can be saved.
In the embodiment, when an upgrade code stream is manufactured, the digital board upgrade software and the analog board upgrade software are packaged into one upgrade stream, and the upgrade stream is added into a digital signal broadcasting network through a multiplexer and used for generating OTA upgrade data.
Fig. 2 is a flowchart illustrating a method for upgrading an analog board by using analog board upgrade data in OTA upgrade data according to an embodiment of the present invention. As shown in fig. 2, in step S120, the method for upgrading the analog board in the digital television all-in-one machine by using the analog board upgrade data in the OTA upgrade data may include:
step S121: transmitting the analog board upgrading data in the OTA upgrading data to an analog board in the digital television all-in-one machine in a USB OTG communication mode;
step S122: and upgrading the simulation board by using the simulation board upgrading data transmitted to the simulation board.
The USB OTG (USB On The Go, USB point-to-point communication) technology enables two USB devices to communicate with each other in a host mode and a slave mode, thereby implementing point-to-point communication between The two devices, and implementing access to a USB disk, data interaction between The two devices, and The like through The USB OTG.
In this embodiment, the USB OTG technology is adopted, and data transmission between the digital board and the analog board can be realized by simulating the USB disk. The analog board in current digital television all-in-one machine contains the USB mouth usually, utilizes OTA to acquire the upgrading data earlier, utilizes the USB mouth to carry out the data transfer between digital board and the analog board again, not only can realize upgrading analog board OTA with this, solves the analog board and can only use USB upgrading, can not use the problem of OTA upgrading, can also reduce the hardware improvement cost of current digital all-in-one machine. OTA upgrading can be realized on both the analog board and the digital board, and the analog board can not need to support USB upgrading, and then does not need to keep extra USB flash disk interface on the analog board, so that hardware cost can be saved. According to the scheme of the double-board unified upgrading, the double-board software is used as a whole to carry out unified software version management, the digital board is used for leading the software version management, the double boards can be upgraded simultaneously, and the problem that interactive protocols are unmatched due to the front and back upgrading is avoided. According to the scheme, a small circuit modification is added on the hardware design, so that the data communication of the double boards can be realized, one path of USB socket is saved, and the cost is saved. The scheme realizes OTA upgrading of double plates of the digital television all-in-one machine, utilizes a digital television broadcasting network, realizes remote triggering and automatic upgrading, and greatly increases maintainability.
Fig. 3 is a flowchart illustrating a method for obtaining OTA upgrade data from a digital signal broadcasting network through a digital board in a digital television all-in-one machine according to an embodiment of the present invention. As shown in fig. 3, in step S110, the method for obtaining OTA upgrade data from a digital signal broadcasting network through a digital board in the digital television all-in-one machine may include:
step S111: acquiring OTA data from a digital signal broadcast network through a demux (multiplexer) module in the digital board;
step S112: analyzing the OTA data according to an OTA protocol in the digital board, wherein the OTA protocol meets the software requirements of the digital board and the analog board;
step S113: and decrypting and signature verifying the analyzed OTA data to obtain OTA upgrading data.
The OTA protocol in the digital board needs to meet the requirements of the analog board software, for example, description fields such as the hardware model, the software version, the upgrade type, the flash bud west, the upgrade file size and the like of the analog board software need to be added in the OTA protocol of the digital board, so that the safety and reliability of the upgrade are ensured. Decryption and signature verification can be implemented using advanced security techniques in the digital board. Compared with the verification algorithm of the traditional analog board software, the decryption and verification algorithm upgraded by the digital edition is safer and more reliable and is not easy to crack.
In the embodiment, a uniform advanced security technology is adopted to protect the correctness and the security of the data, namely, the advanced security technology (encryption and signature verification technology) of a digital board is used, so that the security and the integrity of the data can be ensured, and transmission errors and malicious tampering can be prevented.
In some embodiments, before the step S110, the method for upgrading a digital television integrated machine may further include: and detecting whether the digital television all-in-one machine needs to be upgraded or not according to the linking descriptor. And when the upgrading is needed, receiving OTA upgrading data to perform subsequent actions.
Fig. 4 is a schematic flow chart of a method for transmitting analog board upgrade data in OTA upgrade data to an analog board through USB OTG communication in an embodiment of the present invention. As shown in fig. 4, in step S121, the method for transmitting the analog board upgrade data in the OTA upgrade data to the analog board in the digital television all-in-one machine in the USB OTG communication manner may include:
step S1211: generating a udisk.bin file in a memory of the digital board according to the file size of the upgrade data of the analog board;
step S1212: bin file format to a file system of a format supported by the simulation board;
step S1213: and copying the analog board upgrading data to the file system.
FIG. 5 is a flowchart illustrating a method for upgrading a simulation board according to the upgrade data transferred to the simulation board according to an embodiment of the present invention. As shown in fig. 5, in step S122, the method for upgrading the simulation board by using the simulation board upgrade data transferred to the simulation board may include:
step S1221: simulating the file system into a USB flash disk of a first USB end of the digital board by utilizing a command of an OTG simulation USB flash disk in a Linux system of the digital board;
step S1222: sending an upgrading instruction to the analog board according to an interaction protocol between the digital board and the analog board;
step S1223: and the simulation board accesses the simulated USB flash disk from the USB end according to the upgrading instruction, reads the upgrading data of the simulation board and upgrades the data.
The steps shown in fig. 4 and fig. 5 can realize USB OTG upgrade on the analog board.
FIG. 6 is a flowchart illustrating a method for upgrading a simulation board according to the upgrade data transferred to the simulation board according to an embodiment of the present invention. As shown in fig. 6, the method for upgrading the analog board using the analog board upgrade data transferred to the analog board shown in fig. 5 may further include:
step S1224: the analog board sends an upgrade success command to the digital board after upgrading successfully;
step S1225: and the digital board updates the software version zone bit of the analog board according to the upgrading success instruction.
In this embodiment, unified software version management can be realized, that is, the software version number of the digital television all-in-one machine is managed by a digital board in a unified manner.
In some embodiments, two USB ports are designed on the digital board, for example, the respective command is dtv _ USB0 dtv _ USB1, one USB port is designed on the analog board, for example, the command is atv _ USB0, the dtv _ USB0 of the digital board is connected to atv _ USB0 of the analog board, the two connected USB ports can be used as a data channel for dual-board communication, an external USB socket is not available, and the digital board cannot be used by a user, and an external USB socket is available on the other dtv _ USB1 of the digital board for the user. In this way, a physical channel for data transfer between the two boards is established. By the connection mode, the analog board can realize OTA upgrade and save the cost of the USB port. The digital board can also be upgraded with USB.
In some embodiments, the OTA upgrade stream is made and issued: and modifying an OTA data protocol of the digital board, and upgrading a code stream manufacturing tool to support the streaming of analog board software. When the upgrade code stream is made, the digital board and the analog board software are packed into one upgrade stream and added into the digital signal broadcasting network through the multiplexer.
In some embodiments, the receipt and security check of OTA data: and the digital board detects that the digital board needs to be upgraded through the link descriptor. The method comprises the steps of acquiring OTA data through a demux module, analyzing the data according to an OTA protocol, decrypting and signing the OTA data through an advanced security technology, restoring an original upgrade file after the decryption and signing are successful, upgrading a digital board if the upgrade file has software of the digital board part, and upgrading the digital board by using a USB OTG technology if an analog board upgrade file exists in the upgrade file.
In some embodiments, taking the case that the digital board end is a linux system as an example, the USB OTG analog USB disk may include the steps of:
1) and according to the size of the upgrade file of the analog board, the digital board generates a file udisk.
2) This file is formatted to emulate a file system format supported by the board, such as FAT 32.
3) And copying the generated simulation board upgrading file to the file system.
4) The file system is simulated into a U disk at the end of the dtv _ usb0 by using related commands of the OTG simulation U disk in linux.
5) And informing the simulation board to carry out usb upgrading through an interactive protocol.
6) And after receiving the upgrading instruction, the analog board terminal accesses the analog USB flash disk from the atv _ usb0 terminal, reads the analog board upgrading file, upgrades the analog board, and sends an upgrading success command to the digital board after upgrading is successful.
7) And after the digital board receives the successful upgrading instruction of the analog board, updating the flag bit of the software version of the analog board, and then restarting the whole system.
The USB OTG related kernel configuration in the linux system can be as follows:
Device Drivers->xxx driver support->xxx OTG driver support(*)
Device Drivers->USB support->USB Gadget Support(*)
Device Drivers->USB support->USB Gadget Support->USB Gadget Drivers(M)
Device Drivers->USB support->USB Gadget Support->Mass Storage Gadget(M)
Device Drivers->USB support->USB Gadget Support->USB Peripheral Controller(*)
the relevant dynamic library may be as follows:
libcomposite.ko
usb_f_mass_storage.ko
g_mass_storage.ko
in the embodiment, the USB ports of the double plates on the hardware are connected together. After the simulation of the USB flash disk is completed, the digital edition end controls the hot plug line of the usb to be pulled up, which is equivalent to sending a USB flash disk insertion event to the simulation board.
In addition to the OTA upgrade emulation described above, in some embodiments, the dual board can be upgraded using a USB disk, and in these embodiments, the television as a whole can only see one USB port, dtv _ USB1, and USB ports, dtv _ USB0 and atv _ USB0, are internal circuits, and are connected to each other at both ends. When the USB is upgraded, the upgrade file is read out from the USB port dtv _ USB1, and if the digital board needs to be upgraded, the digital board is upgraded. And if the analog board needs to be upgraded, simulating the USB flash disk at the dtv _ USB0 end by the analog board upgrade file to upgrade the analog board, like the step of simulating the USB OTG USB flash disk.
The upgrading method of the digital television all-in-one machine adopts a uniform data issuing channel, namely a digital signal broadcasting network, to issue OTA data. And a unified OTA upgrade data inlet is adopted, namely, the digital board uniformly receives OTA upgrade data from the digital signal advertising network. The data correctness and the safety are protected by adopting a uniform high-level security technology, namely the high-level security technology (encryption and signature verification technology) of a digital board is used for ensuring the safety and the integrity of the data, and the transmission error and the malicious tampering are prevented. Unified software version management is adopted, namely the software version number of the digital television all-in-one machine is managed by a digital board in a unified mode, and the usb OTG technology is adopted to realize data transmission between the digital board and an analog board in a mode of simulating a U disk. The problem that the analog board can only be upgraded by using a USB and can not be upgraded by using an OTA can be solved. The maintenance of the simulation board software can be realized, and the remote triggering and automatic upgrading can be realized. According to the scheme of the double-board unified upgrading, the double-board software is used as a whole to carry out unified software version management, the digital board is used for leading the software version management, the double boards can be upgraded simultaneously, and the problem that interactive protocols are unmatched due to the front and back upgrading is avoided. According to the scheme, a small circuit modification is added on the hardware design, so that the data communication of the double boards can be realized, one path of usb socket is saved, and the cost is saved. The scheme realizes OTA upgrading of double plates of the digital television all-in-one machine, utilizes a digital television broadcasting network, realizes remote triggering and automatic upgrading, and greatly increases maintainability. By upgrading the analog board through the digital board, the upgrade file can be protected by adopting the advanced security technology of the digital board. The method and the device ensure that the upgrade files in the digital television broadcasting network or the U disk cannot be maliciously tampered, and also prevent the plaintext executable program from being exposed in the upgrade process.
Based on the same inventive concept as the digital television all-in-one machine upgrading method shown in fig. 1, the embodiment of the present application further provides a digital television all-in-one machine upgrading device, as described in the following embodiments. The principle of the upgrading device for the digital television all-in-one machine for solving the problems is similar to that of the upgrading method for the digital television all-in-one machine, so the implementation of the upgrading device for the digital television all-in-one machine can refer to the implementation of the upgrading method for the digital television all-in-one machine, and repeated parts are not repeated.
Fig. 7 is a schematic structural diagram of an upgrade apparatus of a digital television all-in-one machine according to an embodiment of the present invention. As shown in fig. 7, the upgrade apparatus for a digital tv all-in-one machine of the present embodiment may include: an upgrade data acquisition unit 210 and an upgrade execution unit 220, which are connected to each other.
An upgrade data acquisition unit 210 configured to: acquiring OTA upgrade data from a digital signal broadcasting network through an OTA upgrade data inlet;
an upgrade execution unit 220, configured to: and upgrading the digital board in the digital television all-in-one machine by using the digital board upgrading data in the OTA upgrading data, and upgrading the analog board in the digital television all-in-one machine by using the analog board upgrading data in the OTA upgrading data.
In some embodiments, the digitizer includes a first USB port and a second USB port; the USB port of the analog board is connected with the first USB port of the digital board; and the second USB of the digital board is provided with an external USB socket in a buccal way.
In this embodiment, the dual boards can be upgraded simultaneously by using the USB disk, and when the USB is upgraded, the upgrade file is read out from the second USB port of the digital board first, and if the digital board needs to be upgraded, the digital board is upgraded first. And if the analog board needs to be upgraded, upgrading the analog board upgrade file by simulating the USB flash disk at the second USB port end of the digital board, like the step of simulating the USB flash disk by the USB OTG.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method described in the above embodiments.
As shown in fig. 8, the computer device 300 may include a memory 310, a processor 320, and a computer program stored on the memory 310 and executable on the processor 320, where the processor 320 executes the computer program to implement the steps of the methods according to the embodiments.
In summary, the digital television all-in-one machine upgrading method, device, storage medium and computer device according to the embodiments of the present invention,
obtain OTA upgrading data from digital signal broadcasting network through OTA upgrading data entry to utilize the analog board upgrading level data in the OTA upgrading data to upgrade the analog board in the digital television all-in-one, can realize upgrading the analog board OTA, solve the analog board and can only use USB to upgrade, can not use the problem of OTA upgrading, can make the maintenance of analog board software also can realize, long-range triggering, automatic upgrade, the operator of being convenient for upgrades the analog board on a large scale. The unified data receiving channel, namely the digital signal broadcasting network, is adopted to receive and send the OTA upgrading data, and the unified OTA upgrading data inlet, such as a digital board, is adopted to uniformly receive the OTA upgrading data from the digital signal advertising network, thereby realizing the upgrading of the digital board and the analog board in the digital television all-in-one machine through the unified data sending channel and the data inlet. The upgrading of the analog board and the upgrading of the digital board are a unified process, and the upgrading process is free from the problem of upgrading sequence, so that even if the upgrading simultaneously involves the digital board and the analog board and involves the interactive protocol between the double boards, the problem caused by mismatching of the protocols can not occur.
In the description herein, reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," "an example," "a particular example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the various embodiments is provided to schematically illustrate the practice of the invention, and the sequence of steps is not limited and can be suitably adjusted as desired.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. An upgrading method for a digital television all-in-one machine is characterized by comprising the following steps:
obtaining OTA upgrade data from a digital signal broadcast network through an OTA upgrade data entry, wherein the OTA upgrade data comprises: digital board upgrade data and analog board upgrade data packed into an upgrade stream;
upgrading a digital board in the digital television all-in-one machine by using digital board upgrading data in the OTA upgrading data, and upgrading an analog board in the digital television all-in-one machine by using analog board upgrading data in the OTA upgrading data, wherein the analog board upgrading data is copied to a file system with a format supported by the analog board, and the file system is positioned in an internal memory of the digital board;
upgrading the analog board in the digital television all-in-one machine by using the analog board upgrading data in the OTA upgrading data, wherein the upgrading comprises the following steps:
transmitting the analog board upgrading data in the OTA upgrading data from the file system to an analog board in the digital television all-in-one machine in a USB OTG communication mode;
and upgrading the simulation board by using the simulation board upgrading data transmitted to the simulation board.
2. The digital television all-in-one upgrade method of claim 1, wherein obtaining OTA upgrade data from a digital signal broadcast network through an OTA upgrade data entry comprises:
and acquiring OTA upgrading data from a digital signal broadcasting network through a digital board in the digital television all-in-one machine, wherein the digital board is used as an OTA upgrading data inlet.
3. The all-in-one digital television upgrade method according to claim 2, wherein obtaining OTA upgrade data from a digital signal broadcast network via a digital board in the all-in-one digital television comprises:
acquiring OTA data from a digital signal broadcasting network through a demux module in the digital board;
analyzing the OTA data according to an OTA protocol in the digital board, wherein the OTA protocol meets the software requirements of the digital board and the analog board;
and decrypting and signature verifying the analyzed OTA data to obtain OTA upgrading data.
4. The digital television all-in-one machine upgrading method according to claim 2,
through USB OTG communication mode, will analog board upgrading data in the OTA upgrading data passes to analog board in the digital TV all-in-one, include:
generating a udisk.bin file in a memory of the digital board according to the file size of the upgrade data of the analog board;
bin file format to a file system of a format supported by the simulation board;
copying the analog board upgrade data to the file system;
upgrading the simulation board by using the simulation board upgrading data transmitted to the simulation board, including:
simulating the file system into a USB flash disk of a first USB end of the digital board by utilizing a command of an OTG simulation USB flash disk in a Linux system of the digital board;
sending an upgrading instruction to the analog board according to an interaction protocol between the digital board and the analog board;
and the simulation board accesses the simulated USB flash disk from the USB end according to the upgrading instruction, reads the upgrading data of the simulation board and upgrades the data.
5. The digital television all-in-one machine upgrading method according to claim 4, wherein the analog board is upgraded by analog board upgrading data transmitted to the analog board, further comprising:
the analog board sends an upgrade success command to the digital board after upgrading successfully;
and the digital board updates the software version zone bit of the analog board according to the upgrading success instruction.
6. An upgrading device for a digital television integrated machine is characterized by comprising:
an upgrade data acquisition unit configured to: obtaining OTA upgrade data from a digital signal broadcast network through an OTA upgrade data entry, wherein the OTA upgrade data comprises: digital board upgrade data and analog board upgrade data packed into an upgrade stream;
an upgrade execution unit to: upgrading a digital board in the digital television all-in-one machine by using digital board upgrading data in the OTA upgrading data, and upgrading an analog board in the digital television all-in-one machine by using analog board upgrading data in the OTA upgrading data, wherein the analog board upgrading data is copied to a file system with a format supported by the analog board, and the file system is positioned in an internal memory of the digital board; wherein, utilizing analog board upgrading data in the OTA upgrading data to upgrade the analog board in the digital television all-in-one machine comprises: transmitting the analog board upgrading data in the OTA upgrading data from the file system to an analog board in the digital television all-in-one machine in a USB OTG communication mode; and upgrading the simulation board by using the simulation board upgrading data transmitted to the simulation board.
7. The upgrading device of claim 6, wherein the digital board comprises a first USB port and a second USB port; the USB port of the analog board is connected with the first USB port of the digital board; and the second USB of the digital board is provided with an external USB socket in a buccal way.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 5 are implemented when the program is executed by the processor.
CN201810113334.8A 2018-02-05 2018-02-05 Digital television all-in-one machine upgrading method, device, medium and computer equipment Active CN108134963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810113334.8A CN108134963B (en) 2018-02-05 2018-02-05 Digital television all-in-one machine upgrading method, device, medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810113334.8A CN108134963B (en) 2018-02-05 2018-02-05 Digital television all-in-one machine upgrading method, device, medium and computer equipment

Publications (2)

Publication Number Publication Date
CN108134963A CN108134963A (en) 2018-06-08
CN108134963B true CN108134963B (en) 2020-11-13

Family

ID=62430575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810113334.8A Active CN108134963B (en) 2018-02-05 2018-02-05 Digital television all-in-one machine upgrading method, device, medium and computer equipment

Country Status (1)

Country Link
CN (1) CN108134963B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073816A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Dual-system USB upgrading method and device and display equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080043422A (en) * 2006-11-14 2008-05-19 엘지전자 주식회사 Method for upgrading software of audio/video device
CN101193010A (en) * 2006-11-22 2008-06-04 乐金电子(昆山)电脑有限公司 Simulated board firmware upgrade method for home intelligent network system
CN101635783A (en) * 2008-07-21 2010-01-27 青岛海信电子产业控股股份有限公司 Upgrading method of TV software
CN101742156A (en) * 2009-12-08 2010-06-16 山东泰信电子有限公司 High-resolution digital television all-in-one machine and implementation method thereof
CN101742067A (en) * 2009-12-21 2010-06-16 康佳集团股份有限公司 Device and method for updating TV mainboard on line
CN202979184U (en) * 2012-10-24 2013-06-05 深圳市同洲电子股份有限公司 Television integral machine
CN105975303A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Upgrade control method and device
CN107396185A (en) * 2017-07-25 2017-11-24 微鲸科技有限公司 Upgrade method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080043422A (en) * 2006-11-14 2008-05-19 엘지전자 주식회사 Method for upgrading software of audio/video device
CN101193010A (en) * 2006-11-22 2008-06-04 乐金电子(昆山)电脑有限公司 Simulated board firmware upgrade method for home intelligent network system
CN101635783A (en) * 2008-07-21 2010-01-27 青岛海信电子产业控股股份有限公司 Upgrading method of TV software
CN101742156A (en) * 2009-12-08 2010-06-16 山东泰信电子有限公司 High-resolution digital television all-in-one machine and implementation method thereof
CN101742067A (en) * 2009-12-21 2010-06-16 康佳集团股份有限公司 Device and method for updating TV mainboard on line
CN202979184U (en) * 2012-10-24 2013-06-05 深圳市同洲电子股份有限公司 Television integral machine
CN105975303A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Upgrade control method and device
CN107396185A (en) * 2017-07-25 2017-11-24 微鲸科技有限公司 Upgrade method and system

Also Published As

Publication number Publication date
CN108134963A (en) 2018-06-08

Similar Documents

Publication Publication Date Title
CN101479737B (en) Method and system for authenticating an accessory
CN104581397B (en) The method for upgrading system and device of android set top box
WO2017071207A1 (en) Application installation method, corresponding apparatus, and application installation system
US20080249759A1 (en) USB Device Simulator
CN105224874B (en) Plug-in security control method and client based on middleware card cage
CN110413487A (en) A kind of indicator light management method, system and the baseboard management controller of server
WO2018014798A1 (en) Method and system for dynamically configuring plurality of cas of set-top box
CN112689083B (en) Vehicle-mounted camera configuration method and device, electronic equipment and storage medium
WO2022257927A1 (en) Key burning method and apparatus, electronic device board card, and storage medium
CN108134963B (en) Digital television all-in-one machine upgrading method, device, medium and computer equipment
CN109189423A (en) Vehicle-carrying display screen upgrade method, storage medium, equipment and in-vehicle multi-media system
CN105242910B (en) Board state control method and client based on middleware card cage
CN111176685A (en) Upgrading method and device
CN105472418A (en) Abnormal state recovery method of set-top box system and set-top box
TWI765257B (en) Firmware update method and device for USB-PD charger
CN103403675A (en) Virtual removable disk device for removable storage media
CN107977323A (en) A kind of AFDX Bus simulator methods based on Ethernet
CN107885674B (en) Bluetooth device simulator, working method thereof and Bluetooth device operating system
CN112770144B (en) Video file downloading method, video file playing method, device and terminal equipment
CN112202636B (en) Communication test method and system
CN112306553B (en) Processing method and device for extension information in installation package file and electronic equipment
Jeřábek Open-source and Open-hardware CAN FD Protocol Support
WO2012150727A1 (en) User device and method for receiving drm function corresponding to specific contents
CN105204830B (en) Plug-in unit document resources control method and client based on middleware card cage
CN103995475A (en) Flexible embedded type tested device simulator

Legal Events

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