CN106095429A - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN106095429A
CN106095429A CN201610398965.XA CN201610398965A CN106095429A CN 106095429 A CN106095429 A CN 106095429A CN 201610398965 A CN201610398965 A CN 201610398965A CN 106095429 A CN106095429 A CN 106095429A
Authority
CN
China
Prior art keywords
noumenon
electronic equipment
parameter
preset range
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610398965.XA
Other languages
Chinese (zh)
Other versions
CN106095429B (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 Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610398965.XA priority Critical patent/CN106095429B/en
Publication of CN106095429A publication Critical patent/CN106095429A/en
Application granted granted Critical
Publication of CN106095429B publication Critical patent/CN106095429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Abstract

The invention discloses one information processing method and electronic equipment, cause the technical problem that the mistake responsiveness of electronic equipment is higher for solving two bodies in electronic equipment because of close easily generation maloperation.The method includes: obtain the first parameter of electronic equipment;Described first parameter is for indicating the angle between the first noumenon of described electronic equipment and the second body;Wherein, described electronic equipment includes that interconnective described the first noumenon and described second body, described the first noumenon and described second body can rotate against;Judge whether the value of described first parameter is positioned at the first preset range;Described first preset range presets angle for indicating the angle between described the first noumenon and described second body less than first;If the value of described first parameter is positioned at described first preset range, then close described the first noumenon and/or the input function of described second body.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of information processing method and electronic equipment.
Background technology
Current electronic equipment, such as notebook, can include interconnective two bodies, two bodies may set Putting input equipment, and the sensitivity of input equipment may be the highest, when two bodies are close to each other, one of them body may Can meet the input equipment of another body by mistake, thus operate another body generation false touch, i.e. two bodies are each other Easily producing maloperation each other, the mistake responsiveness causing electronic equipment is higher.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, is used for solving two bodies in electronic equipment Because cause the technical problem that the mistake responsiveness of electronic equipment is higher near easily generation false touch operation.
First aspect, it is provided that a kind of information processing method, described method includes:
Obtain the first parameter of electronic equipment;Described first parameter is for indicating the first noumenon and the of described electronic equipment Angle between two bodies;Wherein, described electronic equipment includes interconnective described the first noumenon and described second body, institute State the first noumenon and described second body can rotate against;
Judge whether the value of described first parameter is positioned at the first preset range;Described first preset range is used for indicating institute The angle stated between the first noumenon and described second body presets angle less than first;
If the value of described first parameter is positioned at described first preset range, then close described the first noumenon and/or described The input function of the second body.
Optionally, if closing the input function of described the first noumenon, the most described method also includes:
Obtain the second parameter of described electronic equipment;Described second parameter is used for indicating described the first noumenon and described second Angle between body;
Judge whether the value of described second parameter is positioned at the second preset range;Described second preset range is used for indicating institute The angle stated between the first noumenon and described second body presets angle less than second;
If the value of described second parameter is positioned at described second preset range, then close the input work of described second body Energy.
Optionally, before closing the input function of described second body, also include:
Power management module in described electronic equipment sends the first state and adjusts instruction, with by described electronic equipment State is adjusted to the first state;Wherein, when described electronic equipment is in described first state, forbid waking up described electronic equipment up System.
Optionally, described method also includes:
Dormancy instruction is sent to described power management module;
Perform dormancy by described power management module to instruct so that the system of described electronic equipment enters resting state, To close the input function of described second body.
Optionally, after closing the input function of described second body, also include:
Receive the request message for described second body;Described request message makes described electronic equipment for request System enters duty, or described request message is for by described second body input information;
Inquire about the state of described electronic equipment;
If the state of described electronic equipment is described first state, then abandon described request message.
Optionally, after closing the input function of described the first noumenon, also include:
Receive the input operation information for described the first noumenon;
Abandon the described input operation information for described the first noumenon, with defeated for described the first noumenon of refusal response Enter operation.
Optionally, after closing the input function of described the first noumenon and/or described second body, also include:
Reacquire described first parameter;
Judge whether the value of described first parameter reacquired is positioned at described first preset range;
If the value of described first parameter is not in described first preset range, then open described the first noumenon and/or The input function of described second body.
Optionally, if opening the input function of described the first noumenon, the most described method also includes:
Reacquire the second parameter of described electronic equipment;Described second parameter is used for indicating described the first noumenon and described Angle between second body;
Judge whether the value of described second parameter is positioned at the second preset range;Described second preset range is used for indicating institute The angle stated between the first noumenon and described second body presets angle less than second;
If the value of described second parameter is not in described second preset range, then open the input of described second body Function.
Optionally, before opening the input function of described second body, also include:
Power management module in described electronic equipment sends the second state and adjusts instruction;
Perform described second state by described power management module and adjust instruction, so that the state of described electronic equipment is adjusted Whole is the second state;Wherein, when described electronic equipment is in described second state, it is allowed to wake up described electronic equipment up is System.
Optionally, described method also includes:
Instruction of reviving is sent to described power management module;
Perform to revive instruction by described power management module so that the system entrance duty of described electronic equipment, To open the input function of described second body.
Second aspect, it is provided that a kind of electronic equipment, including:
The first noumenon;
Second body;Wherein, described the first noumenon and described second body are connected with each other, and described the first noumenon and described Second body can rotate against;
Memorizer, be arranged on described the first noumenon or described second internal, be used for storing instruction;
Processor, be arranged on described the first noumenon or described second internal, be used for performing described instruction:
Obtain the first parameter of described electronic equipment;Described first parameter is used for indicating described the first noumenon and described second Angle between body;
Judge whether the value of described first parameter is positioned at the first preset range;Described first preset range is used for indicating institute The angle stated between the first noumenon and described second body presets angle less than first;
If the value of described first parameter is positioned at described first preset range, then close described the first noumenon and/or described The input function of the second body.
Optionally, described processor is additionally operable to:
If closing the input function of described the first noumenon, obtain the second parameter of described electronic equipment;Described second ginseng Number is for indicating the angle between described the first noumenon and described second body;
Judge whether the value of described second parameter is positioned at the second preset range;Described second preset range is used for indicating institute The angle stated between the first noumenon and described second body presets angle less than second;
If the value of described second parameter is positioned at described second preset range, then close the input work of described second body Energy.
Optionally, described processor is additionally operable to:
Before closing the input function of described second body, power management module in described electronic equipment sends the One state adjusts instruction, is adjusted to the first state with the state by described electronic equipment;Wherein, it is in institute at described electronic equipment When stating the first state, forbid waking up up the system of described electronic equipment.
Optionally, described processor is additionally operable to:
Dormancy instruction is sent to described power management module;
Perform dormancy by described power management module to instruct so that the system of described electronic equipment enters resting state, To close the input function of described second body.
Optionally, described processor is additionally operable to:
After closing the input function of described second body, receive the request message for described second body;Described Request message makes the system of described electronic equipment enter duty for request, or described request message is for by described Second body input information;
Inquire about the state of described electronic equipment;
If the state of described electronic equipment is described first state, then abandon described request message.
Optionally, described processor is additionally operable to:
After closing the input function of described the first noumenon, receive the input operation information for described the first noumenon;
Abandon the described input operation information for described the first noumenon, with defeated for described the first noumenon of refusal response Enter operation.
Optionally, described processor is additionally operable to:
After closing the input function of described the first noumenon and/or described second body, reacquire described first ginseng Number;
Judge whether the value of described first parameter reacquired is positioned at described first preset range;
If the value of described first parameter is not in described first preset range, then open described the first noumenon and/or The input function of described second body.
Optionally, described processor is additionally operable to:
If opening the input function of described the first noumenon, then reacquire the second parameter of described electronic equipment;Described Second parameter is for indicating the angle between described the first noumenon and described second body;
Judge whether the value of described second parameter is positioned at the second preset range;Described second preset range is used for indicating institute The angle stated between the first noumenon and described second body presets angle less than second;
If the value of described second parameter is not in described second preset range, then open the input of described second body Function.
Optionally, described processor is additionally operable to:
Before opening the input function of described second body, power management module in described electronic equipment sends the Two-state adjusts instruction;
Perform described second state by described power management module and adjust instruction, so that the state of described electronic equipment is adjusted Whole is the second state;Wherein, when described electronic equipment is in described second state, it is allowed to wake up described electronic equipment up is System.
Optionally, described processor is additionally operable to:
Instruction of reviving is sent to described power management module;
Perform to revive instruction by described power management module so that the system entrance duty of described electronic equipment, To open the input function of described second body.
The third aspect, it is provided that another kind of electronic equipment, including:
Acquisition module, for obtaining the first parameter of electronic equipment;Described first parameter is used for indicating described electronic equipment The first noumenon and the second body between angle;Wherein, described electronic equipment include interconnective described the first noumenon and Described second body, described the first noumenon and described second body can rotate against;
Judge module, for judging whether the value of described first parameter is positioned at the first preset range;Described first presets Scope presets angle for indicating the angle between described the first noumenon and described second body less than first;
Processing module, if the value for described first parameter is positioned at described first preset range, then closes described first Body and/or the input function of described second body.
The embodiment of the present invention can determine according to the size of the angle between the first noumenon of electronic equipment and the second body Whether close the input function of the first noumenon and/or the second body, if the angle between the first noumenon and the second body is less, Then can close the input function of the first noumenon and/or the second body, thus decrease the first noumenon and to a certain extent Two bodies produce the probability of false touch operation each other because of close to each other, reduce the mistake responsiveness of electronic equipment.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Inventive embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to carrying The accompanying drawing of confession obtains other accompanying drawing.
Fig. 1 is the flow chart of information processing method in the embodiment of the present invention;
Fig. 2 is a kind of structural representation of electronic equipment in the embodiment of the present invention;
Fig. 3 A is the form schematic diagram that in the embodiment of the present invention, electronic equipment is in closing lid state;
Fig. 3 B is the form schematic diagram that in the embodiment of the present invention, electronic equipment is in flat condition;
Fig. 3 C is the form schematic diagram that in the embodiment of the present invention, electronic equipment is in notebook state;
Fig. 3 D is the form schematic diagram that in the embodiment of the present invention, electronic equipment is in tent state;
Fig. 4 is a kind of structural representation of electronic equipment in the embodiment of the present invention;
Fig. 5 is a kind of structural representation of electronic equipment in the embodiment of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with in the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only It is a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under not making creative work premise, broadly falls into the scope of protection of the invention.? In the case of not conflicting, the embodiment in the present invention and the feature in embodiment can mutual combination in any.And, although at stream Journey figure shows logical order, but in some cases, can perform with the order being different from herein shown or described Step.
It addition, the terms "and/or", a kind of incidence relation describing affiliated partner, expression can exist Three kinds of relations, such as, A and/or B, can represent: individualism A, there is A and B, individualism B these three situation simultaneously.Separately Outward, character "/" herein, in the case of not illustrating, typically represent the forward-backward correlation relation to liking a kind of "or".
In order to be more fully understood that technique scheme, below in conjunction with Figure of description, technique scheme is carried out in detail Ground explanation.
Refer to Fig. 1, it is provided that a kind of information processing method, the flow process of the method is described as follows.
Step 101: obtain the first parameter of electronic equipment;First parameter is for indicating the first noumenon and the of electronic equipment Angle between two bodies;Wherein, electronic equipment includes interconnective the first noumenon and the second body, the first noumenon and second Body can rotate against;
Step 102: judge whether the value of the first parameter is positioned at the first preset range;First preset range is for instruction the Angle between one body and the second body presets angle less than first;
Step 103: if the value of the first parameter is positioned at the first preset range, then close the first noumenon and/or the second body Input function.
Optionally, refer to Fig. 2, be as a example by notebook by electronic equipment, the electronic equipment in certain embodiment of the present invention Type be not limited to this.Optionally, electronic equipment can include the first noumenon 101 and the second body 102, and the first noumenon 101 can To be connected with the second body 102, wherein, the first noumenon 101 can rotate relative to the second body 102.In Fig. 2, the first noumenon 101 can be connected by connecting shaft 103 with the second body 102, and the first noumenon 101 can arrange input equipment, the first noumenon The input equipment arranged on 101 can include touch screen, or can also include non-touch-control screen, and the second body 102 can also set Putting input equipment, the input equipment that the second body 102 is arranged can include Trackpad, keyboard, touch screen or non-touch-control screen etc., On the first noumenon 101 arrange input equipment and the second body 102 on arrange input equipment type can identical can also Different.
Optionally, according to the difference of the angle between the first noumenon 101 and the second body 102, this electronic equipment can have There is different states.Refer to Fig. 3 A, when the angle between the first noumenon 101 and the second body 102 is 0 °, can be by electronics Equipment state in which is referred to as closing lid state, refers to Fig. 3 B, and the angle between the first noumenon 101 and the second body 102 is When 180 °, electronic equipment state in which flat condition be can be referred to as, Fig. 3 C, the first noumenon 101 and the second body referred to When angle between 102 is (0 °, 180 °), electronic equipment state in which can be referred to as notebook state, refer to Fig. 3 D, When angle between the first noumenon 101 and the second body 102 is (180 °, 360 °), electronic equipment state in which can be claimed For tent state, etc..The first noumenon 102 and the second body 102 can rotate against, and therefore electronic equipment can the most freely Ground any switching laws between various states.
First parameter of electronic equipment may indicate that the first noumenon 101 and the angle of the second body 102, a kind of embodiment party In formula, the first parameter can include the first noumenon 101 and the actual angle of the second body 102, in another embodiment, One parameter can include the value corresponding to different relative position relations between the first noumenon 101 and the second body 102, at this In the case of Zhong, during angle difference between the first noumenon 101 and the second body 102, the value of the first parameter can also be different.Cause This, no matter the first parameter includes the first noumenon 101 and the actual angle of the second body 102 or includes different relative position relation Corresponding value, can think that the first parameter is for indicating the angle between the first noumenon 101 and the second body 102.Certainly, Two kind of first above parameter is example, and the content that the embodiment of the present invention includes for the first parameter is not restricted.
Wherein, if the first parameter includes the actual angle between the first noumenon 101 and the second body 102, then obtain First parameter of electronic equipment, can by have different in the way of, below citing introduce.
Mode one: by being arranged on the first acceleration transducer of the first noumenon 101 and the second body 102 can be arranged on The second acceleration transducer obtain.
The first noumenon 101 and the second body 102 are when rotating against, and the first acceleration transducer can obtain the first noumenon 101 relative to the angle of the plane of reference, and the plane of reference can be horizontal plane, it is also possible to be vertical guide, equally, and the second acceleration transducer Also second body 102 angle relative to this plane of reference can be obtained.The first noumenon 101 and the second body 102 when rotating against, The angle of the such as first acceleration transducer collection is 30 °, and the second body 102 is likely not to have rotation, so the second acceleration passes The angle of sensor collection is 0 °, then electronic equipment can calculate angle and the second acceleration biography that the first acceleration transducer obtains The difference of the angle that sensor obtains, and obtain the actual angle between the first noumenon 101 and the second body 102 according to this difference, Such as can directly using this difference as the actual angle between the first noumenon 101 and the second body 102.Such as, first accelerates The angle of degree sensor acquisition is 30 °, and the angle of the second acceleration transducer collection is 0 °, then electronic equipment may determine that the Actual angle between one body 101 and the second body 102 is 30 °, or such as, the angle that the first acceleration transducer gathers Being 30 °, the angle that the second acceleration transducer gathers is-30 °, then, electronic equipment may determine that the first noumenon 101 and second Angle between body 102 is 60 °.
Mode two: by being arranged on the first electronic compass of the first noumenon 101 and the of the second body 102 can be arranged on Two electronic compass obtain.
After assuming that the first noumenon 101 rotates relative to the second body 102, the deviant △ a=that the first electronic compass gathers 30 °, deviant △ b=0 ° that the second electronic compass gathers.The skew that then electronic equipment can gather according to the first electronic compass The deviant △ b that value △ a and the second electronic compass gather calculates the actual angle between the first noumenon 101 and the second body 102, Such as a kind of calculation is, calculates deviant △ a and the deviant of the second electronic compass collection that the first electronic compass gathers The difference of △ b, using this difference as the actual angle between the first noumenon 101 and the second body 102.Such as, △ a=30 °, △ B=0 °, then the actual angle that electronic equipment can be calculated between the first noumenon and the second body is 30 °.
If the first parameter includes the value corresponding to relative position relation between the first noumenon 101 and the second body 102, Then can obtain electricity by the magnet and the Hall element being arranged on the second body 102 that are arranged on the first noumenon 101 First parameter of subset.For example, it is possible to install magnet in the first noumenon 101, can be magnet steel, it is also possible to be magnetic bead etc., In the second body 102, it is mounted with that the position corresponding of magnet installs Hall element with the first noumenon 101, than As, magnet can be set in the end of the first noumenon 101, at the end of the second body 102 installation Hall element, wherein, the The end of one body 101 can be the first noumenon 101 four edges in any two limits joining near position, the second body The end of 102 can be the second body 102 four edges in corresponding two limits being provided with magnet in the first noumenon 101 Joining near position.Or magnet can also be set at the middle part of the first noumenon 101, pacify at the middle part of the second body 102 Dress Hall element, wherein, the middle part of the first noumenon 101 can be the first noumenon 101 four edges in any one limit Between position, the middle part of the second body 102 can be the second body 102 four edges in be provided with magnet in the first noumenon 101 The centre position on corresponding limit, limit.Hall element can be Hall switch sensor, as single-stage type Hall element, Discrete Hall Sensor, ambipolar Hall element, full level type sensor or linear hall sensor.With Hall element As a example by being Hall switch sensor, when the magnetic induction of Hall element sensing reaches the magnetic induction of Hall element During opening point, Hall element output high level, such as output " 1 ", when the magnetic induction of Hall element sensing is less than magnetic When induction closes close point, the output voltage values of Hall element will overturn, output low level, such as output " 0 ".Ratio As, when the magnetic induction opening point of Hall element is 50 teslas, it is 30 teslas that magnetic induction closes close point, when first When body 101 and the second body 102 rotate against, if the magnetic induction of Hall element sensing is 60 teslas, then Hall element output high level, if the magnetic induction of Hall element sensing is 40 teslas, then Hall element Still the high level of output, if the magnetic induction of Hall element sensing is 10 teslas, then Hall element exports Low level.So, during implementing, when the first noumenon 101 rotates relative to the second body 102, the first noumenon 101 He Distance between second body 102 can change, and causes magnetic induction between the first noumenon 101 and the second body 102 to be sent out Changing.So Hall element just can perceive the change of the magnetic induction between the first noumenon 101 and the second body 102 Change, thus export high level or low level accordingly according to sensing result.
After obtaining the first parameter of electronic equipment, it can be determined that whether the value of the first parameter is positioned at the first preset range In, to determine whether to close the first noumenon 101 and/or the input function of the second body 102, the content included according to the first parameter Different, it is judged that mode is the most different, introduces separately below.
If the first parameter that electronic equipment obtains includes the actual angle between the first noumenon 101 and the second body 102, Then the default angle of the actual angle obtained with the first noumenon 101 and the second body 102 can be compared, to determine whether Closing the first noumenon 101 and/or the input function of the second body 102, wherein the first preset range is angular range, is such as [0, first presets angle].Optionally, first can be pre-set and preset angle, could be arranged to 15 °, or could be arranged to 30 °, or it can also be provided that other possible number of degrees, can be occurred each other by mistake by two bodies of experiment test the most in advance Touch time two bodies between angle, this angle can be set to first and preset angle.Such as, first to preset angle be 15 °, If the actual angle of the first noumenon acquired in electronic equipment 101 and the second body 102 is 20 °, preset angle more than first, So electronic equipment may determine that the value of the first parameter is not in the first preset range, it is not necessary to close the first noumenon 101 and/ Or the second input function of body 102.And if the first noumenon 101 acquired in electronic equipment and the reality of the second body 102 Angle is 10 °, presets angle less than first, then electronic equipment may determine that the value of the first parameter is positioned at the first preset range In, then close the first noumenon 101 and/or the input function of the second body 102.
If the first parameter that electronic equipment obtains is the output valve of Hall element, i.e. 0 or 1, then according to Hall The output of sensor, it may be judged whether the first noumenon 101 to be closed and/or the input function of the second body 102.First preset range The first noumenon 101 value of Hall element output when the second body 102 can be included, can be 0, it is also possible to be 1, according to The different setting of Hall element and different.As a example by the first preset range is 0, if Hall element output 0, i.e. the One body 101 and the second body 102 are near state, and now, the output valve of Hall element is positioned at the first preset range, So electronic equipment may determine that cut out the first noumenon 101 and/or the input function of the second body 102.If Hall element Output 1, i.e. the first noumenon 101 and the second body 102 is in away from state, and now, the output valve of Hall element is not at In first preset range, then electronic equipment may determine that and need not cut out the defeated of the first noumenon 101 and/or the second body 102 Enter function.
Electronic equipment if it is determined that the value of the first parameter is positioned at the first preset range, then can cut out the first noumenon 101 Input function, it is also possible to close the input function of the second body 102, or the first noumenon 101 and second can be simultaneously closed off The input function of body 102.
Wherein, close the input function of any one body, may have different closedown modes, wherein, possible one Embodiment is, can send dormancy instruction to the power management module in electronic equipment, perform to stop by power management module Sleep and instruct so that the system of electronic equipment enters resting state, and then closes the first noumenon 101 and the input of the second body 102 Function.Possible another embodiment is to perform out code by electronic equipment so that the first noumenon 101 or second The input function of body 102 is closed.
In an embodiment of the invention, after closing the input function of the first noumenon 101, if electronic equipment have received pin The input operation information carrying out the first noumenon 101, then electronic equipment can abandon this input operation information, to refuse response For the input operation of the first noumenon 101, thus reduce to a certain extent the first noumenon 101 because of with the second body 102 phase Mutually near and there is the probability of maloperation.
If the value of the first parameter is positioned at the first preset range, electronic equipment selects to close the input of the first noumenon 101 Function, if to continue to determine whether to close the input function of the second body 102, can continue to obtain the second of electronic equipment Parameter, electronic equipment can determine whether to cut out the input function of the second body 102 according to the second parameter.Second parameter is permissible It is the first noumenon 101 and the actual angle of the second body 102, it is also possible to be the phase between the first noumenon 101 and the second body 102 To the value corresponding to position relationship, the second parameter may indicate that the angle between the first noumenon 101 and the second body 102 in a word. In the embodiment of the present invention, if the first parameter is the actual angle between the first noumenon 101 and the second body 102, then second Parameter can be the actual angle between the first noumenon 101 and the second body 102, it is also possible to be the first noumenon 101 and second The value corresponding to relative position relation between body 102.If the first parameter is between the first noumenon 101 and the second body 102 The value corresponding to relative position relation, then the second parameter can be the reality between the first noumenon 101 and the second body 102 Angle.If the second parameter is the actual angle between the first noumenon 101 and the second body 102, then obtain electronic equipment Second parameter is referred to come mentioned by the mode of acceleration transducer or the first parameter of electronic compass acquisition electronic equipment Obtain.If the second parameter is the value corresponding to relative position relation between the first noumenon 101 and the second body 102, then The second parameter obtaining electronic equipment is referred to obtain the mode of the first parameter of electronic equipment mentioned by Hall element Obtain.
Electronic equipment judges whether to cut out the input function of the second body 102 according to the second parameter, according to the second parameter Including content different, it is judged that mode is the most different, introduces separately below.
Under the first technique, if the second parameter is the first noumenon 101 and the actual angle of the second body 102, obtain After second parameter, it can be determined that whether the value of the second acquired parameter is positioned at the second preset range, if the value of the second parameter It is positioned at the second preset range, then closes the input function of the second body 102.Such as, the second preset range is angular range, than As for [0, second presets angle], second presets angle can pre-set, and can be less than the first arbitrary value presetting angle. Such as first to preset angle be 15 °, and second to preset angle be 10 °, closes the defeated of the first noumenon 101 presetting angle according to first After entering function, the first noumenon 101 and the actual angle of the second body 102 that electronic equipment obtains again are 13 °, this actual angle Angle is preset, then electronic equipment may determine that the value of the second parameter is not in the second preset range more than second, it is not necessary to Close the input function of the second body 102.And if the first noumenon 101 that electronic equipment obtains again and the second body 102 Actual angle is 5 °, presets angle less than second, then electronic equipment may determine that the value of the second parameter is positioned at second and presets model In enclosing, then close the input function of the second body 102.
Under a second technique, close if the second parameter is the relative position between the first noumenon 101 and the second body 102 Value corresponding to system, after obtaining the second parameter, it can be determined that whether the value of the second acquired parameter is positioned at the second preset range In, if the value of the second parameter is positioned at the second preset range, then close the input function of the second body 102.Second preset range The first noumenon 101 value of Hall element output when the second body 102 can be included, can specify that it is 0, it is also possible to regulation It is 1, different according to different setting of Hall element.As a example by the second preset range is 0, if Hall element is defeated Go out 0, i.e. the first noumenon 101 and the second body 102 is near state, and now, electronic equipment determines the output of Hall element Value is positioned at the second preset range, then electronic equipment can cut out the input function of the second body 102.If Hall element Output 1, i.e. the first noumenon 101 and the second body 102 is in away from state, and now, electronic equipment determines the defeated of Hall element Go out value to be not in the second preset range, then can be without closing the input function of the second body 102.
In one embodiment of the invention, can be closed by the way of the operating system dormancy making electronic equipment The input function of two bodies 102, then before the input function closing the second body 102, can be to the power supply pipe in electronic equipment Reason module (Power Manager) sends the first state and adjusts instruction, so that the state of electronic equipment is adjusted to the first state, the One state can represent the operating system of electronic equipment in a dormant state, it is also possible to sends dormancy to power management module and refers to Order, for example, gotosleep instructs, and power management module can perform dormancy instruction, and the result performing dormancy instruction is order electricity The operating system of subset enters resting state, after the operating system of electronic equipment enters resting state, and the second body 102 defeated Enter function naturally can close.
It addition, when the operating system of electronic equipment is in the first state, forbid waking up up the operating system of electronic equipment.Example As, in a dormant state, i.e. the input function of the first noumenon 101 and the second body 102 is the most for the operating system of electronic equipment Closing, now, if having received the solicited message for the second body 102, this request message makes electronic equipment for request Operating system enter duty, or this request message for request input information by the second body 102, then electronics After equipment receives request message, the state of electronic equipment can be inquired about, if the state of the electronic equipment inquired about is the first shape State, then electronic equipment will not wake up operating system, can directly abandon this request message, to reach energy-conservation effect.
Such as front introduction is all to close the first noumenon 101 and/or the scheme of the second body 102, is closing the first noumenon 101 And/or second body 102 input function after, it is also possible to open the first noumenon 101 and/or the input work of the second body 102 Energy.The difference of the mode according to the input function closing the first noumenon 101 and/or the second body 102, corresponding unlatching first The mode of the input function of body 101 and/or the second body 102 is the most different, introduces separately below.
The first opening ways: if closing the defeated of the first noumenon 101 and the second body 102 according to the first parameter obtained Enter function, if or close the input function of the first noumenon 101 according to the first parameter obtained, and according to the second ginseng obtained Number closes the input function of the second body 102, after closing the input function of the first noumenon 101 and the second body 102, also The first parameter can be reacquired, if the first parameter reacquired is not in the first preset range, then can open The input function of the first noumenon 101, or open the input function of the second body 102, or open the first noumenon 101 He simultaneously The input function of the second body 102.The content included about the first parameter and the introduction of corresponding first preset range refer to Such as front embodiment.
The second opening ways: if closing the defeated of the first noumenon 101 and the second body 102 according to the first parameter obtained Enter function, if or close the input function of the first noumenon 101 according to the first parameter obtained, and according to the second ginseng obtained Number closes the input function of the second body 102, after closing the input function of the first noumenon 101 and the second body 102, also The second parameter can be reacquired, if the second parameter reacquired is not in the second preset range, then can open The input function of the first noumenon 101, or open the input function of the second body 102, or open the first noumenon 101 He simultaneously The input function of the second body 102.The content included about the second parameter and the introduction of corresponding second preset range refer to Such as front embodiment.
The third opening ways: if closing the defeated of the first noumenon 101 and the second body 102 according to the first parameter obtained Enter function, if or close the input function of the first noumenon 101 according to the first parameter obtained, and according to the second ginseng obtained Number closes the input function of the second body 102, after closing the input function of the first noumenon 101 and the second body 102, and can To reacquire the first parameter, if the first parameter reacquired is not in the first preset range, then the can be opened The input function of one body 101, and can also reacquire the second parameter, if the second parameter reacquired is not at the In two preset range, then can open the input function of the second body 102.The content that includes about the first parameter, corresponding Content and the introduction of corresponding second preset range that one preset range, the second parameter include refer to such as front embodiment.
Under this opening ways, if closing the by making the operating system of electronic equipment enter resting state The input function of two bodies 102, then if it is determined that the input function of the second body 102 need to be opened, can be to power management module Transmission is revived instruction, for example, full wakeup instruction or for wakeup instruction, power management module is revived by performing this Instruction is so that the operating system of electronic equipment is entered duty by resting state, thus opens the defeated of the second body 102 Enter function.
Wherein, if also the state of electronic equipment is adjusted for the first shape when making electronic equipment enter resting state State, then before the operating system rearming making electronic equipment, can first inquire about the state of electronic equipment, as Really the state of electronic equipment is the first state, and the operating system of electronic equipment needs to keep resting state in the first state, then In order to make the operating system of electronic equipment enter duty, state can be sent to power management module and adjust instruction, such as The adjustment instruction of this state being referred to as the second state and adjusts instruction, power management module can by performing the adjustment instruction of this second state So that the state of electronic equipment is adjusted to the second state from the first state, when electronic equipment is in the second state, it is allowed to wake up up The operating system of electronic equipment, then, when electronic equipment is in the second state, can make the operating system of electronic equipment again enter Enter duty, such that it is able to reopen the input function of the second body 102.
Introduce the equipment that the embodiment of the present invention is provided below in conjunction with the accompanying drawings.
Referring to Fig. 4, based on same inventive concept, the embodiment of the present invention provides a kind of electronic equipment, and this electronic equipment can To include the first noumenon the 101, second body 102, memorizer 401 and processor 402.Wherein, the first noumenon 101 and the second body 102 can be connected with each other, and can rotate against.Memorizer 401 is used for storing instruction, and memorizer 401 can be arranged on first In body 101, or can be arranged in the second body 102.Processor 402 can be arranged in the first noumenon 101, or can To be arranged in the second body 102, Fig. 4 is as a example by memorizer 401 and processor 402 are arranged on the second body 102.It addition, Owing to memorizer 401 and processor 402 are really arranged on the second body 102 inside, it should be sightless, therefore at Fig. 4 In illustrate by dashed box.Processor 402, for performing the instruction of memorizer 401 storage, obtains the first of electronic equipment Parameter, it is judged that whether the value of the first parameter is positioned at the first preset range, if the value of the first parameter is positioned at the first preset range, Then close the first noumenon 101 and/or the input function of the second body 102.Wherein, the first parameter is used for indicating the first noumenon 101 And the angle between the second body 102, the first preset range is for indicating the folder between the first noumenon 101 and the second body 102 Angle is preset less than first in angle.
Wherein, this electronic equipment can also include sensor, and by sensor acquisition the first parameter, processor 402 is permissible Obtain the first parameter of sensor acquisition.
Optionally, processor 402 can be also used for:
If closing the input function of the first noumenon 101, obtain the second parameter of electronic equipment;Second parameter is used for indicating Angle between the first noumenon 101 and the second body 102;
Judge whether the value of the second parameter is positioned at the second preset range;Second preset range is used for indicating the first noumenon 101 and second angles between body 102 preset angle less than second;
If the value of the second parameter is positioned at the second preset range, then close the input function of the second body 102.
Wherein, this electronic equipment can also include sensor, and by sensor acquisition the second parameter, processor 402 is permissible Obtain the second parameter of sensor acquisition.And, the sensor gathering the first parameter and the sensor gathering the second parameter can be Identical sensor, or can also be different sensors.
Optionally, processor 402 can be also used for:
Before closing the input function of the second body 102, the power management module in electronic equipment sends the first shape State adjusts instruction, so that the state of electronic equipment is adjusted to the first state;Wherein, when electronic equipment is in the first state, prohibit Only wake up the system of electronic equipment up.
Optionally, processor 402 can be also used for:
Dormancy instruction is sent to power management module;
Perform dormancy by power management module to instruct so that the system of electronic equipment enters resting state, to close the The input function of two bodies 102.
Optionally, processor can be also used for:
After closing the input function of the second body 102, receive the request message for the second body 102;Request disappears Breath makes the system of electronic equipment enter duty for request, or request message is for by the second body 102 input letter Breath;
The state of inquiry electronic equipment;
If the state of electronic equipment is the first state, then abandon request message.
Optionally, processor can be also used for:
After closing the input function of the first noumenon 101, receive the input operation information for the first noumenon 101;
Abandon the input operation information for the first noumenon 101, grasp for the input of the first noumenon 101 with refusal response Make.
Optionally, processor can be also used for:
After closing the input function of the first noumenon 101 and/or the second body 102, reacquire the first parameter;
Judge whether the value of the first parameter reacquired is positioned at the first preset range;
If the value of the first parameter is not in the first preset range, then open the first noumenon 101 and/or the second body The input function of 102.
Optionally, processor can be also used for:
If opening the input function of the first noumenon 101, then reacquire the second parameter of electronic equipment;Second parameter is used Angle between instruction the first noumenon 101 and the second body 102;
Judge whether the value of the second parameter is positioned at the second preset range;Second preset range is used for indicating the first noumenon 101 and second angles between body 102 preset angle less than second;
If the value of the second parameter is not in the second preset range, then open the input function of the second body 102.
Optionally, processor can be also used for:
Before opening the input function of the second body 102, the power management module in electronic equipment sends the second shape State adjusts instruction;
Perform the second state by power management module and adjust instruction, so that the state of electronic equipment is adjusted to the second shape State;Wherein, when electronic equipment is in the second state, it is allowed to wake up the system of electronic equipment up.
Optionally, processor can be also used for:
Instruction of reviving is sent to power management module;
Perform to revive instruction by power management module so that the system entrance duty of electronic equipment, to open the The input function of two bodies 102.
Optionally, the first parameter can be the actual angle between the first noumenon 101 and the second body 102, or permissible It is the value that between the first noumenon 101 and the second body 102, relative position relation is corresponding, then processor can obtain electronic equipment The first parameter, and judge whether the value of the first parameter is positioned at the first preset range, if the first parameter is positioned at first presets model In enclosing, then close the first noumenon 101 and the input function of the second body 102.
Optionally, when the actual angle that the first parameter can be between the first noumenon 101 and the second body 102, second Parameter can be the actual angle between the first noumenon 101 and the second body 102, or can be the first noumenon 101 and second The value that between body 102, relative position relation is corresponding.So processor can obtain the second parameter of electronic equipment, and judges Whether the value of two parameters is positioned at the second preset range, if the second parameter is positioned at the second preset range, then closes the second body The input function of 102.
Optionally, it is the value that between the first noumenon 101 and the second body 102, relative position relation is corresponding when the first parameter Time, the second parameter can be the actual angle between the first noumenon 101 and the second body 102, then processor can obtain electricity Second parameter of subset, and judge whether the value of the second parameter is positioned at the second preset range, if the second parameter is positioned at second In preset range, then close the input function of the second body 102.
This equipment may be used for performing the method described in above-mentioned Fig. 1, therefore, is realized for each unit in this equipment Functions etc., refer to such as the description of front method part, seldom repeat.
Referring to Fig. 5, based on same inventive concept, the embodiment of the present invention also provides for another kind of electronic equipment, and this electronics sets Standby can be same electronic equipment with the electronic equipment shown in Fig. 4.This electronic equipment can include acquisition module 501, judge mould Block 502 and processing module 503.
Acquisition module 501 may be used for obtaining the first parameter of electronic equipment;First parameter is for indicating electronic equipment Angle between the first noumenon 101 and the second body 102;Wherein, electronic equipment includes interconnective the first noumenon 101 and Two bodies 102, the first noumenon 101 and the second body 102 can rotate against;
Judge module 502 may be used for judging whether the value of the first parameter is positioned at the first preset range;First presets model Enclose for indicating the angle between the first noumenon 101 and the second body 102 to preset angle less than first;
If the value that processing module 503 may be used for the first parameter is positioned at the first preset range, then close the first noumenon 101 And/or the second input function of body 102.
Optionally, if processor 503 closes the input function of the first noumenon 101, acquisition module 501 according to the first parameter It is additionally operable to obtain the second parameter of electronic equipment;Second parameter is for indicating the folder between the first noumenon 101 and the second body 102 Second parameter of angle electronic equipment;Second parameter is for indicating the angle between the first noumenon 101 and the second body 102;Accordingly , it is judged that module 502 is additionally operable to judge whether the value of the second parameter is positioned at the second preset range;Second preset range is used for referring to Show that the angle between the first noumenon 101 and the second body 102 presets angle less than second;Accordingly, processing module 503 is additionally operable to If the value of the second parameter is positioned at the second preset range, then close the input function of the second body 102.
Optionally, processing module 503, it is additionally operable to before closing the input function of the second body 102, in electronic equipment Power management module send first state adjust instruction, so that the state of electronic equipment is adjusted to the first state;Wherein, at electricity When subset is in the first state, forbid waking up up the system of electronic equipment.
Optionally, processing module 503, it is additionally operable to:
Dormancy instruction is sent to power management module;
Perform dormancy by this power management module to instruct so that the system of electronic equipment enters resting state, to close The input function of the second body 102.
Optionally, processing module 503, it is additionally operable to:
After closing the input function of the second body 102, receive the request message for the second body;Request message is used for Request makes the system of electronic equipment enter duty, or request message is for inputting information by the second body 102;
The state of inquiry electronic equipment, if the state of electronic equipment is the first state, then abandons this request message.
Optionally, processing module 503, it is additionally operable to:
After closing the input function of the first noumenon 101, receive the input operation information for the first noumenon 101;
Abandon the input operation information for the first noumenon 101, grasp for the input of the first noumenon 101 with refusal response Make.
Optionally, after closing the input function of described the first noumenon and/or described second body, acquisition module 501 It is additionally operable to, after closing the input function of the first noumenon 101 and/or the second body 102, reacquire the first parameter;Accordingly , it is judged that module 502 is additionally operable to judge whether the value of the first parameter reacquired is positioned at the first preset range;Accordingly, If the value that processing module 503 is additionally operable to the first parameter is not in the first preset range, then open the first noumenon 101 and/or The input function of the second body 102.
Optionally, if opening the input function of the first noumenon 101, acquisition module 501 is additionally operable to reacquire electronics and sets The second standby parameter;Second parameter is for indicating the angle between the first noumenon 101 and the second body 102;Accordingly, it is judged that mould Block 502 is additionally operable to judge whether the value of the second parameter is positioned at the second preset range;Second preset range is used for indicating first Angle between body 101 and the second body 102 presets angle less than second;Accordingly, if processing module 503 is additionally operable to the second ginseng The value of number is not in the second preset range, then open the input function of the second body 102.
Optionally, processing module 503 is additionally operable to:
Before opening the input function of the second body 102, the power management module in electronic equipment sends the second shape State adjusts instruction;
Perform the second state by power management module and adjust instruction, so that the state of electronic equipment is adjusted to the second shape State;Wherein, when electronic equipment is in the second state, it is allowed to wake up the system of electronic equipment up.
Optionally, processing module 503 is additionally operable to:
Instruction of reviving is sent to described power management module;
Perform to revive instruction by power management module so that the system entrance duty of described electronic equipment, to open Open the input function of described second body.
Wherein, acquisition module 501, judge module 502 and the entity device corresponding to processing module 503 may each be Fig. 4 In processor 402.
The embodiment of the present invention can big according to the angle between the first noumenon 101 and second body 102 of electronic equipment Little determine whether to close the first noumenon 101 and/or the input function of the second body 102, if the first noumenon 101 and the second body Angle between 102 is less, then can close the first noumenon 101 and/or the input function of the second body 102, thus necessarily Decrease the first noumenon 101 in degree and the second body 102 produces, because of close to each other, the probability that false touch operates each other, reduce The mistake responsiveness of electronic equipment.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, only with above-mentioned each function The division of module is illustrated, and in actual application, can distribute above-mentioned functions by different function moulds as desired Block completes, and the internal structure of device will be divided into different functional modules, to complete all or part of merit described above Energy.The specific works process of the system of foregoing description, device and unit, the corresponding mistake being referred in preceding method embodiment Journey, does not repeats them here.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, can be passed through it Its mode realizes.Such as, device embodiment described above is only schematically, such as, and described module or unit Dividing, be only a kind of logic function and divide, actual can have other dividing mode, the most multiple unit or assembly when realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform the present invention each All or part of step of method described in embodiment.And aforesaid storage medium includes: USB (universal serial bus) flash drive (Universal Serial Bus flash drive, USB flash drive), portable hard drive, read only memory (Read- OnlyMemory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various can To store the medium of program code.
Specifically, the computer program instructions that the information processing method in the embodiment of the present invention is corresponding can be stored in CD, hard disk, on the storage medium such as USB flash drive, when the calculating corresponding with information processing method in storage medium When machine programmed instruction is read by an electronic equipment or is performed, including:
Obtain the first parameter of electronic equipment;First parameter is for indicating between the first noumenon 101 and the second body 102 Angle;
Judge whether the value of the first parameter is positioned at the first preset range;First preset range is used for indicating the first noumenon 101 and second angles between body 102 preset angle less than first;
If the value of the first parameter is positioned at the first preset range, then close the first noumenon 101 and/or the second body 102 Input function.
Optionally, in described storage medium, also storage has other computer instruction, and these computer instructions are in step: It is performed after closing the input function of the first noumenon 101, includes when executed:
Obtain the second parameter of electronic equipment;Second parameter is for indicating between the first noumenon 101 and the second body 102 Angle;
Judge whether the value of the second parameter is positioned at the second preset range;Second preset range is used for indicating the first noumenon 101 and second angles between body 102 preset angle less than second;
If the value of the second parameter is positioned at the second preset range, then close the input function of the second body 102.
Optionally, in described storage medium, also storage has other computer instruction, and these computer instructions are in step: It is performed before closing the input function of the second body 102, includes when executed:
Power management module in electronic equipment sends the first state and adjusts instruction, the state of electronic equipment to be adjusted It it is the first state;Wherein, when electronic equipment is in the first state, forbid waking up up the system of electronic equipment.
Optionally, in described storage medium, also storage has other computer instruction, and these computer instructions are being held During row, including:
Dormancy instruction is sent to power management module;
Perform dormancy by power management module to instruct so that the system of electronic equipment enters resting state, to close the The input function of two bodies 102.
Optionally, in described storage medium, also storage has other computer instruction, and these computer instructions are in step: It is performed after closing the input function of the second body 102, when executed, including:
Receive the request message for the second body 102;Request message makes the system of electronic equipment enter for request Duty, or request message is for inputting information by the second body 102;
The state of inquiry electronic equipment;
If the state of electronic equipment is the first state, then abandon request message.
Optionally, in described storage medium, also storage has other computer instruction, and these computer instructions are in step: It is performed after closing the input function of the first noumenon 101, when executed, including:
Receive the input operation information for the first noumenon 101;
Abandon the input operation information for the first noumenon 101, grasp for the input of the first noumenon 101 with refusal response Make.
Optionally, in described storage medium, also storage has other computer instruction, and these computer instructions are in step: It is performed after closing the input function of the first noumenon 101 and/or the second body 102, when executed, including:
Reacquire the first parameter;
Judge whether the value of the first parameter reacquired is positioned at the first preset range;
If the value of the first parameter is not in the first preset range, then open the first noumenon 101 and/or the second body The input function of 102.
Optionally, in described storage medium, also storage has other computer instruction, and these computer instructions are in step: It is performed after opening the input function of the first noumenon 101, when executed, including:
Reacquire the second parameter of electronic equipment;Second parameter be used for indicating the first noumenon 101 and the second body 102 it Between angle;
Judge whether the value of the second parameter is positioned at the second preset range;Second preset range is used for indicating the first noumenon 101 and second angles between body 102 preset angle less than second;
If the value of the second parameter is not in the second preset range, then open the input function of the second body 102.
Optionally, in described storage medium, also storage has other computer instruction, and these computer instructions are in step: It is performed before opening the input function of the second body 102, when executed, including:
Power management module in electronic equipment sends the second state and adjusts instruction;
Perform the second state by power management module and adjust instruction, so that the state of electronic equipment is adjusted to the second shape State;Wherein, when electronic equipment is in the second state, it is allowed to wake up the system of electronic equipment up.
Optionally, in described storage medium, also storage has other computer instruction, and these computer instructions are being held During row, including:
Instruction of reviving is sent to power management module;
Perform to revive instruction by power management module so that the system entrance duty of electronic equipment, to open the The input function of two bodies 102.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof Within, then the present invention is also intended to comprise these change and modification.

Claims (21)

1. an information processing method, including:
Obtain the first parameter of electronic equipment;Described first parameter is for indicating the first noumenon of described electronic equipment and second Angle between body;Wherein, described electronic equipment includes interconnective described the first noumenon and described second body, described One body and described second body can rotate against;
Judge whether the value of described first parameter is positioned at the first preset range;Described first preset range is used for indicating described Angle between one body and described second body presets angle less than first;
If the value of described first parameter is positioned at described first preset range, then close described the first noumenon and/or described second The input function of body.
2. the method for claim 1, it is characterised in that if closing the input function of described the first noumenon, then described Method also includes:
Obtain the second parameter of described electronic equipment;Described second parameter is used for indicating described the first noumenon and described second body Between angle;
Judge whether the value of described second parameter is positioned at the second preset range;Described second preset range is used for indicating described Angle between one body and described second body presets angle less than second;
If the value of described second parameter is positioned at described second preset range, then close the input function of described second body.
3. method as claimed in claim 2, it is characterised in that before closing the input function of described second body, also wrap Include:
Power management module in described electronic equipment sends the first state and adjusts instruction, with the state by described electronic equipment It is adjusted to the first state;Wherein, when described electronic equipment is in described first state, forbid waking up described electronic equipment up is System.
4. method as claimed in claim 3, it is characterised in that described method also includes:
Dormancy instruction is sent to described power management module;
Perform dormancy by described power management module to instruct so that the system of described electronic equipment enters resting state, to close Close the input function of described second body.
5. method as claimed in claim 3, it is characterised in that after closing the input function of described second body, also wrap Include:
Receive the request message for described second body;Described request message makes the system of described electronic equipment for request Enter duty, or described request message is for by described second body input information;
Inquire about the state of described electronic equipment;
If the state of described electronic equipment is described first state, then abandon described request message.
6. the method as described in claim 1-3 is arbitrary, it is characterised in that close described the first noumenon input function it After, also include:
Receive the input operation information for described the first noumenon;
Abandon the described input operation information for described the first noumenon, grasp for the input of described the first noumenon with refusal response Make.
7. the method for claim 1, it is characterised in that closing described the first noumenon and/or described second body After input function, also include:
Reacquire described first parameter;
Judge whether the value of described first parameter reacquired is positioned at described first preset range;
If the value of described first parameter is not in described first preset range, then open described the first noumenon and/or described The input function of the second body.
8. method as claimed in claim 7, it is characterised in that if opening the input function of described the first noumenon, then described Method also includes:
Reacquire the second parameter of described electronic equipment;Described second parameter is used for indicating described the first noumenon and described second Angle between body;
Judge whether the value of described second parameter is positioned at the second preset range;Described second preset range is used for indicating described Angle between one body and described second body presets angle less than second;
If the value of described second parameter is not in described second preset range, then open the input work of described second body Energy.
9. method as claimed in claim 8, it is characterised in that before opening the input function of described second body, also wrap Include:
Power management module in described electronic equipment sends the second state and adjusts instruction;
Perform described second state by described power management module and adjust instruction, be adjusted to the state by described electronic equipment Second state;Wherein, when described electronic equipment is in described second state, it is allowed to wake up the system of described electronic equipment up.
10. method as claimed in claim 9, it is characterised in that described method also includes:
Instruction of reviving is sent to described power management module;
Perform to revive instruction by described power management module so that the system entrance duty of described electronic equipment, to open Open the input function of described second body.
11. 1 kinds of electronic equipments, including:
The first noumenon;
Second body;Wherein, described the first noumenon and described second body are connected with each other, and described the first noumenon and described second Body can rotate against;
Memorizer, be arranged on described the first noumenon or described second internal, be used for storing instruction;
Processor, be arranged on described the first noumenon or described second internal, be used for performing described instruction:
Obtain the first parameter of described electronic equipment;Described first parameter is used for indicating described the first noumenon and described second body Between angle;
Judge whether the value of described first parameter is positioned at the first preset range;Described first preset range is used for indicating described Angle between one body and described second body presets angle less than first;
If the value of described first parameter is positioned at described first preset range, then close described the first noumenon and/or described second The input function of body.
12. electronic equipments as claimed in claim 11, it is characterised in that described processor is additionally operable to:
If closing the input function of described the first noumenon, obtain the second parameter of described electronic equipment;Described second parameter is used In indicating the angle between described the first noumenon and described second body;
Judge whether the value of described second parameter is positioned at the second preset range;Described second preset range is used for indicating described Angle between one body and described second body presets angle less than second;
If the value of described second parameter is positioned at described second preset range, then close the input function of described second body.
13. electronic equipments as described in right 12, it is characterised in that described processor is additionally operable to:
Before closing the input function of described second body, the power management module in described electronic equipment sends the first shape State adjusts instruction, is adjusted to the first state with the state by described electronic equipment;Wherein, it is in described at described electronic equipment During one state, forbid waking up up the system of described electronic equipment.
14. electronic equipments as claimed in claim 13, it is characterised in that described processor is additionally operable to;
Dormancy instruction is sent to described power management module;
Perform dormancy by described power management module to instruct so that the system of described electronic equipment enters resting state, to close Close the input function of described second body.
15. electronic equipments as claimed in claim 13, it is characterised in that described processor is additionally operable to:
After closing the input function of described second body, receive the request message for described second body;Described request Message makes the system of described electronic equipment enter duty for request, or described request message is for by described second Body input information;
Inquire about the state of described electronic equipment;
If the state of described electronic equipment is described first state, then abandon described request message.
16. electronic equipments as described in claim 11-13 is arbitrary, it is characterised in that described processor is additionally operable to:
After closing the input function of described the first noumenon, receive the input operation information for described the first noumenon;
Abandon the described input operation information for described the first noumenon, grasp for the input of described the first noumenon with refusal response Make.
17. electronic equipments as claimed in claim 11, it is characterised in that described processor is additionally operable to:
After closing the input function of described the first noumenon and/or described second body, reacquire described first parameter;
Judge whether the value of described first parameter reacquired is positioned at described first preset range;
If the value of described first parameter is not in described first preset range, then open described the first noumenon and/or described The input function of the second body.
18. electronic equipments as claimed in claim 17, it is characterised in that described processor is additionally operable to:
If opening the input function of described the first noumenon, then reacquire the second parameter of described electronic equipment;Described second Parameter is for indicating the angle between described the first noumenon and described second body;
Judge whether the value of described second parameter is positioned at the second preset range;Described second preset range is used for indicating described Angle between one body and described second body presets angle less than second;
If the value of described second parameter is not in described second preset range, then open the input work of described second body Energy.
19. electronic equipments as claimed in claim 18, it is characterised in that described processor is additionally operable to:
Before opening the input function of described second body, the power management module in described electronic equipment sends the second shape State adjusts instruction;
Perform described second state by described power management module and adjust instruction, be adjusted to the state by described electronic equipment Second state;Wherein, when described electronic equipment is in described second state, it is allowed to wake up the system of described electronic equipment up.
20. electronic equipments as claimed in claim 19, it is characterised in that described processor is additionally operable to:
Instruction of reviving is sent to described power management module;
Perform to revive instruction by described power management module so that the system entrance duty of described electronic equipment, to open Open the input function of described second body.
21. 1 kinds of electronic equipments, including:
Acquisition module, for obtaining the first parameter of electronic equipment;Described first parameter is for indicating the of described electronic equipment Angle between one body and the second body;Wherein, described electronic equipment includes interconnective described the first noumenon and described Second body, described the first noumenon and described second body can rotate against;
Judge module, for judging whether the value of described first parameter is positioned at the first preset range;Described first preset range For indicating the angle between described the first noumenon and described second body to preset angle less than first;
Processing module, if the value for described first parameter is positioned at described first preset range, then closes described the first noumenon And/or the input function of described second body.
CN201610398965.XA 2016-06-07 2016-06-07 Information processing method and electronic equipment Active CN106095429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610398965.XA CN106095429B (en) 2016-06-07 2016-06-07 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610398965.XA CN106095429B (en) 2016-06-07 2016-06-07 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106095429A true CN106095429A (en) 2016-11-09
CN106095429B CN106095429B (en) 2020-06-23

Family

ID=57227435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610398965.XA Active CN106095429B (en) 2016-06-07 2016-06-07 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106095429B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132806A (en) * 2017-12-22 2018-06-08 联想(北京)有限公司 Information processing method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902396A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Information processing method and electronic device
CN104345874A (en) * 2013-08-07 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104898962A (en) * 2014-03-03 2015-09-09 联想(北京)有限公司 Information processing method and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902396A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Information processing method and electronic device
CN104345874A (en) * 2013-08-07 2015-02-11 联想(北京)有限公司 Information processing method and electronic equipment
CN104898962A (en) * 2014-03-03 2015-09-09 联想(北京)有限公司 Information processing method and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132806A (en) * 2017-12-22 2018-06-08 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN106095429B (en) 2020-06-23

Similar Documents

Publication Publication Date Title
WO2016007332A1 (en) Physical access control authentication
US11377770B2 (en) Control method of a washing machine, and washing machine
CN105260004A (en) Screen rotating method and system for android system terminal
JP2017033116A (en) Electronic device including plurality of usage modes, control method and computer program
CN104615415A (en) Information processing method and electronic equipment
JP7419530B2 (en) Solar power system, optimizer, and how to adjust the operating state of the optimizer
CN105573372A (en) Control method and apparatus of intelligent terminal
CA2853265A1 (en) Method and system for controlling a portable power system having a single battery bank
CN103869927A (en) Information processing method and electronic device
US9450433B2 (en) Method and system for controlling a portable power system
CN105429521B (en) The startup method for the method and motor that motor drive circuit, detection single-phase DC motor turn to
CN106095429A (en) A kind of information processing method and electronic equipment
WO2014176980A1 (en) Charging method, device and electronic device
CN107104478A (en) A kind of information processing method and electronic equipment
CN107825979B (en) Vehicle charging method, device and system
CN103902396A (en) Information processing method and electronic device
CN101951625A (en) Mobile phone on and off security detection and control device and method
CN105240305A (en) Circuit and method for controlling electric fan shaking angle
CN105700626A (en) Control method and electronic device
CN206181163U (en) Cell -phone with record is stolen to physics anti -eavesdrop
CN105373720B (en) A kind of module control method and device applied to mobile terminal
CN108679675B (en) Closing control method and device of opening and closing equipment, range hood and storage medium
CN109844682A (en) Terminal control method, protective shell and terminal
CN106371328A (en) Intelligent household electrical appliance control method and device
US10590843B2 (en) Portable generator having a configurable load bank

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant