WO2016095254A1 - Modular television and screen end upgrade method therefor - Google Patents

Modular television and screen end upgrade method therefor Download PDF

Info

Publication number
WO2016095254A1
WO2016095254A1 PCT/CN2014/094969 CN2014094969W WO2016095254A1 WO 2016095254 A1 WO2016095254 A1 WO 2016095254A1 CN 2014094969 W CN2014094969 W CN 2014094969W WO 2016095254 A1 WO2016095254 A1 WO 2016095254A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgrade
screen
file
requirement information
system file
Prior art date
Application number
PCT/CN2014/094969
Other languages
French (fr)
Chinese (zh)
Inventor
张晓红
邹建宇
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2016095254A1 publication Critical patent/WO2016095254A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • 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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations

Definitions

  • the present invention relates to the field of electronic product upgrade technology, and in particular, to a module television and a screen end upgrade method thereof.
  • the traditional TV forced upgrade method is that when the system has crashed (that is, the product fails), only the boot (boot) program is valid, by copying the system file to an external device, such as a USB flash drive, and inserting the USB flash drive into the television set. After that, press and hold the power button (power button) of the TV to put the TV into standby mode. Press the preset upgrade trigger button (such as the volume adjustment “+” button) to restart the TV and enter the boot mode.
  • the system files in the system are programmed into the flash (flash) of the TV to enable the system to re-run.
  • the above-mentioned forced upgrade method of the television is widely used in the recovery of the artificial system after the failure of the product on the production line, and the after-sales service of the product.
  • the module TV has two kinds of boards: the screen end and the card end.
  • the hardware external interface of the module TV including the USB port and the network port, are all set on the screen end, but the hardware external interface is controlled by the card end.
  • the screen is not usable, which causes the problem that the screen local forced upgrade cannot be achieved. Since the screen end of the module TV cannot use an external device such as a USB flash drive, the screen terminal forced upgrade of the module TV cannot use the above-mentioned conventional TV forced upgrade method, but uses the PC to connect the screen end of the module TV through the serial cable to the screen.
  • the firmware is upgraded and the screen is upgraded to restore the system.
  • the main object of the present invention is to provide a module TV and a screen end upgrade method thereof, aiming at improving system recovery efficiency after a product failure on a production line, simplifying after-sales service operation, and reducing production cost.
  • the present invention provides a module TV screen end upgrade method, and the module TV screen end upgrade method includes the following steps:
  • the screen end When the screen end detects the upgrade instruction, the screen sends an upgrade request to the card end;
  • the card end acquires a configuration file in the external device according to the upgrade request, and sends the configuration file to the screen end;
  • the screen end acquires matching upgrade requirement information in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the upgrade requirement information;
  • the card end acquires a system file in the external device according to the file obtaining request, and sends the system file to the screen end;
  • the screen is upgraded according to the system file.
  • the step of sending the upgrade request to the card end when the screen end detects the upgrade instruction further includes:
  • the screen end powers up the card end in the boot mode
  • the card terminal When the card terminal detects that an external device is connected in the boot mode, it sends an upgrade inquiry message to the screen end;
  • the screen After receiving the upgrade inquiry information, the screen detects the upgrade instruction in the register.
  • the method further includes:
  • the screen end performs CRC check on the received system file, and when the verification is successful, the system file is written into the flash.
  • the step of obtaining the upgrade requirement information in the configuration file and the upgrade instruction, and sending the file acquisition request to the card end according to the upgrade requirement information includes:
  • the screen end acquires the upgrade requirement information in the upgrade instruction, and parses the received configuration file to obtain the upgrade requirement information in the configuration file.
  • the screen end compares the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file
  • the screen end obtains matching upgrade requirement information when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file;
  • the screen end acquires the system to be upgraded according to the matched upgrade requirement information, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
  • the step of the card end acquiring the system file in the external device according to the file obtaining request, and sending the system file to the screen end comprises:
  • the card end searches for the system file name information of the external device that matches the system file name information according to the system file name information in the file obtaining request.
  • the card end acquires a system file corresponding to the system file name information found in the external device, and sends the acquired system file to the screen.
  • the present invention further provides a module television, where the module television includes a screen end and a card end, and the screen end is configured to send an upgrade request to the card end when the upgrade instruction is detected;
  • the card end is configured to acquire a configuration file in the external device according to the upgrade request, and send the configuration file to the screen end;
  • the screen is further configured to obtain the upgrade requirement information that is matched in the configuration file and the upgrade instruction, and send a file acquisition request to the card end according to the upgrade requirement information;
  • the card end is further configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end;
  • the screen is also used to upgrade according to the system file.
  • the screen end is further used to power the card end in the boot mode
  • the card end is further configured to send an upgrade query message to the screen end when detecting that an external device accesses in the boot mode;
  • the screen is further configured to perform a CRC check on the received system file, and when the verification is successful, write the system file into the flash.
  • the screen end is configured to obtain the matching requirement information in the configuration file and the upgrade instruction, and send the file obtaining request to the card end according to the upgrade requirement information, specifically:
  • the screen is configured to obtain the upgrade requirement information in the upgrade instruction, and parse the received configuration file to obtain the upgrade requirement information in the configuration file; compare the upgrade requirement information in the upgrade instruction with The upgrade requirement information in the configuration file; when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file, obtaining matching upgrade requirement information;
  • the matching upgrade requirement information acquires the system that needs to be upgraded, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
  • the card end is configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end, specifically:
  • the card end is configured to search, according to the system file name information in the file obtaining request, the system file name information of the external device that matches the system file name information, and obtain the system file name found in the external device.
  • the system file corresponding to the information sends the obtained system file to the screen.
  • the module TV and the screen end upgrade method thereof provide an upgrade request to the card end when the screen end detects the upgrade instruction; the card end acquires the configuration file in the external device according to the upgrade request, and the The configuration file is sent to the screen end; the screen end obtains the matching requirement information in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the upgrade requirement information; the card end acquires the external device according to the file obtaining request.
  • the system file is sent to the screen end; the screen end is upgraded according to the system file. Therefore, in the case that the screen end can not directly use the hardware external interface, the traditional TV forced upgrade method is applied to the screen end upgrade of the module TV, which simplifies the upgrading operation of the module TV screen end, thereby improving the product line failure. After the system recovery efficiency, simplify after-sales service operations, can also reduce production costs.
  • FIG. 1 is a schematic flowchart of an embodiment of a method for upgrading a module television screen end according to the present invention
  • FIG. 2 is a schematic flow chart of another embodiment of a method for upgrading a module television screen end according to the present invention
  • FIG. 3 is a schematic flowchart of still another embodiment of a method for upgrading a module television screen end according to the present invention
  • step S103 is a schematic flowchart of an embodiment of step S103 in a method for upgrading a module television screen end according to the present invention
  • FIG. 5 is a schematic flowchart of an embodiment of step S104 in a method for upgrading a module television screen end according to the present invention
  • FIG. 6 is a schematic structural diagram of a preferred embodiment of a modular television of the present invention.
  • the invention provides a module TV screen end upgrade method, and the module TV screen end upgrade method can be applied to the screen end forced upgrade of the module TV.
  • FIG. 1 is a schematic flowchart diagram of an embodiment of a method for upgrading a module television screen end according to the present invention.
  • the method for upgrading the TV screen of the module includes the following steps:
  • Step S101 The screen end sends an upgrade request to the card end when detecting the upgrade instruction
  • the screen end system of the module TV when the screen end system of the module TV is damaged, the screen end system cannot be started, but can enter the boot mode, and the screen end of the module TV is forced to be upgraded by using the module TV screen end upgrade method of the present invention. You need to enter the boot mode first, and perform the screen-side forced upgrade in the boot mode.
  • the system file to be upgraded by the screen end may be stored.
  • the upgrade method is forcibly upgraded.
  • the preset upgrade trigger button on the screen button panel indicates which system on the screen needs to be upgraded.
  • each preset upgrade trigger button corresponds to the screen indicating that a system needs to be upgraded.
  • the system files stored in the external device include the system files required for all systems on the screen to be upgraded.
  • the configuration file stored in the external device contains the upgrade requirement information of each system managed by the configuration file.
  • the screen detects the upgrade command, and when the screen reads the button value corresponding to the preset upgrade trigger button, the upgrade command is detected.
  • the screen sends an upgrade request to the card end, where the upgrade request includes the upgrade requirement information in the upgrade command (the upgrade request information indicates that the screen needs to be upgraded) to notify the card.
  • the end screen side will be upgraded.
  • Step S102 The card end acquires a configuration file in the external device according to the upgrade request, and sends the configuration file to the screen end.
  • the card end learns the upgrade requirement information of the screen from receiving the upgrade request, acquires the configuration file in the external device according to the received upgrade request, and sends the configuration file to the screen.
  • Step S103 The screen end acquires the upgrade requirement information matched in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the upgrade requirement information;
  • the screen end acquires the matching requirement information in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the matched upgrade requirement information, so as to request the card end to provide the system file required for the system upgrade.
  • Step S104 The card end acquires a system file in the external device according to the file obtaining request, and sends the system file to the screen end;
  • the card end acquires the system file in the external device according to the file obtaining request, and sends the system file to the screen end, and then the screen end upgrades according to the system file, thereby completing the screen end system upgrade, so that the system returns to normal. It works fine.
  • Step S105 The screen end is upgraded according to the system file.
  • the screen After receiving the system file provided by the card end, the screen can upgrade the system to be upgraded according to the received system file.
  • the module TV screen end upgrade method of the invention can realize the application of the traditional TV forced upgrade method to the screen end upgrade of the module TV in the case that the module TV screen end cannot directly use the hardware external interface (such as the USB interface), simplifying
  • the upgrade operation of the module TV screen end can improve the system recovery efficiency after the product line fails, simplify the after-sales service operation, and reduce the production cost.
  • FIG. 2 is a schematic flowchart diagram of another embodiment of a method for upgrading a module television screen end according to the present invention.
  • the method before the step 101, the method further includes:
  • Step 201 The screen end powers up the card end in the boot mode
  • the screen end can be powered on in the boot mode.
  • the screen end is powered on by the GPIO port connected to the card end.
  • Step 202 When the card end detects that an external device accesses in the boot mode, the card sends an upgrade query message to the screen end.
  • the card After the card is powered on, it enters the boot mode.
  • the card terminal detects that the system file to be upgraded and the external device of the configuration file are accessed in the boot mode, the card sends an upgrade query message to the screen to ask the screen whether To upgrade.
  • the screen After receiving the upgrade inquiry information, the screen detects the upgrade instruction in the register.
  • Step 203 After receiving the upgrade query information, the screen end detects an upgrade instruction in the register.
  • the corresponding button value is continuously saved in the register.
  • the screen After receiving the upgrade query information, the screen saves whether the button value contains the upgrade requirement information, and if the button value contains the upgrade request information, it indicates that the upgrade command is received, so that the upgrade command can be detected.
  • FIG. 3 is a schematic flowchart diagram of still another embodiment of a method for upgrading a module television screen end according to the present invention.
  • the method further includes:
  • Step S301 The screen end performs CRC check on the received system file, and when the verification is successful, the system file is written into the flash.
  • the screen end saves each system file sent by the card end to the memory respectively. In order to verify whether each system file sent by the card end is valid, the screen end performs CRC check on each system file.
  • the card end sends a system file data packet to the screen end, when the system file requested by the screen end is sent, the card end sends a file transfer completion command to the screen end to inform the screen end that the requested system file has been transmitted. , you can upgrade.
  • the screen end can perform CRC check on all the system files saved in the memory, and then write all the system files that have been successfully verified into the flash at one time. In this embodiment, all system files that have been successfully verified are written to the program at least once.
  • flash random type non-volatile flash memory
  • FIG. 4 is a schematic flowchart of an embodiment of step S103 in the method for upgrading a module television screen end according to the present invention.
  • step S103 includes:
  • Step S401 The screen end acquires the upgrade requirement information in the upgrade instruction, and parses the received configuration file to obtain the upgrade requirement information in the configuration file.
  • the screen end obtains the upgrade requirement information in the upgrade instruction, and parses the configuration file sent by the card end to obtain the upgrade requirement information in the configuration file.
  • Step S402 The screen end compares the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file
  • the screen end compares the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file, and finds whether there is upgrade request information in the configuration file that matches the upgrade requirement information in the upgrade instruction.
  • Step S403 The screen end obtains matching upgrade requirement information when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file.
  • the screen end confirms whether the upgrade requirement information of the two is consistent by comparing the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file, and if the upgrade requirement information of the two is the same, the matching is obtained. Upgrade demand information.
  • Step S404 The screen end acquires the system to be upgraded according to the matched upgrade requirement information, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
  • the screen end confirms whether the upgrade requirement information of the two is consistent according to the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file, and the matching is based on the matching Upgrade the demand information to obtain the system that needs to be upgraded, and the corresponding system file name information, and send it to the card end to request the system file to be used for system upgrade; if the upgrade requirement information of the two is inconsistent, the card end does not match If the system file corresponding to the system that needs to be upgraded on the screen is not upgraded.
  • FIG. 5 is a schematic flowchart of an embodiment of step S104 in the method for upgrading a module television screen in the present invention.
  • step S104 includes:
  • Step S501 The card end searches for the system file name information of the external device that matches the system file name information according to the system file name information in the file obtaining request.
  • the card end Since the card end needs to find the system file requested by the screen end according to the system file name information, when the card end receives the file acquisition request of the system file name information sent by the screen end, the card terminal searches for the system file name information in the external device. Match system file name information.
  • Step S502 The card end acquires a system file corresponding to the system file name information found in the external device, and sends the acquired system file to the screen end.
  • the card end finds the matching system file name information, the file system corresponding to the matched system file name information is sent to the screen end, so that the screen end can upgrade the system; if no matching system file is found, If the name information indicates that there is no system file corresponding to the system that needs to be upgraded on the screen, the upgrade cannot be performed.
  • the invention also provides a module television, which can perform a forced upgrade of the screen end of the module television by using the module TV screen end upgrade method.
  • FIG. 6 is a schematic structural diagram of a preferred embodiment of a module television according to the present invention.
  • the module television includes a screen end and a card end, and the screen end is configured to send an upgrade request to the card end when the upgrade instruction is detected; the card end is used to upgrade according to the Requesting to obtain a configuration file in the external device, and sending the configuration file to the screen end; the screen end is further configured to obtain the upgrade requirement information that matches the configuration file and the upgrade instruction, and according to the upgrade requirement information, The card end sends a file acquisition request; the card end is further configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end; the screen end is further used according to the system The file is upgraded.
  • the system file to be upgraded by the screen end may be stored.
  • the upgrade method is forcibly upgraded.
  • the preset upgrade trigger button on the screen button panel indicates which system on the screen needs to be upgraded.
  • each preset upgrade trigger button corresponds to the screen indicating that a system needs to be upgraded.
  • the system files stored in the external device include the system files required for all systems on the screen to be upgraded.
  • the configuration file stored in the external device contains the upgrade requirement information of each system managed by the configuration file.
  • the screen detects the upgrade command, and when the screen reads the button value corresponding to the preset upgrade trigger button, the upgrade command is detected.
  • the screen sends an upgrade request to the card end, where the upgrade request includes the upgrade requirement information in the upgrade command (the upgrade request information indicates that the screen needs to be upgraded) to notify the card.
  • the end screen side will be upgraded.
  • the card end receives the upgrade request to learn the upgrade requirement information of the screen, obtains the configuration file in the external device according to the received upgrade request, and sends the configuration file to the screen.
  • the screen end acquires the matching requirement information in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the matched upgrade requirement information, so as to request the card end to provide the system file required for the system upgrade.
  • the card end acquires the system file in the external device according to the file obtaining request, and sends the system file to the screen end, and then the screen end upgrades according to the system file, thereby completing the screen end system upgrade, so that the system returns to normal. It works fine.
  • the module TV of the invention can realize the application of the traditional TV forced upgrade method to the screen end upgrade of the module TV in the case that the screen end cannot directly use the hardware external interface (such as the USB interface), and the upgrade of the module TV screen end is simplified.
  • the operation can improve the system recovery efficiency after the product on the production line is broken, simplify the after-sales service operation, and reduce the production cost.
  • the screen end is further configured to power on the card end in the boot mode; the card end is further configured to send the upgrade query information to the screen end when detecting that the external device accesses in the boot mode; The screen is further configured to detect an upgrade instruction in the register after receiving the upgrade query information.
  • the screen end can be powered on in the boot mode.
  • the screen end is powered on by the GPIO port connected to the card end.
  • the card After the card is powered on, it enters the boot mode.
  • the card terminal detects that the system file to be upgraded and the external device of the configuration file are accessed in the boot mode, the card sends an upgrade query message to the screen to ask the screen whether To upgrade.
  • the screen After receiving the upgrade inquiry information, the screen detects the upgrade instruction in the register.
  • the corresponding button value is continuously saved in the register.
  • the screen After receiving the upgrade query information, the screen saves whether the button value contains the upgrade requirement information, and if the button value contains the upgrade request information, it indicates that the upgrade command is received, so that the upgrade command can be detected.
  • the screen is further configured to perform a CRC check on the received system file, and when the verification is successful, write the system file into the flash.
  • the screen end saves each system file sent by the card end to the memory respectively. In order to verify whether each system file sent by the card end is valid, the screen end performs CRC check on each system file.
  • the card end sends a system file data packet to the screen end, when the system file requested by the screen end is sent, the card end sends a file transfer completion command to the screen end to inform the screen end that the requested system file has been transmitted. , you can upgrade.
  • the screen end can perform CRC check on all the system files saved in the memory, and then write all the system files that have been successfully verified into the flash at one time. In this embodiment, all system files that have been successfully verified are written to the program at least once.
  • flash random type non-volatile flash memory
  • the screen end is configured to obtain the upgrade requirement information that matches the configuration file and the upgrade instruction, and send the file acquisition request to the card end according to the upgrade requirement information, specifically:
  • the screen is configured to obtain the upgrade requirement information in the upgrade instruction, and parse the received configuration file to obtain the upgrade requirement information in the configuration file; compare the upgrade requirement information in the upgrade instruction with The upgrade requirement information in the configuration file; when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file, obtaining matching upgrade requirement information;
  • the matching upgrade requirement information acquires the system that needs to be upgraded, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
  • the screen end confirms whether the upgrade requirement information of the two is consistent by comparing the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file, and if the upgrade requirement information of the two is consistent, sending a file acquisition request If the card needs to be upgraded, the system file corresponding to the system that needs to be upgraded is inconsistent.
  • the card end is configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end, specifically:
  • the card end is configured to search, according to the system file name information in the file obtaining request, the system file name information of the external device that matches the system file name information, and obtain the system file name found in the external device.
  • the system file corresponding to the information sends the obtained system file to the screen.
  • the card terminal searches for the system file name information in the external device. Match system file name information. If the card end finds the matching system file name information, the file system corresponding to the matched system file name information is sent to the screen end, so that the screen end can upgrade the system; if no matching system file is found, If the name information indicates that there is no system file corresponding to the system that needs to be upgraded on the screen, the upgrade cannot be performed.

Abstract

Disclosed is a screen end upgrade method for a modular television. The screen end upgrade method comprises: when a screen end detects an upgrade instruction, the screen end sends an upgrade request to a card end; the card end acquires a configuration file in an external device according to the upgrade request, and sends the configuration file to the screen end; the screen end acquires the configuration file and matching upgrade requirement information in the upgrade instruction, and sends a file acquiring request to the card end according to the upgrade requirement information; the card end acquires a system file in the external device according to the file acquiring request, and sends the system file to the screen end; and the screen end performs upgrade according to the system file. Further disclosed is a modular television. In this way, in a case in which a screen end cannot directly use a hardware external interface, a method for mandatorily upgrading a conventional television is applied to screen end upgrade for a modular television, so that operations of the screen end upgrade for the modular television are simplified, thereby improving system recovery efficiency of products in a production line after the products have faults, simplifying after-sale service operations, and also reducing production cost.

Description

模块电视及其屏端升级方法  Module TV and its screen end upgrade method
技术领域Technical field
本发明涉及电子产品升级技术领域,尤其涉及一种模块电视及其屏端升级方法。The present invention relates to the field of electronic product upgrade technology, and in particular, to a module television and a screen end upgrade method thereof.
背景技术Background technique
传统的电视机强制升级方法是在系统已经崩溃(即产品出故障),只有boot(引导)程序有效的情况下,通过拷贝系统文件到外接设备,如U盘,并在将U盘插入电视机后,长按电视机的power键(电源键),使电视机进入待机模式,按下预设升级触发按键(如音量调节“+”键),使电视机重启进入boot模式,再将U盘中的系统文件烧写到电视机的flash(闪存),使系统能够重新运行。上述电视机强制升级方法被广泛应用于产线上产品出故障后的人工系统恢复,以及产品售后服务等方面。The traditional TV forced upgrade method is that when the system has crashed (that is, the product fails), only the boot (boot) program is valid, by copying the system file to an external device, such as a USB flash drive, and inserting the USB flash drive into the television set. After that, press and hold the power button (power button) of the TV to put the TV into standby mode. Press the preset upgrade trigger button (such as the volume adjustment “+” button) to restart the TV and enter the boot mode. The system files in the system are programmed into the flash (flash) of the TV to enable the system to re-run. The above-mentioned forced upgrade method of the television is widely used in the recovery of the artificial system after the failure of the product on the production line, and the after-sales service of the product.
模块电视存在屏端和卡端两种板卡,为了节省卡端的成本,模块电视的硬件外部接口,包括USB口、网口等都是设置在屏端,但是该硬件外部接口是由卡端控制使用,屏端无法使用,这造成屏端本地强制升级无法实现的问题。由于模块电视的屏端不能使用U盘等外接设备,因此目前模块电视的屏端强制升级不能利用上述传统的电视机强制升级方法,而是利用PC通过串口线连接模块电视的屏端,向屏端烧写强制升级软件对屏端进行升级,使系统恢复正常。然而,上述屏端强制升级方法的升级操作复杂,导致产线上产品出故障后的系统恢复效率严重低下,增加生产成本;而且上述升级方法要求操作人员会使用PC端的强制升级软件,加大了对产线上操作人员的技术要求,同时需要每个生产工位都要配备一台PC,导致生产成本进一步增加。The module TV has two kinds of boards: the screen end and the card end. In order to save the cost of the card end, the hardware external interface of the module TV, including the USB port and the network port, are all set on the screen end, but the hardware external interface is controlled by the card end. The screen is not usable, which causes the problem that the screen local forced upgrade cannot be achieved. Since the screen end of the module TV cannot use an external device such as a USB flash drive, the screen terminal forced upgrade of the module TV cannot use the above-mentioned conventional TV forced upgrade method, but uses the PC to connect the screen end of the module TV through the serial cable to the screen. The firmware is upgraded and the screen is upgraded to restore the system. However, the upgrade operation of the above-mentioned screen-end forced upgrade method is complicated, and the system recovery efficiency after the product failure on the production line is seriously lowered, and the production cost is increased; and the above upgrade method requires the operator to use the PC-side forced upgrade software, and the operation is increased. For the technical requirements of the operators on the production line, it is necessary to equip each production station with a PC, which leads to further increase in production costs.
发明内容Summary of the invention
本发明的主要目的在于提供一种模块电视及其屏端升级方法,旨在提高产线上产品出故障后的系统恢复效率,简化售后服务操作,降低生产成本。The main object of the present invention is to provide a module TV and a screen end upgrade method thereof, aiming at improving system recovery efficiency after a product failure on a production line, simplifying after-sales service operation, and reducing production cost.
为了达到上述目的,本发明提供一种模块电视屏端升级方法,所述模块电视屏端升级方法包括以下步骤:In order to achieve the above object, the present invention provides a module TV screen end upgrade method, and the module TV screen end upgrade method includes the following steps:
屏端在侦测到升级指令时,向卡端发送升级请求;When the screen end detects the upgrade instruction, the screen sends an upgrade request to the card end;
卡端根据所述升级请求获取外接设备中的配置文件,并将所述配置文件发送至屏端;The card end acquires a configuration file in the external device according to the upgrade request, and sends the configuration file to the screen end;
屏端获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求;The screen end acquires matching upgrade requirement information in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the upgrade requirement information;
卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端;The card end acquires a system file in the external device according to the file obtaining request, and sends the system file to the screen end;
屏端根据所述系统文件进行升级。The screen is upgraded according to the system file.
优选地,所述屏端在侦测到升级指令时,向卡端发送升级请求的步骤之前还包括:Preferably, the step of sending the upgrade request to the card end when the screen end detects the upgrade instruction further includes:
屏端在boot模式下给卡端上电;The screen end powers up the card end in the boot mode;
卡端在boot模式下检测到有外接设备接入时,向屏端发送升级询问信息;When the card terminal detects that an external device is connected in the boot mode, it sends an upgrade inquiry message to the screen end;
屏端接收到所述升级询问信息后,侦测寄存器中的升级指令。After receiving the upgrade inquiry information, the screen detects the upgrade instruction in the register.
优选地,所述卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端的步骤之后还包括:Preferably, after the step of the card end acquiring the system file in the external device according to the file obtaining request, and sending the system file to the screen end, the method further includes:
屏端对所接收到的系统文件进行CRC校验,且在校验成功时,将所述系统文件写入flash中。The screen end performs CRC check on the received system file, and when the verification is successful, the system file is written into the flash.
优选地,所述屏端获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求的步骤包括:Preferably, the step of obtaining the upgrade requirement information in the configuration file and the upgrade instruction, and sending the file acquisition request to the card end according to the upgrade requirement information includes:
屏端获取所述升级指令中的升级需求信息,并解析接收到的所述配置文件,获取所述配置文件中的升级需求信息;The screen end acquires the upgrade requirement information in the upgrade instruction, and parses the received configuration file to obtain the upgrade requirement information in the configuration file.
屏端比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息;The screen end compares the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file;
屏端在所述升级指令中的升级需求信息和所述配置文件中的升级需求信息中存在相匹配的升级需求信息时,获取相匹配的升级需求信息;The screen end obtains matching upgrade requirement information when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file;
屏端根据所述相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,向卡端发送包括所述系统文件名信息的文件获取请求。The screen end acquires the system to be upgraded according to the matched upgrade requirement information, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
优选地,所述卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端的步骤包括:Preferably, the step of the card end acquiring the system file in the external device according to the file obtaining request, and sending the system file to the screen end comprises:
卡端根据所述文件获取请求中的系统文件名信息,查找外接设备中与该系统文件名信息相匹配的系统文件名信息;The card end searches for the system file name information of the external device that matches the system file name information according to the system file name information in the file obtaining request.
卡端获取与在外接设备中所查找到的系统文件名信息对应的系统文件,并将所获取的系统文件发送至屏端。The card end acquires a system file corresponding to the system file name information found in the external device, and sends the acquired system file to the screen.
此外,为了达到上述目的,本发明还提供一种模块电视,所述模块电视包括屏端和卡端,所述屏端用于在侦测到升级指令时,向卡端发送升级请求;In addition, in order to achieve the above object, the present invention further provides a module television, where the module television includes a screen end and a card end, and the screen end is configured to send an upgrade request to the card end when the upgrade instruction is detected;
所述卡端用于根据所述升级请求获取外接设备中的配置文件,并将所述配置文件发送至屏端;The card end is configured to acquire a configuration file in the external device according to the upgrade request, and send the configuration file to the screen end;
所述屏端还用于获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求;The screen is further configured to obtain the upgrade requirement information that is matched in the configuration file and the upgrade instruction, and send a file acquisition request to the card end according to the upgrade requirement information;
所述卡端还用于根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端;The card end is further configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end;
所述屏端还用于根据所述系统文件进行升级。The screen is also used to upgrade according to the system file.
优选地,所述屏端还用于在boot模式下给卡端上电;Preferably, the screen end is further used to power the card end in the boot mode;
所述卡端还用于在boot模式下检测到有外接设备接入时,向屏端发送升级询问信息;The card end is further configured to send an upgrade query message to the screen end when detecting that an external device accesses in the boot mode;
所述屏端还用于对所接收到的系统文件进行CRC校验,且在校验成功时,将所述系统文件写入flash中。The screen is further configured to perform a CRC check on the received system file, and when the verification is successful, write the system file into the flash.
优选地,所述屏端用于获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求具体为:Preferably, the screen end is configured to obtain the matching requirement information in the configuration file and the upgrade instruction, and send the file obtaining request to the card end according to the upgrade requirement information, specifically:
所述屏端用于获取所述升级指令中的升级需求信息,并解析接收到的所述配置文件,获取所述配置文件中的升级需求信息;比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息;在所述升级指令中的升级需求信息和所述配置文件中的升级需求信息中存在相匹配的升级需求信息时,获取相匹配的升级需求信息;根据所述相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,向卡端发送包括所述系统文件名信息的文件获取请求。The screen is configured to obtain the upgrade requirement information in the upgrade instruction, and parse the received configuration file to obtain the upgrade requirement information in the configuration file; compare the upgrade requirement information in the upgrade instruction with The upgrade requirement information in the configuration file; when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file, obtaining matching upgrade requirement information; The matching upgrade requirement information acquires the system that needs to be upgraded, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
优选地,所述卡端用于根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端具体为:Preferably, the card end is configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end, specifically:
所述卡端用于根据所述文件获取请求中的系统文件名信息,查找外接设备中与该系统文件名信息相匹配的系统文件名信息,获取与在外接设备中所查找到的系统文件名信息对应的系统文件,将所获取的系统文件发送至屏端。The card end is configured to search, according to the system file name information in the file obtaining request, the system file name information of the external device that matches the system file name information, and obtain the system file name found in the external device. The system file corresponding to the information sends the obtained system file to the screen.
本发明提供的模块电视及其屏端升级方法,通过屏端在侦测到升级指令时,向卡端发送升级请求;卡端根据所述升级请求获取外接设备中的配置文件,并将所述配置文件发送至屏端;屏端获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求;卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端;屏端根据所述系统文件进行升级。从而实现在屏端不能直接使用硬件外部接口情况下,将传统的电视机强制升级方法应用于模块电视的屏端升级上,简化了模块电视屏端的升级操作,从而能够提高产线上产品出故障后的系统恢复效率,简化售后服务操作,也能够降低生产成本。The module TV and the screen end upgrade method thereof provide an upgrade request to the card end when the screen end detects the upgrade instruction; the card end acquires the configuration file in the external device according to the upgrade request, and the The configuration file is sent to the screen end; the screen end obtains the matching requirement information in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the upgrade requirement information; the card end acquires the external device according to the file obtaining request. The system file is sent to the screen end; the screen end is upgraded according to the system file. Therefore, in the case that the screen end can not directly use the hardware external interface, the traditional TV forced upgrade method is applied to the screen end upgrade of the module TV, which simplifies the upgrading operation of the module TV screen end, thereby improving the product line failure. After the system recovery efficiency, simplify after-sales service operations, can also reduce production costs.
附图说明DRAWINGS
图1为本发明模块电视屏端升级方法一实施例的流程示意图;1 is a schematic flowchart of an embodiment of a method for upgrading a module television screen end according to the present invention;
图2为本发明模块电视屏端升级方法另一实施例的流程示意图;2 is a schematic flow chart of another embodiment of a method for upgrading a module television screen end according to the present invention;
图3为本发明模块电视屏端升级方法又一实施例的流程示意图;3 is a schematic flowchart of still another embodiment of a method for upgrading a module television screen end according to the present invention;
图4为本发明模块电视屏端升级方法中步骤S103一实施例的流程示意图;4 is a schematic flowchart of an embodiment of step S103 in a method for upgrading a module television screen end according to the present invention;
图5为本发明模块电视屏端升级方法中步骤S104一实施例的流程示意图;FIG. 5 is a schematic flowchart of an embodiment of step S104 in a method for upgrading a module television screen end according to the present invention;
图6为本发明模块电视较佳实施例的结构示意图。FIG. 6 is a schematic structural diagram of a preferred embodiment of a modular television of the present invention.
本发明的目的、功能特点及优点的实现,将结合实施例,并参照附图作进一步说明。The objectives, functional features, and advantages of the present invention will be described in conjunction with the embodiments of the invention.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种模块电视屏端升级方法,该模块电视屏端升级方法可应用于模块电视的屏端强制升级。The invention provides a module TV screen end upgrade method, and the module TV screen end upgrade method can be applied to the screen end forced upgrade of the module TV.
参照图1,图1为本发明模块电视屏端升级方法一实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of an embodiment of a method for upgrading a module television screen end according to the present invention.
本发明模块电视屏端升级方法第一实施例中,该模块电视屏端升级方法包括以下步骤:In the first embodiment of the method for upgrading the TV screen of the module of the present invention, the method for upgrading the TV screen of the module includes the following steps:
步骤S101:屏端在侦测到升级指令时,向卡端发送升级请求;Step S101: The screen end sends an upgrade request to the card end when detecting the upgrade instruction;
在某些情况,例如,模块电视的屏端系统损坏的情况下,屏端系统无法启动,但是可以进入boot模式,模块电视的屏端在利用本发明模块电视屏端升级方法进行强制升级时,需要先进入boot模式,在boot模式下进行屏端强制升级。In some cases, for example, when the screen end system of the module TV is damaged, the screen end system cannot be started, but can enter the boot mode, and the screen end of the module TV is forced to be upgraded by using the module TV screen end upgrade method of the present invention. You need to enter the boot mode first, and perform the screen-side forced upgrade in the boot mode.
具体地,在模块电视的屏端系统损坏的情况下,当用户(如产线人员、售后服务人员)需要对模块电视的屏端进行强制升级时,可将存储有屏端要升级的系统文件和配置文件的外接设备(如U盘)插入模块电视的卡端,并给模块电视的屏端上电,同时按住屏端按键面板上的power键(电源键)或遥控器上的power键,使屏端进入待机模式;再通过按下屏端按键面板上的预设升级触发按键,使得屏端重启,并进入boot模式;屏端进入boot模式后,可执行本发明的模块电视屏端升级方法进行强制升级。屏端按键面板上的预设升级触发按键指示屏端的哪个系统需要升级,通常设定每一预设升级触发按键对应指示屏端一个系统需要升级。Specifically, in the case that the screen end system of the module TV is damaged, when the user (such as the production line personnel and the after-sales service personnel) needs to perform the forced upgrade of the screen end of the module TV, the system file to be upgraded by the screen end may be stored. Connect the external device (such as USB flash drive) of the configuration file to the card end of the module TV, and power on the screen of the module TV. At the same time, press the power button (power button) on the screen button panel or the power button on the remote controller. To make the screen enter the standby mode; then press the preset upgrade trigger button on the screen button panel to restart the screen and enter the boot mode; after the screen enters the boot mode, the module TV screen of the present invention can be executed. The upgrade method is forcibly upgraded. The preset upgrade trigger button on the screen button panel indicates which system on the screen needs to be upgraded. Usually, each preset upgrade trigger button corresponds to the screen indicating that a system needs to be upgraded.
外接设备中存储的系统文件包括屏端所有系统进行升级时所需的系统文件,外接设备中存储的配置文件包含该配置文件管理的每一系统的升级需求信息。The system files stored in the external device include the system files required for all systems on the screen to be upgraded. The configuration file stored in the external device contains the upgrade requirement information of each system managed by the configuration file.
在屏端系统损坏的情况下,屏端重启并进入boot模式后,屏端侦测升级指令,当屏端读取到上述预设升级触发按键对应的按键值时即为检测到升级指令。屏端在boot模式下侦测到升级指令时,向卡端发送升级请求,该升级请求中包含升级指令中的升级需求信息(该升级需求信息表示屏端需要进行升级的系统),以告知卡端屏端要进行升级。In the case that the screen system is damaged, after the screen is restarted and enters the boot mode, the screen detects the upgrade command, and when the screen reads the button value corresponding to the preset upgrade trigger button, the upgrade command is detected. When the screen detects the upgrade command in the boot mode, the screen sends an upgrade request to the card end, where the upgrade request includes the upgrade requirement information in the upgrade command (the upgrade request information indicates that the screen needs to be upgraded) to notify the card. The end screen side will be upgraded.
步骤S102:卡端根据所述升级请求获取外接设备中的配置文件,并将所述配置文件发送至屏端;Step S102: The card end acquires a configuration file in the external device according to the upgrade request, and sends the configuration file to the screen end.
卡端从接收到升级请求得知屏端的升级需求信息,根据接收到的升级请求获取外接设备中的配置文件,并将该配置文件发送至屏端。The card end learns the upgrade requirement information of the screen from receiving the upgrade request, acquires the configuration file in the external device according to the received upgrade request, and sends the configuration file to the screen.
步骤S103:屏端获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求;Step S103: The screen end acquires the upgrade requirement information matched in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the upgrade requirement information;
屏端获取所述配置文件和升级指令中相匹配的升级需求信息,并根据该相匹配的升级需求信息向卡端发送文件获取请求,以请求卡端提供系统升级所需的系统文件。The screen end acquires the matching requirement information in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the matched upgrade requirement information, so as to request the card end to provide the system file required for the system upgrade.
步骤S104:卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端;Step S104: The card end acquires a system file in the external device according to the file obtaining request, and sends the system file to the screen end;
卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端,屏端再根据所述系统文件进行升级,从而完成屏端系统升级,使得系统恢复正常,能够正常运行。The card end acquires the system file in the external device according to the file obtaining request, and sends the system file to the screen end, and then the screen end upgrades according to the system file, thereby completing the screen end system upgrade, so that the system returns to normal. It works fine.
步骤S105:屏端根据所述系统文件进行升级。Step S105: The screen end is upgraded according to the system file.
屏端接收到卡端提供的系统文件后,就可以根据接收到的系统文件,对所需升级的系统进行升级。After receiving the system file provided by the card end, the screen can upgrade the system to be upgraded according to the received system file.
本发明的模块电视屏端升级方法,能够实现在模块电视屏端不能直接使用硬件外部接口(如USB接口)情况下,将传统的电视机强制升级方法应用于模块电视的屏端升级上,简化了模块电视屏端的升级操作,从而能够提高产线上产品出故障后的系统恢复效率,简化售后服务操作,也能够降低生产成本。The module TV screen end upgrade method of the invention can realize the application of the traditional TV forced upgrade method to the screen end upgrade of the module TV in the case that the module TV screen end cannot directly use the hardware external interface (such as the USB interface), simplifying The upgrade operation of the module TV screen end can improve the system recovery efficiency after the product line fails, simplify the after-sales service operation, and reduce the production cost.
再参照图2,图2为本发明模块电视屏端升级方法另一实施例的流程示意图。Referring to FIG. 2 again, FIG. 2 is a schematic flowchart diagram of another embodiment of a method for upgrading a module television screen end according to the present invention.
基于上述施例,本发明模块电视屏端升级方法第二实施例中,在步骤101之前还包括:In the second embodiment of the method for upgrading the TV screen of the module of the present invention, before the step 101, the method further includes:
步骤201:屏端在boot模式下给卡端上电;Step 201: The screen end powers up the card end in the boot mode;
由于屏端与卡端连接,因此屏端在boot模式下,可以给卡端上电,本实施例具体地屏端通过将与卡端连接的GPIO口拉高的方式给卡端上电。Since the screen end is connected to the card end, the screen end can be powered on in the boot mode. In this embodiment, the screen end is powered on by the GPIO port connected to the card end.
步骤202:卡端在boot模式下检测到有外接设备接入时,向屏端发送升级询问信息;Step 202: When the card end detects that an external device accesses in the boot mode, the card sends an upgrade query message to the screen end.
卡端上电后进入boot模式,卡端在boot模式下检测到有存储屏端要升级的系统文件和配置文件的外接设备接入时,向屏端发送升级询问信息,以向屏端询问是否要进行升级。屏端接收到所述升级询问信息后,侦测寄存器中的升级指令。After the card is powered on, it enters the boot mode. When the card terminal detects that the system file to be upgraded and the external device of the configuration file are accessed in the boot mode, the card sends an upgrade query message to the screen to ask the screen whether To upgrade. After receiving the upgrade inquiry information, the screen detects the upgrade instruction in the register.
步骤203:屏端接收到所述升级询问信息后,侦测寄存器中的升级指令。Step 203: After receiving the upgrade query information, the screen end detects an upgrade instruction in the register.
当用户通过屏端按键面板上的按键或遥控器上的按键触发屏端时,不断将相应的按键值保存在寄存器中。屏端接收到所述升级询问信息后,侦测寄存器中保存是按键值是否含有升级需求信息,若按键值含有升级需求信息,则说明接收到了升级指令,从而可侦测到升级指令。When the user triggers the screen through the button on the screen button panel or the button on the remote controller, the corresponding button value is continuously saved in the register. After receiving the upgrade query information, the screen saves whether the button value contains the upgrade requirement information, and if the button value contains the upgrade request information, it indicates that the upgrade command is received, so that the upgrade command can be detected.
再参照图3,图3为本发明模块电视屏端升级方法又一实施例的流程示意图。Referring to FIG. 3 again, FIG. 3 is a schematic flowchart diagram of still another embodiment of a method for upgrading a module television screen end according to the present invention.
基于上述实施例,本发明模块电视屏端升级方法第三实施例中,在步骤S104之后还包括:Based on the foregoing embodiment, in the third embodiment of the method for upgrading the module of the television screen of the present invention, after step S104, the method further includes:
步骤S301:屏端对所接收到的系统文件进行CRC校验,且在校验成功时,将所述系统文件写入flash中。Step S301: The screen end performs CRC check on the received system file, and when the verification is successful, the system file is written into the flash.
屏端分别将卡端发送的每一系统文件保存至内存,为了验证卡端发送的每一系统文件是否有效,屏端对每一系统文件进行CRC校验。The screen end saves each system file sent by the card end to the memory respectively. In order to verify whether each system file sent by the card end is valid, the screen end performs CRC check on each system file.
卡端每一次发送一个系统文件数据包给屏端,当发送完屏端所请求的系统文件时,卡端向屏端发送文件传输完毕命令,以告知屏端其所请求的系统文件已传输完毕,可以进行升级。Each time the card end sends a system file data packet to the screen end, when the system file requested by the screen end is sent, the card end sends a file transfer completion command to the screen end to inform the screen end that the requested system file has been transmitted. , you can upgrade.
为确保整个系统文件的有效性,屏端在卡端发送文件传输完毕后,可以对内存中保存的所有系统文件统一进行CRC校验,然后将校验成功的所有系统文件一次性写入flash中,本实施例具体将校验成功的所有系统文件一次性写入nor flash(随机型非易失性闪存)中,从而可以利用nor flash中的系统文件一一对需要进行升级的系统进行升级。In order to ensure the validity of the entire system file, after the screen end sends the file transfer, the screen end can perform CRC check on all the system files saved in the memory, and then write all the system files that have been successfully verified into the flash at one time. In this embodiment, all system files that have been successfully verified are written to the program at least once. In flash (random type non-volatile flash memory), you can use the system files in nor flash to upgrade a system that needs to be upgraded.
再参照图4,图4为本发明模块电视屏端升级方法中步骤S103一实施例的流程示意图。Referring to FIG. 4 again, FIG. 4 is a schematic flowchart of an embodiment of step S103 in the method for upgrading a module television screen end according to the present invention.
基于上述实施例,本发明模块电视屏端升级方法第四实施例中,步骤S103包括:Based on the foregoing embodiment, in the fourth embodiment of the method for upgrading the module of the television screen of the present invention, step S103 includes:
步骤S401:屏端获取所述升级指令中的升级需求信息,并解析接收到的所述配置文件,获取所述配置文件中的升级需求信息;Step S401: The screen end acquires the upgrade requirement information in the upgrade instruction, and parses the received configuration file to obtain the upgrade requirement information in the configuration file.
为了获知外接设备中是否存在需要升级的系统对应的系统文件,屏端获取所述升级指令中的升级需求信息,并且解析卡端发送来的配置文件,获得配置文件中的升级需求信息。In order to know whether there is a system file corresponding to the system to be upgraded in the external device, the screen end obtains the upgrade requirement information in the upgrade instruction, and parses the configuration file sent by the card end to obtain the upgrade requirement information in the configuration file.
步骤S402:屏端比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息;Step S402: The screen end compares the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file;
屏端通过将升级指令中的升级需求信息和配置文件中的升级需求信息进行比对的方式,得知配置文件中是否存在与升级指令中的升级需求信息相匹配的升级需求信息。The screen end compares the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file, and finds whether there is upgrade request information in the configuration file that matches the upgrade requirement information in the upgrade instruction.
步骤S403:屏端在所述升级指令中的升级需求信息和所述配置文件中的升级需求信息中存在相匹配的升级需求信息时,获取相匹配的升级需求信息;Step S403: The screen end obtains matching upgrade requirement information when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file.
屏端通过比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息,来确认两者的升级需求信息是否一致,若两者的升级需求信息一致,则获取相匹配的升级需求信息。The screen end confirms whether the upgrade requirement information of the two is consistent by comparing the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file, and if the upgrade requirement information of the two is the same, the matching is obtained. Upgrade demand information.
步骤S404:屏端根据所述相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,向卡端发送包括所述系统文件名信息的文件获取请求。Step S404: The screen end acquires the system to be upgraded according to the matched upgrade requirement information, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
屏端通过比对后若获得升级指令中的升级需求信息和所述配置文件中的升级需求信息相匹配的升级需求信息,来确认两者的升级需求信息是否一致,则将根据该相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,并发送给卡端,以请求系统升级要用到的系统文件;若两者的升级需求信息不一致,则说明卡端没有与屏端需要升级的系统对应的系统文件,则无法进行升级。The screen end confirms whether the upgrade requirement information of the two is consistent according to the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file, and the matching is based on the matching Upgrade the demand information to obtain the system that needs to be upgraded, and the corresponding system file name information, and send it to the card end to request the system file to be used for system upgrade; if the upgrade requirement information of the two is inconsistent, the card end does not match If the system file corresponding to the system that needs to be upgraded on the screen is not upgraded.
再参照图5,图5为本发明模块电视屏端升级方法中步骤S104一实施例的流程示意图。Referring to FIG. 5 again, FIG. 5 is a schematic flowchart of an embodiment of step S104 in the method for upgrading a module television screen in the present invention.
基于上述实施例,本发明模块电视屏端升级方法第五实施例中,步骤S104包括:Based on the foregoing embodiment, in the fifth embodiment of the method for upgrading the module of the television screen of the present invention, step S104 includes:
步骤S501:卡端根据所述文件获取请求中的系统文件名信息,查找外接设备中与该系统文件名信息相匹配的系统文件名信息;Step S501: The card end searches for the system file name information of the external device that matches the system file name information according to the system file name information in the file obtaining request.
由于卡端要根据系统文件名信息来找到屏端所请求的系统文件,因此卡端接收到屏端发送来的系统文件名信息的文件获取请求时,在外接设备中查找与该系统文件名信息相匹配的系统文件名信息。Since the card end needs to find the system file requested by the screen end according to the system file name information, when the card end receives the file acquisition request of the system file name information sent by the screen end, the card terminal searches for the system file name information in the external device. Match system file name information.
步骤S502:卡端获取与在外接设备中所查找到的系统文件名信息对应的系统文件,并将所获取的系统文件发送至屏端。Step S502: The card end acquires a system file corresponding to the system file name information found in the external device, and sends the acquired system file to the screen end.
卡端若查找到相匹配的系统文件名信息,则将该相匹配的系统文件名信息对应的文件系统发送给屏端,使得屏端可以对系统进行升级;若没有查找到相匹配的系统文件名信息,则说明卡端没有与屏端需要升级的系统对应的系统文件,则无法进行升级。If the card end finds the matching system file name information, the file system corresponding to the matched system file name information is sent to the screen end, so that the screen end can upgrade the system; if no matching system file is found, If the name information indicates that there is no system file corresponding to the system that needs to be upgraded on the screen, the upgrade cannot be performed.
本发明还提供一种模块电视,该模块电视可利用上述模块电视屏端升级方法对模块电视的屏端进行强制升级。The invention also provides a module television, which can perform a forced upgrade of the screen end of the module television by using the module TV screen end upgrade method.
参照图6,图6为本发明模块电视较佳实施例的结构示意图。Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a preferred embodiment of a module television according to the present invention.
本发明模块电视较佳实施例中,模块电视包括屏端和卡端,所述屏端用于在侦测到升级指令时,向卡端发送升级请求;所述卡端用于根据所述升级请求获取外接设备中的配置文件,并将所述配置文件发送至屏端;所述屏端还用于获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求;所述卡端还用于根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端;所述屏端还用于根据所述系统文件进行升级。In a preferred embodiment of the module television of the present invention, the module television includes a screen end and a card end, and the screen end is configured to send an upgrade request to the card end when the upgrade instruction is detected; the card end is used to upgrade according to the Requesting to obtain a configuration file in the external device, and sending the configuration file to the screen end; the screen end is further configured to obtain the upgrade requirement information that matches the configuration file and the upgrade instruction, and according to the upgrade requirement information, The card end sends a file acquisition request; the card end is further configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end; the screen end is further used according to the system The file is upgraded.
由于在模块电视的屏端系统损坏的情况下,只有屏端系统的boot程序有效,因此,模块电视的屏端在利用本发明模块电视屏端升级方法进行强制升级时,需要先进入boot模式,在boot模式下进行屏端强制升级。In the case that the screen end system of the module TV is damaged, only the boot program of the screen end system is effective. Therefore, when the screen end of the module TV is forced to be upgraded by using the module screen screen upgrade method of the present invention, it is necessary to enter the boot mode first. In the boot mode, the screen is forced to upgrade.
具体地,在模块电视的屏端系统损坏的情况下,当用户(如产线人员、售后服务人员)需要对模块电视的屏端进行强制升级时,可将存储有屏端要升级的系统文件和配置文件的外接设备(如U盘)插入模块电视的卡端,并给模块电视的屏端上电,同时按住屏端按键面板上的power键(电源键)或遥控器上的power键,使屏端进入待机模式;再通过按下屏端按键面板上的预设升级触发按键,使得屏端重启,并进入boot模式;屏端进入boot模式后,可执行本发明的模块电视屏端升级方法进行强制升级。屏端按键面板上的预设升级触发按键指示屏端的哪个系统需要升级,通常设定每一预设升级触发按键对应指示屏端一个系统需要升级。Specifically, in the case that the screen end system of the module TV is damaged, when the user (such as the production line personnel and the after-sales service personnel) needs to perform the forced upgrade of the screen end of the module TV, the system file to be upgraded by the screen end may be stored. Connect the external device (such as USB flash drive) of the configuration file to the card end of the module TV, and power on the screen of the module TV. At the same time, press the power button (power button) on the screen button panel or the power button on the remote controller. To make the screen enter the standby mode; then press the preset upgrade trigger button on the screen button panel to restart the screen and enter the boot mode; after the screen enters the boot mode, the module TV screen of the present invention can be executed. The upgrade method is forcibly upgraded. The preset upgrade trigger button on the screen button panel indicates which system on the screen needs to be upgraded. Usually, each preset upgrade trigger button corresponds to the screen indicating that a system needs to be upgraded.
外接设备中存储的系统文件包括屏端所有系统进行升级时所需的系统文件,外接设备中存储的配置文件包含该配置文件管理的每一系统的升级需求信息。The system files stored in the external device include the system files required for all systems on the screen to be upgraded. The configuration file stored in the external device contains the upgrade requirement information of each system managed by the configuration file.
在屏端系统损坏的情况下,屏端重启并进入boot模式后,屏端侦测升级指令,当屏端读取到上述预设升级触发按键对应的按键值时即为检测到升级指令。屏端在boot模式下侦测到升级指令时,向卡端发送升级请求,该升级请求中包含升级指令中的升级需求信息(该升级需求信息表示屏端需要进行升级的系统),以告知卡端屏端要进行升级。卡端接收到升级请求得知屏端的升级需求信息,根据接收到的升级请求获取外接设备中的配置文件,并将该配置文件发送至屏端。屏端获取所述配置文件和升级指令中相匹配的升级需求信息,并根据该相匹配的升级需求信息向卡端发送文件获取请求,以请求卡端提供系统升级所需的系统文件。卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端,屏端再根据所述系统文件进行升级,从而完成屏端系统升级,使得系统恢复正常,能够正常运行。In the case that the screen system is damaged, after the screen is restarted and enters the boot mode, the screen detects the upgrade command, and when the screen reads the button value corresponding to the preset upgrade trigger button, the upgrade command is detected. When the screen detects the upgrade command in the boot mode, the screen sends an upgrade request to the card end, where the upgrade request includes the upgrade requirement information in the upgrade command (the upgrade request information indicates that the screen needs to be upgraded) to notify the card. The end screen side will be upgraded. The card end receives the upgrade request to learn the upgrade requirement information of the screen, obtains the configuration file in the external device according to the received upgrade request, and sends the configuration file to the screen. The screen end acquires the matching requirement information in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the matched upgrade requirement information, so as to request the card end to provide the system file required for the system upgrade. The card end acquires the system file in the external device according to the file obtaining request, and sends the system file to the screen end, and then the screen end upgrades according to the system file, thereby completing the screen end system upgrade, so that the system returns to normal. It works fine.
本发明的模块电视,能够实现在屏端不能直接使用硬件外部接口(如USB接口)情况下,将传统的电视机强制升级方法应用于模块电视的屏端升级上,简化了模块电视屏端的升级操作,从而能够提高产线上产品出故障后的系统恢复效率,简化售后服务操作,也能够降低生产成本。The module TV of the invention can realize the application of the traditional TV forced upgrade method to the screen end upgrade of the module TV in the case that the screen end cannot directly use the hardware external interface (such as the USB interface), and the upgrade of the module TV screen end is simplified. The operation can improve the system recovery efficiency after the product on the production line is broken, simplify the after-sales service operation, and reduce the production cost.
具体地,所述屏端还用于在boot模式下给卡端上电;所述卡端还用于在boot模式下检测到有外接设备接入时,向屏端发送升级询问信息;所述屏端还用于接收到所述升级询问信息后,侦测寄存器中的升级指令。Specifically, the screen end is further configured to power on the card end in the boot mode; the card end is further configured to send the upgrade query information to the screen end when detecting that the external device accesses in the boot mode; The screen is further configured to detect an upgrade instruction in the register after receiving the upgrade query information.
由于屏端与卡端连接,因此屏端在boot模式下,可以给卡端上电,本实施例具体地屏端通过将与卡端连接的GPIO口拉高的方式给卡端上电。Since the screen end is connected to the card end, the screen end can be powered on in the boot mode. In this embodiment, the screen end is powered on by the GPIO port connected to the card end.
卡端上电后进入boot模式,卡端在boot模式下检测到有存储屏端要升级的系统文件和配置文件的外接设备接入时,向屏端发送升级询问信息,以向屏端询问是否要进行升级。屏端接收到所述升级询问信息后,侦测寄存器中的升级指令。After the card is powered on, it enters the boot mode. When the card terminal detects that the system file to be upgraded and the external device of the configuration file are accessed in the boot mode, the card sends an upgrade query message to the screen to ask the screen whether To upgrade. After receiving the upgrade inquiry information, the screen detects the upgrade instruction in the register.
当用户通过屏端按键面板上的按键或遥控器上的按键触发屏端时,不断将相应的按键值保存在寄存器中。屏端接收到所述升级询问信息后,侦测寄存器中保存是按键值是否含有升级需求信息,若按键值含有升级需求信息,则说明接收到了升级指令,从而可侦测到升级指令。When the user triggers the screen through the button on the screen button panel or the button on the remote controller, the corresponding button value is continuously saved in the register. After receiving the upgrade query information, the screen saves whether the button value contains the upgrade requirement information, and if the button value contains the upgrade request information, it indicates that the upgrade command is received, so that the upgrade command can be detected.
具体地,所述屏端还用于对所接收到的系统文件进行CRC校验,且在校验成功时,将所述系统文件写入flash中。Specifically, the screen is further configured to perform a CRC check on the received system file, and when the verification is successful, write the system file into the flash.
屏端分别将卡端发送的每一系统文件保存至内存,为了验证卡端发送的每一系统文件是否有效,屏端对每一系统文件进行CRC校验。The screen end saves each system file sent by the card end to the memory respectively. In order to verify whether each system file sent by the card end is valid, the screen end performs CRC check on each system file.
卡端每一次发送一个系统文件数据包给屏端,当发送完屏端所请求的系统文件时,卡端向屏端发送文件传输完毕命令,以告知屏端其所请求的系统文件已传输完毕,可以进行升级。Each time the card end sends a system file data packet to the screen end, when the system file requested by the screen end is sent, the card end sends a file transfer completion command to the screen end to inform the screen end that the requested system file has been transmitted. , you can upgrade.
为确保整个系统文件的有效性,屏端在卡端发送文件传输完毕后,可以对内存中保存的所有系统文件统一进行CRC校验,然后将校验成功的所有系统文件一次性写入flash中,本实施例具体将校验成功的所有系统文件一次性写入nor flash(随机型非易失性闪存)中,从而可以利用nor flash中的系统文件一一对需要进行升级的系统进行升级。In order to ensure the validity of the entire system file, after the screen end sends the file transfer, the screen end can perform CRC check on all the system files saved in the memory, and then write all the system files that have been successfully verified into the flash at one time. In this embodiment, all system files that have been successfully verified are written to the program at least once. In flash (random type non-volatile flash memory), you can use the system files in nor flash to upgrade a system that needs to be upgraded.
具体地,所述屏端用于获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求具体为:Specifically, the screen end is configured to obtain the upgrade requirement information that matches the configuration file and the upgrade instruction, and send the file acquisition request to the card end according to the upgrade requirement information, specifically:
所述屏端用于获取所述升级指令中的升级需求信息,并解析接收到的所述配置文件,获取所述配置文件中的升级需求信息;比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息;在所述升级指令中的升级需求信息和所述配置文件中的升级需求信息中存在相匹配的升级需求信息时,获取相匹配的升级需求信息;根据所述相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,向卡端发送包括所述系统文件名信息的文件获取请求。The screen is configured to obtain the upgrade requirement information in the upgrade instruction, and parse the received configuration file to obtain the upgrade requirement information in the configuration file; compare the upgrade requirement information in the upgrade instruction with The upgrade requirement information in the configuration file; when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file, obtaining matching upgrade requirement information; The matching upgrade requirement information acquires the system that needs to be upgraded, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
屏端通过比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息,来确认两者的升级需求信息是否一致,若两者的升级需求信息一致,则发送文件获取请求给卡端,以获取需要升级的系统对应的系统文件;若两者的升级需求信息不一致,则说明卡端没有与屏端需要升级的系统对应的系统文件,则无法进行升级。The screen end confirms whether the upgrade requirement information of the two is consistent by comparing the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file, and if the upgrade requirement information of the two is consistent, sending a file acquisition request If the card needs to be upgraded, the system file corresponding to the system that needs to be upgraded is inconsistent.
具体地,所述卡端用于根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端具体为:Specifically, the card end is configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end, specifically:
所述卡端用于根据所述文件获取请求中的系统文件名信息,查找外接设备中与该系统文件名信息相匹配的系统文件名信息,获取与在外接设备中所查找到的系统文件名信息对应的系统文件,将所获取的系统文件发送至屏端。The card end is configured to search, according to the system file name information in the file obtaining request, the system file name information of the external device that matches the system file name information, and obtain the system file name found in the external device. The system file corresponding to the information sends the obtained system file to the screen.
由于卡端要根据系统文件名信息来找到屏端所请求的系统文件,因此卡端接收到屏端发送来的系统文件名信息的文件获取请求时,在外接设备中查找与该系统文件名信息相匹配的系统文件名信息。卡端若查找到相匹配的系统文件名信息,则将该相匹配的系统文件名信息对应的文件系统发送给屏端,使得屏端可以对系统进行升级;若没有查找到相匹配的系统文件名信息,则说明卡端没有与屏端需要升级的系统对应的系统文件,则无法进行升级。Since the card end needs to find the system file requested by the screen end according to the system file name information, when the card end receives the file acquisition request of the system file name information sent by the screen end, the card terminal searches for the system file name information in the external device. Match system file name information. If the card end finds the matching system file name information, the file system corresponding to the matched system file name information is sent to the screen end, so that the screen end can upgrade the system; if no matching system file is found, If the name information indicates that there is no system file corresponding to the system that needs to be upgraded on the screen, the upgrade cannot be performed.
以上所述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种模块电视屏端升级方法,其特征在于,所述模块电视屏端升级方法包括以下步骤: A module TV screen end upgrade method, characterized in that the module TV screen end upgrade method comprises the following steps:
    屏端在侦测到升级指令时,向卡端发送升级请求;When the screen end detects the upgrade instruction, the screen sends an upgrade request to the card end;
    卡端根据所述升级请求获取外接设备中的配置文件,并将所述配置文件发送至屏端;The card end acquires a configuration file in the external device according to the upgrade request, and sends the configuration file to the screen end;
    屏端获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求;The screen end acquires matching upgrade requirement information in the configuration file and the upgrade instruction, and sends a file acquisition request to the card end according to the upgrade requirement information;
    卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端;The card end acquires a system file in the external device according to the file obtaining request, and sends the system file to the screen end;
    屏端根据所述系统文件进行升级。 The screen is upgraded according to the system file.
  2. 如权利要求1所述的模块电视屏端升级方法,其特征在于,所述屏端在侦测到升级指令时,向卡端发送升级请求的步骤之前还包括:The method for upgrading a module screen of the module according to claim 1, wherein the step of sending the upgrade request to the card end when the screen end detects the upgrade command further comprises:
    屏端在boot模式下给卡端上电;The screen end powers up the card end in the boot mode;
    卡端在boot模式下检测到有外接设备接入时,向屏端发送升级询问信息;When the card terminal detects that an external device is connected in the boot mode, it sends an upgrade inquiry message to the screen end;
    屏端接收到所述升级询问信息后,侦测寄存器中的升级指令;After receiving the upgrade query information, the screen end detects an upgrade instruction in the register;
    所述屏端在boot模式下给卡端上电的步骤具体为:The step of the screen end powering the card end in the boot mode is specifically:
    屏端通过将与卡端连接的GPIO口拉高的方式给卡端上电。The screen end powers up the card end by pulling the GPIO port connected to the card end high.
  3. 如权利要求2所述的模块电视屏端升级方法,其特征在于,所述屏端获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求的步骤包括:The module TV screen end upgrade method according to claim 2, wherein the screen end acquires matching upgrade requirement information in the configuration file and the upgrade instruction, and sends a file acquisition to the card end according to the upgrade requirement information. The requested steps include:
    屏端获取所述升级指令中的升级需求信息,并解析接收到的所述配置文件,获取所述配置文件中的升级需求信息;The screen end acquires the upgrade requirement information in the upgrade instruction, and parses the received configuration file to obtain the upgrade requirement information in the configuration file.
    屏端比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息;The screen end compares the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file;
    屏端在所述升级指令中的升级需求信息和所述配置文件中的升级需求信息中存在相匹配的升级需求信息时,获取相匹配的升级需求信息;The screen end obtains matching upgrade requirement information when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file;
    屏端根据所述相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,向卡端发送包括所述系统文件名信息的文件获取请求。The screen end acquires the system to be upgraded according to the matched upgrade requirement information, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
  4. 如权利要求3所述的模块电视屏端升级方法,其特征在于,所述卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端的步骤包括:The method for upgrading a module of a television screen according to claim 3, wherein the step of the card end acquiring the system file in the external device according to the file acquisition request and transmitting the system file to the screen comprises:
    卡端根据所述文件获取请求中的系统文件名信息,查找外接设备中与该系统文件名信息相匹配的系统文件名信息;The card end searches for the system file name information of the external device that matches the system file name information according to the system file name information in the file obtaining request.
    卡端获取与在外接设备中所查找到的系统文件名信息对应的系统文件,并将所获取的系统文件发送至屏端。The card end acquires a system file corresponding to the system file name information found in the external device, and sends the acquired system file to the screen.
  5. 如权利要求1所述的模块电视屏端升级方法,其特征在于,所述卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端的步骤之后还包括:The module television screen end upgrade method according to claim 1, wherein the step of acquiring the system file in the external device according to the file acquisition request, and sending the system file to the screen end further includes :
    屏端对所接收到的系统文件进行CRC校验,且在校验成功时,将所述系统文件写入flash中。The screen end performs CRC check on the received system file, and when the verification is successful, the system file is written into the flash.
  6. 如权利要求5所述的模块电视屏端升级方法,其特征在于,所述屏端对所接收到的系统文件进行CRC校验,且在校验成功时,将所述系统文件写入flash中的步骤包括:The module TV screen end upgrade method according to claim 5, wherein the screen end performs CRC check on the received system file, and when the verification is successful, the system file is written into the flash. The steps include:
    屏端分别将卡端发送的每一系统文件保存至内存,并对每一系统文件进行CRC校验;The screen end saves each system file sent by the card end to the memory, and performs CRC check on each system file;
    屏端接收到卡端发送的文件传输完毕命令后,对内存中保存的所有系统文件统一进行CRC校验,将校验成功的所有系统文件一次性写入nor flash中。After receiving the file transfer completion command sent by the card end, the screen end performs a CRC check on all the system files saved in the memory, and writes all the system files that have been successfully verified to the nor program at one time. In the flash.
  7. 如权利要求5所述的模块电视屏端升级方法,其特征在于,所述屏端获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求的步骤包括:The module TV screen end upgrade method according to claim 5, wherein the screen end acquires the upgrade requirement information matched in the configuration file and the upgrade instruction, and sends the file acquisition to the card end according to the upgrade requirement information. The requested steps include:
    屏端获取所述升级指令中的升级需求信息,并解析接收到的所述配置文件,获取所述配置文件中的升级需求信息;The screen end acquires the upgrade requirement information in the upgrade instruction, and parses the received configuration file to obtain the upgrade requirement information in the configuration file.
    屏端比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息;The screen end compares the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file;
    屏端在所述升级指令中的升级需求信息和所述配置文件中的升级需求信息中存在相匹配的升级需求信息时,获取相匹配的升级需求信息;The screen end obtains matching upgrade requirement information when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file;
    屏端根据所述相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,向卡端发送包括所述系统文件名信息的文件获取请求。The screen end acquires the system to be upgraded according to the matched upgrade requirement information, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
  8. 如权利要求7所述的模块电视屏端升级方法,其特征在于,所述卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端的步骤包括:The method for upgrading a module screen of the module according to claim 7, wherein the step of the card end acquiring the system file in the external device according to the file acquisition request, and sending the system file to the screen comprises:
    卡端根据所述文件获取请求中的系统文件名信息,查找外接设备中与该系统文件名信息相匹配的系统文件名信息;The card end searches for the system file name information of the external device that matches the system file name information according to the system file name information in the file obtaining request.
    卡端获取与在外接设备中所查找到的系统文件名信息对应的系统文件,并将所获取的系统文件发送至屏端。The card end acquires a system file corresponding to the system file name information found in the external device, and sends the acquired system file to the screen.
  9. 如权利要求1所述的模块电视屏端升级方法,其特征在于,所述屏端获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求的步骤包括:The method for upgrading a module of a television screen according to claim 1, wherein the screen end acquires the matching requirement information in the configuration file and the upgrade instruction, and sends the file to the card end according to the upgrade requirement information. The requested steps include:
    屏端获取所述升级指令中的升级需求信息,并解析接收到的所述配置文件,获取所述配置文件中的升级需求信息;The screen end acquires the upgrade requirement information in the upgrade instruction, and parses the received configuration file to obtain the upgrade requirement information in the configuration file.
    屏端比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息;The screen end compares the upgrade requirement information in the upgrade instruction with the upgrade requirement information in the configuration file;
    屏端在所述升级指令中的升级需求信息和所述配置文件中的升级需求信息中存在相匹配的升级需求信息时,获取相匹配的升级需求信息;The screen end obtains matching upgrade requirement information when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file;
    屏端根据所述相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,向卡端发送包括所述系统文件名信息的文件获取请求。The screen end acquires the system to be upgraded according to the matched upgrade requirement information, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
  10. 如权利要求9所述的模块电视屏端升级方法,其特征在于,所述卡端根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端的步骤包括:The method for upgrading a module screen of the module according to claim 9, wherein the step of the card end acquiring the system file in the external device according to the file acquisition request, and sending the system file to the screen comprises:
    卡端根据所述文件获取请求中的系统文件名信息,查找外接设备中与该系统文件名信息相匹配的系统文件名信息;The card end searches for the system file name information of the external device that matches the system file name information according to the system file name information in the file obtaining request.
    卡端获取与在外接设备中所查找到的系统文件名信息对应的系统文件,并将所获取的系统文件发送至屏端。The card end acquires a system file corresponding to the system file name information found in the external device, and sends the acquired system file to the screen.
  11. 一种模块电视,包括屏端和卡端,其特征在于,所述屏端用于在侦测到升级指令时,向卡端发送升级请求;A module television, comprising a screen end and a card end, wherein the screen end is configured to send an upgrade request to the card end when the upgrade instruction is detected;
    所述卡端用于根据所述升级请求获取外接设备中的配置文件,并将所述配置文件发送至屏端;The card end is configured to acquire a configuration file in the external device according to the upgrade request, and send the configuration file to the screen end;
    所述屏端还用于获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求;The screen is further configured to obtain the upgrade requirement information that is matched in the configuration file and the upgrade instruction, and send a file acquisition request to the card end according to the upgrade requirement information;
    所述卡端还用于根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端;The card end is further configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end;
    所述屏端还用于根据所述系统文件进行升级。The screen is also used to upgrade according to the system file.
  12. 如权利要求11所述的模块电视,其特征在于,所述屏端还用于在boot模式下给卡端上电;The modular television of claim 11 , wherein the screen is further configured to power up the card end in the boot mode;
    所述卡端还用于在boot模式下检测到有外接设备接入时,向屏端发送升级询问信息;The card end is further configured to send an upgrade query message to the screen end when detecting that an external device accesses in the boot mode;
    所述屏端还用于接收到所述升级询问信息后,侦测寄存器中的升级指令;The screen is further configured to: after receiving the upgrade query information, detect an upgrade instruction in the register;
    所述屏端在boot模式下给卡端上电具体为:The screen end powers up the card end in the boot mode, specifically:
    屏端通过将与卡端连接的GPIO口拉高的方式给卡端上电。The screen end powers up the card end by pulling the GPIO port connected to the card end high.
  13. 如权利要求12所述的模块电视,其特征在于,所述屏端用于获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求具体为:The module TV according to claim 12, wherein the screen end is configured to obtain matching upgrade requirement information in the configuration file and the upgrade instruction, and send a file acquisition request to the card end according to the upgrade requirement information. for:
    所述屏端用于获取所述升级指令中的升级需求信息,并解析接收到的所述配置文件,获取所述配置文件中的升级需求信息;比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息;在所述升级指令中的升级需求信息和所述配置文件中的升级需求信息中存在相匹配的升级需求信息时,获取相匹配的升级需求信息;根据所述相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,向卡端发送包括所述系统文件名信息的文件获取请求。The screen is configured to obtain the upgrade requirement information in the upgrade instruction, and parse the received configuration file to obtain the upgrade requirement information in the configuration file; compare the upgrade requirement information in the upgrade instruction with The upgrade requirement information in the configuration file; when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file, obtaining matching upgrade requirement information; The matching upgrade requirement information acquires the system that needs to be upgraded, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
  14. 如权利要求13所述的模块电视,其特征在于,所述卡端用于根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端具体为:The module television according to claim 13, wherein the card end is configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end as follows:
    所述卡端用于根据所述文件获取请求中的系统文件名信息,查找外接设备中与该系统文件名信息相匹配的系统文件名信息,获取与在外接设备中所查找到的系统文件名信息对应的系统文件,将所获取的系统文件发送至屏端。The card end is configured to search, according to the system file name information in the file obtaining request, the system file name information of the external device that matches the system file name information, and obtain the system file name found in the external device. The system file corresponding to the information sends the obtained system file to the screen.
  15. 如权利要求11所述的模块电视,其特征在于,所述屏端还用于对所接收到的系统文件进行CRC校验,且在校验成功时,将所述系统文件写入flash中。The module television of claim 11, wherein the screen is further configured to perform a CRC check on the received system file, and when the verification is successful, the system file is written into the flash.
  16. 如权利要求15所述的模块电视,其特征在于,所述屏端对所接收到的系统文件进行CRC校验,且在校验成功时,将所述系统文件写入flash中具体为:The module television according to claim 15, wherein the screen end performs CRC check on the received system file, and when the verification is successful, writing the system file to the flash is specifically:
    屏端分别将卡端发送的每一系统文件保存至内存,并对每一系统文件进行CRC校验;The screen end saves each system file sent by the card end to the memory, and performs CRC check on each system file;
    屏端接收到卡端发送的文件传输完毕命令后,对内存中保存的所有系统文件统一进行CRC校验,将校验成功的所有系统文件一次性写入nor flash中。After receiving the file transfer completion command sent by the card end, the screen end performs a CRC check on all the system files saved in the memory, and writes all the system files that have been successfully verified to the nor program at one time. In the flash.
  17. 如权利要求15所述的模块电视,其特征在于,所述屏端用于获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求具体为:The module TV according to claim 15, wherein the screen end is configured to acquire matching upgrade requirement information in the configuration file and the upgrade instruction, and send a file acquisition request to the card end according to the upgrade requirement information. for:
    所述屏端用于获取所述升级指令中的升级需求信息,并解析接收到的所述配置文件,获取所述配置文件中的升级需求信息;比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息;在所述升级指令中的升级需求信息和所述配置文件中的升级需求信息中存在相匹配的升级需求信息时,获取相匹配的升级需求信息;根据所述相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,向卡端发送包括所述系统文件名信息的文件获取请求。The screen is configured to obtain the upgrade requirement information in the upgrade instruction, and parse the received configuration file to obtain the upgrade requirement information in the configuration file; compare the upgrade requirement information in the upgrade instruction with The upgrade requirement information in the configuration file; when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file, obtaining matching upgrade requirement information; The matching upgrade requirement information acquires the system that needs to be upgraded, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
  18. 如权利要求17所述的模块电视,其特征在于,所述卡端用于根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端具体为:The module TV according to claim 17, wherein the card end is configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end as follows:
    所述卡端用于根据所述文件获取请求中的系统文件名信息,查找外接设备中与该系统文件名信息相匹配的系统文件名信息,获取与在外接设备中所查找到的系统文件名信息对应的系统文件,将所获取的系统文件发送至屏端。The card end is configured to search, according to the system file name information in the file obtaining request, the system file name information of the external device that matches the system file name information, and obtain the system file name found in the external device. The system file corresponding to the information sends the obtained system file to the screen.
  19. 如权利要求11所述的模块电视,其特征在于,所述屏端用于获取所述配置文件和升级指令中相匹配的升级需求信息,根据所述升级需求信息向卡端发送文件获取请求具体为:The module TV according to claim 11, wherein the screen end is configured to acquire matching upgrade requirement information in the configuration file and the upgrade instruction, and send a file acquisition request to the card end according to the upgrade requirement information. for:
    所述屏端用于获取所述升级指令中的升级需求信息,并解析接收到的所述配置文件,获取所述配置文件中的升级需求信息;比对所述升级指令中的升级需求信息和所述配置文件中的升级需求信息;在所述升级指令中的升级需求信息和所述配置文件中的升级需求信息中存在相匹配的升级需求信息时,获取相匹配的升级需求信息;根据所述相匹配的升级需求信息获取需要升级的系统,及其对应的系统文件名信息,向卡端发送包括所述系统文件名信息的文件获取请求。The screen is configured to obtain the upgrade requirement information in the upgrade instruction, and parse the received configuration file to obtain the upgrade requirement information in the configuration file; compare the upgrade requirement information in the upgrade instruction with The upgrade requirement information in the configuration file; when there is matching upgrade requirement information in the upgrade requirement information in the upgrade instruction and the upgrade requirement information in the configuration file, obtaining matching upgrade requirement information; The matching upgrade requirement information acquires the system that needs to be upgraded, and the corresponding system file name information, and sends a file acquisition request including the system file name information to the card end.
  20. 如权利要求19所述的模块电视,其特征在于,所述卡端用于根据所述文件获取请求获取外接设备中的系统文件,并将所述系统文件发送至屏端具体为:The module TV according to claim 19, wherein the card end is configured to acquire a system file in the external device according to the file obtaining request, and send the system file to the screen end as follows:
    所述卡端用于根据所述文件获取请求中的系统文件名信息,查找外接设备中与该系统文件名信息相匹配的系统文件名信息,获取与在外接设备中所查找到的系统文件名信息对应的系统文件,将所获取的系统文件发送至屏端。The card end is configured to search, according to the system file name information in the file obtaining request, the system file name information of the external device that matches the system file name information, and obtain the system file name found in the external device. The system file corresponding to the information sends the obtained system file to the screen.
PCT/CN2014/094969 2014-12-15 2014-12-25 Modular television and screen end upgrade method therefor WO2016095254A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410778358.7 2014-12-15
CN201410778358.7A CN105763944B (en) 2014-12-15 2014-12-15 Module TV and its screen end upgrade method

Publications (1)

Publication Number Publication Date
WO2016095254A1 true WO2016095254A1 (en) 2016-06-23

Family

ID=56125705

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094969 WO2016095254A1 (en) 2014-12-15 2014-12-25 Modular television and screen end upgrade method therefor

Country Status (2)

Country Link
CN (1) CN105763944B (en)
WO (1) WO2016095254A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572391A (en) * 2016-11-01 2017-04-19 广州视源电子科技股份有限公司 Television shutdown recovery method and television
CN107451000B (en) * 2017-07-03 2021-03-02 杭州中天微系统有限公司 System upgrade detection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101166229A (en) * 2006-10-17 2008-04-23 深圳Tcl新技术有限公司 A TV software update method
CN102780866A (en) * 2012-08-08 2012-11-14 卢泳 Modularized television
CN103369380A (en) * 2012-04-02 2013-10-23 Lg电子株式会社 Upgradeable display device and method for controlling the same
CN104038803A (en) * 2014-06-27 2014-09-10 Tcl集团股份有限公司 Modularized smart television and interactive method applied to same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100011404A1 (en) * 2008-07-14 2010-01-14 Sony Corporation Tv software upgrade using tv internet adapter
CN103327376B (en) * 2009-08-03 2015-09-02 鸿富锦精密工业(深圳)有限公司 Music video service device and music video customized setting method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101166229A (en) * 2006-10-17 2008-04-23 深圳Tcl新技术有限公司 A TV software update method
CN103369380A (en) * 2012-04-02 2013-10-23 Lg电子株式会社 Upgradeable display device and method for controlling the same
CN102780866A (en) * 2012-08-08 2012-11-14 卢泳 Modularized television
CN104038803A (en) * 2014-06-27 2014-09-10 Tcl集团股份有限公司 Modularized smart television and interactive method applied to same

