WO2011147113A1 - Method and apparatus for cutting off power of multimedia broadcasting chip, and data card thereof - Google Patents

Method and apparatus for cutting off power of multimedia broadcasting chip, and data card thereof Download PDF

Info

Publication number
WO2011147113A1
WO2011147113A1 PCT/CN2010/075444 CN2010075444W WO2011147113A1 WO 2011147113 A1 WO2011147113 A1 WO 2011147113A1 CN 2010075444 W CN2010075444 W CN 2010075444W WO 2011147113 A1 WO2011147113 A1 WO 2011147113A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
multimedia broadcast
chip
data
module
Prior art date
Application number
PCT/CN2010/075444
Other languages
French (fr)
Chinese (zh)
Inventor
姜承志
薛智军
李瑞锋
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011147113A1 publication Critical patent/WO2011147113A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver

Definitions

  • Multimedia broadcast chip power-off method device and data card
  • the present invention relates to the field of multimedia broadcasting technologies, and in particular, to a multimedia broadcast chip power-off method, device, and data card.
  • the mobile multimedia broadcasting mobile TV service is gradually being promoted.
  • the firmware for short
  • the firmware Firm ware, FW
  • CMMB China Mobile Multimedia Broadcasting
  • CMMB port driver on the side of the Personal Computer (PC) for sending data to the data card side;
  • USB Universal Serial Bus
  • SPI Serial Peripheral Interface
  • the implementation process of the prior art mainly includes: After the data card is inserted into the PC, the port enumeration is started.
  • the firmware packet in the specific directory is sent to the data card side via USB.
  • the data processing module on the data card side After receiving the firmware data packet through the USB driver on the data card side, the data processing module on the data card side sends the firmware to the CMMB chip through the SPI driver.
  • the CMMB port driver completes the firmware download by splitting the firmware into multiple packets and then sending the packets to the data card multiple times.
  • the technical problem to be solved by the present invention is to provide a multimedia broadcast chip power-off method, device and data card, which overcomes the defect that the CMMB function cannot be normally used due to firmware loss after the multimedia broadcast chip is powered off in the prior art.
  • the present invention provides a multimedia broadcast chip power-off device, including a multimedia broadcast port driver, a universal serial bus (USB) driver on a data card side, a data processing module, and a serial peripheral interface (SPI) driver. , restart the module and power management module, where:
  • the multimedia broadcast port driver is configured to: send data to the data card through a USB driver, including a command to power on or power off the multimedia broadcast chip;
  • the USB driver is set to: after receiving the data, it is passed to the data processing module;
  • the data processing module is configured to: after receiving the data, determine whether it is a firmware data packet, if yes, send to the restart module, and simultaneously send the firmware data packet to the multimedia broadcast chip through the SPI driver;
  • the restart module is set to: after receiving the firmware data packet sent by the data processing module, saving to the storage space; and, after the multimedia broadcast chip is powered on, sending the saved firmware data packet to the multimedia broadcast chip through the SPI driver;
  • the power management module is configured to perform a power-on operation on the multimedia broadcast chip after the power-off condition of the multimedia broadcast chip is triggered; and perform power-on operation on the multimedia broadcast chip after the power-on condition of the multimedia broadcast chip is triggered.
  • the data processing module is further configured to: after receiving the power-on or power-off command sent by the host side, send the power management module directly or through the restart module;
  • the multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off command; the power-on condition is: receiving the power-on command.
  • the data processing module is further configured to: when the multimedia broadcast device has no data interaction within a set period of time, notify the power management module to perform power-off; and when the multimedia broadcast device re-receives data after power-off, notify the The power management module is powered on;
  • the multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off notification; the power-on condition is: receiving the power-on notification.
  • the restart module is configured to: initialize the multimedia broadcast chip after the multimedia broadcast chip is powered on.
  • the storage space includes a global buffer or a flash memory.
  • the invention also provides a multimedia broadcast chip power-off method, comprising:
  • the data card side When the data card side receives the data packet sent by the multimedia broadcast port driver module, it determines whether the data packet is a firmware data packet, and if yes, sends the data packet to the multimedia broadcast chip, and saves the data packet to the storage space. Medium;
  • the method further includes:
  • the multimedia broadcast port driving module Before performing the power-off operation on the multimedia broadcast chip, the multimedia broadcast port driving module sends a power-off command to the data card side;
  • the multimedia broadcast port driver module Before performing the power-on operation on the multimedia broadcast chip, the multimedia broadcast port driver module sends a power-on command to the data card side.
  • the power-off condition of the multimedia broadcast chip includes: receiving a power-off command, or the multimedia broadcast device has no data interaction within a set period of time;
  • the power-on condition of the multimedia broadcast chip includes: receiving a power-on command, or the multimedia broadcast device re-receiving data after power-off.
  • the method further includes:
  • the storage space includes a global buffer or a flash memory.
  • the invention also provides a data card comprising a universal serial bus (USB) drive, a data processing module, a restart module and a power management module,
  • USB universal serial bus
  • the USB driver is configured to: receive the data sent by the multimedia broadcast port driver and then transmit the data to the data processing module; the data includes a command to power on or power off the multimedia broadcast chip;
  • the data processing module is configured to: after receiving the data, determine whether it is a firmware data packet, if yes, send to the restart module, and simultaneously send the firmware data packet to the multimedia broadcast chip through a serial peripheral interface (SPI);
  • the restart module is configured to: after receiving the firmware data packet sent by the data processing module, save to the storage space; and, after the multimedia broadcast chip is powered on, send the saved firmware data packet to the multimedia broadcast chip through the SPI driver;
  • the power management module is configured to perform a power-on operation on the multimedia broadcast chip after the power-off condition of the multimedia broadcast chip is triggered; and perform power-on operation on the multimedia broadcast chip after the power-on condition of the multimedia broadcast chip is triggered.
  • the data processing module is further configured to: after receiving the power-on or power-off command sent by the host side, send the power management module directly or through the restart module;
  • the multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off command; and the power-on condition is: receiving the power-on command.
  • the data processing module is further configured to: when the multimedia broadcast device has no data interaction within a set period of time, notify the power management module to perform power-off; and when the multimedia broadcast device re-receives data after power-off, notify the The power management module is powered on;
  • the multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off notification; the power-on condition is: receiving the power-on notification.
  • the restarting module is further configured to: initialize the multimedia broadcast chip after the multimedia broadcast chip is powered on.
  • the storage space includes a global buffer or a flash memory.
  • the invention can solve the problem that the multimedia broadcast function is powered off or powered on at any time by solving the problem that the multimedia broadcast function is unavailable due to the firmware loss after the multimedia broadcast chip is powered off. Since the user does not watch the multimedia broadcast program at all times, When the multimedia broadcast chip is powered off at an appropriate time, the power saving function is realized by stopping the power supply to the multimedia broadcast chip, and the standby time of the notebook is increased.
  • Figure 1 is a schematic block diagram of the prior art
  • FIG. 2 is a schematic block diagram of a CMMB device according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of a CMMB chip power-off method according to an application example of the present invention.
  • a multimedia broadcast power-off device for the CMMB system, in which the power consumption of the multimedia broadcast chip is continuously increased, and the firmware is lost after the multimedia broadcast chip is powered off.
  • the device includes the following modules: CMMB port driver 21 on the PC side; USB driver 22 on the card side, data processing module 23, SPI driver 24; CMMB chip 25, wherein CMMB port driver 21, USB driver 22
  • the data processing module 23 and the SPI driver 24 are also used to perform the following improvements:
  • the CMMB port driver 21 is used to send data to the data card side via USB, including specific commands for powering up or powering down the CMMB chip;
  • USB driver 22 is used to transmit data to the data processing module 23;
  • the data processing module 23 is configured to: after receiving the data, determine whether it is a firmware data packet, if yes, send to the restart module 26, and simultaneously send to the CMMB chip 25 through the SPI driver 24;
  • the device further includes: a Reboot Module 26, a Power Manager module 27, wherein:
  • the restarting module 26 is configured to: after receiving the firmware data packet sent by the data processing module 23, buffering to the storage space, where the storage space may be a global buffer or a terminal (the terminal may be a data card, a mobile phone, or some kind of Flash (flash) for devices that support CMMB; and, After the CMMB chip 25 is powered on, the saved firmware data packet is sent to the CMMB chip 25 through the SPI driver 24;
  • the power management module 27 is configured to perform a power-on or power-off operation on the CMMB chip 25 after the CMMB chip 25 is powered on or powered off.
  • the power management module 27 can trigger the power-on or power-off operation according to the following conditions:
  • the power management module 27 is invoked according to the received power-on/power-off command, for example, the data processing module 23 receives power-on or sent by the PC side. After the power-off command, directly or through the restart module 26 is sent to the power management module 27;
  • the CMMB chip 25 may be determined whether the CMMB chip 25 needs to be powered on and powered off according to the data interaction status of the CMMB device. For example, when the CMMB device has no data interaction within a set period of time, the data processing module 23 notifies the station. The power management module 27 performs power-off; when the CMMB device re-receives data after power-off, the data processing module 23 notifies the power management module 27 to power up.
  • restart module 26 is also used to initialize the CMMB chip 25 after the CMMB chip 25 is powered on, such as setting an interrupt line, sending a pre-start command, and the like.
  • the restart module 26 it may be detected by the restart module 26 whether the CMMB chip 25 needs to be powered on and off (such as receiving a power-on or power-off command), and the power management module 27 is invoked to perform corresponding Power-on or power-off operation; can also be completed by the data processing module 23, after the data processing module 23 detects that the power-off operation trigger condition is satisfied (for example, the CMMB device has no data interaction within a set period of time, or the CMMB device is When the data is received again after the power is turned off, the power management module is notified to power on or power off the CMMB chip 25.
  • the power-off operation trigger condition for example, the CMMB device has no data interaction within a set period of time, or the CMMB device is When the data is received again after the power is turned off, the power management module is notified to power on or power off the CMMB chip 25.
  • the embodiment of the present invention further provides a power-off method for a multimedia broadcast chip, including the following steps: Step 1: When the data card side receives the data packet sent by the multimedia broadcast driver module, it determines whether the data packet is a firmware data packet. If yes, the data packet is sent to the multimedia broadcast chip, and the data packet is saved in the global buffer;
  • Step 2 performing a power-off operation on the multimedia broadcast chip after the power-off condition of the multimedia broadcast chip is triggered;
  • Step 3 After the power-on condition of the multimedia broadcast chip is triggered, perform power-on operation on the multimedia broadcast chip, and send the saved firmware data packet to the multimedia broadcast chip.
  • the power-off condition of the multimedia broadcast chip may be: a power-off command sent by the PC side, or the multimedia broadcast device has no data interaction during the set time period; the power-on condition of the multimedia broadcast chip may be: The electric command, or the multimedia broadcast device re-receives the data after the power is turned off.
  • the power management module can perform power-on and power-off operations on the multimedia broadcast chip.
  • the multimedia broadcast chip needs to be initialized, and after the initialization is completed, the saved firmware data packet is resent to the multimedia broadcast chip.
  • FIG. 3 The flow of the power-off method of the multimedia broadcast chip according to an application example of the present invention is shown in FIG. 3. Taking the CMMB chip as an example, the specific implementation of the application example mainly includes the following steps:
  • Step 101 After the data card is inserted into the PC, start port enumeration. After the CMMB port driver detects the CMMB device, perform the next step 102;
  • Step 102 The CMMB port driver sends the firmware data packet to the data card through the USB.
  • Step 103 The USB driver on the data card side receives the data sent from the PC side.
  • Step 104 The USB driver transmits the received data to the Data Module. ;
  • Step 105 After receiving the data, the Data Module first determines whether it is a firmware data packet or a power-off/power-on command. If it is a firmware data packet, the data is sent to the Reboot module, and at the same time, step 106 is performed, if it is powered off/ The power-on command is sent to the Reboot module, and step 106 is performed; otherwise, step 108 is performed;
  • Step 106 after the Reboot module receives the data packet, if it is determined to be a firmware data packet, step 107 is performed; if it is a power off/on command, then step 109 is performed; Step 107: The Reboot module saves the firmware data packet to a storage space (the storage space may be a global buffer or a flash of the terminal);
  • Step 108 Send the data packet directly to the CMMB chip through the SPI driver;
  • Step 109 After the CMMB chip power-off condition is triggered (the condition may be a specific command sent by the PC side, or when the CMMB device has no data interaction in a certain period of time), the Reboot module instructs the Power Manager module to the CMMB chip. Perform a power-off operation;
  • the Reboot module instructs the Power Manager module to perform a power-on operation on the CMMB chip;
  • Step 110 The Power Manager module performs step 111 according to the received power-off/power-on command or the instruction of the Reboot module, if the power-off operation is required to be performed on the CMMB chip, and if the power-on operation is required to be performed on the CMMB chip, the steps are performed. 112;
  • Step 111 The Power Manager performs a power-off operation on the CMMB chip
  • Step 112 the Power Manager performs a power-on operation on the CMMB chip, downloads the firmware data packet, and performs the next step 113;
  • Step 113 After the power-on is completed, the Reboot module performs an initialization operation on the CMMB chip (including setting an interrupt line, sending a pre-start command, etc.);
  • Step 114 After the CMMB chip is initialized, the Reboot module starts to cyclically read the data packet from the space for saving the firmware data packet, and then downloads the data packet to the CMMB chip through the SPI driver. When this cycle is completed, the firmware is re-downloaded successfully. Thereafter, the CMMB chip enters normal operation.
  • the invention can solve the problem that the multimedia broadcast function is powered off or powered on at any time by solving the problem that the multimedia broadcast function is unavailable due to the firmware loss after the multimedia broadcast chip is powered off. Since the user does not watch the multimedia broadcast program at all times, When the multimedia broadcast chip is powered off at an appropriate time, the power saving function is realized by stopping the power supply to the multimedia broadcast chip, and the standby time of the notebook is increased.

Abstract

The present invention discloses a method and an apparatus for cutting off the power of a multimedia broadcasting (MB) chip, and a data card thereof. Said method includes: when receiving a data packet transmitted by a MB port driving module, the data card side judges whether said data packet is a firmware data packet, and if it is, said data packet is saved in a memory space while said data packet is transmitted to the MB chip; when the MB chip power off condition is triggered, the power off operation is executed in the MB chip; when the MB chip power-on condition is triggered, the power-on operation is executed in the MB chip, and the saved firmware data packet is transmitted to the MB chip. The present invention overcomes the drawback in the prior art that, after the MB chip is power off, the firmware loss incurs the non-normal use of the China Mobile Multimedia Broadcasting (CMMB) function.

Description

多媒体广播芯片断电方法、 装置及数据卡  Multimedia broadcast chip power-off method, device and data card
技术领域 Technical field
本发明涉及多媒体广播技术领域, 尤其涉及一种多媒体广播芯片断电方 法、 装置及数据卡。  The present invention relates to the field of multimedia broadcasting technologies, and in particular, to a multimedia broadcast chip power-off method, device, and data card.
背景技术 Background technique
目前, 移动多媒体广播手机电视业务在逐渐推广, 随着多媒体广播技术 的成熟, 目前越来越多的厂家都推出了带有多媒体广播功能的终端。 由于多 媒体广播芯片内部的运行的程序 (简称固件)保存在芯片的内存中, 所以一 旦芯片掉电, 则该固件(Firm ware, FW )将会丟失。  At present, the mobile multimedia broadcasting mobile TV service is gradually being promoted. With the maturity of multimedia broadcasting technology, more and more manufacturers have launched terminals with multimedia broadcasting functions. Since the program running inside the multimedia broadcast chip (the firmware for short) is stored in the memory of the chip, the firmware (Firm ware, FW) will be lost once the chip is powered down.
以中国移动多媒体广播 ( China Mobile Multimedia Broadcasting, CMMB ) 技术为例, 现有多媒体广播装置的整体框架图如图 1所示, 主要包括:  Taking China Mobile Multimedia Broadcasting (CMMB) technology as an example, the overall framework of the existing multimedia broadcasting device is shown in Figure 1, which mainly includes:
个人主机( Personal Computer, PC )侧的 CMMB端口驱动, 用于将数据 发送到数据卡侧等;  CMMB port driver on the side of the Personal Computer (PC) for sending data to the data card side;
数据卡侧的通用串行总线(Universal Serial BUS, USB )驱动、 数据处理 模块( Data Module )、 串行外设接口 ( Serial Peripheral Interface , SPI )驱动; 以及, CMMB芯片。  Universal Serial Bus (USB) driver on the data card side, Data Module, Serial Peripheral Interface (SPI) driver; and CMMB chip.
现有技术的实现流程主要包括: 数据卡插入 PC后, 开始进行端口枚举。 当 PC侧的 CMMB端口驱动检测到数据卡枚举的 CMMB设备后, 将特定目 录下的固件数据包通过 USB发送到数据卡侧。数据卡侧的数据处理模块通过 数据卡侧的 USB驱动接收到固件的数据包后, 通过 SPI驱动将固件发送到 CMMB 芯片。 CMMB 端口驱动通过将固件拆分成多个数据包, 然后多次发 送数据包给数据卡, 来完成固件的下载动作。  The implementation process of the prior art mainly includes: After the data card is inserted into the PC, the port enumeration is started. When the CMMB port driver on the PC side detects the CMMB device enumerated by the data card, the firmware packet in the specific directory is sent to the data card side via USB. After receiving the firmware data packet through the USB driver on the data card side, the data processing module on the data card side sends the firmware to the CMMB chip through the SPI driver. The CMMB port driver completes the firmware download by splitting the firmware into multiple packets and then sending the packets to the data card multiple times.
目前, 已有的相关技术中存在以下问题:  At present, the following related problems exist in related technologies:
1 ) 由于固件是保存在 CMMB芯片的内存中, 一旦停止给 CMMB芯片 供电,将导致芯片中的固件丟失, 因此, 需要一直给 CMMB供电, 而 CMMB 芯片的平均电流为 60mA, 耗电量是比较大的; 2 ) 另夕卜, 一旦 CMMB芯片掉电后, 即使重新给芯片上电, 由于数据卡 不会重新在 PC侧枚举端口, 因而 CMMB端口驱动也不会重新下载固件, 从 而导致 CMMB芯片断电后, CMMB功能不能正常使用, 除非重新插拔数据 卡。 发明内容 1) Since the firmware is stored in the memory of the CMMB chip, once the power supply to the CMMB chip is stopped, the firmware in the chip will be lost. Therefore, the CMMB needs to be powered all the time, and the average current of the CMMB chip is 60 mA. big; 2) In addition, once the CMMB chip is powered off, even if the chip is powered back on, the CMMB port driver will not re-download the firmware because the data card will not re-enume the port on the PC side, thus causing the CMMB chip to be powered off. After that, the CMMB function cannot be used normally unless the data card is re-plugged. Summary of the invention
本发明要解决的技术问题是提供一种多媒体广播芯片断电方法、 装置及 数据卡,克服现有技术中多媒体广播芯片掉电后固件丟失引起的 CMMB功能 不能正常使用的缺陷。  The technical problem to be solved by the present invention is to provide a multimedia broadcast chip power-off method, device and data card, which overcomes the defect that the CMMB function cannot be normally used due to firmware loss after the multimedia broadcast chip is powered off in the prior art.
为了解决上述问题, 本发明提供了一种多媒体广播芯片断电装置, 包括 多媒体广播端口驱动、 数据卡侧的通用串行总线(USB )驱动、 数据处理模 块、 串行外设接口 (SPI )驱动、 重启模块和电源管理模块, 其中:  In order to solve the above problems, the present invention provides a multimedia broadcast chip power-off device, including a multimedia broadcast port driver, a universal serial bus (USB) driver on a data card side, a data processing module, and a serial peripheral interface (SPI) driver. , restart the module and power management module, where:
多媒体广播端口驱动设置为: 通过 USB驱动将数据发送到所述数据卡, 包括对多媒体广播芯片进行上电或断电的命令;  The multimedia broadcast port driver is configured to: send data to the data card through a USB driver, including a command to power on or power off the multimedia broadcast chip;
USB驱动设置为: 接收到数据后传递给数据处理模块;  The USB driver is set to: after receiving the data, it is passed to the data processing module;
数据处理模块设置为: 接收到数据后, 判断是否是固件数据包, 如果是, 则发送到重启模块, 并同时将所述固件数据包通过 SPI驱动发送到多媒体广 播芯片;  The data processing module is configured to: after receiving the data, determine whether it is a firmware data packet, if yes, send to the restart module, and simultaneously send the firmware data packet to the multimedia broadcast chip through the SPI driver;
重启模块设置为: 收到数据处理模块发送的固件数据包后, 保存到存储 空间; 以及, 在多媒体广播芯片上电后, 将保存的固件数据包通过 SPI驱动 发送到多媒体广播芯片;  The restart module is set to: after receiving the firmware data packet sent by the data processing module, saving to the storage space; and, after the multimedia broadcast chip is powered on, sending the saved firmware data packet to the multimedia broadcast chip through the SPI driver;
电源管理模块设置为: 在多媒体广播芯片断电条件触发后, 对多媒体广 播芯片执行上电操作; 在多媒体广播芯片上电条件触发后, 对多媒体广播芯 片执行上电操作。  The power management module is configured to perform a power-on operation on the multimedia broadcast chip after the power-off condition of the multimedia broadcast chip is triggered; and perform power-on operation on the multimedia broadcast chip after the power-on condition of the multimedia broadcast chip is triggered.
所述数据处理模块还设置为: 收到主机侧发送的上电或断电命令后, 直 接或通过重启模块发送给所述电源管理模块;  The data processing module is further configured to: after receiving the power-on or power-off command sent by the host side, send the power management module directly or through the restart module;
所述多媒体广播芯片是设置为: 断电条件为: 收到所述断电命令; 上电 条件为: 收到所述上电命令。 所述数据处理模块还设置为: 多媒体广播设备在设定的时间段内没有数 据交互时, 通知所述电源管理模块进行断电; 多媒体广播设备在断电后重新 收到数据时, 通知所述电源管理模块进行上电; The multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off command; the power-on condition is: receiving the power-on command. The data processing module is further configured to: when the multimedia broadcast device has no data interaction within a set period of time, notify the power management module to perform power-off; and when the multimedia broadcast device re-receives data after power-off, notify the The power management module is powered on;
所述多媒体广播芯片是设置为: 断电条件为: 收到所述断电通知; 上电 条件为: 收到所述上电通知。  The multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off notification; the power-on condition is: receiving the power-on notification.
所述重启模块是设置为: 多媒体广播芯片上电完成后, 对多媒体广播芯 片进行初始化操作。  The restart module is configured to: initialize the multimedia broadcast chip after the multimedia broadcast chip is powered on.
所述存储空间包括全局緩冲或闪存。  The storage space includes a global buffer or a flash memory.
本发明还提供了一种多媒体广播芯片断电方法, 包括:  The invention also provides a multimedia broadcast chip power-off method, comprising:
数据卡侧收到多媒体广播端口驱动模块发送的数据包时, 判断该数据包 是否为固件数据包, 如果是, 则将该数据包发送到多媒体广播芯片的同时, 将该数据包保存到存储空间中; 以及  When the data card side receives the data packet sent by the multimedia broadcast port driver module, it determines whether the data packet is a firmware data packet, and if yes, sends the data packet to the multimedia broadcast chip, and saves the data packet to the storage space. Medium; and
当多媒体广播芯片断电条件触发后, 对多媒体广播芯片执行断电操作; 当多媒体广播芯片上电条件触发后, 对多媒体广播芯片执行上电操作, 并将保存的固件数据包发送给多媒体广播芯片。  After the power-off condition of the multimedia broadcast chip is triggered, performing a power-off operation on the multimedia broadcast chip; after the power-on condition of the multimedia broadcast chip is triggered, performing power-on operation on the multimedia broadcast chip, and transmitting the saved firmware data packet to the multimedia broadcast chip .
所述方法还包括:  The method further includes:
对多媒体广播芯片执行断电操作之前, 所述多媒体广播端口驱动模块向 所述数据卡侧发送断电命令;  Before performing the power-off operation on the multimedia broadcast chip, the multimedia broadcast port driving module sends a power-off command to the data card side;
对多媒体广播芯片执行上电操作之前, 所述多媒体广播端口驱动模块向 所述数据卡侧发送上电命令。  Before performing the power-on operation on the multimedia broadcast chip, the multimedia broadcast port driver module sends a power-on command to the data card side.
所述多媒体广播芯片断电条件包括: 收到断电命令, 或者多媒体广播设 备在设定的时间段内没有数据交互;  The power-off condition of the multimedia broadcast chip includes: receiving a power-off command, or the multimedia broadcast device has no data interaction within a set period of time;
所述多媒体广播芯片上电条件包括: 收到上电命令, 或者, 多媒体广播 设备在断电后重新收到数据。  The power-on condition of the multimedia broadcast chip includes: receiving a power-on command, or the multimedia broadcast device re-receiving data after power-off.
所述方法还包括:  The method further includes:
所述数据卡侧收到多媒体广播端口驱动模块发送的数据包时, 如果判断 该数据包不是固件数据包, 则直接将该数据包发送到多媒体广播芯片。 所述存储空间包括全局緩冲或闪存。 When the data card side receives the data packet sent by the multimedia broadcast port driver module, if it is determined that the data packet is not a firmware data packet, the data packet is directly sent to the multimedia broadcast chip. The storage space includes a global buffer or a flash memory.
本发明还提供了一种数据卡, 所述数据卡包括通用串行总线 ( USB )驱 动、 数据处理模块、 重启模块和电源管理模块,  The invention also provides a data card comprising a universal serial bus (USB) drive, a data processing module, a restart module and a power management module,
USB驱动设置为: 接收到多媒体广播端口驱动发送的数据后传递给数据 处理模块; 所述数据包括对多媒体广播芯片进行上电或断电的命令;  The USB driver is configured to: receive the data sent by the multimedia broadcast port driver and then transmit the data to the data processing module; the data includes a command to power on or power off the multimedia broadcast chip;
数据处理模块设置为: 接收到数据后, 判断是否是固件数据包, 如果是, 则发送到重启模块, 并同时将所述固件数据包通过串行外设接口 (SPI )发送 到多媒体广播芯片; 重启模块用于设置为: 收到数据处理模块发送的固件数据包后, 保存到 存储空间; 以及, 在多媒体广播芯片上电后, 将保存的固件数据包通过 SPI 驱动发送到多媒体广播芯片;  The data processing module is configured to: after receiving the data, determine whether it is a firmware data packet, if yes, send to the restart module, and simultaneously send the firmware data packet to the multimedia broadcast chip through a serial peripheral interface (SPI); The restart module is configured to: after receiving the firmware data packet sent by the data processing module, save to the storage space; and, after the multimedia broadcast chip is powered on, send the saved firmware data packet to the multimedia broadcast chip through the SPI driver;
电源管理模块设置为: 在多媒体广播芯片断电条件触发后, 对多媒体广 播芯片执行上电操作; 在多媒体广播芯片上电条件触发后, 对多媒体广播芯 片执行上电操作。  The power management module is configured to perform a power-on operation on the multimedia broadcast chip after the power-off condition of the multimedia broadcast chip is triggered; and perform power-on operation on the multimedia broadcast chip after the power-on condition of the multimedia broadcast chip is triggered.
所述数据处理模块还设置为: 收到主机侧发送的上电或断电命令后, 直 接或通过重启模块发送给所述电源管理模块;  The data processing module is further configured to: after receiving the power-on or power-off command sent by the host side, send the power management module directly or through the restart module;
所述多媒体广播芯片是设置为: 断电条件为: 收到所述断电命令; 上电 条件为: 收到所述上电命令。  The multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off command; and the power-on condition is: receiving the power-on command.
所述数据处理模块还设置为: 多媒体广播设备在设定的时间段内没有数 据交互时, 通知所述电源管理模块进行断电; 多媒体广播设备在断电后重新 收到数据时, 通知所述电源管理模块进行上电;  The data processing module is further configured to: when the multimedia broadcast device has no data interaction within a set period of time, notify the power management module to perform power-off; and when the multimedia broadcast device re-receives data after power-off, notify the The power management module is powered on;
所述多媒体广播芯片是设置为: 断电条件为: 收到所述断电通知; 上电 条件为: 收到所述上电通知。  The multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off notification; the power-on condition is: receiving the power-on notification.
所述重启模块还是设置为: 多媒体广播芯片上电完成后, 对多媒体广播 芯片进行初始化操作。  The restarting module is further configured to: initialize the multimedia broadcast chip after the multimedia broadcast chip is powered on.
所述存储空间包括全局緩冲或闪存。 本发明通过解决多媒体广播芯片掉电后的固件丟失导致的多媒体广播功 能不可用问题, 可以达到随时给多媒体广播芯片断电或者上电的操作, 由于 用户不是时刻都在观看多媒体广播节目, 因此可以在适当的时候将多媒体广 播芯片进行断电操作, 通过停止对多媒体广播芯片的供电来达到省电功能, 增加笔记本待机时间。 The storage space includes a global buffer or a flash memory. The invention can solve the problem that the multimedia broadcast function is powered off or powered on at any time by solving the problem that the multimedia broadcast function is unavailable due to the firmware loss after the multimedia broadcast chip is powered off. Since the user does not watch the multimedia broadcast program at all times, When the multimedia broadcast chip is powered off at an appropriate time, the power saving function is realized by stopping the power supply to the multimedia broadcast chip, and the standby time of the notebook is increased.
附图概述 BRIEF abstract
图 1是现有技术中的示意框图;  Figure 1 is a schematic block diagram of the prior art;
图 2是本发明实施例的 CMMB装置的示意框图;  2 is a schematic block diagram of a CMMB device according to an embodiment of the present invention;
图 3是本发明应用实例的 CMMB芯片断电方法的流程示意图。  FIG. 3 is a schematic flow chart of a CMMB chip power-off method according to an application example of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
针对现有技术中需要持续给多媒体广播芯片供电导致耗电量较大, 以及 多媒体广播芯片掉电后固件丟失的问题, 本发明实施例中提供一种多媒体广 播断电装置, 应用于 CMMB系统, 如图 2所示, 该装置包括以下模块: PC 侧的 CMMB端口驱动 21 ; 卡侧的 USB驱动 22, 数据处理模块 23 , SPI驱动 24; CMMB芯片 25, 其中, CMMB端口驱动 21、 USB驱动 22、 数据处理模 块 23及 SPI驱动 24除具备已有的功能外, 还用于完成以下改进功能:  In the embodiment of the present invention, a multimedia broadcast power-off device is provided for the CMMB system, in which the power consumption of the multimedia broadcast chip is continuously increased, and the firmware is lost after the multimedia broadcast chip is powered off. As shown in FIG. 2, the device includes the following modules: CMMB port driver 21 on the PC side; USB driver 22 on the card side, data processing module 23, SPI driver 24; CMMB chip 25, wherein CMMB port driver 21, USB driver 22 In addition to the existing functions, the data processing module 23 and the SPI driver 24 are also used to perform the following improvements:
CMMB端口驱动 21 用于, 通过 USB将数据发送到数据卡侧, 包括对 CMMB芯片进行上电或断电的特定命令;  The CMMB port driver 21 is used to send data to the data card side via USB, including specific commands for powering up or powering down the CMMB chip;
USB驱动 22用于, 接收到数据后传递给数据处理模块 23;  USB driver 22 is used to transmit data to the data processing module 23;
数据处理模块 23用于, 收到数据后, 判断是否是固件数据包, 如果是, 则发送到重启模块 26 , 并同时通过 SPI驱动 24发送到 CMMB芯片 25;  The data processing module 23 is configured to: after receiving the data, determine whether it is a firmware data packet, if yes, send to the restart module 26, and simultaneously send to the CMMB chip 25 through the SPI driver 24;
此外,该装置还包括:重启模块(Reboot Module )26,电源管理模块(Power Manager ) 27, 其中:  In addition, the device further includes: a Reboot Module 26, a Power Manager module 27, wherein:
重启模块 26用于, 收到数据处理模块 23发送的固件数据包后, 緩存到 存储空间, 该存储空间可以是一个全局緩冲, 也可以是终端 (该终端可以是 数据卡、 手机或者某种支持 CMMB功能的设备) 的 flash (闪存) ; 以及, 在 CMMB 芯片 25上电后, 将保存的固件数据包通过 SPI驱动 24发送到 CMMB芯片 25; The restarting module 26 is configured to: after receiving the firmware data packet sent by the data processing module 23, buffering to the storage space, where the storage space may be a global buffer or a terminal (the terminal may be a data card, a mobile phone, or some kind of Flash (flash) for devices that support CMMB; and, After the CMMB chip 25 is powered on, the saved firmware data packet is sent to the CMMB chip 25 through the SPI driver 24;
电源管理模块 27用于,在 CMMB芯片 25上电或者断电条件触发后,对 CMMB芯片 25执行上电或断电操作。  The power management module 27 is configured to perform a power-on or power-off operation on the CMMB chip 25 after the CMMB chip 25 is powered on or powered off.
其中, 电源管理模块 27可以根据如下条件触发上电或者断电操作: 根据收到的上电 /断电命令调用电源管理模块 27,例如所述数据处理模块 23收到 PC侧发送的上电或断电命令后,直接或通过重启模块 26发送给所述 电源管理模块 27;  The power management module 27 can trigger the power-on or power-off operation according to the following conditions: The power management module 27 is invoked according to the received power-on/power-off command, for example, the data processing module 23 receives power-on or sent by the PC side. After the power-off command, directly or through the restart module 26 is sent to the power management module 27;
或者, 也可以根据 CMMB 设备的数据交互情况进行判断是否需要对 CMMB芯片 25进行上电及断电操作, 例如, 当 CMMB设备在设定的时间段 内没有数据交互时, 数据处理模块 23通知所述电源管理模块 27进行断电; 当 CMMB设备在断电后重新收到数据时, 数据处理模块 23通知所述电源管 理模块 27进行上电。  Alternatively, it may be determined whether the CMMB chip 25 needs to be powered on and powered off according to the data interaction status of the CMMB device. For example, when the CMMB device has no data interaction within a set period of time, the data processing module 23 notifies the station. The power management module 27 performs power-off; when the CMMB device re-receives data after power-off, the data processing module 23 notifies the power management module 27 to power up.
此外, 重启模块 26还用于 CMMB芯片 25上电完成后, 对 CMMB芯片 25进行初始化操作, 例如设置中断线, 发送预启动命令等。  In addition, the restart module 26 is also used to initialize the CMMB chip 25 after the CMMB chip 25 is powered on, such as setting an interrupt line, sending a pre-start command, and the like.
此外, 在本发明的具体实现方案中, 可以由重启模块 26进行检测是否需 要对 CMMB芯片 25进行上电及断电 (如收到上电或断电命令) , 并调用电 源管理模块 27进行相应的上电或者断电操作; 也可以由数据处理模块 23完 成, 当数据处理模块 23检测到断电操作触发条件满足后 (例如 CMMB设备 在设定的时间段内没有数据交互, 或者 CMMB设备在断电后重新收到数据 时 ) , 通知电源管理模块对 CMMB芯片 25进行上电或断电。  In addition, in a specific implementation of the present invention, it may be detected by the restart module 26 whether the CMMB chip 25 needs to be powered on and off (such as receiving a power-on or power-off command), and the power management module 27 is invoked to perform corresponding Power-on or power-off operation; can also be completed by the data processing module 23, after the data processing module 23 detects that the power-off operation trigger condition is satisfied (for example, the CMMB device has no data interaction within a set period of time, or the CMMB device is When the data is received again after the power is turned off, the power management module is notified to power on or power off the CMMB chip 25.
本发明实施例还提供了一种多媒体广播芯片的断电方法,包括以下步骤: 第一步: 数据卡侧收到多媒体广播驱动模块发送的数据包时, 判断该数 据包是否为固件数据包, 如果是, 则将该数据包发送给多媒体广播芯片的同 时, 将该数据包保存到全局緩冲中; The embodiment of the present invention further provides a power-off method for a multimedia broadcast chip, including the following steps: Step 1: When the data card side receives the data packet sent by the multimedia broadcast driver module, it determines whether the data packet is a firmware data packet. If yes, the data packet is sent to the multimedia broadcast chip, and the data packet is saved in the global buffer;
第二步: 当多媒体广播芯片断电条件触发后, 对多媒体广播芯片执行断 电操作; 第三步: 当多媒体广播芯片上电条件触发后, 对多媒体广播芯片执行上 电操作, 并将保存的固件数据包发送给多媒体广播芯片。 Step 2: performing a power-off operation on the multimedia broadcast chip after the power-off condition of the multimedia broadcast chip is triggered; Step 3: After the power-on condition of the multimedia broadcast chip is triggered, perform power-on operation on the multimedia broadcast chip, and send the saved firmware data packet to the multimedia broadcast chip.
其中, 多媒体广播芯片断电条件可以是: PC侧发送的断电命令, 或者, 多媒体广播设备在设定的时间段内没有数据交互等; 多媒体广播芯片上电条件可以是: PC侧发送的上电命令, 或者, 多媒体 广播设备在断电后重新收到数据等。  The power-off condition of the multimedia broadcast chip may be: a power-off command sent by the PC side, or the multimedia broadcast device has no data interaction during the set time period; the power-on condition of the multimedia broadcast chip may be: The electric command, or the multimedia broadcast device re-receives the data after the power is turned off.
进一步地, 多媒体广播芯片断电 /上电条件触发后, 需要对多媒体广播芯 片断电或重新上电时, 可由电源管理模块对多媒体广播芯片执行上电跟断电 操作。  Further, after the multimedia broadcast chip is powered off/powered, when the multimedia broadcast core segment needs to be powered or re-powered, the power management module can perform power-on and power-off operations on the multimedia broadcast chip.
进一步地, 多媒体广播芯片重新上电后, 需要对多媒体广播芯片进行初 始化操作, 初始化完成后, 将保存的固件数据包重新发送到多媒体广播芯片。  Further, after the multimedia broadcast chip is powered on again, the multimedia broadcast chip needs to be initialized, and after the initialization is completed, the saved firmware data packet is resent to the multimedia broadcast chip.
下面将结合附图及具体应用实例对本发明技术方案的实施作进一步详细 描述。 The implementation of the technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and specific application examples.
本发明一个应用实例的多媒体广播芯片的断电方法的流程如图 3所示, 以 CMMB芯片为例, 本应用实例的具体实现主要包括以下步骤:  The flow of the power-off method of the multimedia broadcast chip according to an application example of the present invention is shown in FIG. 3. Taking the CMMB chip as an example, the specific implementation of the application example mainly includes the following steps:
步骤 101、 数据卡插入 PC后, 开始进行端口枚举, 当 CMMB端口驱动 检测到 CMMB设备后, 执行下一步骤 102;  Step 101: After the data card is inserted into the PC, start port enumeration. After the CMMB port driver detects the CMMB device, perform the next step 102;
步骤 102、 CMMB端口驱动将固件数据包通过 USB发送给数据卡; 步骤 103、 数据卡侧的 USB驱动接收到从 PC侧发送过来的数据; 步骤 104、 USB驱动将接收到的数据传递给 Data Module;  Step 102: The CMMB port driver sends the firmware data packet to the data card through the USB. Step 103: The USB driver on the data card side receives the data sent from the PC side. Step 104: The USB driver transmits the received data to the Data Module. ;
步骤 105、 Data Module接收到数据后, 首先判断是否是固件数据包或者 断电 /上电等命令, 如果是固件数据包, 则将数据发送给 Reboot模块, 同时执 行步骤 106, 如果是断电 /上电等命令, 则发送给 Reboot模块, 执行步骤 106; 否则, 执行步骤 108;  Step 105: After receiving the data, the Data Module first determines whether it is a firmware data packet or a power-off/power-on command. If it is a firmware data packet, the data is sent to the Reboot module, and at the same time, step 106 is performed, if it is powered off/ The power-on command is sent to the Reboot module, and step 106 is performed; otherwise, step 108 is performed;
步骤 106、 Reboot模块接收到数据包后, 如果判断是固件数据包, 则执 行步骤 107; 如果是断电 /上电等命令, 则执行步骤 109; 步骤 107、 Reboot模块将固件数据包保存到某个存储空间中 (该存储空 间可以是一个全局緩冲, 也可以是终端的 flash ) ; Step 106, after the Reboot module receives the data packet, if it is determined to be a firmware data packet, step 107 is performed; if it is a power off/on command, then step 109 is performed; Step 107: The Reboot module saves the firmware data packet to a storage space (the storage space may be a global buffer or a flash of the terminal);
通过以上步骤, 可以完成固件的初始下载及保存。  Through the above steps, the initial download and save of the firmware can be completed.
步骤 108、 将数据包直接通过 SPI驱动发送给 CMMB芯片;  Step 108: Send the data packet directly to the CMMB chip through the SPI driver;
步骤 109、 当 CMMB芯片断电条件触发后 (该条件可以是 PC侧发送过 来的一条特定命令, 或者是 CMMB设备在某个时间段内没有数据交互时) , Reboot模块指示 Power Manager模块对 CMMB芯片执行断电操作;  Step 109: After the CMMB chip power-off condition is triggered (the condition may be a specific command sent by the PC side, or when the CMMB device has no data interaction in a certain period of time), the Reboot module instructs the Power Manager module to the CMMB chip. Perform a power-off operation;
当 CMMB芯片上电的条件被触发后(该条件可以是 PC侧发送过来的一 条特定命令,或者是 CMMB设备重新接收到数据时), Reboot模块指示 Power Manager模块对 CMMB芯片执行上电操作;  After the CMMB chip power-on condition is triggered (the condition may be a specific command sent by the PC side, or when the CMMB device receives the data again), the Reboot module instructs the Power Manager module to perform a power-on operation on the CMMB chip;
步骤 110、 Power Manager模块根据收到的断电 /上电命令或者 Reboot模 块的指令, 如果需要对 CMMB芯片执行断电操作, 则执行步骤 111 ; 如果需 要对 CMMB芯片执行上电操作, 则执行步骤 112;  Step 110: The Power Manager module performs step 111 according to the received power-off/power-on command or the instruction of the Reboot module, if the power-off operation is required to be performed on the CMMB chip, and if the power-on operation is required to be performed on the CMMB chip, the steps are performed. 112;
步骤 111、 Power Manager对 CMMB芯片执行断电操作;  Step 111: The Power Manager performs a power-off operation on the CMMB chip;
步骤 112、 Power Manager对 CMMB芯片执行上电操作, 下载固件数据 包, 并执行下一步骤 113;  Step 112, the Power Manager performs a power-on operation on the CMMB chip, downloads the firmware data packet, and performs the next step 113;
步骤 113、当上电完成后, Reboot模块对 CMMB芯片进行初始化操作(包 括设置中断线, 发送预启动命令等) ;  Step 113: After the power-on is completed, the Reboot module performs an initialization operation on the CMMB chip (including setting an interrupt line, sending a pre-start command, etc.);
步骤 114、 Reboot模块对 CMMB芯片初始化完成后, 开始循环从保存固 件数据包的空间中读取数据包, 然后通过 SPI 驱动将数据包重新下载到 CMMB 芯片。 当这个循环完成后, 固件重新下载成功。 此后, CMMB 芯片 进入正常工作状态。  Step 114: After the CMMB chip is initialized, the Reboot module starts to cyclically read the data packet from the space for saving the firmware data packet, and then downloads the data packet to the CMMB chip through the SPI driver. When this cycle is completed, the firmware is re-downloaded successfully. Thereafter, the CMMB chip enters normal operation.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 工业实用性 The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. Industrial applicability
本发明通过解决多媒体广播芯片掉电后的固件丟失导致的多媒体广播功 能不可用问题, 可以达到随时给多媒体广播芯片断电或者上电的操作, 由于 用户不是时刻都在观看多媒体广播节目, 因此可以在适当的时候将多媒体广 播芯片进行断电操作, 通过停止对多媒体广播芯片的供电来达到省电功能, 增加笔记本待机时间。  The invention can solve the problem that the multimedia broadcast function is powered off or powered on at any time by solving the problem that the multimedia broadcast function is unavailable due to the firmware loss after the multimedia broadcast chip is powered off. Since the user does not watch the multimedia broadcast program at all times, When the multimedia broadcast chip is powered off at an appropriate time, the power saving function is realized by stopping the power supply to the multimedia broadcast chip, and the standby time of the notebook is increased.

Claims

权 利 要 求 书 Claim
1、 一种多媒体广播芯片断电装置, 所述装置包括多媒体广播端口驱动、 数据卡侧的通用串行总线(USB )驱动、数据处理模块、 串行外设接口 (SPI ) 驱动、 重启模块和电源管理模块, 其中:  A multimedia broadcast chip power-off device, comprising: a multimedia broadcast port driver, a universal serial bus (USB) driver on a data card side, a data processing module, a serial peripheral interface (SPI) driver, a restart module, and Power management module, where:
多媒体广播端口驱动设置为: 通过 USB驱动将数据发送到所述数据卡, 包括对多媒体广播芯片进行上电或断电的命令;  The multimedia broadcast port driver is configured to: send data to the data card through a USB driver, including a command to power on or power off the multimedia broadcast chip;
USB驱动设置为: 接收到数据后传递给数据处理模块;  The USB driver is set to: after receiving the data, it is passed to the data processing module;
数据处理模块设置为: 接收到数据后, 判断是否是固件数据包, 如果是, 则发送到重启模块, 并同时将所述固件数据包通过 SPI驱动发送到多媒体广 播芯片;  The data processing module is configured to: after receiving the data, determine whether it is a firmware data packet, if yes, send to the restart module, and simultaneously send the firmware data packet to the multimedia broadcast chip through the SPI driver;
重启模块用于设置为: 收到数据处理模块发送的固件数据包后, 保存到 存储空间; 以及, 在多媒体广播芯片上电后, 将保存的固件数据包通过 SPI 驱动发送到多媒体广播芯片;  The restart module is configured to: after receiving the firmware data packet sent by the data processing module, save to the storage space; and, after the multimedia broadcast chip is powered on, send the saved firmware data packet to the multimedia broadcast chip through the SPI driver;
电源管理模块设置为: 在多媒体广播芯片断电条件触发后, 对多媒体广 播芯片执行上电操作; 在多媒体广播芯片上电条件触发后, 对多媒体广播芯 片执行上电操作。  The power management module is configured to perform a power-on operation on the multimedia broadcast chip after the power-off condition of the multimedia broadcast chip is triggered; and perform power-on operation on the multimedia broadcast chip after the power-on condition of the multimedia broadcast chip is triggered.
2、 如权利要求 1所述的装置, 其中,  2. The apparatus according to claim 1, wherein
所述数据处理模块还设置为: 收到主机侧发送的上电或断电命令后, 直 接或通过重启模块发送给所述电源管理模块;  The data processing module is further configured to: after receiving the power-on or power-off command sent by the host side, send the power management module directly or through the restart module;
所述多媒体广播芯片是设置为: 断电条件为: 收到所述断电命令; 上电 条件为: 收到所述上电命令。  The multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off command; and the power-on condition is: receiving the power-on command.
3、 如权利要求 1所述的装置, 其中,  3. The apparatus according to claim 1, wherein
所述数据处理模块还设置为: 多媒体广播设备在设定的时间段内没有数 据交互时, 通知所述电源管理模块进行断电; 多媒体广播设备在断电后重新 收到数据时, 通知所述电源管理模块进行上电;  The data processing module is further configured to: when the multimedia broadcast device has no data interaction within a set period of time, notify the power management module to perform power-off; and when the multimedia broadcast device re-receives data after power-off, notify the The power management module is powered on;
所述多媒体广播芯片是设置为: 断电条件为: 收到所述断电通知; 上电 条件为: 收到所述上电通知。 The multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off notification; the power-on condition is: receiving the power-on notification.
4、 如权利要求 1、 2或 3所述的装置, 其中, 4. The apparatus according to claim 1, 2 or 3, wherein
所述重启模块还是设置为: 多媒体广播芯片上电完成后, 对多媒体广播 芯片进行初始化操作。  The restarting module is further configured to: initialize the multimedia broadcast chip after the multimedia broadcast chip is powered on.
5、 如权利要求 1、 2或 3所述的装置, 其中,  5. The apparatus according to claim 1, 2 or 3, wherein
所述存储空间包括全局緩冲或闪存。  The storage space includes a global buffer or a flash memory.
6、 一种多媒体广播芯片断电方法, 所述方法包括:  6. A multimedia broadcast chip power-off method, the method comprising:
数据卡侧收到多媒体广播端口驱动模块发送的数据包时, 判断该数据包 是否为固件数据包, 如果是, 则将该数据包发送到多媒体广播芯片的同时, 将该数据包保存到存储空间中; 以及  When the data card side receives the data packet sent by the multimedia broadcast port driver module, it determines whether the data packet is a firmware data packet, and if yes, sends the data packet to the multimedia broadcast chip, and saves the data packet to the storage space. Medium; and
当多媒体广播芯片断电条件触发后, 对多媒体广播芯片执行断电操作; 当多媒体广播芯片上电条件触发后, 对多媒体广播芯片执行上电操作, 并将保存的固件数据包发送给多媒体广播芯片。  After the power-off condition of the multimedia broadcast chip is triggered, performing a power-off operation on the multimedia broadcast chip; after the power-on condition of the multimedia broadcast chip is triggered, performing power-on operation on the multimedia broadcast chip, and transmitting the saved firmware data packet to the multimedia broadcast chip .
7、 如权利要求 6所述的方法, 所述方法还包括:  7. The method of claim 6, the method further comprising:
对多媒体广播芯片执行断电操作之前, 所述多媒体广播端口驱动模块向 所述数据卡侧发送断电命令;  Before performing the power-off operation on the multimedia broadcast chip, the multimedia broadcast port driving module sends a power-off command to the data card side;
对多媒体广播芯片执行上电操作之前, 所述多媒体广播端口驱动模块向 所述数据卡侧发送上电命令。  Before performing the power-on operation on the multimedia broadcast chip, the multimedia broadcast port driver module sends a power-on command to the data card side.
8、 如权利要求 7所述的方法, 其中,  8. The method of claim 7, wherein
所述多媒体广播芯片断电条件包括: 收到断电命令, 或者多媒体广播设 备在设定的时间段内没有数据交互;  The power-off condition of the multimedia broadcast chip includes: receiving a power-off command, or the multimedia broadcast device has no data interaction within a set period of time;
所述多媒体广播芯片上电条件包括: 收到上电命令, 或者, 多媒体广播 设备在断电后重新收到数据。  The power-on condition of the multimedia broadcast chip includes: receiving a power-on command, or the multimedia broadcast device re-receiving data after power-off.
9、 如权利要求 6、 7或 8所述的方法, 所述方法还包括:  9. The method of claim 6, 7 or 8, the method further comprising:
所述数据卡侧收到多媒体广播端口驱动模块发送的数据包时, 如果判断 该数据包不是固件数据包, 则直接将该数据包发送到多媒体广播芯片。  When the data card side receives the data packet sent by the multimedia broadcast port driver module, if it is determined that the data packet is not a firmware data packet, the data packet is directly sent to the multimedia broadcast chip.
10、 如权利要求 6、 7或 8所述的方法, 其中,  10. The method of claim 6, 7 or 8, wherein
所述存储空间包括全局緩冲或闪存。  The storage space includes a global buffer or a flash memory.
11、 一种数据卡, 所述数据卡包括通用串行总线(USB )驱动、 数据处 理模块、 重启模块和电源管理模块, 11. A data card, the data card comprising a universal serial bus (USB) driver, data office Management module, restart module and power management module,
USB驱动设置为: 接收到多媒体广播端口驱动发送的数据后传递给数据 处理模块; 所述数据包括对多媒体广播芯片进行上电或断电的命令;  The USB driver is configured to: receive the data sent by the multimedia broadcast port driver and then transmit the data to the data processing module; the data includes a command to power on or power off the multimedia broadcast chip;
数据处理模块设置为: 接收到数据后, 判断是否是固件数据包, 如果是, 则发送到重启模块, 并同时将所述固件数据包通过串行外设接口 (SPI )发送 到多媒体广播芯片; 重启模块用于设置为: 收到数据处理模块发送的固件数据包后, 保存到 存储空间; 以及, 在多媒体广播芯片上电后, 将保存的固件数据包通过 SPI 驱动发送到多媒体广播芯片;  The data processing module is configured to: after receiving the data, determine whether it is a firmware data packet, if yes, send to the restart module, and simultaneously send the firmware data packet to the multimedia broadcast chip through a serial peripheral interface (SPI); The restart module is configured to: after receiving the firmware data packet sent by the data processing module, save to the storage space; and, after the multimedia broadcast chip is powered on, send the saved firmware data packet to the multimedia broadcast chip through the SPI driver;
电源管理模块设置为: 在多媒体广播芯片断电条件触发后, 对多媒体广 播芯片执行上电操作; 在多媒体广播芯片上电条件触发后, 对多媒体广播芯 片执行上电操作。  The power management module is configured to perform a power-on operation on the multimedia broadcast chip after the power-off condition of the multimedia broadcast chip is triggered; and perform power-on operation on the multimedia broadcast chip after the power-on condition of the multimedia broadcast chip is triggered.
12、 如权利要求 11所述的数据卡, 其中,  12. The data card according to claim 11, wherein
所述数据处理模块还设置为: 收到主机侧发送的上电或断电命令后, 直 接或通过重启模块发送给所述电源管理模块;  The data processing module is further configured to: after receiving the power-on or power-off command sent by the host side, send the power management module directly or through the restart module;
所述多媒体广播芯片是设置为: 断电条件为: 收到所述断电命令; 上电 条件为: 收到所述上电命令。  The multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off command; and the power-on condition is: receiving the power-on command.
13、 如权利要求 11所述的数据卡, 其中,  13. The data card according to claim 11, wherein
所述数据处理模块还设置为: 多媒体广播设备在设定的时间段内没有数 据交互时, 通知所述电源管理模块进行断电; 多媒体广播设备在断电后重新 收到数据时, 通知所述电源管理模块进行上电;  The data processing module is further configured to: when the multimedia broadcast device has no data interaction within a set period of time, notify the power management module to perform power-off; and when the multimedia broadcast device re-receives data after power-off, notify the The power management module is powered on;
所述多媒体广播芯片是设置为: 断电条件为: 收到所述断电通知; 上电 条件为: 收到所述上电通知。  The multimedia broadcast chip is configured to: the power-off condition is: receiving the power-off notification; the power-on condition is: receiving the power-on notification.
14、 如权利要求 11-13任一所述的数据卡, 其中,  14. The data card according to any one of claims 11-13, wherein
所述重启模块还是设置为: 多媒体广播芯片上电完成后, 对多媒体广播 芯片进行初始化操作。  The restarting module is further configured to: initialize the multimedia broadcast chip after the multimedia broadcast chip is powered on.
15、 如权利要求 11-13任一所述的数据卡, 其中,  15. The data card according to any one of claims 11-13, wherein
所述存储空间包括全局緩冲或闪存。  The storage space includes a global buffer or a flash memory.
PCT/CN2010/075444 2010-05-24 2010-07-23 Method and apparatus for cutting off power of multimedia broadcasting chip, and data card thereof WO2011147113A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010183618A CN101854498A (en) 2010-05-24 2010-05-24 Method and device for switching off multimedia broadcasting chip
CN201010183618.8 2010-05-24

Publications (1)

Publication Number Publication Date
WO2011147113A1 true WO2011147113A1 (en) 2011-12-01

Family

ID=42805733

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/075444 WO2011147113A1 (en) 2010-05-24 2010-07-23 Method and apparatus for cutting off power of multimedia broadcasting chip, and data card thereof

Country Status (2)

Country Link
CN (1) CN101854498A (en)
WO (1) WO2011147113A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104519B (en) 2013-04-01 2018-07-13 南京中兴软件有限责任公司 A kind of power-off restarting method, apparatus and system
CN104580751B (en) * 2015-01-30 2018-01-05 惠州Tcl移动通信有限公司 A kind of control method and system of mobile terminal and its microSD card
CN112286332A (en) * 2020-10-29 2021-01-29 广州朗国电子科技有限公司 Restarting and resetting method for education all-in-one machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046749A (en) * 2006-03-31 2007-10-03 联想(北京)有限公司 Chip firmware updating method
CN101251766A (en) * 2008-03-21 2008-08-27 北京中星微电子有限公司 Multimedia processing platform chip
CN101707674A (en) * 2009-11-04 2010-05-12 中兴通讯股份有限公司 Method for reducing power consumption of terminal supporting CMMB function and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394242A (en) * 2008-10-29 2009-03-25 中兴通讯股份有限公司 Method and mobile terminal realizing CMMB chip sleep

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046749A (en) * 2006-03-31 2007-10-03 联想(北京)有限公司 Chip firmware updating method
CN101251766A (en) * 2008-03-21 2008-08-27 北京中星微电子有限公司 Multimedia processing platform chip
CN101707674A (en) * 2009-11-04 2010-05-12 中兴通讯股份有限公司 Method for reducing power consumption of terminal supporting CMMB function and terminal

Also Published As

Publication number Publication date
CN101854498A (en) 2010-10-06

Similar Documents

Publication Publication Date Title
KR101924836B1 (en) System and method for a hsic communication
US10831700B2 (en) Methods and apparatus for reducing power consumption within embedded systems
TW201244435A (en) MAC filtering on Ethernet PHY for Wake-on-LAN
JP2005236795A (en) Radio communication system, firmware updating method for radio communication terminal therein
WO2015051647A1 (en) Firmware upgrade method and system, upper computer and optical module
CN1992611B (en) Mobile computing device and method for receiving data packet thereof
WO2011130974A1 (en) Method and system for file downloading
WO2013127071A1 (en) Computer device and method for converting working mode of universal serial bus connector of the computer device
JP2001242965A (en) Computer system, information processing device, and power supply system
CN101662838B (en) Device, method and USB data card for realizing internet surfing without drive
WO2008138258A1 (en) Peripheral device operation method, peripheral device and host
WO2012100515A1 (en) Starting method and device of wireless communication terminal
WO2014026547A1 (en) Active usb device and switching method for operating mode thereof
TWI510933B (en) Method for remotely accessing data and local apparatus using the method
WO2011147113A1 (en) Method and apparatus for cutting off power of multimedia broadcasting chip, and data card thereof
WO2012100518A1 (en) Method and device for initiating wireless communication terminal
CN103024543A (en) Implementation method and implementation device for low power consumption of set top box
WO2016045363A1 (en) Method for cpu to control wifi module via hsic bus interface
CN110855462A (en) Bluetooth OTA firmware upgrading device
JP2010134508A (en) Relay apparatus for connecting hot plug type device
WO2012167520A1 (en) Automatic control method and system for power consumption
JP2003044182A (en) Information processor
WO2011006309A1 (en) Method and device for restoring system backup
CN111010604B (en) Method for preventing wifi list from being lost, smart television and medium
US9317248B2 (en) Information processing device, subsystem, information processing method, and recording medium storing information processing program

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10851985

Country of ref document: EP

Kind code of ref document: A1