CN101242607A - An intelligent mobile phone based on dual-CPU architecture and communication control method - Google Patents
An intelligent mobile phone based on dual-CPU architecture and communication control method Download PDFInfo
- Publication number
- CN101242607A CN101242607A CNA2008100346428A CN200810034642A CN101242607A CN 101242607 A CN101242607 A CN 101242607A CN A2008100346428 A CNA2008100346428 A CN A2008100346428A CN 200810034642 A CN200810034642 A CN 200810034642A CN 101242607 A CN101242607 A CN 101242607A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- iow
- dual
- dlc0
- intelligent mobile
- 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
Landscapes
- Telephone Function (AREA)
Abstract
The invention relates to a smart mobile phone with a structure of double CPU, wherein AP and CP are under dormancy status in most case during standby state, and a communication controlling method. When only AP is operated by user, CP could still stay in dormancy, when CP needs to be operated by user, AP would actively wake CP up, make sure CP is ready for receiving data through a hand-shake process, then transmit data; when CP has URC for uploading, it would wake AP up, make sure AP is ready through a hand-shake process, complete transmission of data; when accidental restart of CP occurs during working process, firstly wake AP up, and generate a 100ms interrupt of negative edge at ION pin to inform AP initialize CP once again to enter MUX mode. Hand-shake processes for waking up abide by 3GPP GSM07.10 electricity saving control protocol, and are all completed in control channel DLC0. The invention realizes stabilized communication between the two, and control energy consumption of mobile phone to the lowest.
Description
Technical field
The present invention relates to a kind of intelligent mobile phone based on dual-CPU architecture and communicating control method thereof, relate in particular to the mutual arouse machine processed between two CPU of two CPU field of mobile phones.
Background technology
Smart mobile phone, promptly Smartphone also can be described as multimedia handset.Most of smart mobile phones all can move popular operating system, as Symbian, WindowsMobile, the operating system that Palm and Linux etc. are powerful, but system task burdensome, so present most smart mobile phone adopts application processor (Application Processor, abbreviation AP)+baseband processor (Cooperate Processor, abbreviation CP) system architecture, application processor is exclusively used in the operation system and handles the multimedia application of high load capacity, the communication module at baseband processor place is finished the function mutual with wireless network, as makes a phone call, send short messages, functions such as online.This framework can the diversified characteristics of the present network formats of fine adaptation, because only need change the mobile phone that just can make another standard to module, hold the major part work of having been done at AP before having kept; Also can make dual-mode handset under to the less modification of former framework.So adopt the based on dual-CPU architecture highly versatile, and be convenient to realize, but the communication mode between AP and the module becomes an important problem, at first need to guarantee the reliable transmission of interface data, secondly, interface should not be too complicated, the difficulty that the complex interface design can increase software cost and integrate debugging.
Summary of the invention
The object of the present invention is to provide a kind of intelligent mobile phone based on dual-CPU architecture and communication control method thereof, it comprises switching on and shutting down, the sleep controlling mechanism of application processor to baseband processor, the mutual arouse machine processed between the two and the notification mechanisms of module abnormal restarting etc., promptly realized stable communication between the two, made the power consumption of mobile phone drop to minimum again.
For achieving the above object, technical scheme of the present invention is:
A kind of intelligent mobile phone based on dual-CPU architecture, it comprises application processor AP and baseband processor CP, it is characterized in that: the WKUPCP end of this AP connects the INT end of CP, the INTWAKE end of this AP connects the IOW end of CP, the CP_STATUS of this AP connects the ION end of CP, the RXD of this AP holds with TXD and RXD that the TXD end is connected CP respectively, and the RTS of this AP holds with CTS and RTS that the CTS end is connected CP respectively, and the POWER of this AP holds IOP and the IOR end that is connected CP respectively with RST; In these ports:
WKUPCP is a delivery outlet, and AP triggers CP by this end and interrupts, thereby wakes CP up;
RXD, TXD are the data port of universal asynchronous reception/dispensing device (UniversalAsynchronous Receiver/Transmitter, abbreviation UART) serial ports of AP and CP, are used to carry out the full duplex transmission of data;
RTS, CTS are the flow control signal of serial ports, are used for high speed data transfers;
INT is the input port, and AP triggers the CP external interrupt by this pin, wakes CP up;
CP_STATUS is the input port, for high, has a trailing edge level when starting unusually when CP normally moves;
POWER is a delivery outlet, the switching on and shutting down of control CP;
RST is a delivery outlet, and control CP's restarts;
IOW is a delivery outlet, shows the state of CP, and sleep or operate as normal are used to wake up AP;
ION is a delivery outlet, shows whether operate as normal of CP, has 100ms during abnormal restarting to the 200ms low level;
IOP and IOR are the input ports, are switching on and shutting down and the Restart Signal receiving terminal of CP.
The control of AP end GPIO pin is driven by operating system and realizes that still concrete method call is finished by upper layer application, and the mechanism that provides promptly is provided, and uses implementation strategy.The realization of whole proposal needs CP end software to cooperate.
A kind of communication control method of intelligent mobile phone based on dual-CPU architecture uses the smart mobile phone of the above to realize, it is characterized in that: adopt less interface line, realize the requirement of communication stable between AP and the CP and communication terminal economize on electricity;
When the user need operate CP, AP at first exported WKUPCP and wakes dormant CP up for the rising edge pulse, constantly sends handshake 0xF9 from DLC0 then, and after CP received handshake, it was high level that transmission 0xF9F9F9 replys and put IOW.
Self restart when the inner collapse of CP, at first the rising edge by the IOW pin interrupts waking up AP, then can tell AP to the low level of 200ms at ION output 100ms, and the module abnormal restarting need reinitialize.
The communication control method of described intelligent mobile phone based on dual-CPU architecture is characterized in that: the concrete steps of this AP control CP sleep are,
After step 1:AP receives the response of an order at every turn, need whether the command queue of all passages of detection is empty; If be empty, from control channel DLC0 output PSC frame " F903030543003DF9 ", with reference to the 5.4.6.3.2 chapters and sections of 3GPP TS 27.010 V5.0.0.;
Step 2:CP replys a PSC frame of AP " F901EF04004101D3F9 " at DLC0;
Step 3: after the CP end confirmed there is not task, putting IOW was that low level is gone forward side by side into the sleep state.
The communication control method of described intelligent mobile phone based on dual-CPU architecture is characterized in that: the concrete steps that this CP wakes AP up are,
Step 1:CP has URC to report, initialization UART;
It is high level that step 2:CP is provided with IOW, triggers AP and interrupts, and does not forfeit out handshake 0xF9;
Step 3:AP INTWAKE pin receives that rising edge interrupts, and switches to normal mode of operation from sleep pattern;
Step 4:AP replys CP 0xF9F9F9, shows to be ready to receive data;
Step 5:CP receives confirmation signal, just stops to send handshake, sends data by the MUX passage that removes DLC0.
The communication control method of described intelligent mobile phone based on dual-CPU architecture is characterized in that: the concrete steps that this AP wakes CP up are,
Step 1:AP is provided with the WKUPCP pin and produces a rising edge, triggers CP and interrupts, and constantly send handshake 0xF9 from control channel DLC0;
Step 2:CP enters normal mode of operation from sleep pattern, opens UART, IOW is set for high, and replys 0xF9F9F9, shows to be ready to receive data;
Step 3:AP receives confirmation signal, just stops to send handshake, sends data by the MUX passage that removes DLC0.
The communication control method of described intelligent mobile phone based on dual-CPU architecture is characterized in that: this CP abnormal restarting notifies the concrete steps of AP to be,
Step 1: when the inner collapse of CP, restart, can interrupt waking up AP by the rising edge of IOW pin at initial phase because the effect of house dog is understood self;
Step 2: then can tell AP to the low level to 200ms at ION output 100ms, the module abnormal restarting need reinitialize;
Step 3:AP receives that the trailing edge of ION pin interrupts, and AP reinitializes CP, makes it enter normal mode of operation.
Mentality of designing of the present invention is: owing to have application processor and baseband processor to work simultaneously in a mobile phone, so smart mobile phone power consumption unavoidably can be bigger, for reducing the smart mobile phone power consumption as far as possible, in most cases AP and CP should be in resting state to mobile phone in the standby process.In the time of user operation A P, CP still can be in sleep state, and when the user need operate CP, AP can initiatively wake CP up, when confirming that by a handshake procedure CP has been ready to receive data, sends data then; Give the correct time on the reporting information (URC) when CP has initiatively, can wake AP up, confirm that by a handshake procedure AP is ready to, finish the transmission of data then; When the phenomenon that CP may meet accident and restart in the course of the work, at first wake AP produces a 100ms then at the ION pin trailing edge interruption up, notice AP reinitializes CP and enters multiplex adapter (Multeplexer, abbreviation MUX) pattern.Handshake procedure when waking up is mutually followed 3GPP GSM07.10 economize on electricity control protocol, all finishes at control channel DLC0.
By said structure, the present invention mainly has following advantage:
Adopt less interface between AP and the CP, realize between the two stabilized communication and the economize on electricity requirement of portable terminal.
Description of drawings
Fig. 1 is a system construction drawing of the present invention.
Fig. 2 is the pin level view when AP wakes CP up in the inventive method.
Fig. 3 is the pin output level view during CP abnormal restarting in the inventive method.
Embodiment
See also Fig. 1, the invention discloses a kind of intelligent mobile phone based on dual-CPU architecture, it comprises application processor AP and baseband processor CP, it is characterized in that: the WKUPCP end of this AP connects the INT end of CP, the IOW end of the INTWAKE end connection CP of this AP, the CP_STATUS of this AP connects the ION end of CP, and the RXD of this AP holds with TXD and RXD that the TXD end is connected CP respectively, the RTS of this AP holds with CTS and RTS that the CTS end is connected CP respectively, and the POWER of this AP holds with IOP and IOR that the RST end is connected CP respectively; In these ports:
WKUPCP is a delivery outlet, and AP triggers CP by this end and interrupts, thereby wakes CP up; RXD, TXD are the data port of universal asynchronous reception/dispensing device (UniversalAsynchronous Receiver/Transmitter, abbreviation UART) serial ports of AP and CP, are used to carry out the full duplex transmission of data;
RTS, CTS are the flow control signal of serial ports, are used for high speed data transfers;
INT is the input port, and AP triggers the CP external interrupt by this pin, wakes CP up;
CP_STATUS is the input port, for high, has a trailing edge level when starting unusually when CP normally moves;
POWER is a delivery outlet, the switching on and shutting down of control CP;
RST is a delivery outlet, and control CP's restarts;
IOW is a delivery outlet, shows the state of CP, and sleep or operate as normal are used to wake up AP;
ION is a delivery outlet, shows whether operate as normal of CP, has 100ms during abnormal restarting to the 200ms low level;
IOP and IOR are the input ports, are switching on and shutting down and the Restart Signal receiving terminal of CP.
The control of AP end GPIO pin is driven by operating system and realizes that still concrete method call is finished by upper layer application, and the mechanism that provides promptly is provided, and uses implementation strategy.The realization of whole proposal needs CP end software to cooperate.
Above-mentioned AP and CP can adopt the 5209EDGE module of the S3C2442 and the NXP of Samsung respectively.
The communication control method flow process of using the smart mobile phone of above-mentioned framework is to join with CP end communication module software by the operating system driving of AP end to implement, and concrete method call is to be finished by upper layer application; Details are as follows:
As Fig. 2, when the user need operate CP, AP at first exported WKUPCP and wakes dormant CP up for the rising edge pulse, constantly sends handshake 0xF9 from DLC0 then, and after CP received handshake, it was high level that transmission 0xF9F9F9 replys and put IOW.
As Fig. 3, when the inner collapse of CP, self restart, at first the rising edge by the IOW pin interrupts waking up AP, then can tell AP to the low level of 200ms at ION output 100ms, and the module abnormal restarting need reinitialize.
More specifically:
(1) concrete steps of AP control CP sleep are,
After step 1:AP receives the response of an order at every turn, need whether the command queue of all passages of detection is empty; If be empty, from control channel DLC0 output PSC frame " F903030543003DF9 ", with reference to the 5.4.6.3.2 chapters and sections of 3GPP TS 27.010 V5.0.0.;
Step 2:CP replys a PSC frame of AP " F901EF04004101D3F9 " at DLC0;
Step 3: after the CP end confirmed there is not task, putting IOW was that low level is gone forward side by side into the sleep state.
(2) CP wakes the concrete steps of AP up and is,
Step 1:CP has URC to report, initialization UART;
It is high level that step 2:CP is provided with IOW, triggers AP and interrupts, and does not forfeit out handshake 0xF9;
Step 3:AP INTWAKE pin receives that rising edge interrupts, and switches to normal mode of operation from sleep pattern;
Step 4:AP replys CP 0xF9F9F9, shows to be ready to receive data;
Step 5:CP receives confirmation signal, just stops to send handshake, sends data by the MUX passage that removes DLC0.
(3) AP wakes the concrete steps of CP up and is,
Step 1:AP is provided with the WKUPCP pin and produces a rising edge, triggers CP and interrupts, and constantly send handshake 0xF9 from control channel DLC0;
Step 2:CP enters normal mode of operation from sleep pattern, opens UART, IOW is set for high, and replys 0xF9F9F9, shows to be ready to receive data;
Step 3:AP receives confirmation signal, just stops to send handshake, sends data by the MUX passage that removes DLC0.
(4) concrete steps of CP abnormal restarting notice AP are,
Step 1: when the inner collapse of CP, restart, can interrupt waking up AP by the rising edge of IOW pin at initial phase because the effect of house dog is understood self;
Step 2: then can tell AP to the low level to 200ms at ION output 100ms, the module abnormal restarting need reinitialize;
Step 3:AP receives that the trailing edge of ION pin interrupts, and AP reinitializes CP, makes it enter normal mode of operation.
Being preferred embodiment of the present invention only in sum, is not to be used for limiting practical range of the present invention.Be that all equivalences of doing according to the content of the present patent application claim change and modification, all should be technology category of the present invention.
Claims (6)
1, a kind of intelligent mobile phone based on dual-CPU architecture, it comprises application processor AP and baseband processor CP, it is characterized in that: the WKUPCP end of this AP connects the INT end of CP, the INTWAKE end of this AP connects the IOW end of CP, the CP_STATUS of this AP connects the ION end of CP, the RXD of this AP holds with TXD and RXD that the TXD end is connected CP respectively, and the RTS of this AP holds with CTS and RTS that the CTS end is connected CP respectively, and the POWER of this AP holds IOP and the IOR end that is connected CP respectively with RST; In these ports:
WKUPCP is a delivery outlet, and AP triggers CP by this end and interrupts, thereby wakes CP up;
RXD, TXD are the data port of the UART serial ports of AP and CP, are used to carry out the full duplex transmission of data;
RTS, CTS are the flow control signal of serial ports, guarantee the integrality of high speed data transfers;
INT is the input port, and AP triggers the CP external interrupt by this pin, wakes CP up;
CP_STATUS is the input port, for high, has a trailing edge level when starting unusually when CP normally moves;
POWER is a delivery outlet, the switching on and shutting down of control CP;
RST is a delivery outlet, and control CP's restarts;
IOW is a delivery outlet, shows the state of CP, and sleep or operate as normal are used to wake up AP;
ION is a delivery outlet, shows whether operate as normal of CP, has 100ms during abnormal restarting to the 200ms low level;
IOP and IOR are the input ports, are switching on and shutting down and the Restart Signal receiving terminal of CP.
2, a kind of communication control method of intelligent mobile phone based on dual-CPU architecture uses smart mobile phone as claimed in claim 1 to realize, it is characterized in that: adopt less interface line, realize the requirement of communication stable between AP and the CP and communication terminal economize on electricity;
When the user need operate CP, AP at first exported WKUPCP and wakes dormant CP up for the rising edge pulse, constantly sends handshake 0xF9 from DLC0 then, and after CP received handshake, it was high level that transmission 0xF9F9F9 replys and put IOW.
Self restart when the inner collapse of CP, at first the rising edge by the IOW pin interrupts waking up AP, then can tell AP to the low level of 200ms at ION output 100ms, and the module abnormal restarting need reinitialize.
3, the communication control method of intelligent mobile phone based on dual-CPU architecture according to claim 2 is characterized in that: the concrete steps of this AP control CP sleep are,
After step 1:AP receives the response of an order at every turn, need whether the command queue of all passages of detection is empty; If be empty, from control channel DLC0 output PSC frame " F903030543003DF9 ", with reference to the 5.4.6.3.2 chapters and sections of 3GPP TS 27.010 V5.0.0.;
Step 2:CP replys a PSC frame of AP " F901EF04004101D3F9 " at DLC0;
Step 3: after the CP end confirmed there is not task, putting IOW was that low level is gone forward side by side into the sleep state.
4, the communication control method of intelligent mobile phone based on dual-CPU architecture according to claim 2 is characterized in that: the concrete steps that this CP wakes AP up are,
Step 1:CP has URC to report, initialization UART;
It is high level that step 2:CP is provided with IOW, triggers AP and interrupts, and does not forfeit out handshake 0xF9;
Step 3:AP INTWAKE pin receives that rising edge interrupts, and switches to normal mode of operation from sleep pattern;
Step 4:AP replys CP 0xF9F9F9, shows to be ready to receive data;
Step 5:CP receives confirmation signal, just stops to send handshake, sends data by the MUX passage that removes DLC0.
5, the communication control method of intelligent mobile phone based on dual-CPU architecture according to claim 2 is characterized in that: the concrete steps that this AP wakes CP up are,
Step 1:AP is provided with the WKUPCP pin and produces a rising edge, triggers CP and interrupts, and constantly send handshake 0xF9 from control channel DLC0;
Step 2:CP enters normal mode of operation from sleep pattern, opens UART, IOW is set for high, and replys 0xF9F9F9, shows to be ready to receive data;
Step 3:AP receives confirmation signal, just stops to send handshake, sends data by the MUX passage that removes DLC0.
6, the communication control method of intelligent mobile phone based on dual-CPU architecture according to claim 2 is characterized in that: this CP abnormal restarting notifies the concrete steps of AP to be,
Step 1: when the inner collapse of CP, restart, can interrupt waking up AP by the rising edge of IOW pin at initial phase because the effect of house dog is understood self;
Step 2: then can tell AP to the low level to 200ms at ION output 100ms, the module abnormal restarting need reinitialize;
Step 3:AP receives that the trailing edge of ION pin interrupts, and AP reinitializes CP, makes it enter normal mode of operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008100346428A CN101242607A (en) | 2008-03-14 | 2008-03-14 | An intelligent mobile phone based on dual-CPU architecture and communication control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008100346428A CN101242607A (en) | 2008-03-14 | 2008-03-14 | An intelligent mobile phone based on dual-CPU architecture and communication control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101242607A true CN101242607A (en) | 2008-08-13 |
Family
ID=39933762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008100346428A Pending CN101242607A (en) | 2008-03-14 | 2008-03-14 | An intelligent mobile phone based on dual-CPU architecture and communication control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101242607A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102096649A (en) * | 2011-02-10 | 2011-06-15 | 中兴通讯股份有限公司 | UART-based sleep wakeup method and device |
CN104917619A (en) * | 2014-03-14 | 2015-09-16 | 海尔集团公司 | Wakeup control method and terminal |
CN106372012A (en) * | 2016-08-25 | 2017-02-01 | 长沙丰灼通讯科技有限公司 | Serial port awakening system not using handshake control line and serial port communication method |
CN108763135A (en) * | 2018-05-31 | 2018-11-06 | 北京达佳互联信息技术有限公司 | Dual-cpu communication system starts method and electronic equipment |
CN109272724A (en) * | 2017-07-18 | 2019-01-25 | 深圳市道通智能航空技术有限公司 | A kind of idle method, device and remote controler |
-
2008
- 2008-03-14 CN CNA2008100346428A patent/CN101242607A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102096649A (en) * | 2011-02-10 | 2011-06-15 | 中兴通讯股份有限公司 | UART-based sleep wakeup method and device |
WO2012106973A1 (en) * | 2011-02-10 | 2012-08-16 | 中兴通讯股份有限公司 | Uart-based wake-up from sleep method and device |
CN102096649B (en) * | 2011-02-10 | 2014-12-10 | 中兴通讯股份有限公司 | UART-based sleep wakeup method and device |
CN104917619A (en) * | 2014-03-14 | 2015-09-16 | 海尔集团公司 | Wakeup control method and terminal |
CN106372012A (en) * | 2016-08-25 | 2017-02-01 | 长沙丰灼通讯科技有限公司 | Serial port awakening system not using handshake control line and serial port communication method |
CN106372012B (en) * | 2016-08-25 | 2018-12-25 | 长沙丰灼通讯科技有限公司 | A kind of serial ports wake-up system and serial port communication method without using control line of shaking hands |
CN109272724A (en) * | 2017-07-18 | 2019-01-25 | 深圳市道通智能航空技术有限公司 | A kind of idle method, device and remote controler |
CN108763135A (en) * | 2018-05-31 | 2018-11-06 | 北京达佳互联信息技术有限公司 | Dual-cpu communication system starts method and electronic equipment |
CN108763135B (en) * | 2018-05-31 | 2019-07-19 | 北京达佳互联信息技术有限公司 | Dual-cpu communication system, starting method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101242447B (en) | An intelligent mobile phone based on dual-CPU architecture and communication control method | |
CN100373299C (en) | Method for controlling data communication between two processor and bi-processor device | |
US8219721B2 (en) | Mobile terminal and switching method for controlling data transmission via high speed or low speed interfaces based on preset threshold | |
KR101576142B1 (en) | Apparatus and method for managementing power of wlan module in portable terminal | |
EP1628416B1 (en) | Method and system for reducing power consumption of IRDA enabled handsets by turning on/off an IRDA port dynamically | |
CN102695302B (en) | System and method for expanding mobile communication function of portable terminal electronic equipment | |
US10743258B2 (en) | Method of Bluetooth communication giving consideration to both communication speed and power consumption and a terminal thereof | |
US8838032B2 (en) | Communication terminal and communication control method | |
WO2017166541A1 (en) | User device and method for waking from hibernation, and computer storage medium | |
WO2012027991A1 (en) | Method, device and system for bidirectional wake-up based on universal serial bus | |
CN101504565A (en) | Method for awakening chip module | |
US8792827B2 (en) | Short range wireless communication apparatus | |
CN101478607A (en) | Electric power management apparatus and method for mobile terminal based on dual processor | |
CN101242607A (en) | An intelligent mobile phone based on dual-CPU architecture and communication control method | |
EP2533580A1 (en) | Method for entering idle mode and mobile terminal for implementing such method | |
CN104411003A (en) | Dormancy wakeup control method and system of wireless communication equipment | |
CN104469905A (en) | Method and system for reducing idle power consumption of NFC chip | |
CN102572119A (en) | Mobile terminal and power-saving method thereof | |
CN100388841C (en) | Method for controlling double-mode terminal and between its internal chips | |
CN101252733B (en) | Communicating method and communicating circuit between mobile terminal and modules | |
CN100444670C (en) | Handset in GSM/PHS dual modes, and method for sending data between two modules | |
CN106413062A (en) | User equipment and sleep wake-up method | |
CN103106757B (en) | A kind of bluetooth is waken the method for pos machine up | |
WO2012106948A1 (en) | Network connection method and communication terminal | |
CN103813421A (en) | Intelligent mobile terminal electricity-saving method and intelligent mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20080813 |