Also Published As

Publication number Publication date
CN105763944B (en) 2018-09-04
CN105763944A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2019037396A1 (en) Account clearing method, device and equipment and storage medium
WO2017088664A1 (en) Data processing method and apparatus for cluster file system
WO2018006489A1 (en) Terminal voice interaction method and device
WO2017201943A1 (en) Method and device for driving display screen
WO2016023225A1 (en) Control apparatus and method based on mobile terminal for electronic atomizing apparatus
WO2016029594A1 (en) Method and system for terminal to connect with display device
WO2018023926A1 (en) Interaction method and system for television and mobile terminal
WO2018126888A1 (en) Method and apparatus for configuring a shortcut for a television function
WO2016058258A1 (en) Terminal remote control method and system
WO2016173259A1 (en) Bluetooth pairing method and bluetooth pairing device
WO2019062113A1 (en) Control method and device for home appliance, home appliance, and readable storage medium
WO2014187158A1 (en) Method, server, and terminal for controlling cloud sharing of terminal data
WO2017121066A1 (en) Application program display method and system
WO2018053963A1 (en) Method and apparatus for upgrading system of smart television
WO2019062112A1 (en) Method and device for controlling air conditioner, air conditioner, and computer readable storage medium
WO2019062109A1 (en) Method of mounting disk array, android device and storage medium
WO2018006581A1 (en) Smart-television playback method and apparatus
WO2019051901A1 (en) Terminal control method and device, and computer readable storage medium
WO2016101252A1 (en) Channel information display method and apparatus for intelligent television
WO2017088428A1 (en) Sound wave-based remote control method and system
WO2016095254A1 (en) Modular television and screen end upgrade method therefor
WO2019051897A1 (en) Terminal operating parameter adjustment method and device, and computer readable storage medium
WO2017071223A1 (en) Control method and device for television application
WO2016179903A1 (en) Network hospital platform, expert platform and expert consultation request method

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: 14908289

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03/11/17)

122 Ep: pct application non-entry in european phase

Ref document number: 14908289

Country of ref document: EP

Kind code of ref document: A1