CN100450240C - Device and method for controlling mobile terminal physical operation - Google Patents

Device and method for controlling mobile terminal physical operation Download PDF

Info

Publication number
CN100450240C
CN100450240C CNB2005100766257A CN200510076625A CN100450240C CN 100450240 C CN100450240 C CN 100450240C CN B2005100766257 A CNB2005100766257 A CN B2005100766257A CN 200510076625 A CN200510076625 A CN 200510076625A CN 100450240 C CN100450240 C CN 100450240C
Authority
CN
China
Prior art keywords
physical operations
phase buffer
event message
physical
mobile terminal
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.)
Active
Application number
CNB2005100766257A
Other languages
Chinese (zh)
Other versions
CN1878361A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005100766257A priority Critical patent/CN100450240C/en
Publication of CN1878361A publication Critical patent/CN1878361A/en
Application granted granted Critical
Publication of CN100450240C publication Critical patent/CN100450240C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to a device for controlling the physical operation of a mobile terminal, which comprises a command reception and state collection module, a buffer module and an execution module, wherein the command reception and state collection module receives commands of users or collects state parameters of the mobile terminal, and after the commands or the state parameters of the mobile terminal are buffered by the buffer module, the desired physical operation is executed by the execution module. A method for controlling the physical operation of the mobile terminal based on the device is that after a bottom layer driver obtains an event message of the physical operation, the buffer processing of the event message of the physical operation is carried out. After the buffer processing is finished, an MMI application program of an upper man-machine interface correspondingly processes an event of the physical operation according to a command of the buffer processing. With the device and the method for controlling the physical operation of the mobile terminal, adverse effects caused by frequent physical operation, such as the frequent opening and closing of a cover of the mobile terminal, the frequent insertion and draw of an earphone and a charger of the mobile terminal, etc., are solved.

Description

The device and method of control mobile terminal physical operation
Technical field
The present invention relates to the mobile communication technology field, relate in particular to a kind of device and method of controlling mobile terminal physical operation
Background technology
Modern society, mobile phone just portable terminal has become the indispensable communication tool of people.Portable terminal generally can be divided into flip-shell and straight-plate-type.Usually renovate portable terminal and have bigger LCD (liquid crystal) display screen, need not loaded down with trivial details locking key dish key point dish latching operation, and can avoid the scuffing of LCD display to greatest extent than straight plate portable terminal.So concerning more and more pursuing the modern consumer that visual experience simplifies the operation, renovate portable terminal and have the temptation that is difficult to resist, become buyer's first-selection.Because the LCD display of renovating portable terminal close the lid back show without any meaning, simultaneously more because the electric quantity consumption of LCD display is compared very big with other devices, so, in order to make the stand-by time that prolongs portable terminal as much as possible under the constant condition of existing battery capacity, LCD display is opened when renovating portable terminal usually and all being designed to uncap, and closes when covering LCD display and closes.For the consideration of personalized design, much renovate portable terminal folding lid prompt tone also is provided, play the user when both uncapping and set the prompt tone of uncapping, close closing that the broadcast user is provided with when covering and cover prompt tone.
In the existing mobile terminal software design, when folding lid incident takes place when, bsp driver will report folding lid event message to the MMI on upper strata (man-machine interface) application program, require upper strata MMI application response folding lid event message and finish corresponding Message Processing, the folding lid operation of response mobile phone users.As frequently portable terminal folding lid being operated, will cause of the frequent processing of upper strata MMI application program to folding lid event message, thereby cause the frequent opening and closing of LCD display, and the bad demonstration of the LCD display that causes thus, slow down unnecessary LCD display device damage, reduce LCD display device useful life.Simultaneously, the frequent switching of prompt tone and lid prompt tone influences user's use experience because frequent folding lid can cause uncapping.Be unfavorable for renovating of 50000 the folding lid test of portable terminal product by relevant national standard.
Similarly also have the frequent plug of mobile terminal earphone and charger to handle with above discussing, and various frequency switches and need carry out the product or the equipment of corresponding state processing, all have same problem.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide a kind of device and method of controlling mobile terminal physical operation, solve this frequent physical operationss such as frequent plug at present, the harmful effect of bringing for portable terminal or miscellaneous equipment as the frequent folding lid of portable terminal, mobile terminal earphone and charger.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides a kind of device of controlling mobile terminal physical operation, this device comprises order reception and state acquisition module, buffer module and Executive Module, wherein:
Order receives and the state acquisition module, is used for by bsp driver, obtains the physical operations event message;
Buffer module, after being used for described physical operations event message done buffered, whether the current physical operations state variable that the physical operations environmental variance of judging system and described physical operations event message are corresponding is consistent;
Executive Module, be used for when described buffer module judges that the physical operations environmental variance of described system and described current physical operations state variable are inconsistent, according to the instruction of buffered described physical operations event message being carried out respective handling by upper strata man-machine interface MMI application program.
Described physical operations comprises: renovate the folding lid of portable terminal, the plug of mobile terminal earphone and the plug of charger.
Described portable terminal comprises: global system for mobile communications GSM mobile handset, code division multiple access CDMA mobile phone or Personal Handyphone System
The present invention also provides a kind of method of the control mobile terminal physical operation based on said apparatus, comprising:
A, bsp driver obtain the physical operations event message;
B, described physical operations event message done buffered after, whether the current physical operations state variable that the physical operations environmental variance of judging system and described physical operations event message are corresponding consistent;
C, inconsistent as if the physical operations environmental variance and the described current physical operations state variable of described system then carries out respective handling according to the instruction of buffered to described physical operations event message by upper strata man-machine interface MMI application program.
Described step B comprises:
B1, one of upper strata MMI application setting are handled phase buffer;
After B2, upper strata MMI application program are received the physical operations event message that bsp driver reports, in handling phase buffer, described physical operations event message is carried out buffered.
Described step B1 comprises: setting and handle the phase buffer timer, is to handle phase buffer with the timing.
Described step B2 comprises:
After B21, upper strata MMI application program are received the physical operations message that bsp driver reports, upper strata MMI application program judge current physical operations message on whether call time in handling phase buffer, if, execution in step B22; Otherwise, execution in step B23;
B22, upper strata MMI application program will be handled the zero clearing of phase buffer timer, begin to start the timing of processing phase buffer timer, and the corresponding states that current physical operations state variable is the physical operations event message that reports of bsp driver is set, work as timer expiry, execution in step B23;
B23, judge whether the physical operations environmental variance of system is consistent with current physical operations state variable, in this way, do not carry out the respective physical operation; Otherwise, carry out respective physical operation, and the physical operations environmental variance that system is set is the value of current physical operations state variable.
Described step B comprises:
B3, bsp driver are set one and are reported phase buffer;
After B4, bsp driver are received the physical operations event message, in reporting phase buffer, it is carried out buffered.
Described step B3 comprises: set and to report the phase buffer timer, with timing for reporting phase buffer.
Described step B4 comprises:
After B41, bsp driver were received the physical operations event message, whether bsp driver was judged current in reporting phase buffer, if carry out B42; Otherwise, carry out B43;
B42, bsp driver will report the zero clearing of phase buffer timer, begin to start and report the timing of phase buffer timer, and the corresponding states that current physical operations state variable is the physical operations event message that reports of bsp driver is set, as phase buffer timer expiry, execution in step B43;
B43, judge whether the physical operations environmental variance of system is consistent with current physical operations state variable, in this way, bsp driver does not carry out any operation; Otherwise, report respective physical Action Events message, and the physical operations environmental variance that system is set is the value of current physical operations state variable.
As seen from the above technical solution provided by the invention, a kind of device of controlling mobile terminal physical operation of the present invention comprises order reception and state acquisition module, buffer module and Executive Module; Reception and state acquisition module receive user's order or gather the status of mobile terminal parameter, carry out required physical operations by Executive Module again after the buffer module buffering.The method of described a kind of control mobile terminal physical operation based on said apparatus after bsp driver obtains the physical operations event message, is done buffered with described physical operations event message; Buffered is carried out respective handling according to the instruction of buffered to the physical operations incident by upper strata man-machine interface MMI application program after finishing.By adopting the apparatus and method of control mobile terminal physical operation of the present invention, solve this frequent physical operationss such as frequent plug at present, the harmful effect of bringing for portable terminal or miscellaneous equipment as the frequent folding lid of portable terminal, mobile terminal earphone and charger.
Description of drawings
Fig. 1 is the structural representation of the device of control mobile terminal physical operation of the present invention;
Fig. 2 is the uncap flow chart one of physical operations of control portable terminal of the present invention;
Fig. 3 closes the flow chart one that covers physical operations for control portable terminal of the present invention;
The concrete process flowchart one of the folding lid event handling phase buffer timer expiry that Fig. 4 covers physical operations for control portable terminal of the present invention closes;
Fig. 5 is folding lid state transition diagram one;
Fig. 6 is the uncap flowchart 2 of physical operations of control portable terminal of the present invention;
Fig. 7 closes the flowchart 2 that covers physical operations for control portable terminal of the present invention;
The concrete process flowchart two of the folding lid event handling phase buffer timer expiry that Fig. 8 covers physical operations for control portable terminal of the present invention closes;
Fig. 9 is folding lid state transition diagram two.
Embodiment
The specific embodiment of the device of control mobile terminal physical operation of the present invention comprises order reception and state acquisition module, buffer module and Executive Module as shown in Figure 1; Reception and state acquisition module receive user's order or gather the status of mobile terminal parameter, carry out required physical operations by Executive Module again after the buffer module buffering, physical operations described here comprises: renovate the folding lid of portable terminal, the plug of mobile terminal earphone and the plug of charger.
Portable terminal described in the present invention can be the terminal equipment of using in the various wireless communication systems, specifically can comprise following terminal equipment:
GSM (global system for mobile communications) mobile phone, CDMA (code division multiple access) mobile phone, 3-G (Generation Three mobile communication system) 3G mobile or Personal Handyphone System, or the like.
The specific embodiment of the method for control mobile terminal physical operation of the present invention, the physical operations of covering with the folding of renovating portable terminal is an example, is divided into following three processes:
One, uncap as shown in Figure 2 incident concrete processing procedure can for:
Step 21: upper strata MMI application setting folding lid event handling phase buffer timer is a folding lid event handling phase buffer with the timing;
This process is folding to be covered the notion of having introduced folding lid event message processing phase buffer in the event message processing procedure in upper strata MMI application program.So-called folding lid event message is handled phase buffer, be meant the time period that upper strata MMI application program can be set, in this time period, cover event message for the folding that bsp driver reports, upper strata MMI application program can not make an immediate response, and only when this phase buffer finished, upper strata MMI application program just can be handled accordingly, filter thereby arrive frequent folding lid event message, avoid the unnecessary frequent processing procedure of folding lid event message.When upper strata MMI application program is in folding lid event message processing phase buffer, is referred to as folding lid event message and handles buffer status.The common practice is to set a folding lid event handling phase buffer timer, is exactly folding lid event handling phase buffer in the timing of this timer.
Step 22: bsp driver reports when uncapping incident, and upper strata MMI application program judges whether the moment of receiving the current incident of uncapping that reports is in the processing phase buffer, if then execution in step 23; Otherwise, execution in step 25;
Step 23: identify current folding lid state variable and be the state of uncapping;
If current is to handle in the phase buffer at folding lid event message, upper strata MMI application program will can not handled this event message of uncapping immediately, just identify current folding lid state variable and be the state of uncapping;
Step 24: the folding lid is handled the zero clearing of phase buffer timer, restart the timing of folding lid event handling phase buffer;
Step 25: upper strata MMI application program, carry out the event handling of uncapping;
If current in folding lid event message processing phase buffer, upper strata MMI application program will be handled this incident of uncapping;
Step 26: identify current system folding lid state environmental variance for uncapping;
Step 27: identify current folding lid state variable and be the state of uncapping;
Step 28: be provided with simultaneously and enter folding lid event message processing phase buffer sign, and start folding lid event handling phase buffer timer, the timing of beginning folding lid event handling phase buffer;
Two, close as shown in Figure 3 the incident of lid concrete processing procedure can for:
Step 31: upper strata MMI application setting folding lid event handling phase buffer timer is a folding lid event handling phase buffer with the timing;
Step 32: bsp driver reports and closes when covering incident, upper strata MMI application program judge receive current report close the incident of lid the time whether this is in and handles in the phase buffer, if then execution in step 33; Otherwise, execution in step 35;
Step 33: identify current folding lid state variable for closing the state of lid;
If current is in folding lid event message is handled phase buffer, upper strata MMI application program will can not handled this immediately and close and cover event message, just identify current folding lid state variable for closing the state of lid;
Step 34: the folding lid is handled the zero clearing of phase buffer timer, restart the timing of folding lid event handling phase buffer;
Step 35: upper strata MMI application program, carry out to close and cover event handling;
If current in folding lid event message processing phase buffer, upper strata MMI application program will be handled this and close the incident of lid;
Step 36: identify current system folding lid state environmental variance for closing lid;
Step 37: identify current folding lid state variable for closing the state of lid;
Step 38: be provided with simultaneously and enter folding lid event message processing phase buffer sign, and start folding lid event handling phase buffer timer, the timing of beginning folding lid event handling phase buffer;
Three, as shown in Figure 4 the concrete processing procedure of folding lid event handling phase buffer timer expiry can for:
Step 41: judge whether folding lid event handling phase buffer timer is overtime, if, execution in step 42; Otherwise, continue to judge whether folding lid event handling phase buffer timer is overtime;
Step 42: upper strata MMI application program judges whether system's folding lid state environmental variance is consistent with current folding lid state variable, if, execution in step 49; Otherwise, execution in step 43;
Step 43: it is the value of current folding lid state variable that upper strata MMI application program is provided with system's folding lid state environmental variance;
Step 44: upper strata MMI application program withdraws from folding lid event message and handles the phase buffer sign;
Step 45: close folding lid event handling phase buffer timer, finish folding lid event handling phase buffer; Stop the timing of folding lid event handling phase buffer;
Step 46: upper strata MMI application program judges whether current folding lid state variable is the state of uncapping, if, execution in step 47; Otherwise, execution in step 48;
Step 47: upper strata MMI application program is handled the incident of uncapping;
Step 48: upper strata MMI application program is handled the incident of lid of closing;
Step 49: upper strata MMI application program is left intact, normal standby.
The transition graph of the described folding of above process lid state as shown in Figure 5, among the figure:
Process 51, close lid operation;
Process 52, folding lid event handling phase buffer timer expiry, and current folding lid state variable is for uncapping;
Process 53, folding lid event handling phase buffer timer expiry, and current folding lid state variable is for closing lid;
Process 54, the operation of uncapping;
Process 55, folding lid event handling phase buffer timer do not have overtime, close the lid operation;
Process 56, folding lid event handling phase buffer timer do not have overtime, the operation of uncapping.
The specific embodiment of the method for control mobile terminal physical operation of the present invention, the physical operations of covering with the folding of renovating portable terminal is an example, another technical scheme also can be divided into following three processes:
One, uncap as shown in Figure 6 incident concrete processing procedure can for:
Step 61: bsp driver is set folding lid reporting events phase buffer timer, is folding lid reporting events phase buffer with the timing;
Similar with technique scheme, can report the notion of introducing folding lid reporting events phase buffer in the process to folding lid event message at bsp driver.So-called folding lid reporting events phase buffer, be meant the time period that bsp driver can be set, in this time period, for folding lid event interrupt from hardware, bsp driver can not report corresponding folding lid incident to upper strata MMI application program immediately, has only this when phase buffer finishes, bsp driver just can report corresponding folding lid incident to upper strata MMI application program, thereby reach filtration, avoid unnecessary folding lid event message to report frequent folding lid event interrupt.When bsp driver is in folding lid reporting events phase buffer, be referred to as folding lid reporting events buffer status.
Step 62: when uncapping the incident hardware interrupts, bsp driver is judged whether the generation of current event constantly is in to report and is handled in the phase buffer, if then execution in step 63; Otherwise, execution in step 65;
Step 63: identify current folding lid state variable and be the state of uncapping;
If current is to report in the phase buffer at folding lid event message, bsp driver will can not report this event message of uncapping immediately, just identify current folding lid state variable and be the state of uncapping;
Step 64: folding is covered the zero clearing of newspaper phase buffer timer, restart the timing of folding lid reporting events phase buffer;
Step 65: bsp driver will report this event message of uncapping, and upper strata MMI application program is carried out the event handling of uncapping;
Step 66: identify current system folding lid state environmental variance for uncapping;
Step 67: identify current folding lid state variable and be the state of uncapping;
Step 68: setting simultaneously enters folding lid event message and reports the phase buffer sign, and starts folding lid reporting events phase buffer timer, and the timing of reporting events phase buffer is covered in the beginning folding;
Two, close as shown in Figure 7 the incident of lid concrete processing procedure can for:
Step 71: bsp driver is set folding lid reporting events phase buffer timer, is folding lid reporting events phase buffer with the timing;
Step 72: when closing when covering the incident hardware interrupts, bsp driver is judged whether the generation of current event is in constantly and is reported in the phase buffer, if then execution in step 73; Otherwise, execution in step 75;
Step 73: identify current folding lid state variable for closing the state of lid;
If current is to report in the phase buffer at folding lid event message, bsp driver will can not report this to close immediately and cover event message, just identify current folding lid state variable for closing the state of lid;
Step 74: folding is covered the zero clearing of newspaper phase buffer timer, restart the timing of folding lid reporting events phase buffer;
Step 75: bsp driver will report this to close and cover event message, and upper strata MMI application program is carried out to close and covered event handling;
Step 76: identify current system folding lid state environmental variance for closing lid;
Step 77: identify current folding lid state variable for closing the state of lid;
Step 77: setting simultaneously enters folding lid event message and reports the phase buffer sign, and starts folding lid event handling phase buffer timer, and the timing of reporting events phase buffer is covered in the beginning folding;
Three, as shown in Figure 8 folding lid incident place report towards the concrete processing procedure of phase timer expiry can for:
Step 81: judge that folding lid event message reports the phase buffer timer whether overtime, if, execution in step 82; Otherwise, continue to judge whether folding lid reporting events phase buffer timer is overtime;
Step 82: bsp driver judges whether system's folding lid state environmental variance is consistent with current folding lid state variable, if, execution in step 89; Otherwise, execution in step 83;
Step 83: it is the value of current folding lid state variable that bsp driver is provided with system's folding lid state environmental variance;
Step 84: bsp driver withdraws from folding lid reporting events phase buffer sign;
Step 85: and close folding lid reporting events phase buffer timer, finish folding lid reporting events phase buffer; Stop the timing of folding lid reporting events phase buffer;
Step 86: bsp driver judges whether current folding lid state variable is the state of uncapping, if, execution in step 87; Otherwise, execution in step 88;
Step 87: bsp driver reports the incident of uncapping, and upper strata MMI application program is handled the incident of uncapping;
Step 88: bsp driver reports the incident of lid of closing, and upper strata MMI application program is handled the incident of lid of closing;
Step 89: bsp driver is left intact, normal standby.
The transition graph of the described folding of above process lid state as shown in Figure 9, among the figure:
Process 91, close and cover hardware interrupts;
Process 92, folding lid event message report the phase buffer timer expiry, and current folding lid state variable is for uncapping;
Process 93, folding lid event message report the phase buffer timer expiry, and current folding lid state variable is for closing lid;
Process 94, the hardware interrupts of uncapping;
It is overtime that process 95, folding lid event message reports the phase buffer timer not have, and closes and cover hardware interrupts;
It is overtime that process 96, folding lid event message reports the phase buffer timer not have, the hardware interrupts of uncapping.
In sum, the invention provides two kinds of schemes:
The one, renovate the frequent folding lid of portable terminal event processing and folding is covered the notion of introducing folding lid event message processing phase buffer in the event message processing procedure in upper strata MMI application program; thereby reach the filtration of frequent folding lid event message; avoid unnecessary folding lid event message to handle, belong to the protection range of this patent.
The 2nd, renovate the frequent folding of portable terminal lid event processing and at bsp driver folding lid event message is reported and introduce the notion that folding lid event message reports phase buffer in the process; thereby reach the filtration of frequent folding lid event message; avoid unnecessary folding lid event message to report; unnecessary folding lid event message is handled to avoid upper strata MMI application program, belongs to the protection range of this patent.
In addition; on the basis of the described two kinds of technical schemes of this patent; different folding lid event messages are handled phase buffer or folding lid event message reports phase buffer time length by changing; the event handling function is covered in the frequent folding of portable terminal of renovating that can realize the described technical scheme of this patent equally, belongs to the protection range of this patent.
Have again, handle on the frequent folding lid event processing scheme basis of phase buffer by in the MMI application program of upper strata, introducing folding lid event message as herein described, when bsp driver reports folding lid event message, if current is to handle in the phase buffer at folding lid event message, upper strata MMI application program can judge earlier also whether system's folding lid state environmental variance is consistent with current folding lid state variable, if it is consistent, then close folding lid event message and handle the phase buffer timer, if it is inconsistent, then close and cover the zero clearing of event message processing phase buffer timer, open again.If upper strata MMI application program adopts above-mentioned folding lid event message processing procedure, so when folding lid event message is handled the processing of phase buffer timer expiry, upper strata MMI application program just can judge whether system's folding lid state environmental variance is consistent with current folding lid state variable again, but directly enters the event handling of folding lid.But in this technical scheme, need frequent starting and close overtime timer, it is more excellent obviously to be not so good as the techniques described herein scheme, should belong to the protection range of this patent.
Also have, report on the frequent folding lid event processing scheme basis of phase buffer by in bsp driver, introducing folding lid event message as herein described, when folding lid incident hardware interrupts, if current is to report in the phase buffer at folding lid event message, bsp driver can judge earlier also whether system's folding lid state environmental variance is consistent with current folding lid state variable, if it is consistent, then close folding lid event message and report the phase buffer timer, if it is inconsistent, then close and cover event message and report the zero clearing of phase buffer timer, open again.If bsp driver adopts above-mentioned folding lid incident hardware Interrupt Process process, so when folding lid event message reports the phase buffer timer expiry to handle, bsp driver just can judge whether system's folding lid state environmental variance is consistent with current folding lid state variable again, but directly reports folding lid event message.But in this technical scheme, need frequent starting equally and close overtime timer, it is more excellent obviously to be not so good as the techniques described herein scheme, should belong to the protection range of this patent.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (10)

1, a kind of device of controlling mobile terminal physical operation is characterized in that, comprises order reception and state acquisition module, buffer module and Executive Module, wherein:
Order receives and the state acquisition module, is used for by bsp driver, obtains the physical operations event message;
Buffer module, after being used for described physical operations event message done buffered, whether the current physical operations state variable that the physical operations environmental variance of judging system and described physical operations event message are corresponding is consistent;
Executive Module, be used for when described buffer module judges that the physical operations environmental variance of described system and described current physical operations state variable are inconsistent, according to the instruction of buffered described physical operations event message being carried out respective handling by upper strata man-machine interface MMI application program.
2, the device of control mobile terminal physical operation according to claim 1 is characterized in that, described physical operations comprises: renovate the folding lid of portable terminal, the plug of mobile terminal earphone and the plug of charger.
3, the device of control mobile terminal physical operation according to claim 1 and 2 is characterized in that, described portable terminal comprises:
Global system for mobile communications GSM mobile handset, code division multiple access CDMA mobile phone or Personal Handyphone System.
4, a kind of method of controlling mobile terminal physical operation is characterized in that, comprising:
A, bsp driver obtain the physical operations event message;
B, described physical operations event message done buffered after, whether the current physical operations state variable that the physical operations environmental variance of judging system and described physical operations event message are corresponding consistent;
C, inconsistent as if the physical operations environmental variance and the described current physical operations state variable of described system then carries out respective handling according to the instruction of buffered to described physical operations event message by upper strata man-machine interface MMI application program.
5, the method for control mobile terminal physical operation according to claim 4 is characterized in that, described step B comprises:
B1, one of upper strata MMI application setting are handled phase buffer;
After B2, upper strata MMI application program are received the physical operations event message that bsp driver reports, in handling phase buffer, described physical operations event message is carried out buffered.
6, the method for control mobile terminal physical operation according to claim 5 is characterized in that, described step B1 comprises: setting and handle the phase buffer timer, is to handle phase buffer with the timing.
7, the method for control mobile terminal physical operation according to claim 5 is characterized in that, described step B2 comprises:
After B21, upper strata MMI application program are received the physical operations message that bsp driver reports, upper strata MMI application program judge current physical operations message on whether call time in handling phase buffer, if, execution in step B22; Otherwise, execution in step B23;
B22, upper strata MMI application program will be handled the zero clearing of phase buffer timer, begin to start the timing of processing phase buffer timer, and the corresponding states that current physical operations state variable is the physical operations event message that reports of bsp driver is set, work as timer expiry, execution in step B23;
B23, judge whether the physical operations environmental variance of system is consistent with current physical operations state variable, in this way, do not carry out the respective physical operation; Otherwise, carry out respective physical operation, and the physical operations environmental variance that system is set is the value of current physical operations state variable.
8, the method for control mobile terminal physical operation according to claim 4 is characterized in that, described step B comprises:
B3, bsp driver are set one and are reported phase buffer;
After B4, bsp driver are received the physical operations event message, in reporting phase buffer, it is carried out buffered.
9, the method for control mobile terminal physical operation according to claim 8 is characterized in that, described step B3 comprises: set and to report the phase buffer timer, with timing for reporting phase buffer.
10, the method for control mobile terminal physical operation according to claim 8 is characterized in that, described step B4 comprises:
After B41, bsp driver were received the physical operations event message, whether bsp driver was judged current in reporting phase buffer, if carry out B42; Otherwise, carry out B43;
B42, bsp driver will report the zero clearing of phase buffer timer, begin to start and report the timing of phase buffer timer, and the corresponding states that current physical operations state variable is the physical operations event message that reports of bsp driver is set, as phase buffer timer expiry, execution in step B43;
B43, judge whether the physical operations environmental variance of system is consistent with current physical operations state variable, in this way, bsp driver does not carry out any operation; Otherwise, report respective physical Action Events message, and the physical operations environmental variance that system is set is the value of current physical operations state variable.
CNB2005100766257A 2005-06-10 2005-06-10 Device and method for controlling mobile terminal physical operation Active CN100450240C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100766257A CN100450240C (en) 2005-06-10 2005-06-10 Device and method for controlling mobile terminal physical operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100766257A CN100450240C (en) 2005-06-10 2005-06-10 Device and method for controlling mobile terminal physical operation

Publications (2)

Publication Number Publication Date
CN1878361A CN1878361A (en) 2006-12-13
CN100450240C true CN100450240C (en) 2009-01-07

Family

ID=37510619

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100766257A Active CN100450240C (en) 2005-06-10 2005-06-10 Device and method for controlling mobile terminal physical operation

Country Status (1)

Country Link
CN (1) CN100450240C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101835083B (en) * 2010-04-12 2013-07-03 惠州Tcl移动通信有限公司 Earphone hangup detection method, device and electron device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832075A (en) * 1996-09-20 1998-11-03 Mitel Corporation Off-hook detector for headset
WO2001044912A2 (en) * 1999-12-16 2001-06-21 Koninklijke Philips Electronics N.V. User interface with auditory feedback for hand-held device
CN1325249A (en) * 2000-08-29 2001-12-05 深圳市中兴通讯股份有限公司 Mobile-telephone operating and controlling system
CN1545357A (en) * 2003-11-12 2004-11-10 ���˹���Ѷ��� Method, apparatus and system for implementing PIM card of Little Smart handset
CN1564618A (en) * 2004-04-08 2005-01-12 海信集团有限公司 Method of synchronously playing image data and speech data in cell phone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832075A (en) * 1996-09-20 1998-11-03 Mitel Corporation Off-hook detector for headset
WO2001044912A2 (en) * 1999-12-16 2001-06-21 Koninklijke Philips Electronics N.V. User interface with auditory feedback for hand-held device
CN1325249A (en) * 2000-08-29 2001-12-05 深圳市中兴通讯股份有限公司 Mobile-telephone operating and controlling system
CN1545357A (en) * 2003-11-12 2004-11-10 ���˹���Ѷ��� Method, apparatus and system for implementing PIM card of Little Smart handset
CN1564618A (en) * 2004-04-08 2005-01-12 海信集团有限公司 Method of synchronously playing image data and speech data in cell phone

Also Published As

Publication number Publication date
CN1878361A (en) 2006-12-13

Similar Documents

Publication Publication Date Title
CN106604369B (en) Terminal equipment with dual-mode switching function
CN102129287B (en) Mobile terminal and power supply management method for application program thereof
CN103076973B (en) A kind of windows switching method, system and intelligent terminal
CN100591157C (en) Dual-card intelligent switch method for mobile phone
US9113414B2 (en) Standby method for handheld mobile terminal, microprocessor, and mobile phone
CN101765236B (en) Mobile terminal interface switching method and mobile terminal
CN102929478A (en) Application switching method and communication terminal
CN103199311A (en) Battery power saving method and battery power saving apparatus for portable electronic product, and mobile terminal
CN101645979A (en) Method, system and mobile terminal for switching working modes of mobile terminal
CN100388213C (en) Application programe switch-over method and system
CN102256239A (en) Multimode terminal and data processing method for multimode terminal
CN102799481A (en) Method and device for switching modes on terminal
CN1996242A (en) Booting system in low-power mode and method therefor
CN103970423A (en) Quick setting method of common functions of smart phone
CN104572001A (en) Split screen starting method and mobile terminal
CN105573632A (en) Terminal control method and device thereof
CN101494929A (en) Mobile communication terminal
CN105721699A (en) Method and system for switching driving mode of mobile terminal
CN100450240C (en) Device and method for controlling mobile terminal physical operation
CN101052175B (en) Double mode mobile terminal turn-on method
CN101800962A (en) Method for increasing call reachability, and associated apparatus
KR101572060B1 (en) Apparatus and method for power saving using predictive polling in portable terminal
CN104038618A (en) Access control method and electronic equipment
CN101674359A (en) Switch and control method and system of subscriber identification card and mobile terminal
CN101150844A (en) A method for dual-mode mobile terminal to switch network

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