CN101854498A - Method and device for switching off multimedia broadcasting chip - Google Patents
Method and device for switching off multimedia broadcasting chip Download PDFInfo
- Publication number
- CN101854498A CN101854498A CN201010183618A CN201010183618A CN101854498A CN 101854498 A CN101854498 A CN 101854498A CN 201010183618 A CN201010183618 A CN 201010183618A CN 201010183618 A CN201010183618 A CN 201010183618A CN 101854498 A CN101854498 A CN 101854498A
- Authority
- CN
- China
- Prior art keywords
- multimedia broadcasting
- chip
- broadcasting chip
- power
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4436—Power management, e.g. shutting down unused components of the receiver
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a method and a device for switching off a multimedia broadcasting chip. The method comprises the following steps of: judging whether the data packet is a firmware data packet or not when a data card side receives a data packet transmitted by a multimedia broadcasting port drive module, if so, storing the data packet into a storing space while transmitting the data packet to the multimedia broadcasting chip; executing the switching-off operation on the multimedia broadcasting chip when the multimedia broadcasting chip switching-off condition is triggered; and executing the switching-on operation on the multimedia broadcasting chip and transmitting the stored firmware data packet to the multimedia broadcasting chip when the multimedia broadcasting chip switching-on condition is triggered. The invention overcomes the defect of unavailable normal use of CMMB (China Mobile Multimedia Broadcasting) function caused by firmware loss after the multimedia broadcasting chip is switched off in the prior art.
Description
Technical field
The present invention relates to the multimedia broadcasting technical field, relate in particular to a kind of switching off multimedia broadcasting chip method and device.
Background technology
At present, the Mobile Multimedia Broadcasting mobile phone TV services are promoting gradually, and along with the maturation of multimedia broadcasting technology, More and more factories has all been released the terminal that has multimedia broadcasting function at present.Because the program (abbreviation firmware) of the operation of multimedia broadcasting chip inside is kept in the internal memory of chip, so in case the chip power down, then this firmware (Firm Ware) will be lost.
With CMMB (China Mobile Multimedia Broadcasting, China Mobile multimedia broadcasting) technology is example, and the general frame figure of existing multi-media broadcasting device mainly comprises as shown in Figure 1:
The CMMB port driver of PC (Personal Computer, individual main frame) side is used for data are sent to data card side etc.;
The USB of data card side (Universal Serial BUS, USB) driving, data processing module (Data Module), SPI (Serial Peripheral Interface, Serial Peripheral Interface (SPI)) drive;
And, the CMMB chip.
The realization flow of prior art mainly comprises: data card begins to carry out port and enumerates after inserting PC.After the CMMB of PC side port driver detects the CMMB equipment that data card enumerates, the firmware data packet under the particular category is sent to the data card side by USB.The data processing module of data card side sends to the CMMB chip by the SPI driving with firmware after receiving the packet of firmware by the USB driving that blocks side.The CMMB port driver repeatedly sends packet to data card then by firmware being split into a plurality of packets, finishes the download action of firmware.
At present, there is following problem in the existing correlation technique:
1) because firmware is to be kept in the internal memory of CMMB chip,, will cause the firmware in the chip to be lost, therefore, need to power to CMMB, and the average current of CMMB chip be 60mA that power consumption is bigger always in case stop chip power supply to CMMB;
2) in addition, in case after the power down of CMMB chip, even give chip power again, because data card can not enumerate port in the PC side again, thereby also download firmware again not of CMMB port driver, thereby after causing the outage of CMMB chip, the CMMB function can not normally be used, unless plug data card again.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of switching off multimedia broadcasting chip method and device, overcomes in the prior art firmware after the multimedia broadcasting chip power down and loses the defective that the CMMB function that causes can not normally be used.
In order to address the above problem, the invention provides a kind of switching off multimedia broadcasting chip device, comprise: the multimedia broadcasting port driver, and the USB of data card side (USB) driving, data processing module, Serial Peripheral Interface (SPI) (SPI) drive, restart module and power management module, wherein:
The multimedia broadcasting port driver is used for, and drives by USB data are sent to described data card, comprises the order that multimedia broadcasting chip is powered on or cuts off the power supply;
USB drives and to be used for, and passes to data processing module after receiving data;
Data processing module is used for, receive data after, judge whether it is firmware data packet, if then send to and restart module, and drive by SPI simultaneously and send to multimedia broadcasting chip;
Restart module and be used for, receive the firmware data packet that data processing module sends after, be saved in memory space; And, after multimedia broadcasting chip powers on, the firmware data packet of preserving is sent to multimedia broadcasting chip by the SPI driving;
Power management module is used for, and after the switching off multimedia broadcasting chip condition triggers, multimedia broadcasting chip is carried out the operation that powers on; After the multimedia broadcasting chip condition that powers on triggers, multimedia broadcasting chip is carried out the operation that powers on.
Further, described data processing module is further used for, receive that host computer side sends power on or power off command after, directly or by restarting module send to described power management module;
Described switching off multimedia broadcasting chip condition is specially: receive described power off command;
The described multimedia broadcasting chip condition of powering on is specially: receive the described order that powers on.
Further, described data processing module is further used for, and when multimedia broadcast equipment does not have data interaction in the time period of setting, notifies described power management module to cut off the power supply; When multimedia broadcast equipment is received data again after outage, notify described power management module to power on;
Described switching off multimedia broadcasting chip condition is specially: receive described power-down notice;
The described multimedia broadcasting chip condition of powering on is specially: receive the described notice that powers on.
Further, described restart module also be used for multimedia broadcasting chip power on finish after, multimedia broadcasting chip is carried out initialization operation.
Further, described memory space comprises overall situation buffering or flash memory.
The present invention also provides a kind of switching off multimedia broadcasting chip method, comprising:
When the data card side is received the packet of multimedia broadcasting port driver block transmission, judge whether this packet is firmware data packet, if when then this packet being sent to multimedia broadcasting chip, this packet is saved in the memory space;
After the switching off multimedia broadcasting chip condition triggers, multimedia broadcasting chip is carried out power operation;
After the multimedia broadcasting chip condition that powers on triggers, multimedia broadcasting chip is carried out the operation that powers on, and the firmware data packet of preserving is sent to multimedia broadcasting chip.
Further, described method also comprises:
Described multimedia broadcasting port driver block sends the order of cutting off the power supply/power on to described data card side.
Further, described switching off multimedia broadcasting chip condition comprises: receive power off command, perhaps multimedia broadcast equipment does not have data interaction in the time period of setting;
Described switching off multimedia broadcasting chip condition comprises: receive the order that powers on, perhaps, multimedia broadcast equipment is received data again after outage.
Further, described method also comprises:
When described data card side is received the packet of multimedia broadcasting port driver block transmission, not firmware data packet, then directly this packet is sent to multimedia broadcasting chip if judge this packet.
Further, described memory space comprises overall situation buffering or flash memory.
The present invention loses the unavailable problem of the multimedia broadcasting function that causes by the firmware that solves after the multimedia broadcasting chip power down, can reach the operation of giving switching off multimedia broadcasting chip or powering at any time, because the user is constantly watching multimedia broadcasting program, therefore can in due course multimedia broadcasting chip be carried out power operation, by stopping that the power supply of multimedia broadcasting chip is reached electricity-saving function, increase the notebook stand-by time.
Description of drawings
Fig. 1 is a schematic block diagram of the prior art;
Fig. 2 is the schematic block diagram of the CMMB device of the embodiment of the invention;
Fig. 3 is the schematic flow sheet of the CMMB chip power-off method of application example of the present invention.
Embodiment
At needing lasting the power supply to cause power consumption bigger in the prior art to multimedia broadcasting chip, and the problem that firmware is lost after the multimedia broadcasting chip power down, a kind of multimedia broadcasting breaker device is provided in the embodiment of the invention, be applied to the CMMB system, as shown in Figure 2, this device comprises with lower module: the CMMB port driver of PC side; The USB of card side drives, data processing module, and SPI drives; The CMMB chip, wherein, CMMB port driver, USB driving, data processing module and SPI drive except that possessing existing function, also are used to finish following improvement function:
The CMMB port driver is used for, and by USB data is sent to the card side, comprises the particular command that the CMMB chip is powered on or cuts off the power supply;
USB drives and to be used for, and passes to data processing module after receiving data;
Data processing module is used for, receive data after, judge whether it is firmware data packet, if then send to and restart module, and drive by SPI simultaneously and send to the CMMB chip;
In addition, this device also comprises: restart module (Reboot Module), and power management module (PowerManager), wherein:
Restarting module is used for, after receiving the firmware data packet of data processing module transmission, be cached to memory space, this memory space can be an overall situation buffering, also can be the flash (flash memory) of terminal (this terminal can be the equipment of data card, mobile phone or certain support CMMB function); And, behind the CMMB chip power, the firmware data packet of preserving is sent to the CMMB chip by the SPI driving;
Power management module is used for, and after CMMB chip power or outage condition triggering, execution powers on or power operation to the CMMB chip.
Wherein, power module can trigger according to following condition and power on or power operation:
Call power management module according to powering on of receiving/power off command, for example described data processing module receives that the PC side sends powering on or power off command after, directly or by restarting module send to described power management module;
Perhaps, can judge whether that also needs power on and power operation to the CMMB chip according to the data interaction situation of CMMB equipment, for example, when not having data interaction in the time period that CMMB equipment is being set, data processing module notifies described power management module to cut off the power supply; When CMMB equipment was received data again after outage, data processing module notified described power management module to power on.
In addition, restart after module also is used for the CMMB chip power and finishes, the CMMB chip is carried out initialization operation, interrupt line for example is set, send pretrigger order etc.
In addition, in specific implementation of the present invention, can detect and whether need the CMMB chip is powered on and cut off the power supply (as receive power on or power off command), and call power management module and power on accordingly or power operation by restarting module; Also can finish by data processing module, (for example CMMB equipment did not have data interaction in the time period of setting after the power operation trigger condition satisfied when data processing module detects, when perhaps CMMB equipment is received data again after outage), the notice power management module powers on to the CMMB chip or cuts off the power supply.
The embodiment of the invention also provides a kind of power-off method of multimedia broadcasting chip, may further comprise the steps:
The first step: when the data card side is received the packet of multimedia broadcasting driver module transmission, judge whether this packet is firmware data packet, if when then this packet being sent to multimedia broadcasting chip, this packet is saved in the overall situation buffering;
Second step: after the switching off multimedia broadcasting chip condition triggers, multimedia broadcasting chip is carried out power operation;
The 3rd step: after the multimedia broadcasting chip condition that powers on triggers, multimedia broadcasting chip is carried out the operation that powers on, and the firmware data packet of preserving is sent to multimedia broadcasting chip.
Wherein, the switching off multimedia broadcasting chip condition can be: the power off command that the PC side sends, and perhaps, multimedia broadcast equipment does not have data interaction etc. in the time period of setting;
The multimedia broadcasting chip condition of powering on can be: the order that powers on that the PC side sends, perhaps, multimedia broadcast equipment is received data etc. again after outage.
Further, after the switching off multimedia broadcasting chip/condition that powers on triggers, in the time of need or re-powering switching off multimedia broadcasting chip, can carry out powering on to multimedia broadcasting chip by power management module with power operation.
Further, after multimedia broadcasting chip re-powers, need carry out initialization operation, after initialization is finished, the firmware data packet of preserving be resend multimedia broadcasting chip multimedia broadcasting chip.
Describe in further detail below in conjunction with the enforcement of accompanying drawing and concrete application example technical solution of the present invention.
The flow process of the power-off method of the multimedia broadcasting chip of an application example of the present invention is an example with the CMMB chip as shown in Figure 3, should mainly may further comprise the steps with the specific implementation of example:
After step 101, data card insert PC, begin to carry out port and enumerate, after the CMMB port driver detects CMMB equipment, carry out next step 102;
The USB of step 103, data card side drives and receives the data that send over from the PC side;
After step 105, Data Module receive data, at first judge whether it is orders such as firmware data packet or outage/power on, if firmware data packet, then send the data to the Reboot module, execution in step 108 simultaneously if order such as cut off the power supply/power on, then sends to the Reboot module; Otherwise, execution in step 108;
After step 106, Reboot module received packet, if judge it is firmware data packet, then execution in step 107; If cut off the power supply/and order such as power on, then execution in step 108;
By above step, can finish the initial download and the preservation of firmware.
After the condition of CMMB chip power is triggered (this condition can be the particular command that the PC side sends over, or CMMB equipment is when receiving data again), Reboot module indication PowerManager module is carried out the operation that powers on to the CMMB chip;
The instruction of outage/power on order or Reboot module that step 110, Power Manager module basis are received is carried out power operation to the CMMB chip if desired, and then execution in step 111; If desired the CMMB chip is carried out the operation that powers on, then execution in step 112;
After step 114, Reboot module are finished the CMMB chip initiation, begin the read data packet from the space of preserving firmware data packet that circulates, drive by SPI then packet is downloaded to the CMMB chip again.After this circulation was finished, firmware was downloaded success again.After this, the CMMB chip enters normal operating conditions.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. switching off multimedia broadcasting chip device, it is characterized in that, comprise: the multimedia broadcasting port driver, and the USB of data card side (USB) driving, data processing module, Serial Peripheral Interface (SPI) (SPI) drive, restart module and power management module, wherein:
The multimedia broadcasting port driver is used for, and drives by USB data are sent to described data card, comprises the order that multimedia broadcasting chip is powered on or cuts off the power supply;
USB drives and to be used for, and passes to data processing module after receiving data;
Data processing module is used for, receive data after, judge whether it is firmware data packet, if then send to and restart module, and drive by SPI simultaneously and send to multimedia broadcasting chip;
Restart module and be used for, receive the firmware data packet that data processing module sends after, be saved in memory space; And, after multimedia broadcasting chip powers on, the firmware data packet of preserving is sent to multimedia broadcasting chip by the SPI driving;
Power management module is used for, and after the switching off multimedia broadcasting chip condition triggers, multimedia broadcasting chip is carried out the operation that powers on; After the multimedia broadcasting chip condition that powers on triggers, multimedia broadcasting chip is carried out the operation that powers on.
2. device as claimed in claim 1 is characterized in that:
Described data processing module is further used for, receive that host computer side sends power on or power off command after, directly or by restarting module send to described power management module;
Described switching off multimedia broadcasting chip condition is specially: receive described power off command;
The described multimedia broadcasting chip condition of powering on is specially: receive the described order that powers on.
3. device as claimed in claim 1 is characterized in that:
Described data processing module is further used for, and when multimedia broadcast equipment does not have data interaction in the time period of setting, notifies described power management module to cut off the power supply; When multimedia broadcast equipment is received data again after outage, notify described power management module to power on;
Described switching off multimedia broadcasting chip condition is specially: receive described power-down notice;
The described multimedia broadcasting chip condition of powering on is specially: receive the described notice that powers on.
4. as claim 1,2 or 3 described devices, it is characterized in that:
Described restart module also be used for multimedia broadcasting chip power on finish after, multimedia broadcasting chip is carried out initialization operation.
5. as claim 1,2 or 3 described devices, it is characterized in that:
Described memory space comprises overall situation buffering or flash memory.
6. a switching off multimedia broadcasting chip method is characterized in that, comprising:
When the data card side is received the packet of multimedia broadcasting port driver block transmission, judge whether this packet is firmware data packet, if when then this packet being sent to multimedia broadcasting chip, this packet is saved in the memory space;
After the switching off multimedia broadcasting chip condition triggers, multimedia broadcasting chip is carried out power operation;
After the multimedia broadcasting chip condition that powers on triggers, multimedia broadcasting chip is carried out the operation that powers on, and the firmware data packet of preserving is sent to multimedia broadcasting chip.
7. method as claimed in claim 6 is characterized in that, described method also comprises:
Described multimedia broadcasting port driver block sends the order of cutting off the power supply/power on to described data card side.
8. method as claimed in claim 7 is characterized in that:
Described switching off multimedia broadcasting chip condition comprises: receive power off command, perhaps multimedia broadcast equipment does not have data interaction in the time period of setting;
Described switching off multimedia broadcasting chip condition comprises: receive the order that powers on, perhaps, multimedia broadcast equipment is received data again after outage.
9. as claim 6,7 or 8 described methods, it is characterized in that described method also comprises:
When described data card side is received the packet of multimedia broadcasting port driver block transmission, not firmware data packet, then directly this packet is sent to multimedia broadcasting chip if judge this packet.
10. as claim 6,7 or 8 described methods, it is characterized in that:
Described memory space comprises overall situation buffering or flash memory.
Priority Applications (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 |
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 |
Applications Claiming Priority (1)
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 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101854498A true CN101854498A (en) | 2010-10-06 |
Family
ID=42805733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010183618A Pending CN101854498A (en) | 2010-05-24 | 2010-05-24 | Method and device for switching off multimedia broadcasting chip |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101854498A (en) |
WO (1) | WO2011147113A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014161262A1 (en) * | 2013-04-01 | 2014-10-09 | 中兴通讯股份有限公司 | Method, device and system for restarting after power failure |
WO2016119416A1 (en) * | 2015-01-30 | 2016-08-04 | 惠州Tcl移动通信有限公司 | Mobile terminal, method and system for controlling microsd card thereof |
CN112286332A (en) * | 2020-10-29 | 2021-01-29 | 广州朗国电子科技有限公司 | Restarting and resetting method for education all-in-one machine |
Citations (4)
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 |
CN101394242A (en) * | 2008-10-29 | 2009-03-25 | 中兴通讯股份有限公司 | Method and mobile terminal realizing CMMB chip sleep |
CN101707674A (en) * | 2009-11-04 | 2010-05-12 | 中兴通讯股份有限公司 | Method for reducing power consumption of terminal supporting CMMB function and terminal |
-
2010
- 2010-05-24 CN CN201010183618A patent/CN101854498A/en active Pending
- 2010-07-23 WO PCT/CN2010/075444 patent/WO2011147113A1/en active Application Filing
Patent Citations (4)
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 |
CN101394242A (en) * | 2008-10-29 | 2009-03-25 | 中兴通讯股份有限公司 | Method and mobile terminal realizing CMMB chip sleep |
CN101707674A (en) * | 2009-11-04 | 2010-05-12 | 中兴通讯股份有限公司 | Method for reducing power consumption of terminal supporting CMMB function and terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014161262A1 (en) * | 2013-04-01 | 2014-10-09 | 中兴通讯股份有限公司 | Method, device and system for restarting after power failure |
US9634890B2 (en) | 2013-04-01 | 2017-04-25 | Zte Corporation | Powering off and rebooting method, device and system |
WO2016119416A1 (en) * | 2015-01-30 | 2016-08-04 | 惠州Tcl移动通信有限公司 | Mobile terminal, method and system for controlling microsd card thereof |
CN112286332A (en) * | 2020-10-29 | 2021-01-29 | 广州朗国电子科技有限公司 | Restarting and resetting method for education all-in-one machine |
Also Published As
Publication number | Publication date |
---|---|
WO2011147113A1 (en) | 2011-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8127126B2 (en) | Integrated power supply and network connection control device for cord set | |
US10194397B2 (en) | Power supply control method and wireless terminal | |
CN103124941B (en) | For monitor processor place power loss event during the method and apparatus of interruption | |
CN101986679B (en) | Mobile terminal, electricity-saving method and electricity-saving device | |
CN104601203A (en) | Dynamic connection parameter regulation method and device for low-power consumption Bluetooth equipment | |
US10353456B2 (en) | Advertising machine, and system, method and storage medium for controlling advertising machine | |
CN102929737A (en) | Method and system for automatically restarting wireless network card | |
CN1992611B (en) | Mobile computing device and method for receiving data packet thereof | |
CN102957806A (en) | Method and device for restarting mobile phone | |
CN101854498A (en) | Method and device for switching off multimedia broadcasting chip | |
CN108833981B (en) | Startup and shutdown method | |
CN102096646A (en) | Method and device for starting wireless communication terminal | |
CN105376645A (en) | Set-top box and power consumption reduction method | |
CN101626390B (en) | Remote control system of host for advertising propaganda and control method thereof | |
WO2010118696A1 (en) | Electronic apparatus and power management device thereof | |
CN204633817U (en) | A kind of remote desktop control system | |
US20170238347A1 (en) | Method, Apparatus and System for Managing Mobile Hotspot | |
CN102204165A (en) | Method for controlling backup device, primary device and backup device | |
CN112084159A (en) | File synchronization system and method based on Bluetooth communication | |
WO2016115761A1 (en) | Electricity saving method and device for multi-system terminal | |
CN102750163A (en) | Method for saving graphic card memory when network management is upgraded | |
CN102821444A (en) | Method and system for automatically controlling power consumption | |
CN102541245A (en) | Flat computer with low power consumption and method for reducing power consumption of flat computer | |
CN107590087B (en) | Electronic equipment and hard disk access method of electronic equipment | |
EP2957984A1 (en) | Method for power management and corresponding apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20101006 |