CN101272550A - System and method for implementing mobile communication apparatus close-down by pulse counting - Google Patents

System and method for implementing mobile communication apparatus close-down by pulse counting Download PDF

Info

Publication number
CN101272550A
CN101272550A CNA200710038404XA CN200710038404A CN101272550A CN 101272550 A CN101272550 A CN 101272550A CN A200710038404X A CNA200710038404X A CN A200710038404XA CN 200710038404 A CN200710038404 A CN 200710038404A CN 101272550 A CN101272550 A CN 101272550A
Authority
CN
China
Prior art keywords
cpld
control module
module
energy supply
user
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.)
Granted
Application number
CNA200710038404XA
Other languages
Chinese (zh)
Other versions
CN101272550B (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.)
Huanda Computer Shanghai Co Ltd
Mitac International Corp
Original Assignee
Mitac International 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 Mitac International Corp filed Critical Mitac International Corp
Priority to CN200710038404XA priority Critical patent/CN101272550B/en
Publication of CN101272550A publication Critical patent/CN101272550A/en
Application granted granted Critical
Publication of CN101272550B publication Critical patent/CN101272550B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

A system using pulse counting for realizing the shutdown of mobile communication equipment is provided. Users send out a shutdown instruction to a central processing module through an operation module. After receiving the shutdown instruction, the central processing module continuously produces a regular pulse to a CPLD power control module which counts the regular pulse. When the CPLD power control module counts to a certain number of continuous pulses and the system is in the power condition, the CPLD power control module sends out a shutdown instruction to a main power module which stops supplying power to the system. The system using the pulse counting for realizing the shutdown of the mobile communication equipment can filter out uncontrollable conditions which are sent out by a CPU to avoid the wrong judgments of CPLD so as to realize the stable shutdown function of software.

Description

Step-by-step counting realizes the system and method for mobile communication equipment shutdown
[technical field]
The present invention relates to a kind of system and method for mobile communication equipment shutdown, particularly relate to a kind of system and method for realizing the mobile communication equipment shutdown with step-by-step counting.
[background technology]
PDA is the abbreviation of Personal Digital Assistant, literally means " personal digital assistant ".This handheld device has been concentrated calculating, phone, multiple functions such as fax and network.It not only can be used to managing personal information (as address list, plan etc.), the more important thing is and can surf the web that transmitting-receiving Email can send a fax, even can also be used as mobile phone and use.Particularly importantly, these functions can realize by wireless mode.Can predict, multi-functional fusions such as the trend of personal digital assistant development is calculated exactly with trend, communicated by letter, network, storage, amusement, ecommerce also become the Mobile Fashion favorites of current cybertimes at last.
Yet when we use personal digital assistant, when if this personal digital assistant uses CPLD (CPLD) to control as main power source, under the interface of operating system (as WinCE), utilize the driving of software to realize that the mode of software shutdown generally is that IO mouth by CPU (central processing unit) sends a high level or low level to CPLD, allows CPLD realize shutdown then.But owing to powering up to CPU when it is resetted, all IO mouths of CPU all can be sent a high level and come out, and CPU just can be working properly after driver loads.Therefore, not under the uncontrollable state before the load driver program, make CPLD produce erroneous judgement probably, cause the system can't normal boot-strap or normal shutdown at CPU.
Therefore, be necessary to provide a kind of system and method for mobile communication equipment shutdown in fact, the system and method for this mobile communication equipment shutdown can avoid the CPLD generation to judge by accident disconnected and the undesired shutdown of system that cause.
[summary of the invention]
In view of this problem, the object of the present invention is to provide a kind of step-by-step counting to realize the system and method for mobile communication equipment shutdown, this system and method can effectively prevent CPU under uncontrollable state, avoids CPLD to produce erroneous judgement and breaks, thereby realize stable software shutdown function.
For achieving the above object, the invention provides the system and method that a kind of step-by-step counting realizes the mobile communication equipment shutdown, this step-by-step counting realizes that mobile communication equipment shutdown system comprises:
User's operational module, this user's operational module is used for providing an operation interface to the user, and the user can send shutdown command by user's operational module, and this user's operational module and a central processing module interconnect;
Central processing module, this central processing module are used to receive the instruction that process user is sent, and it will continue to produce a regular pulses, and send this regular pulses to a CPLD energy supply control module after receiving the shutdown command that user's operational module sends;
The CPLD energy supply control module, this CPLD energy supply control module is used for system power supply is controlled, and this CPLD energy supply control module also comprises a Vcc_IN pin, this Vcc_IN pin is used for judging whether system is in power supply state, this CPLD energy supply control module also is used to receive the regular pulses that central processing module sends, and can count this regular pulses;
Main power source module, this main power source module is used to whole system that power supply is provided.
Especially, also be connected an earth resistance R1 between the described step-by-step counting central processing module of realizing mobile communication equipment shutdown system and the CPLD energy supply control module.
For achieving the above object, the invention provides the method that a kind of step-by-step counting realizes the mobile communication equipment shutdown: this method may further comprise the steps:
A user's operational module receives the shutdown command that the user sends by operation interface and sends this instruction to central processing module;
After the b central processing module receives this shutdown command, continue to produce a regular pulses, and send this regular pulses to the CPLD energy supply control module;
When c CPLD energy supply control module is received this regular pulses, detect whether main power source is powered to system;
D is if detect main power source to system's power supply, and then the CPLD energy supply control module begins the regular pulses counting to being received;
When e count down to a certain number of pulse period when the CPLD energy supply control module, send shutdown command and give the main power source control module;
After f main power source control module receives the shutdown command that the CPLD energy supply control module sends, stop the power supply to system, system shuts down normally with realization.
Especially, described CPLD energy supply control module 9 pulse periods of counting, just send shutdown command, so that the difference of user on can not feeling if having time.
The invention provides the system and method that a kind of step-by-step counting realizes the mobile communication equipment shutdown, this step-by-step counting realizes that the system and method for mobile communication equipment shutdown can prevent effectively that CPU is under uncontrollable state, and can filter out the interference source that occurs immediately, break to avoid CPLD to produce erroneous judgement, thereby realize stable software shutdown function.
[description of drawings]
Fig. 1 is a system architecture diagram of the present invention;
Fig. 2 is a flowchart of the present invention.
[embodiment]
Fig. 1 is a system architecture diagram of the present invention, this system comprises user's operational module 10, central processing module 20, CPLD energy supply control module 30 and main power source module 40, described user's operational module 10 is used for providing an operation interface to the user, the user can send shutdown command by user's operational module 10, and this user's operational module 10 interconnects with central processing module 20;
And be connected an earth resistance R1 between user's operational module 10 and the central processing module 20, central processing module 20 is used to receive the instruction that process user is sent, after it receives the shutdown command that user's operational module 10 sends, to continue to produce a regular pulses, and send this regular pulses to a CPLD energy supply control module 30, this CPLD energy supply control module 30 is used for system power supply is controlled, and this CPLD energy supply control module 30 also comprises a Vcc_IN pin, this Vcc_IN pin is used for judging whether system is in power supply state, this CPLD energy supply control module 30 also is used to receive the regular pulses that central processing module 20 sends, and can count this regular pulses, when CPLD energy supply control module 30 count down to a certain number of consecutive pulses cycle and system and is in power supply state, send a shutdown command to main power source module 40, main power source module 40 stops to power to system.
Fig. 2 is a flowchart of the present invention, and its concrete steps are as follows:
Step 501 user operational module 10 receives the user by operation interface, and the shutdown command that sends also sends this instruction to central processing module 20;
After step 502 central processing module 20 receives this shutdown command, continue to produce a regular pulses, and send this regular pulses to CPLD energy supply control module 30;
When step 503CPLD energy supply control module 30 is received this regular pulses, detect whether main power source is powered to system;
Step 504 is if detect main power source to system's power supply, and then CPLD energy supply control module 30 begins the regular pulses counting to being received;
When step 505 count down to a certain number of pulse period when CPLD energy supply control module 30, send shutdown command and give main power source control module 40;
After step 506 main power source control module 40 receives the shutdown command that CPLD energy supply control module 30 sends, stop the power supply to system, system shuts down normally with realization.
In present embodiment, described regular pulses is cycle 50ms, and duty ratio is 50% regular pulses, and CPLD energy supply control module 30 Ying Yu count down to 9 consecutive pulses cycles, time is just sent shutdown command when being 450ms, so that the user can not feel difference on free.
The system and method for implementing mobile communication apparatus close-down by pulse counting of the present invention compared with prior art makes With step-by-step counting as basis for estimation, rather than use merely high level to live low level as basis for estimation, No matter when cpu reset, disturbing pulse position high potential or electronegative potential, and the interference source to occurring immediately, The judgement that CPLD is made the mistake causes the improper switching on and shutting down of system.

Claims (6)

1. a step-by-step counting realizes the system that mobile communication equipment shuts down, and this system comprises user's operational module, central processing module, CPLD energy supply control module and main power source module, it is characterized in that:
User's operational module, this user's operational module is used for providing an operation interface to the user, and the user can send shutdown command by user's operational module, and this user's operational module and a central processing module interconnect;
Central processing module, this central processing module are used to receive the instruction that process user is sent, and it will continue to produce a regular pulses, and send this regular pulses to a CPLD energy supply control module after receiving the shutdown command that user's operational module sends;
The CPLD energy supply control module, this CPLD energy supply control module is used for system power supply is controlled, and this CPLD energy supply control module also comprises a Vcc_IN pin, this Vcc_IN pin is used for judging whether system is in power supply state, this CPLD energy supply control module also is used to receive the regular pulses that central processing module sends, and can count this regular pulses;
Main power source module, this main power source module is used to whole system that power supply is provided.
2. step-by-step counting as claimed in claim 1 realizes the system of mobile communication equipment shutdown, it is characterized in that: described step-by-step counting realizes also being connected an earth resistance R1 between central processing module and the CPLD energy supply control module of system of mobile communication equipment shutdown.
3. step-by-step counting as claimed in claim 1 realizes the system of mobile communication equipment shutdown, it is characterized in that: the regular pulses that described central processing module produces is cycle 50ms, and duty ratio is 50% regular pulses.
4. a step-by-step counting realizes the method that mobile communication equipment shuts down, and it is characterized in that: this method may further comprise the steps:
A user's operational module receives the shutdown command that the user sends by operation interface and sends this instruction to central processing module;
After the b central processing module receives this shutdown command, continue to produce a regular pulses, and send this regular pulses to the CPLD energy supply control module;
When the cCPLD energy supply control module is received this regular pulses, detect whether main power source is powered to system;
D is if detect main power source to system's power supply, and then the CPLD energy supply control module begins the regular pulses counting to being received;
When e count down to a certain number of pulse period when the CPLD energy supply control module, send shutdown command and give the main power source control module;
After f main power source control module receives the shutdown command that the CPLD energy supply control module sends, stop the power supply to system, system shuts down normally with realization.
5. step-by-step counting as claimed in claim 4 realizes the method for mobile communication equipment shutdown, it is characterized in that: the regular pulses that described central processing module produces is cycle 50ms, and duty ratio is 50% regular pulses.
6. realize the method for mobile communication equipment shutdown as claim 4,5 described step-by-step countings, it is characterized in that: it is the 50ms consecutive pulses cycle that described CPLD energy supply control module Ying Yu count down to 9 cycles, time is when being 450ms, the user just sends shutdown command, so that can not feel difference on free.
CN200710038404XA 2007-03-23 2007-03-23 System and method for implementing mobile communication apparatus close-down by pulse counting Expired - Fee Related CN101272550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710038404XA CN101272550B (en) 2007-03-23 2007-03-23 System and method for implementing mobile communication apparatus close-down by pulse counting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710038404XA CN101272550B (en) 2007-03-23 2007-03-23 System and method for implementing mobile communication apparatus close-down by pulse counting

Publications (2)

Publication Number Publication Date
CN101272550A true CN101272550A (en) 2008-09-24
CN101272550B CN101272550B (en) 2011-06-29

Family

ID=40006182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710038404XA Expired - Fee Related CN101272550B (en) 2007-03-23 2007-03-23 System and method for implementing mobile communication apparatus close-down by pulse counting

Country Status (1)

Country Link
CN (1) CN101272550B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566727A (en) * 2010-12-24 2012-07-11 鸿富锦精密工业(深圳)有限公司 Starting control device and method
CN103592861A (en) * 2013-11-06 2014-02-19 福建三元达软件有限公司 Multifunctional single switch power source management system
CN103605346A (en) * 2013-11-22 2014-02-26 曙光信息产业(北京)有限公司 Master-slave management module failure automatic switching system and realization method thereof
CN106056009A (en) * 2016-05-23 2016-10-26 乐视控股(北京)有限公司 Mobile terminal power off control apparatus and method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2190838Y (en) * 1993-05-06 1995-03-01 神脑企业开发有限公司 Improved radio telephone set
JPH1013897A (en) * 1996-06-27 1998-01-16 Nec Shizuoka Ltd Selective radio call receiver with display
CN2319947Y (en) * 1997-12-26 1999-05-19 尹志航 Battery charging timer of mobile telephone

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566727A (en) * 2010-12-24 2012-07-11 鸿富锦精密工业(深圳)有限公司 Starting control device and method
CN103592861A (en) * 2013-11-06 2014-02-19 福建三元达软件有限公司 Multifunctional single switch power source management system
CN103605346A (en) * 2013-11-22 2014-02-26 曙光信息产业(北京)有限公司 Master-slave management module failure automatic switching system and realization method thereof
CN106056009A (en) * 2016-05-23 2016-10-26 乐视控股(北京)有限公司 Mobile terminal power off control apparatus and method

Also Published As

Publication number Publication date
CN101272550B (en) 2011-06-29

Similar Documents

Publication Publication Date Title
CN100454817C (en) Computer remote wakeup method and device based on network
CN103105915B (en) A kind of repositioning method of intelligent terminal and system
EP2849415A1 (en) Method and device for operating mobile terminal based on sensor, and mobile terminal
CN101272550B (en) System and method for implementing mobile communication apparatus close-down by pulse counting
US20090193157A1 (en) Link state detection system for network cable
CN104731293A (en) Power supply device and power supply method thereof
CN109840006B (en) Main control chip power supply device
JP2007515902A5 (en)
JP2006059349A (en) System and method for network interface power management
US20100185884A1 (en) Standby power saving system and computer power-on and power-off method thereof
CN104866418A (en) Automatic testing method and system
CN105487638A (en) Electronic circuit system and power consumption reducing method thereof
CN101782802A (en) Standby power-saving system and method for starting and disconnecting power supply of computer
CN108508868B (en) Ignition signal awakening circuit of motor controller and control method
CN103901997A (en) Operating state control method and device
CN211349294U (en) Power supply control device and electronic apparatus
US5787293A (en) Computer incorporating a power supply control system therein
CN102403546B (en) Electronic apparatus and charging method thereof
CN201732338U (en) Electricity-saving portable device power supply switch control system
EP2557658A2 (en) Standby power system for handheld electronic device and method for supplying standby power.
CN107436854B (en) Method for supplying power to main board of terminal based on CPCI power supply and terminal
CN102221867A (en) Circuit for realizing computer soft off and control method thereof
CN205139639U (en) Computer start and pass machine
CN101436096B (en) Core voltage control device
CN210348410U (en) Equipment line network state switching device

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110629

Termination date: 20130323