CN101141739B - Method to transmit data between television functional module and mobile functional module and corresponding terminal - Google Patents

Method to transmit data between television functional module and mobile functional module and corresponding terminal Download PDF

Info

Publication number
CN101141739B
CN101141739B CN2007101631063A CN200710163106A CN101141739B CN 101141739 B CN101141739 B CN 101141739B CN 2007101631063 A CN2007101631063 A CN 2007101631063A CN 200710163106 A CN200710163106 A CN 200710163106A CN 101141739 B CN101141739 B CN 101141739B
Authority
CN
China
Prior art keywords
module
operating state
data
locomotive function
functions
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.)
Expired - Fee Related
Application number
CN2007101631063A
Other languages
Chinese (zh)
Other versions
CN101141739A (en
Inventor
仝庆贻
刘轶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007101631063A priority Critical patent/CN101141739B/en
Publication of CN101141739A publication Critical patent/CN101141739A/en
Application granted granted Critical
Publication of CN101141739B publication Critical patent/CN101141739B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The present invention relates to a mobile terminal and a method for the data sending between the television functional module of the terminal and the mobile functional module. At least one working state output port is arranged on the television functional module and the mobile functional module of the terminal, to output the self working state; at least one working state input port connected with the working state output port is arranged on the television functional module and the mobile functional module, to get the working state of the working state output port. The method comprises the following steps that the working state of a module for receiving data is got firstly before a module needing to send data in the television functional module and the mobile functional module sends data, and before the working state of the module for receiving data does not need to be waken up, the module directly sends data, otherwise sending data after the module for receiving data is waken up. The present invention effectively improves the efficiency of the serial port communication.

Description

TV functions module and locomotive function intermodule send data method and corresponding terminal
Technical field
The present invention relates to a kind of portable terminal and TV functions module thereof and locomotive function intermodule and send data method, relate in particular to a kind of method of these two intermodules transmission data of TV functions module and locomotive function module of the mobile phone that TV functions arranged.
Background technology
Along with the development of technology, the mobile TV function is more and more paid attention to by each big operator, and the mobile phone terminal that has the mobile TV function also begins to develop thereupon.Generally speaking, base band and radio-frequency module (being called the locomotive function module in this patent) that TV in the mobile phone is accepted the base band of module and radio frequency part (being called the TV functions module in this patent) and mobile phone are two independent parts, and both handle the signal of each autocorrelative audio frequency and video etc. respectively.Real-time information interaction can take place between this two parts module (locomotive function module and TV functions module), as confirm the other side's operating state and for the preemption information of physical hardware resources etc., and the mode that this information interaction adopts usually is to realize by serial ports.Following problems may be encountered and when realizing information interaction by serial ports: when mobile phone is in holding state, the TV functions module is issued the information of mobile module and can be lost, this is because mobile module uses for power saving when standby is the unusual clock of low frequency (as 32kHz) with respect to operating state, is the data that can not detect and respond the serial ports transmission in real time in this case.Existing solution is before sending data, wake the relevant portion of locomotive function module up by the interruption controls signal, make it operating state and switched to by standby mode under master clock (as the 13MHz) pattern of high frequency, the locomotive function module can correctly detect and accept the data of serial ports transmission under the master clock pattern.Equally, when the TV functions module was in holding state, the locomotive function module was issued the information of TV functions module and also can be lost.This is because the TV functions module before being not activated, also only is the low-frequency clock operating state that is under the holding state, is the data that can not detect and respond the serial ports transmission in real time in this case.Existing solution is before sending data, wake the TV functions module up by the control interrupt signal, make it operating state and switched under the master clock pattern by standby mode, the TV functions module can correctly detect and receive the data of serial ports transmission under the master clock pattern.
Figure 1 shows that the TV functions module and the locomotive function module serial communication control circuit schematic diagram of existing Digital Video Broadcasting Handheld.When the TV functions module needs toward locomotive function module transmission data, at first the transmission pin of the interrupt signal IRQM that mails to the locomotive function module (Interrupt Signals ToMobile Function Module) by the TV functions module produces an interrupt signal, and the IRQM that mails to the locomotive function module receives pin, after the locomotive function module receives IRQM interrupt signal from the TV functions module, in interrupt handling routine, operating state switched to the master clock pattern, and under the master clock pattern, carry out the serial data communication with the TV functions module.
When the locomotive function module needs toward TV functions module transmission data, at first send pin and produce an interrupt signal by the interrupt signal IRQT (Interrupt Signals to TV Function Module) that mails to the TV functions module, and the IRQT that mails to the TV functions module receives pin, after the TV functions module receives IRQT interrupt signal from the locomotive function module, operating state with mobile phone in interrupt handling routine switches to the master clock pattern, and carries out the serial data communication with the locomotive function module under the master clock pattern.
The shortcoming that shows of said method is in actual use: can't obtain the other side's current working state before sending data, therefore no matter whether the other side is under standby mode, for correct transceive data, before sending data, all need to wake up the other side's operation by interrupt signal.Interrupt the operation that wakes up before the data again if not under standby mode, send the other side at this moment, can reduce the efficient of serial communication.
Summary of the invention
The technical problem that the present invention will solve provides a kind of portable terminal.
In order to address the above problem, the invention provides a kind of portable terminal, include TV functions module and locomotive function module, it is characterized in that, at least have a working state output terminal mouth on described TV functions module and the locomotive function module, be used to export the operating state of oneself; At least have an operating state input port that is connected with described working state output terminal mouth on described TV functions module and the locomotive function module, be used to obtain the other side's operating state;
Described TV functions module and locomotive function module are before sending data, obtain the operating state of the module that receives data earlier by described operating state input port, when the operating state of judging the module of described reception data does not need to wake up, directly send data, otherwise after waking the module of described reception data up, send data to it again.
Further, described working state output terminal mouth and operating state input port all are universal input and output port.
Further, described operating state is the low-frequency clock operating state under master clock pattern or the holding state.
Further, when the operating state of described TV functions module or locomotive function module is following time of master clock pattern, described TV functions module or locomotive function module output high level; When the operating state of described TV functions module or locomotive function module is the low-frequency clock operating state, described TV functions module or locomotive function module output low level.
TV functions module in the portable terminal of the present invention and locomotive function module, owing to have the operating state input/output port, before sending data, serial ports can effectively know the other side's current working state, when the other side not in standby mode following time, no longer need to carry out waking up the other side's operation by interrupt signal, and directly carry out the transmission of serial data, thereby improved the efficient of serial communication effectively.
Another technical problem that the present invention will solve provides its TV functions module and locomotive function intermodule of a kind of portable terminal and sends data method.
In order to address the above problem, the invention provides the method that sends data between a kind of TV functions module of portable terminal and the locomotive function module, comprise the steps: to send in TV functions module and the locomotive function module module of data before sending data, obtain the operating state of the module of reception data earlier, when the operating state of the module of described reception data does not need to wake up, directly send data, otherwise after waking the module of described reception data up, send data to it again.
Further, the described operating state that does not need to wake up is a high frequency master clock pattern.
Further, the operating state waken up of described needs is a low-frequency clock stand-by operation state.
Further, when the module of described transmission data is waken the module of described reception data up, send the module of interrupt signal, after the module of described reception data is received described interrupt signal, described low-frequency clock stand-by operation state is switched to the master clock pattern of high frequency to described reception data.
Further, under described high frequency master clock pattern, described TV functions module and locomotive function module be output port output high level in working order, and under low-frequency clock stand-by operation state, described TV functions module and locomotive function module be the output port output low level in working order.
Method provided by the invention, before sending data, serial ports can effectively know the other side's current working state, when the other side not in standby mode following time, no longer need to carry out waking up the other side's operation by interrupt signal, and directly carry out the transmission of serial data, thereby improved the efficient of serial communication effectively.
Description of drawings
Fig. 1 is the TV functions module and the locomotive function module serial communication control circuit schematic diagram of existing Digital Video Broadcasting Handheld.
Fig. 2 is the TV functions module and the locomotive function module serial communication control circuit schematic diagram of portable terminal of the present invention.
Fig. 3 is a locomotive function module side process chart of the present invention.
Fig. 4 is a TV functions module side process chart of the present invention.
Embodiment
The present invention will solve in the prior art can't know the other side's work at present state before serial ports sends data, thereby causes the inefficient technical problem of serial communication.
In order to solve the problems of the technologies described above, the invention provides a kind of the maintenance under the constant situation of the existing serial communication circuit of locomotive function module and TV functions module, increase by two universal input and output port GPIO1 (General Purpose Input Output) and GPIO2 respectively in these two modules, promptly increase a working state output terminal mouth and an operating state input port, and described working state output terminal mouth is connected with an operating state input port, be respectively applied for TV functions module and locomotive function module and export the operating state of oneself and obtain the other side's operating state to the other side.
Further, the present invention also provides a kind of Digital Video Broadcasting Handheld to send the method for data between TV functions module and locomotive function module, when TV functions module/locomotive function module need send data toward locomotive function module/TV functions module, at first obtain the operating state of locomotive function module/TV functions module by the GPIO interface, when the GPIO interface read in be high level the time, directly send data toward locomotive function module/TV functions module serial ports; When the GPIO interface read in be low level the time, elder generation produces an interrupt signal by IRQM and mails to the IRQM interruption pin of locomotive function module/TV functions module, after locomotive function module/TV functions module receives IRQM interrupt signal from TV functions module/locomotive function module, carry out the serial data communication with TV functions module/locomotive function module after in interrupt handling routine, operating state being switched to the master clock pattern.
The present invention is described in further detail below in conjunction with the drawings and specific embodiments.
Figure 2 shows that the TV functions module and the locomotive function module serial communication control circuit schematic diagram of Digital Video Broadcasting Handheld of the present invention.In the present embodiment, the mobile phone that the mobile TV function is arranged, keeping under the constant situation of existing serial communication circuit, increase the connection of two GPIO mouths between TV functions module and locomotive function module, GPIO2 is used for the TV functions module to the operating state of locomotive function module output oneself and obtain the other side's operating state.GPIO1 is used for the locomotive function module to the operating state of TV functions module output oneself and obtain the other side's operating state.
The locomotive function module is used for: when the locomotive function module is operated under the master clock pattern, by GPIO2 mouth output high level, when the locomotive function module is operated in standby mode following time, by GPIO2 mouth output low level.
The TV functions module is used for: when the TV functions module is operated under the master clock pattern, by GPIO1 mouth output high level, when the TV functions module is operated in standby mode following time, by GPIO1 mouth output low level.
Fig. 3 is a locomotive function module side process chart of the present invention.When the locomotive function module needs toward TV functions module transmission data, at first obtain the operating state of TV functions module by the GPIO1 mouth, what read in when the GPIO1 mouth is high level, illustrate that the TV functions module is operated under the master clock pattern, at this moment, can directly send data toward TV functions module serial ports.What read in when the GPIO1 mouth is low level, illustrate that the TV functions module is operated under the standby mode, need this moment to produce an interrupt signal and mail to TV functions module I RQT interruption pin by IRQT, after the TV functions module receives IRQT interrupt signal from the locomotive function module, operating state with module in interrupt handling routine switches to the master clock pattern, and carries out the serial data communication with the locomotive function module under the master clock pattern.
Fig. 4 is a TV functions module side process chart of the present invention.When the TV functions module needs toward locomotive function module transmission data, at first obtain locomotive function module operating state by the GPIO2 mouth, what read in when the GPIO2 mouth is high level, illustrate that the locomotive function module is operated under the master clock pattern, this moment, directly the serial ports of past locomotive function module sent data.What read in when the GPIO2 mouth is low level, illustrate that the locomotive function module is operated under the standby mode, need this moment to produce an interrupt signal and mail to locomotive function module I RQM interruption pin by IRQM, after the locomotive function module receives IRQM interrupt signal from the TV functions module, operating state with module in interrupt handling routine switches to the master clock pattern, and carries out the serial data communication with the TV functions module under the master clock pattern.
Compared with prior art, the present invention has the following advantages: can effectively know the duty that the other side is current before serial ports sends data, when the other side not in standby mode lower time, no longer need to carry out waking up by interrupt signal the other side's operation, and directly carry out the transmission of serial data, thereby effectively improved the efficient of serial communication.
Should be understood that; concerning the those of ordinary skill in field, place of the present invention; can be equal to accordingly according to technical scheme of the present invention and design thereof and change or replace, and all these changes or replacement, all should belong to the protection domain of claims of the present invention.

Claims (9)

1. a portable terminal includes TV functions module and locomotive function module, it is characterized in that, has a working state output terminal mouth on described TV functions module and the locomotive function module at least, is used to export the operating state of oneself; At least have an operating state input port that is connected with described working state output terminal mouth on described TV functions module and the locomotive function module, be used to obtain the other side's operating state;
Described TV functions module and locomotive function module are before sending data, obtain the operating state of the module that receives data earlier by described operating state input port, when the operating state of judging the module of described reception data does not need to wake up, directly send data, otherwise after waking the module of described reception data up, send data to it again.
2. portable terminal as claimed in claim 1 is characterized in that, described working state output terminal mouth and operating state input port all are universal input and output port.
3. portable terminal as claimed in claim 1 or 2 is characterized in that, described operating state is the low-frequency clock operating state under master clock pattern or the holding state.
4. portable terminal as claimed in claim 3 is characterized in that, when the operating state of described TV functions module or locomotive function module is following time of master clock pattern, and described TV functions module or locomotive function module output high level; When the operating state of described TV functions module or locomotive function module is the low-frequency clock operating state, described TV functions module or locomotive function module output low level.
5. method that sends data according to claim 1 between the TV functions module of portable terminal and the locomotive function module, comprise the steps: to send in TV functions module and the locomotive function module module of data before sending data, obtain the operating state of the module of reception data earlier, when the operating state of the module of described reception data does not need to wake up, directly send data, otherwise after waking the module of described reception data up, send data to it again.
6. method as claimed in claim 5 is characterized in that, the described operating state that does not need to wake up is a high frequency master clock pattern.
7. method as claimed in claim 6 is characterized in that, the operating state that described needs wake up is a low-frequency clock stand-by operation state.
8. method as claimed in claim 7, it is characterized in that, when the module of described transmission data is waken the module of described reception data up, send the module of interrupt signal to described reception data, after the module of described reception data is received described interrupt signal, described low-frequency clock stand-by operation state is switched to the master clock pattern of high frequency.
9. method as claimed in claim 8, it is characterized in that, under described high frequency master clock pattern, described TV functions module and locomotive function module be output port output high level in working order, under low-frequency clock stand-by operation state, described TV functions module and locomotive function module be the output port output low level in working order.
CN2007101631063A 2007-10-08 2007-10-08 Method to transmit data between television functional module and mobile functional module and corresponding terminal Expired - Fee Related CN101141739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101631063A CN101141739B (en) 2007-10-08 2007-10-08 Method to transmit data between television functional module and mobile functional module and corresponding terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101631063A CN101141739B (en) 2007-10-08 2007-10-08 Method to transmit data between television functional module and mobile functional module and corresponding terminal

Publications (2)

Publication Number Publication Date
CN101141739A CN101141739A (en) 2008-03-12
CN101141739B true CN101141739B (en) 2010-09-29

Family

ID=39193418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101631063A Expired - Fee Related CN101141739B (en) 2007-10-08 2007-10-08 Method to transmit data between television functional module and mobile functional module and corresponding terminal

Country Status (1)

Country Link
CN (1) CN101141739B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252733B (en) * 2008-03-29 2012-04-11 中兴通讯股份有限公司 Communicating method and communicating circuit between mobile terminal and modules
CN102004535B (en) * 2009-09-02 2015-06-17 康佳集团股份有限公司 Electronic system and resetting method thereof
KR101355977B1 (en) * 2012-05-24 2014-02-05 현대모비스 주식회사 Telematics Communication System and Method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496181A (en) * 2002-09-17 2004-05-12 ���ǵ�����ʽ���� Device and method for displaying TV video signal and data for mobile communication terminal
CN1838683A (en) * 1998-05-08 2006-09-27 奥林吉个人通讯服务公司 Mobile videophone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838683A (en) * 1998-05-08 2006-09-27 奥林吉个人通讯服务公司 Mobile videophone
CN1496181A (en) * 2002-09-17 2004-05-12 ���ǵ�����ʽ���� Device and method for displaying TV video signal and data for mobile communication terminal
CN1747512A (en) * 2002-09-17 2006-03-15 三星电子株式会社 The apparatus and method that in mobile communication terminal, show television video frequency signal and data

Also Published As

Publication number Publication date
CN101141739A (en) 2008-03-12

Similar Documents

Publication Publication Date Title
CN108768434B (en) Radio frequency circuit, terminal and signal transmission control method
CN100562153C (en) Device in the mobile communication terminal detects
EP2106184B1 (en) Power managing method applied to a wireles network apparatus and power management thereof
CN102143100A (en) Method and terminal equipment for automatically tuning impedance match of multiband aerial
CN100444670C (en) Handset in GSM/PHS dual modes, and method for sending data between two modules
CN101141739B (en) Method to transmit data between television functional module and mobile functional module and corresponding terminal
CN110999419A (en) Antenna switching method and device
CN101252733B (en) Communicating method and communicating circuit between mobile terminal and modules
CN101847135B (en) Series-connected communication system and communication method thereof
CN1913354B (en) System and method for recovering power supply to electronic device
CN105406883A (en) Wireless communication device
CN101599774A (en) The method of a kind of portable terminal and transmission signals thereof
CN101707797A (en) Method and device for reducing power consumption of double-mode single-standby mobile terminal
CN207573636U (en) A kind of Novel walkie talkie system
CN113825106B (en) Digital transmission system of voice broadcast signals along coal mine and implementation method
CN1394395A (en) Radio communication apparatus, radio communication system and communication apparatus
CN211457135U (en) Communication radio station
CN201163725Y (en) Main and standby power self-switching device
CN204948170U (en) A kind of device based on windows desktop version operating system
CN102256193B (en) Audio signal receiving device and audio signal transmission system
CN101442690A (en) Detection method and apparatus capable of saving power consumption of communication apparatus
CN100389574C (en) A mobile terminal for close range wireless communication and realizing method thereof
CN200941676Y (en) Receiver having weather information broadcast function
CN204498206U (en) The telephone system of pluggable telephone adapter
CN115665637B (en) Public address telephone, public address telephone system and control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100929

Termination date: 20161008