Movatterモバイル変換


[0]ホーム

URL:


CN104182148B - A kind of key control method and device - Google Patents

A kind of key control method and device
Download PDF

Info

Publication number
CN104182148B
CN104182148BCN201410455527.3ACN201410455527ACN104182148BCN 104182148 BCN104182148 BCN 104182148BCN 201410455527 ACN201410455527 ACN 201410455527ACN 104182148 BCN104182148 BCN 104182148B
Authority
CN
China
Prior art keywords
button
control
electronic equipment
function
touch
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
CN201410455527.3A
Other languages
Chinese (zh)
Other versions
CN104182148A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing LtdfiledCriticalLenovo Beijing Ltd
Priority to CN201410455527.3ApriorityCriticalpatent/CN104182148B/en
Publication of CN104182148ApublicationCriticalpatent/CN104182148A/en
Application grantedgrantedCritical
Publication of CN104182148BpublicationCriticalpatent/CN104182148B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention discloses a kind of key control method and device, applied in electronic equipment, the electronic equipment includes sensing unit and display unit, the first position of the electronic equipment is provided with the first button, first button is physical button or is the virtual key shown on the display unit, and first button can respond touch control operation and generate the first execute instruction for corresponding to and performing the first function;Methods described includes:The attitude parameter of the electronic equipment is obtained using the sensing unit;The current pose of the electronic equipment is determined according to the attitude parameter;When determining that the current pose of the electronic equipment meets the first preparatory condition, the first control instruction is generated;Control the electronic equipment to forbid generating the first execute instruction when first button is by touch-control according to first control instruction, to prevent user misoperation, therefore, simplify operating procedure, improve Consumer's Experience.

Description

A kind of key control method and device
Technical field
The present invention relates to technical field of electronic equipment, more particularly to a kind of key control method and device.
Background technology
The button for operating electronic equipment for user is provided with existing electronic equipment, the button is arranged at electricityOn a certain fixed position of sub- equipment.User is during using electronic equipment, and often the casual gripping electronics that changes is setStandby mode, so as to cause the button of electronic equipment to be changed relative to the position of user.
, still can inertia when user needs to use a certain specific keys to manipulate electronic equipment when there is above-mentioned phenomenonOn an electronic device relative to the specific keys are operated on the origin-location of oneself, and if the current operated electronic equipment of userPosition on when having other buttons, it will there is maloperation.
Therefore, user needs to re-operate the specific keys of electronic equipment so that cumbersome, serious reduces userExperience.
The content of the invention
In view of this, the present invention provides a kind of key control method, device, is operated with simplifying, and improves Consumer's Experience.
To achieve the above object, the present invention provides following technical scheme:
A kind of key control method, applied in electronic equipment, the electronic equipment includes sensing unit and display unit,The first position of the electronic equipment is provided with the first button, and first button is physical button or is the display unitThe virtual key of upper display, first button can respond touch control operation and generate and be held corresponding to perform the first function firstRow instruction;
Methods described includes:
The attitude parameter of the electronic equipment is obtained using the sensing unit;
The current pose of the electronic equipment is determined according to the attitude parameter;
When determining that the current pose of the electronic equipment meets the first preparatory condition, the first control instruction is generated;
The electronic equipment is controlled to forbid generation the when first button is by touch-control according to first control instructionOne execute instruction.
Preferably, after the current pose for determining the electronic equipment meets the first preparatory condition, in addition to:
First function of first button is transferred to the second button of the second place of the electronic equipmentOn;
The electronic equipment is controlled to be performed when second button is by touch-control and described in the first function identical theOne execute instruction.
Preferably, first button and second button are physical button, and second button can respond tactileControl is operated and generated corresponding to the second execute instruction for performing the second function;Second function is different from first function;
The control electronic equipment performs and the first function identical institute when second button is by touch-controlBefore stating the first execute instruction, in addition to:
The electronic equipment is controlled to forbid performing institute corresponding with second function when second button is by touch-controlState the second execute instruction.
Preferably, first button and second button are virtual key;
The second of the second place that first function of first button is transferred to the electronic equipmentOn button, it is specially:
Shown in the second place of the electronic equipment and be able to carry out holding corresponding to described the first of first functionSecond button of row instruction;
Forbid showing first button at the first position.
Preferably, it is described to control the electronic equipment when first button is by touch-control according to first control instructionForbid generating the first execute instruction, be specially:
Sound of the electronic equipment shielding to the touch control operation of first button is controlled according to first control instructionShould.
Preferably, it is described to control the electronic equipment when first button is by touch-control according to first control instructionForbid generating the first execute instruction, be specially:
Control the electronic equipment to generate when first button is by touch-control according to first control instruction to correspond to3rd execute instruction of the 3rd function;
Wherein, the 3rd function is different from first function.
Preferably, it is described to control the electronic equipment when first button is by touch-control according to first control instructionBefore generation is corresponding to the 3rd execute instruction of the 3rd function, in addition to:
It is the first attitude parameter to determine the attitude parameter corresponding to current pose of the electronic equipment at the first moment;
Determine that the electronic equipment meets the posture corresponding to the current pose of first preparatory condition at the second momentParameter is the second attitude parameter;
Calculate Parameters variation amount of second attitude parameter relative to first attitude parameter;
The 3rd function of first button is determined according to the Parameters variation amount;
Wherein, the 3rd function has relevance, the 3rd function and first function with first functionDifference value it is relevant with the Parameters variation amount.
Preferably, the 3rd function that first button is determined according to the Parameters variation amount, it is specially:
Judge the Parameters variation amount whether in default threshold range;
If so, determine that the 3rd function is to produce the function of adverse effect to electronic equipment with first function.
Preferably, first button, which can respond touch control operation and generate, corresponds to the first execution for performing the first functionInstruction, specially described first button can respond touch control operation and generate first just changed corresponding to the first parameter of execution and holdRow instruction;
It is described to control the electronic equipment to be generated when first button is by touch-control pair according to first control instruction3rd execute instruction of the functions of Ying Yu tri-, it is specially:
Control the electronic equipment to generate when first button is by touch-control according to first control instruction to correspond to3rd execute instruction of the negative change of the first parameter.
A kind of key control device, applied in electronic equipment, the electronic equipment includes sensing unit and display unit,The first position of the electronic equipment is provided with the first button, and first button is physical button or is the display unitThe virtual key of upper display, first button can respond touch control operation and generate and be held corresponding to perform the first function firstRow instruction;
Described device includes:
First acquisition unit, for obtaining the attitude parameter of the electronic equipment using the sensing unit;
First determining unit, for determining the current pose of the electronic equipment according to the attitude parameter;
Generation unit is determined, when the current pose for determining the electronic equipment meets the first preparatory condition, generation theOne control instruction;
First control unit, for controlling the electronic equipment in the first button quilt according to first control instructionForbid generating the first execute instruction during touch-control.
Preferably, in addition to:
First buanch unit, for first function of first button to be transferred into the second of the electronic equipmentOn second button of opening position;
Second control unit, for controlling the electronic equipment to be performed when second button is by touch-control and described firstFirst execute instruction described in function identical.
Preferably, first button and second button are physical button, and second button can respond tactileControl is operated and generated corresponding to the second execute instruction for performing the second function;Second function is different from first function;
Also include:
3rd control unit, for control the electronic equipment forbid when second button is by touch-control perform with it is describedSecond execute instruction corresponding to second function.
Preferably, first button and second button are virtual key;
First buanch unit includes:
First display module, it is able to carry out corresponding to described first for showing in the second place of the electronic equipmentSecond button of first execute instruction of function;
First disabled module, for forbidding showing first button at the first position.
Preferably, first control unit is specifically used for controlling the electronic equipment screen according to first control instructionCover the response of the touch control operation to first button.
Preferably, first control unit is specifically used for controlling the electronic equipment to exist according to first control instructionFirst button is by generation during touch-control corresponding to the 3rd execute instruction of the 3rd function;
Wherein, the 3rd function is different from first function.
Preferably, in addition to:
Second determining unit, for determining the attitude parameter corresponding to current pose of the electronic equipment at the first momentFor the first attitude parameter;
3rd determining unit, for determining that the electronic equipment meets the current of first preparatory condition at the second momentAttitude parameter corresponding to posture is the second attitude parameter;
First computing unit, for calculating Parameters variation of second attitude parameter relative to first attitude parameterAmount;
4th determining unit, for determining the 3rd function of first button according to the Parameters variation amount;
Wherein, the 3rd function has relevance, the 3rd function and first function with first functionDifference value it is relevant with the Parameters variation amount.
Preferably, the 4th determining unit includes:
First judge module, for judging the Parameters variation amount whether in default threshold range;
First determining module, for when the Parameters variation amount is in default threshold range, determining the 3rd work(It can be the function of producing adverse effect to electronic equipment with first function.
Preferably, first button, which can respond touch control operation and generate, corresponds to the first execution for performing the first functionInstruction, specially described first button can respond touch control operation and generate first just changed corresponding to the first parameter of execution and holdRow instruction;
First control unit, specifically for controlling the electronic equipment described the according to first control instructionOne button is corresponded to the 3rd execute instruction of the negative change of the first parameter by generation during touch-control.
Understood via above-mentioned technical scheme, compared with prior art, the embodiment of the invention discloses one kind to press key controlMethod, applied in electronic equipment, the first position of electronic equipment is provided with the first button, and the first button can respond touch-control behaviourMake and generate corresponding to the first execute instruction for performing the first function;In the method, the electronics gathered by sensing unitThe attitude parameter of equipment determines the current pose of electronic equipment, and when the current pose of electronic equipment meets the first preparatory conditionWhen, the first control instruction is generated, to forbid generating when the first button is by touch-control according to the first control instruction control electronicsFirst execute instruction, to prevent user misoperation, therefore, simplify operating procedure, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existingThere is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only thisThe embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basisThe accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of key control method disclosed in one embodiment of the invention;
Fig. 2 is a kind of schematic flow sheet of key control method disclosed in another embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of key control method disclosed in further embodiment of this invention;
Fig. 4 is a kind of structural representation of posture residing for TV remote controller of the present invention;
Fig. 5 is the structural representation of another posture residing for TV remote controller of the present invention;
Fig. 6 is a kind of structural representation of posture residing for mobile phone of the present invention;
Fig. 7 is the structural representation of another posture residing for mobile phone of the present invention;
Fig. 8 is a kind of schematic flow sheet of key control method disclosed in further embodiment of this invention;
Fig. 9 is a kind of structural representation of key control device disclosed in one embodiment of the invention;
Figure 10 is a kind of structural representation of key control device disclosed in another embodiment of the present invention;
Figure 11 is a kind of structural representation of key control device disclosed in another embodiment of the invention;
Figure 12 is a kind of structural representation of key control device disclosed in another embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, completeSite preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based onEmbodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not madeEmbodiment, belong to the scope of protection of the invention.
The present disclosure provides a kind of key control method and device, it can apply in electronic equipment, electronic equipmentFirst position be provided with the first button, the first button, which can respond touch control operation and generating and correspond to, performs the of the first functionOne execute instruction;In the method, the attitude parameter of the electronic equipment gathered by sensing unit determines working as electronic equipmentPreceding posture, and when the current pose of electronic equipment meets the first preparatory condition, the first control instruction is generated, to be controlled according to firstSystem instruction control electronics forbid generating the first execute instruction when the first button is by touch-control, to prevent user misoperation, becauseThis, simplifies operating procedure, improves Consumer's Experience.
Embodiment one
One embodiment of the invention discloses a kind of key control method, can apply to mobile phone, palm PC, flat board electricityIn the electronic equipments such as brain, remote control;
Wherein, electronic equipment includes sensing unit and display unit, and sensing unit is used to gather electronic equipment current poseAttitude parameter, display unit is used to show the output content of electronic equipment.
The first button is provided with the first position of electronic equipment, the first button can be physical button or be that display is singleShown virtual key in member;Wherein, the first button of electronic equipment can respond touch-control and manipulate and generate corresponding to executionFirst execute instruction of the first function.
For example, the first function is the function of enabling to volume of electronic device to increase, then, when the first button is by touch-controlWhen, electronic equipment can generate the first execute instruction, be increased with the volume of control electronics.
As shown in figure 1, this method may comprise steps of:
Step 101:The attitude parameter of electronic equipment is obtained using sensing unit;
Sensing unit can gather the attitude parameter of electronic equipment, if the sensing unit can be gravity sensor.
Step 102:The current pose of electronic equipment is determined according to attitude parameter;
The current pose of electronic equipment can be determined by acquired attitude parameter, electronic equipment is currently used in tableSign electronic equipment is presently in physical state.For example, the current pose of electronic equipment, which is electronic equipment, is provided with display unitOne upwardly, and parallel to the posture of horizontal plane;For another example, the current pose of electronic equipment is the head of electronic equipment away from useFamily, and the afterbody of electronic equipment is close to the posture of user.And the process of the current pose of electronic equipment is determined by attitude parameterExisting method can be used, in this not go into detail.
Step 103:When determining that the current pose of electronic equipment meets the first preparatory condition, the first control instruction is generated;
When it is determined that electronic equipment current pose after, it can be determined that whether the current pose of electronic equipment meets that first is defaultCondition, the first preparatory condition are the posture standard that the first button forbids generating the first execute instruction;When it is determined that electronic equipment is worked asWhen preceding posture meets the first preparatory condition, the first control instruction can be generated;And when the current pose for determining electronic equipment is discontented withThe first preparatory condition of foot is can to generate the second control instruction, is generated with control electronics when the first button is by touch-control pairShould be in the first execute instruction for performing the first function.
Wherein, the first preparatory condition can be set according to the actual requirements, and the present invention is not defined to this.
Step 104:Generation first is forbidden to hold when the first button is by touch-control according to the first control instruction control electronicsRow instruction.
When it is determined that the current pose of electronic equipment meets the first preparatory condition, if detecting the first button of electronic equipmentBy touch-control, then, then generation can be forbidden to be able to carry out the first execute instruction of the first function.
In order to make it easy to understand, described in detail with the first application example, it is assumed that electronic equipment is TV remote controller, TVThe first position of remote control is provided with the first button, and the first button can generate the volume increase for causing television set when by touch-controlThe first execute instruction.Assuming that under normal mode of operation, the head of TV remote controller can be directed at television set by user, touch-control theThe volume of television set can be controlled to increase during one button.So, in the present invention, if the posture ginseng gathered according to sensing unitNumber determines that the current pose of electronic equipment points to television set for the afterbody of TV remote controller, and the head of TV remote controller is pointed to and usedFamily;And the afterbody that the first preparatory condition is also TV remote controller just points to television set, user is pointed on the head of TV remote controllerCondition, hence, it can be determined that TV remote controller current pose meet the first preparatory condition, now, generation first control refers toOrder, to control TV remote controller to forbid generating the first execute instruction when the first button is by touch-control.So, in this case,When user is in the first button on touch-control TV remote controller, it is impossible to control the volume of television set to increase.
In embodiments of the present invention, touch control operation can be responded simultaneously by the first button being equipped with set by the first position of electronic equipmentGeneration corresponds to the first execute instruction for performing the first function;When the attitude parameter of the electronic equipment gathered by sensing unitWhen determining the current pose of electronic equipment, and determining current pose the first preparatory condition of satisfaction of electronic equipment, the control of generation firstSystem instruction, to forbid generating the first execute instruction when the first button is by touch-control according to the first control instruction control electronics,To prevent user misoperation, therefore, simplify operating procedure, Consumer's Experience is improved.
Embodiment two
Another embodiment of the present invention also discloses a kind of key control method, applied on electronic equipment, electronic equipment bagSensing unit and display unit are included, the first position of electronic equipment is provided with the first button, and the first button can respond touch-control behaviourMake and generate corresponding to the first execute instruction for performing the first function;
As shown in Fig. 2 this method may comprise steps of:
Step 201:The attitude parameter of electronic equipment is obtained using sensing unit;
Step 202:The current pose of electronic equipment is determined according to institute's attitude parameter;
Step 203:Judge whether the current pose of electronic equipment meets the first preparatory condition;If so, respectively enter step204 and step 206;
Step 204:Generate the first control instruction;
Step 205:Generation first is forbidden to hold when the first button is by touch-control according to the first control instruction control electronicsRow instruction;
Step 206:First function of the first button is transferred on the second button of the second place of electronic equipment;
The second place of electronic equipment can be the position on electronic equipment corresponding with the first relative position, wherein, theOne relative position be electronic equipment be under normal mode of operation, electronic equipment corresponding to first position relative to user positionPut.
That is, the first button of electronic equipment is located on first position, under normal mode of operation, first of electronic equipmentPut corresponding with the first relative position, then, when the current pose of electronic equipment meets the first preparatory condition, electronic equipment is inAbnormal operation mode, now, first position are changed into corresponding with the second relative position, then, it may be determined that now with the first phaseIt is the second place to position corresponding to position, and then the first function of the first button is transferred to the second place of electronic equipmentThe second button on.
, can be with it should be noted that aforesaid way is a kind of preferred implementation of the second place of electronic equipmentOther a certain fixed positions for being different from first position on electronic equipment are defined as to the second place of electronic equipment, in this hairIt is not specific in bright to limit.
Step 207:Control electronics perform to perform with the first function identical first when the second button is by touch-control to be referred toOrder.
When first function of the first button is transferred on the second button of the second place of electronic equipment, the second buttonThe first execute instruction for performing the first function can be generated when by touch-control.
In embodiments of the present invention, touch control operation can be responded simultaneously by the first button being equipped with set by the first position of electronic equipmentGeneration corresponds to the first execute instruction for performing the first function;When the attitude parameter of the electronic equipment gathered by sensing unitWhen determining the current pose of electronic equipment, and determining current pose the first preparatory condition of satisfaction of electronic equipment, the control of generation firstSystem instruction, to forbid generating the first execute instruction when the first button is by touch-control according to the first control instruction control electronics,To prevent user misoperation, therefore, simplify operating procedure, Consumer's Experience is improved.
Because the first button can be the virtual key of physical button or setting on the display unit, then, it is right therewithAnswer, the second button can also be physical button or virtual key.
As a kind of way of realization, the first button and the second button can be physical button;
Wherein, the second button can respond touch control operation and generate the second execute instruction for corresponding to and performing the second function;
Wherein, the first function is different with the second function, i.e. the first function and the second function can produce not to electronic equipmentSame effect.
Accordingly, as shown in figure 3, this method may comprise steps of:
Step 301:The attitude parameter of electronic equipment is obtained using sensing unit;
Step 302:The current pose of electronic equipment is determined according to institute's attitude parameter;
Step 303:Judge whether the current pose of electronic equipment meets the first preparatory condition;If so, respectively enter step304 and step 306;
Step 304:Generate the first control instruction;
Step 305:Generation first is forbidden to hold when the first button is by touch-control according to the first control instruction control electronicsRow instruction;
Step 306:First function of the first button is transferred on the second button of the second place of electronic equipment;
Step 307:Control electronics forbid execution corresponding with the second function second to hold when the second button is by touch-controlRow instruction;
After the first function of the first button is transferred into the second button of the second place, then, the second button is in quiltThe second execute instruction corresponding with the second function can not be performed during touch-control again, therefore, it is necessary to control electronics are pressed secondForbid performing the second execute instruction corresponding with the second function when key is by touch-control.
Step 308:Control electronics perform to perform with the first function identical first when the second button is by touch-control to be referred toOrder.
In order to make it easy to understand, described in detail with the second application example, it is assumed that the first position of TV remote controller is setThere is the first button, the first button can generate the first execute instruction of the volume increase for causing television set when by touch-control;TVThe second button is provided with the second place of remote control, second is generated the volume reduction for causing television set by bond energy when by touch-controlThe second execute instruction.
As shown in figure 4, being provided with the first button A1 on the first position 400A of TV remote controller, set on the 400B of the second placeIt is equipped with the second button B1;The posture of TV remote controller shown in Fig. 4 is the posture under normal mode of operation;400A pairs of first positionThe first relative position that should be in TV remote controller relative to user, second place 400B correspond to TV remote controller relative to userThe second relative position.
After user changes the posture of TV remote controller, it is assumed that the current pose of TV remote controller is appearance as shown in Figure 5State;So, accordingly, first position and the relative position corresponding to the second place can also change, i.e. first position 400ABy changing to correspond to the second relative position corresponding to the first relative position, second place 400B corresponding to the second relative position by becomingFor corresponding to the first relative position.Assuming that the current pose of the electronic equipment shown in Fig. 5 meets the first preparatory condition, then, canWill be transferred to positioned at first position 400A the first button A1 function on second place 400B the second button B1,That is, as user's touch-control the second button B1, TV remote controller can't control tv volume to reduce, and can control television set on the contraryVolume increase.
As another way of realization, the first button and the second button can be virtual key;
So, in step 206 by the first function of the first button be transferred to the second of the second place of electronic equipment byKey, specifically it may comprise steps of:
S2061:The first execute instruction being able to carry out corresponding to the first function is shown in the second place of electronic equipmentThe second button;
The second place of electronic equipment can be the position on the display unit of electronic equipment corresponding with the first relative positionPut, or preset the other positions that first position is different from the display unit of electronic equipment.Wherein, first is relativePosition be electronic equipment be under normal mode of operation, electronic equipment corresponding to first position relative to user position.
, can be in the second place of electronic equipment when it is determined that the current pose of electronic equipment meets the first preparatory conditionThe second button is shown, second button is able to carry out the first execute instruction corresponding to the first function.
S2062:Forbid showing the first button at first position.
Forbid after showing the first button at first position, will not be shown at the first position of the display unit of electronic equipmentThere is the first button.
In order to make it easy to understand, described in detail with the 3rd application example;As shown in fig. 6, the of the display unit of mobile phoneThe first button C1 is provided with one position 600C;The posture of mobile phone shown in Fig. 6 is the posture under normal mode of operation;FirstPut first relative positions of the 600C corresponding to mobile phone relative to user;
After user changes the posture of mobile phone, it is assumed that the current pose of mobile phone is posture as shown in Figure 7;So, accordingly, the relative position corresponding to the 600C of first position can also change, i.e. first position 600A is by corresponding to the first relative positionPut and change to correspond to the second relative position.Assuming that the current pose of the electronic equipment shown in Fig. 7 meets the first preparatory condition, that, it may be determined that second place 600D corresponding with the first relative position, and then the second button is shown on the 600D of the second placeD1, the second button D1 respond touch control operation and generate the first execute instruction being able to carry out corresponding to the first function;And showingThe first position of unit does not show the first button.
Embodiment three
In this embodiment, unlike various embodiments above, the electronic equipment is controlled according to the first control instructionForbid generating the first execute instruction when first button is by touch-control, be specifically as follows
According to response of the first control instruction control electronics shielding to the touch control operation of the first button.
Wherein, after control electronics shield the response to the touch control operation of the first button, the first button will no longer ringUsing the touch control operation at family, i.e., when user's the first button of touch-control, electronic equipment can maintain current state.
Example IV
In this embodiment, unlike embodiment one and embodiment two, set according to the first control instruction control electronicsIt is standby to forbid generating the first execute instruction when the first button is by touch-control, it is specifically as follows:
Generate according to the first control instruction control electronics when the first button is by touch-control and correspond to the of the 3rd functionThree execute instructions;
Wherein, the 3rd function is different from first function.
Wherein, the first button can respond touch control operation and generate to perform corresponding to perform the first function first and refer to originallyOrder, still, when it is determined that the current pose of electronic equipment meets the first preparatory condition, the first control instruction can be generated, with controlElectronic equipment processed generates the 3rd execute instruction corresponding to the 3rd function when the first button is by touch-control.That is, the first key responseDuring touch control operation, it will not regenerate corresponding to the first execute instruction for performing the first function, but generation corresponds to the 3rd functionThe 3rd execute instruction.
In order to make it easy to understand, illustrated by taking the 4th application example as an example, it is assumed that the first button of electronic equipment can ringAnswer touch control operation and generate so that the first execute instruction that the display interface of electronic equipment is moved to the left;So, when it is determined that electronicsWhen the current pose of equipment meets the first preparatory condition, the first control instruction is generated, and according to the first control instruction control electronicsEquipment is generated when the first button is by touch-control corresponding to the 3rd execute instruction for make it that the display interface of electronic equipment moves right;Now, when user triggers the first button, then can the display interfaces of control electronics move right, and electronics can not be controlled to setStandby display interface is moved to the left.
It should be noted that above-mentioned application example is carried out so that the first function of electronic equipment and the 3rd function are opposite as an exampleIllustrate, must be not necessarily opposite work(as long as ensureing the first function and the 3rd function difference in the present invention stillEnergy.
Embodiment five
Further embodiment of this invention also discloses a kind of key control method, applied in electronic equipment, electronic equipmentFirst position is provided with the first button, and the first button is physical button or is the virtual key shown on display unit, and firstButton can respond touch control operation and generate the first execute instruction for corresponding to and performing the first function;
As shown in figure 8, this method may comprise steps of:
Step 801:The attitude parameter of electronic equipment is obtained using sensing unit;
Step 802:The current pose of electronic equipment is determined according to attitude parameter;
Step 803:Determine that the attitude parameter corresponding to current pose of the electronic equipment at the first moment is joined for the first postureNumber;
Inscribed at first, it is the first attitude parameter to determine the attitude parameter corresponding to the current pose of electronic equipment.
Step 804:When determining that the current pose of electronic equipment meets the first preparatory condition, the first control instruction is generated;
Step 805:Determine that the electronic equipment meets corresponding to the current pose of the first preparatory condition at the second momentAttitude parameter is the second attitude parameter;
Wherein, the second moment was later than for the first moment, is inscribed at second and determines whether the current of electronic equipment meets firstPreparatory condition, if so, the attitude parameter for determining to inscribe at second corresponding to the current pose for meeting the first preparatory condition is theTwo attitude parameters.
Step 806:Calculate Parameters variation amount of second attitude parameter relative to the first attitude parameter;
By the first attitude parameter and the second attitude parameter the second attitude parameter can be determined relative to the first attitude parameterParameters variation amount.
Step 807:The 3rd function of the first button is determined according to Parameters variation amount;
Wherein, the 3rd function has relevance with the first function, and the difference value of the 3rd function and the first function becomes with parameterChange amount is relevant;
Wherein, because the current pose of electronic equipment is determined by attitude parameter, then, it is current when electronic equipmentWhen posture changes, the attitude parameter of electronic equipment must be changed, hence, it can be determined that Parameters variation amount, and thenThe 3rd function of the first button is determined by Parameters variation amount.
In order to make it easy to understand, it is described in detail with the 5th application example, it is assumed that the first of the first position of remote control is pressedThe a certain target that bond energy enough controls television set currently to run is offset to the left, if the target is racing car, user's hand-held remote controller,Inscribe for the moment, the current pose of remote control is parallel to horizontal plane, and perpendicular to user (head of remote control and the distance of userFarthest, afterbody and user's is closest);To be inscribed at second, the current pose level of remote control have rotated 90 degree to the left, ifThe current pose that remote control is inscribed at second meets the first preparatory condition, then, it may be determined that remote control is inscribed at secondCurrent pose corresponding to the second attitude parameter join relative to the first posture corresponding to the current pose inscribed at firstSeveral Parameters variation amounts;Assuming that attitude parameter is the angle of electronic equipment, then, the Parameters variation amount is 90 degree.So as toThe 3rd function of the first button is determined according to Parameters variation amount, such as the 3rd function can be the work(that target is not shiftedEnergy.
Wherein, the 3rd function is relevant with Parameters variation amount with the difference value of the first function.For example, still with the above-mentioned 5th applicationExemplified by example, if the posture of remote control inscribes described posture when being above-mentioned first, the button of touch-control first can control meshMark offsets 10cm to the left;So, if being inscribed at second, when the current pose of electronic equipment meets the first preparatory condition, it is determined thatParameters variation amount is 90 degree, it may be determined that the 3rd function of the first button is so that the function that target does not shift;And ifInscribed when second, when the current pose of electronic equipment meets the first preparatory condition, it is 45 degree to determine Parameters variation amount, then, canTo determine the 3rd function of the first button as so that target offsets 5cmde functions to the left.
In the present embodiment, as long as ensureing that the 3rd function is associated with the first function, and the 3rd function and the first functionDifference value is relevant with Parameters variation amount, not shall be limited only to the extent one of the above concrete implementation mode.
Step 808:Generated according to the first control instruction control electronics when the first button is by touch-control corresponding to the 3rd3rd execute instruction of function.
As a kind of preferable implementation, the 3rd function of the first button is determined in step 806 according to Parameters variation amountSpecifically it may comprise steps of:
S8061:Judge Parameters variation amount whether in default threshold range;
Specifically, default threshold range can be set according to actual conditions, the present invention is simultaneously not specifically limited.Such as, Parameters variation amount is the number of degrees, and default threshold range is 170~180 degree;It is possible to judge Parameters variation amount whetherIn 170~180 degree.
S8062:When Parameters variation amount is in default threshold range, it is to electronics with the first function to determine the 3rd functionEquipment produces the function of adverse effect.
When it is determined that Parameters variation amount is in default threshold range, the 3rd function is determined to be set with the first function to electronicsThe standby function of producing adverse effect.
With continued reference to above-mentioned 5th application example, if the first function of the first button can be offset to the left with control targe;WhenIt is 180 degree to determine Parameters variation amount, and when in default threshold range, then, it may be determined that the 3rd function is control targeOffset to the right.That is, the first function produces the function of adverse effect with the 3rd function to electronic equipment.
Further, the first button can respond touch control operation and generate to perform corresponding to perform the first function first and refer toOrder, is specifically as follows:First button can respond touch control operation and generate first just changed corresponding to the first parameter of execution and holdRow instruction;
So, generated according to the first control instruction control electronics when the first button is by touch-control and correspond to the 3rd functionThe 3rd execute instruction, be specially:
Generate when the first button is by touch-control according to the first control instruction control electronics and become corresponding to the first parameter is negativeThe 3rd execute instruction changed.
If the just change of the first parameter can be that volume increases, then, it can be that volume down is small that the first parameter, which bears change,;AgainSuch as, the positive change of the first parameter can be the F.F. of video playback, then, the negative change of the first parameter can be for after video playbackMove back;For another example, the just change of the first parameter can be the page turning to the left of document, then, the negative change of the first parameter can be document toRight page turning.
Specific implementation form can be changed according to actual conditions, and the present invention will not enumerate.
Wherein, the variable quantity that the first parameter is just changing can be equal with the variable quantity of the negative change of the first parameter.Such as, the first ginsengThe positive change of amount can be that volume increases 5 decibels, then, it can be that volume down is small 5 decibels that the first parameter, which bears change,.
Embodiment six
One embodiment of the invention also discloses a kind of key control device, can apply in electronic equipment, and electronics is setIt is standby to include sensing unit and display unit;
Wherein, the first position of electronic equipment is provided with the first button, and the first button is physical button or is described aobviousShow the virtual key shown on unit, the first button, which can respond touch control operation and generate to correspond to, performs the first of the first functionExecute instruction;
As shown in figure 9, the device can include:First acquisition unit 901, the first determining unit 902, determine generation unit903 and first control unit 904;Wherein:
First acquisition unit 901, it can be used for the attitude parameter that electronic equipment is obtained using sensing unit;
First determining unit 902, it can be used for the current pose that electronic equipment is determined according to attitude parameter;
Generation unit 903 is determined, when being determined for current pose the first preparatory condition of satisfaction of electronic equipment, generationFirst control instruction;
First control unit 904, it can be used for according to the first control instruction control electronics in the first button by touch-controlWhen forbid generate the first execute instruction.
In embodiments of the present invention, touch control operation can be responded simultaneously by the first button being equipped with set by the first position of electronic equipmentGeneration corresponds to the first execute instruction for performing the first function;When the attitude parameter of the electronic equipment gathered by sensing unitWhen determining the current pose of electronic equipment, and determining current pose the first preparatory condition of satisfaction of electronic equipment, the control of generation firstSystem instruction, to forbid generating the first execute instruction when the first button is by touch-control according to the first control instruction control electronics,To prevent user misoperation, therefore, simplify operating procedure, Consumer's Experience is improved.
Embodiment seven
Another embodiment of the present invention also discloses a kind of keystroke handling device, and as shown in Figure 10, the device can include:TheOne acquiring unit 1001, the first determining unit 1002, determine that the control unit 1004, first of generation unit 1003 and first shiftsThe control unit 1006 of unit 1005 and second;Wherein:
First acquisition unit 1001, it can be used for the attitude parameter that electronic equipment is obtained using sensing unit;
First determining unit 1002, it can be used for the current pose that electronic equipment is determined according to attitude parameter;
Generation unit 1003 is determined, it is raw when being determined for current pose the first preparatory condition of satisfaction of electronic equipmentInto the first control instruction;
First control unit 1004, it can be used for according to the first control instruction control electronics in the first button by touch-controlWhen forbid generate the first execute instruction.
First buanch unit 1005, it can be used for the second place that the first function of the first button is transferred to electronic equipmentOn second button at place;
Second control unit 1006, it can be used for control electronics and performed when the second button is by touch-control and the first functionThe execute instruction of identical first.
Because the first button can be the virtual key of physical button or setting on the display unit, then, it is right therewithAnswer, the second button can also be physical button or virtual key.
As a kind of way of realization, the first button and the second button can be physical button;
Second button can respond touch control operation and generate the second execute instruction for corresponding to and performing the second function;Wherein,Second function is different from the first function;
As shown in figure 11, the device can include:First acquisition unit 1101, the first determining unit 1102, determine generationThe control unit 1104 of unit 1103 and first, the first buanch unit 1105, the 3rd control instruction 1106 and the second control are singleMember 1107;Wherein:
First acquisition unit 1101, it can be used for the attitude parameter that electronic equipment is obtained using sensing unit;
First determining unit 1102, it can be used for the current pose that electronic equipment is determined according to attitude parameter;
Generation unit 1103 is determined, it is raw when being determined for current pose the first preparatory condition of satisfaction of electronic equipmentInto the first control instruction;
First control unit 1104, it can be used for according to the first control instruction control electronics in the first button by touch-controlWhen forbid generate the first execute instruction.
First buanch unit 1105, it can be used for the second place that the first function of the first button is transferred to electronic equipmentOn second button at place;
3rd control unit 1106, it can be used for control electronics and forbid performing and second when the second button is by touch-controlSecond execute instruction corresponding to function.
Second control unit 1107, it can be used for control electronics and performed when the second button is by touch-control and the first functionThe execute instruction of identical first;
As another way of realization, the first button and the second button can be virtual key;So, the first transfer is singleMember can specifically include:First display module and the first disabled module;Wherein:
First display module, can be used for showing in the second place of electronic equipment and is able to carry out corresponding to the first functionThe first execute instruction the second button;
First disabled module, it can be used for forbidding showing the first button at first position.
Embodiment eight
In this embodiment, the first control unit specifically can be used for controlling the electronic equipment according to the first control instructionShield the response to the touch control operation of the first button.
Wherein, after control electronics shield the response to the touch control operation of the first button, the first button will no longer ringUsing the touch control operation at family, i.e., when user's the first button of touch-control, electronic equipment can maintain current state.
Embodiment nine
In this embodiment, the first control unit specifically can be used for according to the first control instruction control electronics theOne button is by generation during touch-control corresponding to the 3rd execute instruction of the 3rd function;
Wherein, the 3rd function is different from the first function.
Embodiment ten
Further embodiment of this invention also discloses a kind of key control device, applied in electronic equipment, electronic equipmentFirst position is provided with the first button, and the first button is physical button or is the virtual key shown on display unit, and firstButton can respond touch control operation and generate the first execute instruction for corresponding to and performing the first function;
As shown in figure 12, the device can include:First acquisition unit 1201, the first determining unit 1202, second determineUnit 1203, determine generation unit 1204, the 3rd determining unit 1205, the first computing unit 1206, the 4th determining unit 1207And first control unit 1208;Wherein:
First acquisition unit 1201, it can be used for the attitude parameter that electronic equipment is obtained using sensing unit;
First determining unit 1202, it can be used for the current pose that electronic equipment is determined according to attitude parameter;
Second determining unit 1203, it is determined for the posture corresponding to current pose of the electronic equipment at the first momentParameter is the first attitude parameter;
Generation unit 1204 is determined, it is raw when being determined for current pose the first preparatory condition of satisfaction of electronic equipmentInto the first control instruction;
3rd determining unit 1205, it is determined for electronic equipment and meets the current of the first preparatory condition at the second momentAttitude parameter corresponding to posture is the second attitude parameter;
First computing unit 1206, it can be used for calculating Parameters variation of second attitude parameter relative to the first attitude parameterAmount;
4th determining unit 1207, it can be used for the 3rd function that the first button is determined according to Parameters variation amount;
First control unit 1208, it can be used for according to the first control instruction control electronics in the first button by touch-controlShi Shengcheng corresponds to the 3rd execute instruction of the 3rd function.
Wherein, the 3rd function has relevance with the first function, and the difference value of the 3rd function and the first function becomes with parameterChange amount is relevant.
Wherein, the 4th determining unit can specifically include:First judge module and the first determining module;
First judge module, it can be used for judging Parameters variation amount whether in default threshold range;
First determining module, for when Parameters variation amount is in default threshold range, determining that the 3rd function is and theOne function produces the function of adverse effect to electronic equipment.
Wherein, the first button can respond touch control operation and generate the first execute instruction for corresponding to and performing the first function,Be specifically as follows the first button can respond touch control operation and generate correspond to perform the first parameter just changing first perform refer toOrder;Accordingly, the first control unit, specifically can be used for being touched in the first button according to the first control instruction control electronicsGeneration corresponds to the 3rd execute instruction of the negative change of the first parameter during control.
The embodiment of each device is corresponding with embodiment of the method above, for details, reference can be made to embodiment of the method, no longer detailed hereinCarefully repeat.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and otherThe difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodimentFor, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method partIt is bright.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention.A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined hereinGeneral Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the inventionThe embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase oneThe most wide scope caused.

Claims (16)

CN201410455527.3A2014-09-092014-09-09A kind of key control method and deviceActiveCN104182148B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410455527.3ACN104182148B (en)2014-09-092014-09-09A kind of key control method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410455527.3ACN104182148B (en)2014-09-092014-09-09A kind of key control method and device

Publications (2)

Publication NumberPublication Date
CN104182148A CN104182148A (en)2014-12-03
CN104182148Btrue CN104182148B (en)2017-12-26

Family

ID=51963244

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410455527.3AActiveCN104182148B (en)2014-09-092014-09-09A kind of key control method and device

Country Status (1)

CountryLink
CN (1)CN104182148B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105022499B (en)*2015-07-162017-11-07广东欧珀移动通信有限公司The physical button response method and device of a kind of mobile terminal
CN107231466B (en)*2016-03-242021-09-03西安中兴新软件有限责任公司Terminal communication method and device
CN107643969B (en)*2016-07-202020-05-29腾讯科技(深圳)有限公司 Control method, client and monitoring device for key response on monitoring device
CN114518158B (en)*2022-01-282024-09-24厦门顶尖电子有限公司Touch identification scale and label printing triggering method based on touch identification scale
CN115731684B (en)*2022-10-212024-04-12广州视声智能股份有限公司Control method and device of wireless key switch equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103049118A (en)*2011-10-142013-04-17北京搜狗科技发展有限公司Method and device for judging holding states on touch equipment
CN103699298A (en)*2013-12-162014-04-02联想(北京)有限公司Information processing method and electronic equipment
CN103995670A (en)*2014-05-262014-08-20联想(北京)有限公司Information processing method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103049118A (en)*2011-10-142013-04-17北京搜狗科技发展有限公司Method and device for judging holding states on touch equipment
CN103699298A (en)*2013-12-162014-04-02联想(北京)有限公司Information processing method and electronic equipment
CN103995670A (en)*2014-05-262014-08-20联想(北京)有限公司Information processing method and electronic equipment

Also Published As

Publication numberPublication date
CN104182148A (en)2014-12-03

Similar Documents

PublicationPublication DateTitle
CN104182148B (en)A kind of key control method and device
CN104020868B (en)The method and electronic equipment of a kind of information processing
CN106125463B (en)Information processing equipment, information processing method and program
CN103294366B (en)A kind of screen unlock method and electronic equipment
EP4102346A1 (en)Method, apparatus, device, and storage medium for controlling interface display
CN103870156B (en)A kind of method and device of process object
CN104461172B (en)A kind of display methods and electronic equipment
CN104423855A (en)Information processing method and electronic device
CN103092499A (en)Unlocking method of mobile device and mobile device using same
CN107797747A (en)A kind of screen control method, device and terminal based on multi-screen
CN105117056A (en)Method and equipment for operating touch screen
CN103793137A (en)Display method and electronic device
CN103488407A (en)Method and equipment for controlling display position of operation object icon
CN109558061A (en)A kind of method of controlling operation thereof and terminal
CN104808906A (en)Electronic equipment with touch display screen and touch display screen control method
CN103389850A (en)Method and device for realizing shortcut operation on browser
CN105677223A (en)Press touch method and device
CN103838496A (en)Method for controlling electronic equipment and electronic equipment
CN104699249B (en)A kind of information processing method and electronic equipment
CN105988559A (en)Information processing method and electronic device
CN107454259A (en)A kind of control adjusting method, device and computer installation, readable storage medium storing program for executing
CN104951052A (en)Information processing method and electronic equipment
JP6017995B2 (en) Portable information processing apparatus, input method thereof, and computer-executable program
CN105224269A (en)A kind of display control method and electronic equipment
CN105824534A (en)Information processing method and electronic equipment

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp