Movatterモバイル変換


[0]ホーム

URL:


CN101431241B - Method and apparatus for charging dual-core mobile phone in power-off state and processing power-on problem caused by charging - Google Patents

Method and apparatus for charging dual-core mobile phone in power-off state and processing power-on problem caused by charging
Download PDF

Info

Publication number
CN101431241B
CN101431241BCN2007100478314ACN200710047831ACN101431241BCN 101431241 BCN101431241 BCN 101431241BCN 2007100478314 ACN2007100478314 ACN 2007100478314ACN 200710047831 ACN200710047831 ACN 200710047831ACN 101431241 BCN101431241 BCN 101431241B
Authority
CN
China
Prior art keywords
charging
primary processor
baseband chip
charger
mobile phone
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
CN2007100478314A
Other languages
Chinese (zh)
Other versions
CN101431241A (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.)
Shanghai Simcom Ltd
Original Assignee
Shanghai Simcom Ltd
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 Shanghai Simcom LtdfiledCriticalShanghai Simcom Ltd
Priority to CN2007100478314ApriorityCriticalpatent/CN101431241B/en
Publication of CN101431241ApublicationCriticalpatent/CN101431241A/en
Application grantedgrantedCritical
Publication of CN101431241BpublicationCriticalpatent/CN101431241B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a method for charging a dual-core mobile phone in a shutdown state and handling the problem of startup caused by charging. The mobile phone is equipped with a charger (6), and meanwhile, the mobile phone can also be charged by a USB wire connecting a computer (7), whereas, the allowable maximum charging currents are often different. When the mobile phone is charged in the shutdown state, the CPU in a main processor (1) is required to be started, and whether the mobile phone is charged by the charger (6) or the USB wire is judged, so as to determine the charging current; the charging rate and the equipment safety are required to be guaranteed, at the same time, friendly prompting messages and charging cartoons are required to be displayed for users, and simple and convenient operation methods are provided. The invention achieves the purpose that the charging cartoons and the prompting messages can be rapidly displayed after a dual-core windows mobile phone in the shutdown state is inserted into the charger (6) or the computer (7) connecting the USB wire, and solves the problem that the startup of the windows system is too slow; and meanwhile, the users are allowed to carry out simple operations and determine the charging current by software so as to be compatible to the processing procedure of national-standard and non-national-standard chargers (6).

Description

Under the dual-core mobile phone off-mode, charging and charging cause starting processing method and device
Technical field
The present invention relates to processing method and circuit structure that a kind of double-core windows mobile phone charges and causes thus starting shooting under off-mode.
Background technology
For the convenience of the user, a lot of mobile phones also allow by the USB line that connects computer, mobile phone to be charged when being equipped with charger, and the maximum charging current that charger and USB line allow is often different.When mobile phone charges under off-mode, need to start CPU, to current be to use the charging of charger or USB interface supply lines to judge, with the charging current that determines to use, both required to guarantee charging rate, also require the safety of assurance equipment, also need simultaneously to show friendly information, charging animation to the user, simple and convenient method of operation is provided.
Summary of the invention
The purpose of this invention is to provide a kind of double-core windows mobile phone charger or rear charging animation, information of showing rapidly of USB line insertion under off-mode of realizing, allow the user carry out easily some simple operationss and can determine charging current with the processing method of compatible GB and non-GB charger by software, and corresponding charging device.
Technical scheme of the present invention is as follows:
Cause the processing unit of starting shooting according to charging under a kind of dual-core mobile phone off-mode of the present invention and charging, comprise primary processor, it is responsible for operation system and application program;
Baseband chip, it is responsible for moving communication protocol stack; And battery, it is responsible for system power supply, is characterised in that:
A, at baseband chip one end, establish Power Management Unit, make primary processor, baseband chip, Power Management Unit and battery become two-way circuit to connect with serial bus successively, be responsible for powering on to primary processor by baseband chip during start;
B, at baseband chip one end, if charge controlling chip, and establish USB interface in primary processor one side, make primary processor, baseband chip, charge controlling chip and battery become two-way circuit to connect with serial bus successively, and currently by the primary processor judgement be charger or charged by the computer terminal that connects with usb bus;
The charging supply line of C, charger for mobile phone or the USB line that is connected with computer connects battery through charge controlling chip respectively, is to be determined the size of charging current by charge controlling chip after charger or USB by primary processor judgement charging source again;
Pass through the UART transmission information between D, primary processor and baseband chip, the primary processor end with the ring in UART as wake source, as wake source, the dsr with primary processor represents oneself state to baseband chip simultaneously with the dtr in primary processor, forms and guarantees two-way reliable communication structure.
Particularly, described charger for mobile phone comprises GB charger and non-GB charger.
Belong to same total technical conceive, cause the processing method of starting shooting according to charging under a kind of dual-core mobile phone off-mode of the present invention and charging, comprise step:
S1, charger or computer are inserted USB interface, and cause Power Management Unit to start and judge that the voltage of battery arrives threshold value? if reach threshold value, start baseband chip and enter the charging control flow,
S2, baseband chip judges whether the voltage of battery reaches the threshold value that starts primary processor, if start primary processor just reach threshold value, otherwise, with low current charge until voltage reaches the threshold value that starts primary processor,
S3, primary processor first moves bootloader after starting, and send expansion AT command to baseband chip, inquiry start reason, if the information that baseband chip returns is " charging causes start ", just enter the charging process flow process of primary processor end, otherwise, load Windows in internal memory, and the entry address of PC being revised as windows
S4, primary processor enumerates mode by USB and judges and currently provide charging to determine charging current to battery with charger or the computer that inserts USB interface,
S5, after determining the size of charging current, primary processor carries out initialization LCD and lcd controller work, carries out screen display work, then sign on screen in display reminding information on screen and the first width pattern of charging animation, afterwards, the primary processor end begins to carry out one section cyclic program
S6, in each circulation, whether program checkout receives that customer requirements start shooting and press particular key, if the start event detected, jumps out circulation, send expansion AT command to baseband chip, or in inspection FIFO, whether data arranged,
S7If, detect in serial ports FIFO and have data, it is read in the buffer that opens up in RAM, whether the data that reexamine in buffer comprise complete AT instruction, if comprise the AT instruction, press the content of AT order and carry out handling procedure, otherwise, data just kept, the data splicing that is used for and collects next time
S8, by above-mentioned steps after the AT handling procedure is carried out or data collect complete after, according to current whether arrival upgrade motion picture time and battery and whether be full of electricity screen pattern is processed,
S9, detect whether unattended for a long time, if primary processor notice baseband chip, then close screen, and the wake source of user's wake source ring and baseband chip is set, and enters low power consumpting state, otherwise, return to S6, again begin circulation,
S10, if primary processor is waken up, and detects wake source, if the user wakes up, display frame forwards S to6, begin circulation, if baseband chip wakes up, at first confirm to wake reason up, if battery is full, open screen, display reminding information and picture if need not point out the user, are closed screen.
Advantage of the present invention is not only easy to operate but also guarantee security of operation, practical.
Description of drawings
Fig. 1 is the block diagram of hardware unit of the present invention.
Fig. 2 is the embodiments of the invention flow chart.
Embodiment
Provide a preferred embodiment of the present invention below in conjunction with Fig. 1 and Fig. 2, to describe technical scheme of the present invention in detail.
In this example, there is a primary processor (AP) 1 to be responsible for operation system and application program on mobile phone, separately has a baseband chip 2 to be responsible for the operation communication protocol stack.Keep being connected with the mobile network connection for the ease of processing when the device standby, Power Management Unit (PMU) 3 is connected to the baseband chip end, key is also detected by baseband chip 2 ends, powers on to primary processor 1 by baseband chip 2 is responsible during start.Therefore, under off-mode, after insertingcharger 6 or connectinghost side computer 7 by the USB line, at first baseband chip 2 powers on, and starts primary processor 1 by baseband chip 2.Because main USB correlation function is realized at primary processor 1 end, so USB interface judges that by primary processor 1 is responsible current is charger 6 chargings orcomputer 7 chargings of inserting USB interface at primary processor 1 end.After primary processor 1 started, what judge current insertion by software approach wascharger 6 or USB line connectionhost side computer 7, and such method can the old non-GB charger of Compatibility.Come transmission information by global functional serial port (Full Function UART) between primary processor 1 and baseband chip 2, primary processor 1 end is made as wake source to the ring in global functional serial port, baseband chip 2 ends are made as wake source to the dtr of primary processor 1, dsr with primary processor 1 represents oneself state simultaneously, to guarantee both sides' reliable communications.Adopt simultaneously gradation to collect the smoothness that mode that data splice guarantees animation, avoid data to send being interrupted by other interrupt mode causing flow process to be absorbed in waiting for causing animation to stagnate.
Be generalized into ten steps as described below according to embodiment of the present invention flow chart, be described as follows:
In the 1st step,charger 6 or the USB line that has connectedmain frame 7 insert interface, cause obtaining 5V voltage on the USB interface supply lines, andPower Management Unit 4 can judge whethercurrent battery 5 voltages reach the startup threshold value, if reach, start baseband chip 2, enter this flow process.
The 2nd step, baseband chip 2 readsbattery 5 voltages (with reference to figure 1) byPower Management Unit 3, if voltage reaches the threshold value that starts primary processor 1 starts primary processor 1, otherwise owing to not knowing that upper current limit can only be first with low current charge, until voltage reaches the threshold value that starts primary processor 1.
The 3rd step can directly not enter windows operating system after primary processor 1 starts but at first moves bootloader, and this part is used internal memory in the mode of flat board, carries out in the single task mode.Primary processor 1 can send expansion AT command to baseband chip 2 by serial ports here, and inquiry start reason is if the information that baseband chip 2 ends return represents it is because charging causes start, the charging process flow process that enters primary processor 1 end.Otherwise, load windows in internal memory, then the instruction pointer register of primary processor 1 is revised as the windows entry address.
The 4th step, primary processor 1 is enumerated mode by USB and is judgedcurrent charger 6 or themain frame 7 of USB line connection of using, if can not receive that usb reset interrupts, thinkingcharger 6, charging current is decided to be the electric current that charger allows, is 700mA in this example, if USB line, the size of charging current need to be applied for tomain frame 7 ends, is 500mA in this example, the maximum that this allows for usb protocol., preserve to guaranteemain frame 7 end equipment with low current charge if the application electric current is failed.After having determined charging current, need to send related expanding AT order to baseband chip 2 ends by serial ports, baseband chip is controlled charging chip 4 (with reference to figure 1) and is charged with respective electrical stream.
In the 5th step, after determining charging current, primary processor 1 need to carry out the work such as initialization display and display controller, carries out the work of screen display, then signs on screen in display reminding information on screen and the first width pattern of charging animation.Owing to can not use the file system of windows herein, so picture concerned, character string all can not be stored with document form, can only take to be kept on certain fixed address of nonvolatile memory or preserve in the mode of the constant in program.
Then primary processor 1 end begins to carry out one section cyclic program.Because this section program is carried out outside windows operating system fully, can regard as one independently, system that practical function is very single.
In the 6th step, in each circulation, whether program checkout receives the event of customer requirements start, in this example for pressing particular key.If detect, jump out circulation, send expansion AT command to baseband chip 2, require to open the modules such as radio frequency, in order to realize the functions such as normal conversation, note, then load windows.Otherwise check in serial ports FIFO whether data are arranged.
The 7th step, there are data in serial ports FIFO read data in the buffering area of opening up in internal memory if detect, then check whether the data in buffering area comprise complete AT order, if comprise carry out corresponding processing program according to the content of AT order, if do not comprise keep data, be used for and the data splicing of collecting next time.
In the 8th step, data are collected and completed after (if obtain AT order carry out rear at the AT handling procedure), whether expired screen pattern has been processed according to current renewal motion picture time and thebattery 5 of whether having arrived.
The 9th step, whether unattendedly for a long time detect, if it is then primary processor 1 notice baseband chip 2 closes screen, and the wake source that user's wake source and baseband chip 2 wake primary processor 1 up is set, and enters low power consumpting state, with the quickening charging rate.Otherwise returned to for the 6th step, again begin circulation.
The 10th the step, if primary processor 1 is waken up, detect wake source, if the user wakes up, display frame, forward to the 6th step begin the circulation.If baseband chip 2 wakes up, at first confirm to wake reason up, if the full screen of opening ofbattery 5, display reminding information and picture, if do not need to point out user's the information curtain of not spreading its tail, reentering low power consumpting state after processing, make this event to user transparent.

