CN105787316A - Information processing method and electronic device - Google Patents

Information processing method and electronic device Download PDF

Info

Publication number
CN105787316A
CN105787316A CN201610113518.5A CN201610113518A CN105787316A CN 105787316 A CN105787316 A CN 105787316A CN 201610113518 A CN201610113518 A CN 201610113518A CN 105787316 A CN105787316 A CN 105787316A
Authority
CN
China
Prior art keywords
state
electronic equipment
identification information
input equipment
equipment
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.)
Pending
Application number
CN201610113518.5A
Other languages
Chinese (zh)
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 CN201610113518.5A priority Critical patent/CN105787316A/en
Publication of CN105787316A publication Critical patent/CN105787316A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an information processing method and an electronic device. The information processing method comprises the steps that when it is detected that the position relation between a first input device and the electronic device meets a preset condition, first identification information of the first input device is acquired; whether the first identification information is information in a preset identification information base or not is judged, and a judgment result is acquired; whether states of the electronic device are switched or not is determined based on the judgment result. The method solves the technical problem that an electronic device in the prior art is single in unlocking mode and low in unlocking efficiency.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly to a kind of information processing method and electronic equipment.
Background technology
Along with the development of science and technology, electronic equipment have also been obtained development at full speed, becomes the necessary of people's daily life, such as, and smart mobile phone, panel computer, notebook computer, integrated computer etc..The vital document more owing to generally comprising user in electronic equipment, therefore, the confidentiality of electronic equipment is also increasingly paid attention to by user.At present, in order to improve the safety of information in electronic equipment, user would generally arrange corresponding unlocking screen password, startup password for electronic equipment, even application setting up password etc..Therefore, user is likely to need to carry out the password setting operation that number of times is more, and remembers substantial amounts of unlocking pin, and is likely to when being unlocked need input password one by one or input corresponding gesture, and the unblock of electronic equipment is inefficient.So, it is single and unlock inefficient technical problem to there is unlocking manner in electronic equipment of the prior art.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, and being used for solving electronic equipment of the prior art, to there is unlocking manner single and unlock inefficient technical problem.
The embodiment of the present invention provides a kind of information processing method on the one hand, including:
Detect when the position relationship of the first input equipment and electric room meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;
Judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;
Based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
Optionally, before the identification information of described first input equipment of described acquisition, described method also includes:
When detecting that second input equipment position relationship with described electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of described second input equipment;
Judge whether described biological information mates with default biological information;
If it does, obtain the identification information of described second input equipment, the identification information of described second input equipment is added into described default identification information storehouse.
Optionally, before the first identification information of described first input equipment of described acquisition, described method also includes:
Obtain the distance of described first input equipment and described electric room;
When described distance is less than predeterminable range, it is determined that the position relationship of described first input equipment and electric room meets described pre-conditioned.
Optionally, the first identification information of described first input equipment of described acquisition, particularly as follows: obtain the identification information of the first input equipment by the short distance wireless communication technology.
Optionally, described based on described judged result, it is determined whether the state of described electronic equipment to be switched over, specifically includes:
If the current state of described electronic equipment is described first state and described judged result is yes, it is determined that need by described first state, the state of described electronic equipment is switched to described second state;
If the current state of described electronic equipment is described second state and described judged result is no, it is determined that need by described second state, the state of described electronic equipment is switched to described first state.
The embodiment of the present invention provides a kind of electronic equipment on the other hand, including:
Memory element, is used for storing at least one program module;
At least one processor, it is connected with described memory element, at least one processor described is by obtaining and run at least one program module described, when position relationship for the first input equipment and electric room being detected meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;Judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;Based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
Optionally, at least one processor described is additionally operable to:
Before the identification information of described first input equipment of described acquisition, when detecting that second input equipment position relationship with described electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of described second input equipment;
Judge whether described biological information mates with default biological information;
If it does, obtain the identification information of described second input equipment, the identification information of described second input equipment is added into described default identification information storehouse.
Optionally, at least one processor described is additionally operable to:
Before the first identification information of described first input equipment of described acquisition, when described distance is less than predeterminable range, it is determined that the position relationship of described first input equipment and electric room meets described pre-conditioned.
Optionally, at least one processor described is additionally operable to:
The identification information of the first input equipment is obtained by the short distance wireless communication technology.
Optionally, at least one processor described is additionally operable to:
If the current state of described electronic equipment is described first state and described judged result is yes, it is determined that need by described first state, the state of described electronic equipment is switched to described second state;
If the current state of described electronic equipment is described second state and described judged result is no, it is determined that need by described second state, the state of described electronic equipment is switched to described first state.
The embodiment of the present invention provides a kind of electronic equipment on the other hand, including:
First acquiring unit, when the position relationship for the first input equipment and electric room being detected meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;
First judging unit, for judging whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;
First determines unit, for based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
Said one in the embodiment of the present application or multiple technical scheme, at least have one or more technique effects following:
1, owing to, in technical scheme in the embodiment of the present application, have employed and detect when the position relationship of the first input equipment and electric room meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;Judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;Based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than the technological means of described Part II instruction.So, when electronic equipment detects input equipment, can pass through to obtain the identification information of input equipment, and then judge whether this input equipment is the input equipment matched with this electronic equipment, according to judged result, the state of electronic equipment is switched over, such as: the state of electronic equipment is adjusted to by the screen lock state that can respond less instruction the released state that can respond relatively MIMD;Or the state of electronic equipment can be responded the screen lock state that can respond less instruction compared with the released state of MIMD etc. by being adjusted to.So, only electronic equipment can be unlocked or screen locking by the input equipment by matching with electronic equipment, providing a kind of new simple efficient unlock and the mode of screen locking, effectively solving electronic equipment of the prior art, to there is unlocking manner single and unlock inefficient technical problem.Achieve and simply and efficiently unlock or screen locking, and, the input equipment for unlocking must be and the equipment of electronic equipment to be unlocked pairing, as such, it is possible to ensure the safety storing content in electronic equipment.
2, owing to, in technical scheme in the embodiment of the present application, have employed when detecting that second input equipment position relationship with described electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of described second input equipment;Judge whether described biological information mates with default biological information;If it does, obtain the identification information of described second input equipment, the identification information of described second input equipment is added into the technological means in described default identification information storehouse.So, electronic equipment prestores default identification information storehouse, this default identification information storehouse is preserved the identification information of the input equipment matched with electronic equipment.When needing to match a new input equipment with electronic equipment, need to obtain the biological characteristic of the user operating this input equipment, and then it is determined that during default biometric information matches in biological characteristic and the electronic equipment of user, determine that this user has the authority of unblock, and the input equipment of this user operation can match with electronic equipment, the identification information of this input equipment is added into default identification information storehouse.By such mode, further ensure that by the safety that electronic equipment is unlocked by input equipment.
3, due in technical scheme in the embodiment of the present application, if have employed the current state of described electronic equipment to be described first state and described judged result is yes, it is determined that need by described first state, the state of described electronic equipment is switched to described second state;If the current state of described electronic equipment is described second state and described judged result is no, it is determined that need to be switched to the state of described electronic equipment by described second state the technological means of described first state.So, when electronic equipment is in screen lock state, and when input equipment is the equipment matched with electronic equipment, electronic equipment is switched to released state by screen lock state.When electronic equipment is in released state, and when input equipment is not the equipment matched with electronic equipment, by electronic equipment released state by switching to screen lock state.That is: electronic equipment is only capable of solution latching operation corresponding to the paired input equipment of response and other operation, when the equipment that the input equipment that user uses is not with electronic equipment pairing, electronic equipment will lock automatically, ensure the safety of electronic equipment storage content.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present application or prior art, in below embodiment being described, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in the following describes is only some embodiments of the present invention.
Fig. 1 is the flow chart of information processing method in the embodiment of the present application one;
Fig. 2 is the structure chart of a kind of electronic equipment in the embodiment of the present application two;
Fig. 3 is the structure chart of a kind of electronic equipment in the embodiment of the present application three.
Detailed description of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, and being used for solving electronic equipment of the prior art, to there is unlocking manner single and unlock inefficient technical problem.
For solving above-mentioned technical problem, the embodiment of the present invention provides a kind of information processing method, and general thought is as follows:
Detect when the position relationship of the first input equipment and electric room meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;
Judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;
Based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
Owing to, in technical scheme in the embodiment of the present application, have employed and detect when the position relationship of the first input equipment and electric room meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;Judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;Based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than the technological means of described Part II instruction.So, when electronic equipment detects input equipment, can pass through to obtain the identification information of input equipment, and then judge whether this input equipment is the input equipment matched with this electronic equipment, according to judged result, the state of electronic equipment is switched over, such as: the state of electronic equipment is adjusted to by the screen lock state that can respond less instruction the released state that can respond relatively MIMD;Or the state of electronic equipment can be responded the screen lock state that can respond less instruction compared with the released state of MIMD etc. by being adjusted to.So, only electronic equipment can be unlocked or screen locking by the input equipment by matching with electronic equipment, providing a kind of new simple efficient unlock and the mode of screen locking, effectively solving electronic equipment of the prior art, to there is unlocking manner single and unlock inefficient technical problem.Achieve and simply and efficiently unlock or screen locking, and, the input equipment for unlocking must be and the equipment of electronic equipment to be unlocked pairing, as such, it is possible to ensure the safety storing content in electronic equipment.
The terms "and/or", is only a kind of incidence relation describing affiliated partner, and expression can exist three kinds of relations, for instance, A and/or B, it is possible to represent: individualism A, there is A and B, individualism B these three situation simultaneously.It addition, character "/" herein, when not illustrating, typically represent forward-backward correlation to as if the relation of a kind of "or".
In order to be better understood from technique scheme, below by accompanying drawing and specific embodiment, technical solution of the present invention is described in detail, the specific features being to be understood that in the embodiment of the present application and embodiment is the detailed description to technical solution of the present invention, rather than the restriction to technical solution of the present invention, when not conflicting, the embodiment of the present application and the technical characteristic in embodiment can be combined with each other.
In the embodiment of the present application, described electronic equipment is specifically, it is possible to be desktop computer, it is also possible to be notebook computer, it is also possible to for smart mobile phone, it is also possible to be the electronic equipments such as panel computer, and at this, just differing one schematically illustrates.
Embodiment one
Refer to Fig. 1, the embodiment of the present application one provides a kind of information processing method, including:
S101: detect when the position relationship of the first input equipment and electric room meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;
S102: judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;
S103: based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
Concrete, in the present embodiment, electronic equipment is when the first input equipment being detected, and electronic equipment determines whether the position relationship of the first input equipment and electric room meets pre-conditioned.Such as: determine that whether the first input equipment contacts with electronic equipment or next-door neighbour etc..When determining that first input equipment position relationship with electric room meets pre-conditioned, it is thus achieved that the identification information of the first input equipment.Electronic equipment prestores default identification information storehouse, this default identification information storehouse is preserved the identification information of the input equipment matched with electronic equipment.And then by judging that whether the identification information of the first input equipment is the input equipment that the information in the default identification information storehouse in electronic equipment determines that whether the first input equipment is and electronic equipment matches at once, according to this judged result, it may be determined that whether the state of electronic equipment is switched over.Such as: the state of electronic equipment is adjusted to by the screen lock state that can respond less instruction the released state that can respond relatively MIMD;Or the state of electronic equipment can be responded the screen lock state that can respond less instruction compared with the released state of MIMD etc. by being adjusted to.
In the embodiment of the present application, the state of electronic equipment at least includes the first state and the second state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.Such as: described first state is specially the screen lock state of electronic equipment, described second state is specially the released state being in normal use after electronic equipment unlocks.When electronic equipment is in screen lock state, electronic equipment can only respond the touch control operation of a part, as, slide in the position that electronic equipment screen is specified and be unlocked, or at the keyboard area input password that the current locking screen interface of electronic equipment shows, or switch next Zhang Suoping wallpaper etc. by the virtual key of display on electronic equipment locking screen interface.Under electronic equipment is in normal operating condition, any icon that user can arbitrarily click in current display interface opens application program, it is also possible to entering in electronic equipment internal memory and check relevant document contents etc., at this, the application does not limit.
In the embodiment of the present application, the first input equipment can be electronic handwriting pen, such as electromagnetic type writing pencil, resistance-type writing pencil, infrared writing pencil, ultrasound wave writing pencil, etc..The information such as notepad, document, picture, video can be created on the electronic equipment matched with this first input equipment by described first input equipment.Being provided with the first identification information in first input equipment, wherein, described first identification information can be used in uniquely identifying described first input equipment, and such as, described first identification information can be the serial number corresponding with every writing pencil.In order to ensure that user can distinguish different writing pencils, respectively every writing pencil is arranged different serial numbers for this.Such as, described serial number is the numbering combination being made up of 100 word strings.Such as, First ray number corresponding for writing pencil A is a, and the second corresponding for writing pencil B serial number is b.
By the way, only electronic equipment can be unlocked or screen locking by the input equipment by matching with electronic equipment, providing a kind of new simple efficient unlock and the mode of screen locking, effectively solving electronic equipment of the prior art, to there is unlocking manner single and unlock inefficient technical problem.Achieve and simply and efficiently unlock or screen locking, and, the input equipment for unlocking must be and the equipment of electronic equipment to be unlocked pairing, as such, it is possible to ensure the safety storing content in electronic equipment.
In the present embodiment, it needs to be determined that the default identification information storehouse set up in electronic equipment, so, in step S101: detect when the position relationship of the first input equipment and electric room meets pre-conditioned, before obtaining the first identification information of described first input equipment, also comprise the steps:
When detecting that second input equipment position relationship with described electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of described second input equipment;
Judge whether described biological information mates with default biological information;
If it does, obtain the identification information of described second input equipment, the identification information of described second input equipment is added into described default identification information storehouse.
Concrete, in the present embodiment, when electronic equipment detects the second input equipment, and the position relationship of this second input equipment and electronic equipment meets pre-conditioned, such as: the distance of the input equipment detected and electric room is less than predeterminable range.Or, the input equipment detected is positioned on electronic equipment screen.Or, the input equipment detected contacts etc. with electronic equipment.At this, the application is not construed as limiting.And then, when determining that second input equipment position relationship with electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of the second input equipment.Such as: electronic equipment is determined and detected when the position relationship of the second input equipment and electric room meets pre-conditioned, any one in the information such as the face information of user of this second input equipment of acquisition operations, finger print information, iris information or multiple combination.
Electronic equipment prestores default biological information, the biological information gathering the user operating this second input equipment obtained is carried out mating checking by electronic equipment with default biological information, if the biological information of user and default biometric information matches, then show that electronic equipment is had operating right by this user, and the second input equipment of this user operation can match with electronic equipment.Electronic equipment obtains the identification information of the second input equipment, and the identification information of the second input equipment is added into the default identification information storehouse in electronic equipment.Specifically, described electronic equipment and described second input equipment are by the radio connection such as bluetooth, WiFi, NFC, or wired mode couples together.Wherein, when described electronic equipment and described second input equipment are linked together by the radio connection such as bluetooth, WiFi, NFC, by the wireless sending module in described second input equipment, described second identification information of described second input equipment is sent to the wireless receiving module in described electronic equipment.Again or, by the such as electromagnetic circuit in described electronic equipment, directly obtain described second identification information of described second input equipment.
By such mode, when needing to match a new input equipment with electronic equipment, need to obtain the biological characteristic of the user operating this input equipment, and then it is determined that during default biometric information matches in biological characteristic and the electronic equipment of user, determine that this user has the authority of unblock, and the input equipment of this user operation can match with electronic equipment, the identification information of this input equipment is added into default identification information storehouse.By such mode, further ensure that by the safety that electronic equipment is unlocked by input equipment.
In the present embodiment, trigger electronics obtains the first identification information of described first input equipment it needs to be determined that detect that the position relationship of the first input equipment and electric room meets pre-conditioned, so, in step S101: detect when the position relationship of the first input equipment and electric room meets pre-conditioned, before obtaining the first identification information of described first input equipment, also comprise the steps:
Obtain the distance of described first input equipment and described electric room;
When described distance is less than predeterminable range, it is determined that the position relationship of described first input equipment and electric room meets described pre-conditioned.
Concrete, in the present embodiment, electronic equipment is in the state receiving external input signal, and electronic equipment can the input signal of external input device, the signal that the first input equipment sends is detected, it is determined that the distance between electronic equipment and the first input equipment at electronic equipment.Concrete, range sensor can be passed through and obtain the distance between electronic equipment and the first input equipment, the intensity of the signal that acquisition sends by the first input equipment being detected determines the distance of this first input equipment and electric room, such as: electronic equipment prestores the corresponding relation of the input apparatus signal intensity equipment with input and electronic equipment spacing, as :-10dB correspondence 1cm ,-20dB correspondence 0.5cm etc..And then after the intensity of signal that the first input equipment sends being detected, it may be determined that the equipment of the input corresponding with this signal intensity and electronic equipment spacing.
And then, electronic equipment judges that whether first input equipment distance with electric room is less than predeterminable range, when less than predeterminable range, it is determined that the position relationship of described first input equipment and electric room meets pre-conditioned.Such as: electronic equipment determines that the distance of the first input equipment and electric room is 0.5cm, predeterminable range is set to 1cm, electronic equipment determines that first input equipment distance 0.5cm with electric room is less than predeterminable range 1cm, determine that the position relationship of described first input equipment and electric room meets described pre-conditioned, it is possible to trigger electronics obtains the first identification information of the first input equipment.By such mode, it is possible to avoid the maloperation of user to cause electronic equipment by mistake response, cause that electronic equipment switching state is unsatisfactory for user's request, it is achieved that state of electronic equipment switching mode intelligence and meet the technique effect of user's request.
Certainly, in specific implementation process, electronic equipment can also adopt alternate manner to carry out trigger electronics and obtain the identification information of the first input equipment, such as: determining that the first input equipment determines when being positioned at above electronic equipment screen that the position relationship of described first input equipment and electric room meets described pre-conditioned.Or, determining that the first input equipment determines when contacting with electronic equipment screen that the position relationship of described first input equipment and electric room meets described pre-conditioned.In specific implementation process, it is determined that the position relationship of described first input equipment and electric room meets described pre-conditioned mode and can be set according to practical situation, and at this, the application is not construed as limiting.
Concrete, in the present embodiment, it is thus achieved that the first identification information of described first input equipment, particularly as follows: obtained the identification information of the first input equipment by the short distance wireless communication technology.
Concrete, in the present embodiment, electronic equipment and the first input equipment, by the radio connection such as bluetooth, WiFi, NFC, couple together.Wherein, when described electronic equipment and described first input equipment are linked together by the radio connection such as bluetooth, WiFi, NFC, by the wireless sending module in described first input equipment, described first identification information of described first input equipment is sent to the wireless receiving module in described electronic equipment.Again or, by the such as electromagnetic circuit in described electronic equipment, directly obtain described first identification information of described first input equipment.Certainly, electronic equipment can also adopt alternate manner to obtain the first identification information of the first input equipment, as: wired mode, at this, the application is not construed as limiting.
Concrete, in the present embodiment, step S103: based on described judged result, it is determined whether the state of described electronic equipment is switched over, can realize as follows:
If the current state of described electronic equipment is described first state and described judged result is yes, it is determined that need by described first state, the state of described electronic equipment is switched to described second state;
If the current state of described electronic equipment is described second state and described judged result is no, it is determined that need by described second state, the state of described electronic equipment is switched to described first state.
Concrete, in the present embodiment, the electronic equipment the first identification information according to the first input equipment, may determine that whether the first input equipment is and the input equipment of electronic equipment pairing, if the information in the default identification information storehouse that the first identification information is electronic equipment, then determining that the first input equipment is and the input equipment of electronic equipment pairing, the first input equipment may be used for electronic equipment is unlocked, and can also input information.Now, it is thus achieved that the current state of electronic equipment, if electronic equipment is in the first state of screen locking, then can control electronic equipment and be switched to the second state after unblock by the first state of screen locking.If the first identification information is not the information in the default identification information storehouse of electronic equipment, then determine that the first input equipment is not and the input equipment of electronic equipment pairing, electronic equipment is not responding to any input signal of the first input equipment, and, now if electronic equipment is in the second state of unblock, the current state of electronic equipment is switched to the first state during screen locking by the second state after unlocking, to ensure the information security of electronic equipment.
If the information in the default identification information storehouse that the first identification information is electronic equipment, it is determined that the first input equipment is and the input equipment of electronic equipment pairing, and the first input equipment may be used for electronic equipment is unlocked, and can also input information.Now, it is thus achieved that the current state of electronic equipment, if electronic equipment is in the second state after unblock, electronic equipment then directly in response to the input signal of the first input equipment, such as: input word, can open application program etc..By such mode, that is: electronic equipment is only capable of solution latching operation corresponding to the paired input equipment of response and other operation, when the equipment that the input equipment that user uses is not with electronic equipment pairing, electronic equipment will lock automatically, ensure the safety of electronic equipment storage content.
Embodiment two
Refer to Fig. 2, based on the inventive concept identical with the information processing method in embodiment one, the embodiment of the present application also provides for a kind of electronic equipment, including:
Memory element 201, is used for storing at least one program module;
At least one processor 202, it is connected with described memory element, at least one processor described is by obtaining and run at least one program module described, when position relationship for the first input equipment and electric room being detected meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;Judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;Based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
Optionally, at least one processor described is additionally operable to:
Before the identification information of described first input equipment of described acquisition, when detecting that second input equipment position relationship with described electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of described second input equipment;
Judge whether described biological information mates with default biological information;
If it does, obtain the identification information of described second input equipment, the identification information of described second input equipment is added into described default identification information storehouse.
Optionally, at least one processor described is additionally operable to:
Before the first identification information of described first input equipment of described acquisition, when described distance is less than predeterminable range, it is determined that the position relationship of described first input equipment and electric room meets described pre-conditioned.
Optionally, at least one processor described is additionally operable to:
The identification information of the first input equipment is obtained by the short distance wireless communication technology.
Optionally, at least one processor described is additionally operable to:
If the current state of described electronic equipment is described first state and described judged result is yes, it is determined that need by described first state, the state of described electronic equipment is switched to described second state;
If the current state of described electronic equipment is described second state and described judged result is no, it is determined that need by described second state, the state of described electronic equipment is switched to described first state.
Embodiment three
Refer to Fig. 3, based on the inventive concept identical with the information processing method in embodiment one, the embodiment of the present application also provides for a kind of electronic equipment, including:
First acquiring unit 301, when the position relationship for the first input equipment and electric room being detected meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;
First judging unit 302, for judging whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;
First determines unit 303, for based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
Optionally, described electronic equipment also includes:
Second acquisition unit, for before the identification information of described first input equipment of described acquisition, when detecting that second input equipment position relationship with described electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of described second input equipment;
Second judging unit, is used for judging whether described biological information mates with default biological information;
First adding device, for if it does, obtain the identification information of described second input equipment, being added into described default identification information storehouse by the identification information of described second input equipment.
Optionally, described electronic equipment also includes:
3rd acquiring unit, for before the first identification information of described first input equipment of described acquisition, it is thus achieved that the distance of described first input equipment and described electric room;
Second determines unit, for when described distance is less than predeterminable range, it is determined that the position relationship of described first input equipment and electric room meets described pre-conditioned.
Optionally, described first acquiring unit specifically includes:
First acquisition module, for obtaining the identification information of the first input equipment by the short distance wireless communication technology.
Optionally, described first determines that unit specifically includes:
First determines module, if being described first state for the current state of described electronic equipment and described judged result be yes, it is determined that the state of described electronic equipment is switched to described second state by described first state by needs;
Second determines module, if being described second state for the current state of described electronic equipment and described judged result is no, it is determined that need by described second state, the state of described electronic equipment is switched to described first state.
By the one or more technical schemes in the embodiment of the present application, it is possible to achieve following one or more technique effects:
1, owing to, in technical scheme in the embodiment of the present application, have employed and detect when the position relationship of the first input equipment and electric room meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;Judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;Based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than the technological means of described Part II instruction.So, when electronic equipment detects input equipment, can pass through to obtain the identification information of input equipment, and then judge whether this input equipment is the input equipment matched with this electronic equipment, according to judged result, the state of electronic equipment is switched over, such as: the state of electronic equipment is adjusted to by the screen lock state that can respond less instruction the released state that can respond relatively MIMD;Or the state of electronic equipment can be responded the screen lock state that can respond less instruction compared with the released state of MIMD etc. by being adjusted to.So, only electronic equipment can be unlocked or screen locking by the input equipment by matching with electronic equipment, providing a kind of new simple efficient unlock and the mode of screen locking, effectively solving electronic equipment of the prior art, to there is unlocking manner single and unlock inefficient technical problem.Achieve and simply and efficiently unlock or screen locking, and, the input equipment for unlocking must be and the equipment of electronic equipment to be unlocked pairing, as such, it is possible to ensure the safety storing content in electronic equipment.
2, owing to, in technical scheme in the embodiment of the present application, have employed when detecting that second input equipment position relationship with described electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of described second input equipment;Judge whether described biological information mates with default biological information;If it does, obtain the identification information of described second input equipment, the identification information of described second input equipment is added into the technological means in described default identification information storehouse.So, electronic equipment prestores default identification information storehouse, this default identification information storehouse is preserved the identification information of the input equipment matched with electronic equipment.When needing to match a new input equipment with electronic equipment, need to obtain the biological characteristic of the user operating this input equipment, and then it is determined that during default biometric information matches in biological characteristic and the electronic equipment of user, determine that this user has the authority of unblock, and the input equipment of this user operation can match with electronic equipment, the identification information of this input equipment is added into default identification information storehouse.By such mode, further ensure that by the safety that electronic equipment is unlocked by input equipment.
3, due in technical scheme in the embodiment of the present application, if have employed the current state of described electronic equipment to be described first state and described judged result is yes, it is determined that need by described first state, the state of described electronic equipment is switched to described second state;If the current state of described electronic equipment is described second state and described judged result is no, it is determined that need to be switched to the state of described electronic equipment by described second state the technological means of described first state.So, when electronic equipment is in screen lock state, and when input equipment is the equipment matched with electronic equipment, electronic equipment is switched to released state by screen lock state.When electronic equipment is in released state, and when input equipment is not the equipment matched with electronic equipment, by electronic equipment released state by switching to screen lock state.That is: electronic equipment is only capable of solution latching operation corresponding to the paired input equipment of response and other operation, when the equipment that the input equipment that user uses is not with electronic equipment pairing, electronic equipment will lock automatically, ensure the safety of electronic equipment storage content.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Specifically, the computer program instructions that information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with information processing method in storage medium is read by the first electronic equipment or be performed, comprise the steps:
Detect when the position relationship of the first input equipment and electric room meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;
Judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;
Based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
Optionally, in described storage medium, also storage has other computer program instructions, this other computer program instructions with step: the computer program instructions obtaining the identification information of described first input equipment corresponding is performed before being performed, and comprises the steps: in execution process
When detecting that second input equipment position relationship with described electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of described second input equipment;
Judge whether described biological information mates with default biological information;
If it does, obtain the identification information of described second input equipment, the identification information of described second input equipment is added into described default identification information storehouse.
Optionally, in described storage medium, also storage has other computer program instructions, this other computer program instructions with step: the computer program instructions obtaining the identification information of described first input equipment corresponding is performed before being performed, and comprises the steps: in execution process
Obtain the distance of described first input equipment and described electric room;
When described distance is less than predeterminable range, it is determined that the position relationship of described first input equipment and electric room meets described pre-conditioned.
Optionally, in described storage medium storage with step: obtain computer program instructions corresponding to the first identification information of described first input equipment when executed, specifically include following steps:
The identification information of the first input equipment is obtained by the short distance wireless communication technology.
Optionally, in described storage medium storage and step: based on described judged result, it is determined whether the state of described electronic equipment is switched over the computer program instructions of correspondence when executed, specifically include following steps:
If the current state of described electronic equipment is described first state and described judged result is yes, it is determined that need by described first state, the state of described electronic equipment is switched to described second state;
If the current state of described electronic equipment is described second state and described judged result is no, it is determined that need by described second state, the state of described electronic equipment is switched to described first state.
Although preferred embodiments of the present invention have been described, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, the present invention can be carried out various change and modification without deviating from the spirit and scope of the present invention by those skilled in the art.So, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (11)

1. an information processing method, including:
Detect when the position relationship of the first input equipment and electric room meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;
Judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;
Based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
2. the method for claim 1, it is characterised in that before the identification information of described first input equipment of described acquisition, described method also includes:
When detecting that second input equipment position relationship with described electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of described second input equipment;
Judge whether described biological information mates with default biological information;
If it does, obtain the identification information of described second input equipment, the identification information of described second input equipment is added into described default identification information storehouse.
3. the method for claim 1, it is characterised in that before the first identification information of described first input equipment of described acquisition, described method also includes:
Obtain the distance of described first input equipment and described electric room;
When described distance is less than predeterminable range, it is determined that the position relationship of described first input equipment and electric room meets described pre-conditioned.
4. the method for claim 1, it is characterised in that the first identification information of described first input equipment of described acquisition, particularly as follows: obtain the identification information of the first input equipment by the short distance wireless communication technology.
5. method as described in any claim in claim 1-4, it is characterised in that described based on described judged result, it is determined whether the state of described electronic equipment to be switched over, specifically includes:
If the current state of described electronic equipment is described first state and described judged result is yes, it is determined that need by described first state, the state of described electronic equipment is switched to described second state;
If the current state of described electronic equipment is described second state and described judged result is no, it is determined that need by described second state, the state of described electronic equipment is switched to described first state.
6. an electronic equipment, including:
Memory element, is used for storing at least one program module;
At least one processor, it is connected with described memory element, at least one processor described is by obtaining and run at least one program module described, when position relationship for the first input equipment and electric room being detected meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;Judge whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;Based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
7. electronic equipment as claimed in claim 6, it is characterised in that at least one processor described is additionally operable to:
Before the identification information of described first input equipment of described acquisition, when detecting that second input equipment position relationship with described electric room meets pre-conditioned, it is thus achieved that operate the biological information of the user of described second input equipment;
Judge whether described biological information mates with default biological information;
If it does, obtain the identification information of described second input equipment, the identification information of described second input equipment is added into described default identification information storehouse.
8. electronic equipment as claimed in claim 6, it is characterised in that at least one processor described is additionally operable to:
Before the first identification information of described first input equipment of described acquisition, when described distance is less than predeterminable range, it is determined that the position relationship of described first input equipment and electric room meets described pre-conditioned.
9. electronic equipment as claimed in claim 8, it is characterised in that at least one processor described is additionally operable to:
The identification information of the first input equipment is obtained by the short distance wireless communication technology.
10. electronic equipment as described in any claim in claim 6-9, it is characterised in that at least one processor described is additionally operable to:
If the current state of described electronic equipment is described first state and described judged result is yes, it is determined that need by described first state, the state of described electronic equipment is switched to described second state;
If the current state of described electronic equipment is described second state and described judged result is no, it is determined that need by described second state, the state of described electronic equipment is switched to described first state.
11. an electronic equipment, including:
First acquiring unit, when the position relationship for the first input equipment and electric room being detected meets pre-conditioned, it is thus achieved that the first identification information of described first input equipment;
First judging unit, for judging whether described first identification information is preset the information in identification information storehouse, it is thus achieved that judged result;
First determines unit, for based on described judged result, it is determined whether the state of described electronic equipment is switched over;Wherein, the state of described electronic equipment includes the first state and second state different from described first state, when described electronic equipment is in described first state, the Part I instruction in instruction set can be responded, when described electronic equipment is in described second state, can responding the Part II instruction in described instruction set, wherein, described Part I instruction is less than described Part II instruction.
CN201610113518.5A 2016-02-29 2016-02-29 Information processing method and electronic device Pending CN105787316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610113518.5A CN105787316A (en) 2016-02-29 2016-02-29 Information processing method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610113518.5A CN105787316A (en) 2016-02-29 2016-02-29 Information processing method and electronic device

Publications (1)

Publication Number Publication Date
CN105787316A true CN105787316A (en) 2016-07-20

Family

ID=56386664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610113518.5A Pending CN105787316A (en) 2016-02-29 2016-02-29 Information processing method and electronic device

Country Status (1)

Country Link
CN (1) CN105787316A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114033261A (en) * 2021-11-22 2022-02-11 中国铁塔股份有限公司 Anti-theft method, device and equipment for rectifier and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156838A (en) * 2011-04-02 2011-08-17 中兴通讯股份有限公司 Terminal authentication method and terminal
US20120246739A1 (en) * 2011-03-21 2012-09-27 Microsoft Corporation Information privacy system and method
CN103714285A (en) * 2013-12-20 2014-04-09 上海卓悠网络科技有限公司 NFC-based method and device for achieving mobile terminal access right control
CN104318177A (en) * 2014-10-29 2015-01-28 小米科技有限责任公司 Protection method and protection device for data of terminal equipment
CN104618577A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Key requirement response method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120246739A1 (en) * 2011-03-21 2012-09-27 Microsoft Corporation Information privacy system and method
CN102156838A (en) * 2011-04-02 2011-08-17 中兴通讯股份有限公司 Terminal authentication method and terminal
CN103714285A (en) * 2013-12-20 2014-04-09 上海卓悠网络科技有限公司 NFC-based method and device for achieving mobile terminal access right control
CN104318177A (en) * 2014-10-29 2015-01-28 小米科技有限责任公司 Protection method and protection device for data of terminal equipment
CN104618577A (en) * 2014-12-30 2015-05-13 广东欧珀移动通信有限公司 Key requirement response method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114033261A (en) * 2021-11-22 2022-02-11 中国铁塔股份有限公司 Anti-theft method, device and equipment for rectifier and storage medium
CN114033261B (en) * 2021-11-22 2022-08-02 中国铁塔股份有限公司 Anti-theft method, device and equipment for rectifier and storage medium

Similar Documents

Publication Publication Date Title
US11860986B2 (en) Authentication method and electronic device
US10754938B2 (en) Method for activating function using fingerprint and electronic device including touch display supporting the same
US20130129162A1 (en) Method of Executing Software Functions Using Biometric Detection and Related Electronic Device
KR102206054B1 (en) Method for processing fingerprint and electronic device thereof
CN102968262B (en) A kind of method of unlocking screen, device and equipment
CN105045384A (en) Information processing method and electronic equipment
CN105955658A (en) Method and apparatus for interaction by curved surface screen and mobile terminal
WO2016177000A1 (en) Method for entering operating system desktop and mobile intelligent terminal
CN103092523A (en) Unlocking method and terminal
CN104318186B (en) A kind of password changing method, equipment and terminal
CN107450839A (en) Control method, device, storage medium and mobile terminal based on blank screen gesture
CN104769601A (en) Method for recognition of user identity and electronic equipment
CN104376241A (en) Information processing method and electronic device
WO2020048159A1 (en) Unlocking control method and related device
CN109344586B (en) Unlocking method and device, storage medium and mobile terminal
CN107437015B (en) System and method for orientation sensing of objects on electronic devices
CN104133578A (en) Touch screen panel display and touch key input system
KR102096824B1 (en) Apparatus and method for providing a security environment
CN105787316A (en) Information processing method and electronic device
US9710080B2 (en) Portable electronic device including contact sensors, and method for controlling same
CN105868594A (en) Terminal control method and device
CN106503520B (en) Content access method and mobile terminal
CN105791529A (en) Mobile terminal and control method thereof
US20150248545A1 (en) Sign shortcut
CN106775064B (en) Terminal control device and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160720

RJ01 Rejection of invention patent application after publication