Claims (3)

CN2007100478314A2007-11-062007-11-06Method and apparatus for charging dual-core mobile phone in power-off state and processing power-on problem caused by chargingExpired - Fee RelatedCN101431241B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2007100478314ACN101431241B (en)2007-11-062007-11-06Method and apparatus for charging dual-core mobile phone in power-off state and processing power-on problem caused by charging

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2007100478314ACN101431241B (en)2007-11-062007-11-06Method and apparatus for charging dual-core mobile phone in power-off state and processing power-on problem caused by charging

Publications (2)

Publication NumberPublication Date
CN101431241A CN101431241A (en)2009-05-13
CN101431241Btrue CN101431241B (en)2013-05-15

Family

ID=40646461

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2007100478314AExpired - Fee RelatedCN101431241B (en)2007-11-062007-11-06Method and apparatus for charging dual-core mobile phone in power-off state and processing power-on problem caused by charging

Country Status (1)

CountryLink
CN (1)CN101431241B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104242398A (en)*2014-09-262014-12-24深圳市中兴移动通信有限公司Mobile terminal, and method and device for regulating charging currents

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101998691B (en)*2009-08-262013-10-16中兴通讯股份有限公司Method, system and device for data transmission
CN102692984B (en)*2011-03-242014-12-10国基电子(上海)有限公司Electronic device
CN103455755B (en)*2012-05-282018-07-03联想(北京)有限公司A kind of electronic equipment and the safety protecting method applied to electronic equipment
CN103491248B (en)*2013-09-162016-01-20华为技术有限公司A kind of method of low electricity start and subscriber equipment
CN104682458A (en)*2013-11-272015-06-03展讯通信(上海)有限公司Charging control device, system, charging chip and user terminal
CN104201748A (en)*2014-09-282014-12-10深圳市伊爱高新技术开发有限公司Intelligent charging circuit
CN105573728B (en)*2014-10-132019-04-23航天信息股份有限公司Charger detection and report method based on Android system
CN104538688B (en)*2014-11-272017-10-20上海热像机电科技股份有限公司A kind of intelligent charging method of embedded mobile phone type thermal imaging system
CN104979867A (en)*2015-02-112015-10-14努比亚技术有限公司Charging management method and apparatus of mobile terminal
CN104660816B (en)*2015-02-132018-09-25青岛海信移动通信技术股份有限公司A kind of method and mobile terminal of display reminding information
CN106325897B (en)*2015-06-192020-10-16南京中兴新软件有限责任公司Method and device for quickly starting mobile terminal
CN105867898A (en)*2015-12-082016-08-17乐视移动智能信息技术(北京)有限公司Method and mobile terminal for realizing wireless charging
CN106980320B (en)*2017-05-182020-06-19上海思岚科技有限公司Robot charging method and device
CN107507373B (en)*2017-08-282020-01-03福建新大陆支付技术有限公司Intelligent POS machine charging acceleration method based on Android system
CN109471666A (en)*2018-11-022019-03-15北京小米移动软件有限公司Charge starting processing method, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN2626115Y (en)*2003-05-162004-07-14上海麦腾电器有限公司A backup UPS capable of charging in shutdown state
CN2850174Y (en)*2005-11-102006-12-20康佳集团股份有限公司Cell phone with USB interface
CN200956575Y (en)*2006-09-272007-10-03青岛海信移动通信技术股份有限公司Charger built-in mobile phone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN2626115Y (en)*2003-05-162004-07-14上海麦腾电器有限公司A backup UPS capable of charging in shutdown state
CN2850174Y (en)*2005-11-102006-12-20康佳集团股份有限公司Cell phone with USB interface
CN200956575Y (en)*2006-09-272007-10-03青岛海信移动通信技术股份有限公司Charger built-in mobile phone

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2004-350013A 2004.12.09

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104242398A (en)*2014-09-262014-12-24深圳市中兴移动通信有限公司Mobile terminal, and method and device for regulating charging currents

Also Published As

Publication numberPublication date
CN101431241A (en)2009-05-13

Similar Documents

PublicationPublication DateTitle
CN101431241B (en)Method and apparatus for charging dual-core mobile phone in power-off state and processing power-on problem caused by charging
US8898492B2 (en)System, method and mobile terminal for sharing battery between mobile terminals
CN102547935B (en)A kind of method and portable router controlling portable router low-power consumption work
TWI309765B (en)Method and apparatus for controlling power supply in a computer system
CN103309835A (en)Universal serial bus device and power supply method thereof
CN112165140B (en)Charging and discharging control method and device and power supply equipment
CN100561926C (en)A kind of remote wakening system and terminal based on WAN module
US20190090195A1 (en)Method of bluetooth communication giving consideration to both communication speed and power consumption and a terminal thereof
CN102651785A (en)Remote wakeup of application processor of mobile device
US8576758B2 (en)Remote wake-up system, WWAM module and terminal
CN109921481A (en)To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated
CN102262432A (en)System and method for automatic rebooting subsequent to crash of Modem of smart phone
US20120198250A1 (en)Portable terminal equipment, a power supply system, and a power supply method and a power supply program for portable terminal equipment
CN106911826A (en)The automation power consumption test method and system of a kind of terminal
CN110716631A (en)Power supply management method, device, equipment and readable storage medium
CN111464671A (en)Electronic equipment and charging method thereof
CN112134337A (en)Power adapter, terminal device, electronic device and charging control method thereof
CN102611078B (en)Portable electronic device and system efficiency adjusting method thereof
CN106921192A (en)Terminal and electricity sharing method
CN103105920A (en) Energy-saving system and energy-saving method
CN113162131A (en)Reverse charging system, reverse charging method and terminal equipment
CN1992611B (en)Mobile computing device and method for receiving data packet thereof
CN1991683B (en)Notebook computer
CN105141714A (en)First mobile equipment, external equipment and second mobile equipment
WO2016198003A1 (en)Mobile terminal power source management method and device, and mobile terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20130515

Termination date:20191106

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp