CN104750254B - A kind of information processing method and device, electronic equipment - Google Patents

A kind of information processing method and device, electronic equipment Download PDF

Info

Publication number
CN104750254B
CN104750254B CN201510127866.3A CN201510127866A CN104750254B CN 104750254 B CN104750254 B CN 104750254B CN 201510127866 A CN201510127866 A CN 201510127866A CN 104750254 B CN104750254 B CN 104750254B
Authority
CN
China
Prior art keywords
sound
electronic equipment
state
parameter
judging result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510127866.3A
Other languages
Chinese (zh)
Other versions
CN104750254A (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 CN201510127866.3A priority Critical patent/CN104750254B/en
Publication of CN104750254A publication Critical patent/CN104750254A/en
Application granted granted Critical
Publication of CN104750254B publication Critical patent/CN104750254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of information processing methods, which comprises when electronic equipment is in first state, acquires the sound generated due to contacting with the electronic equipment using the sound collection unit of the electronic equipment;The sound is handled, the first parameter value using tone quality described in the first parameter characterization is obtained;Judge whether first parameter value meets preset first condition, obtains the first judging result;Based on first judging result, it is switched to the second state from the first state, second state is different from the first state.The present invention also discloses a kind of information processing unit and electronic equipments.

Description

A kind of information processing method and device, electronic equipment
Technical field
The present invention relates to electronic technology more particularly to a kind of information processing methods and device, electronic equipment.
Background technique
Unlock have touch screen electronic equipment be user using electronic equipment when the interactive mode that touches at first, because This, the different chambers of commerce of Electronic Equipment Factory designs oneself original unlocking manner separating a little as product.Qualified unlocking manner Simple and fast, easy memory, easy study it is required that user's operation is got up, and at the same time guaranteeing that lock will not be misread as far as possible.Touching at present The unlock for touching screen has had touch sliding, has clicked dragging, the even multitude of different ways such as intelligent sound, wherein application is the widest General or touch sliding unlocking manner, traditional touch are slided unlocking manner Shortcomings on avoiding maloperation problem, are used Family can occur to misread the problems such as lock opens application using electronic equipment often.
Summary of the invention
In view of this, the embodiment of the present invention be solve the problems, such as it is existing in the prior art at least one and a kind of information is provided Processing method and processing device, electronic equipment can be avoided the maloperation problem that user is caused when operating electronic equipment, to mention Rise user experience.
The technical solution of the embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the present invention provides a kind of information processing method, which comprises
When electronic equipment is in first state, using the electronic equipment sound collection unit acquisition due to the electricity The sound of sub- equipment contact and generation;
The sound is handled, the first parameter value using tone quality described in the first parameter characterization is obtained;
Judge whether first parameter value meets preset first condition, obtains the first judging result;
Based on first judging result, be switched to the second state from the first state, second state with it is described First state is different.
Second aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising:
Sound collection unit, the sound generated for acquisition testing due to being contacted with the electronic equipment;
Processor is used for:
When electronic equipment is in first state, using the electronic equipment sound collection unit detection due to the electricity The sound of sub- equipment contact and generation;
The sound is handled, the first parameter value using tone quality described in the first parameter characterization is obtained;
Judge whether first parameter value meets preset first condition, obtains the first judging result;
Based on first judging result, be switched to the second state from the first state, second state with it is described First state is different.
The third aspect, the embodiment of the present invention provide a kind of information processing unit, and described device includes:
Acquisition unit, for utilizing the sound collection unit of the electronic equipment when electronic equipment is in first state Acquire the sound generated due to contacting with the electronic equipment;
Processing unit is obtained for handling the sound using tone quality described in the first parameter characterization First parameter value;
Judging unit obtains the first judgement knot for judging whether first parameter value meets preset first condition Fruit;
Switch unit is switched to the second state from the first state for being based on first judging result, and described the Two-state is different from the first state.
Information processing method and device provided in an embodiment of the present invention, electronic equipment, wherein electronic equipment is in the first shape When state, the sound generated due to contacting with the electronic equipment is acquired using the sound collection unit of the electronic equipment;It is right The sound is handled, and the first parameter value using tone quality described in the first parameter characterization is obtained;Judge described first Whether parameter value meets preset first condition, obtains the first judging result;Based on first judging result, from described first State is switched to the second state, and second state is different from the first state;It so, it is possible to avoid user in operation electronics The maloperation problem caused when equipment, to promote user experience.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram of one information processing method of the embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram of two information processing method of the embodiment of the present invention;
Fig. 3-1 is the implementation process schematic diagram of three information processing method of the embodiment of the present invention;
Fig. 3-2 is the schematic diagram that sound source position is determined in the embodiment of the present invention three;
Fig. 4 is the implementation process schematic diagram of four information processing method of the embodiment of the present invention;
Fig. 5 is the implementation process schematic diagram of five information processing method of the embodiment of the present invention;
Fig. 6 is the implementation process schematic diagram of six information processing method of the embodiment of the present invention;
Fig. 7-1 is the implementation process schematic diagram of seven information processing method of the embodiment of the present invention;
Fig. 7-2 is the schematic diagram of a scenario that finger-joint taps screen in the embodiment of the present invention seven;
Fig. 7-3 is to touch screen in the embodiment of the present invention seven and tap the spectrogram of generated sound when screen;
Fig. 8 is the implementation process schematic diagram of eight information processing method of the embodiment of the present invention;
Fig. 9 is the composed structure schematic diagram of nine electronic equipment of the embodiment of the present invention;
Figure 10 is the composed structure schematic diagram of ten electronic equipment of the embodiment of the present invention;
Figure 11 is the composed structure schematic diagram of 11 electronic equipment of the embodiment of the present invention;
Figure 12 is the composed structure schematic diagram of 12 information processing unit of the embodiment of the present invention.
Specific embodiment
The technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
Embodiment one
The embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, wherein electronic equipment includes individual Computer, tablet computer, smart phone, integral type (All In One) computer, desktop computer, laptop, individual digital The equipment such as assistant (PDA, Personal Digital Assistant), navigator, music player.The information processing method institute The function of realization can realize that certain program code can be stored in by the processor caller code in electronic equipment In computer storage medium, it is seen then that the electronic equipment includes at least pocessor and storage media.
Fig. 1 is the implementation process schematic diagram of one information processing method of the embodiment of the present invention, as shown in Figure 1, this method comprises:
Step 101, when electronic equipment is in first state, using the electronic equipment sound collection unit acquisition due to The sound for contacting and generating with the electronic equipment;
Here, the first state is to refer to a kind of state at electronic equipment, and first state is that one kind is set A kind of state and the second state for distinguishing below step 104, for example, black state present before electronic equipment unlock It may be considered first state, and state of the electronic equipment after unlock may be considered the second state;For another example, when user presses Main (Home) key, electronic equipment are in the state (first state) of display desktop, when user opens (the following letter of a application program Claim application, APP, Application) after, then electronic equipment will show the interface of this APP (i.e. in the second state).
Here, the sound collection unit refers to the device that can acquire sound any on electronic equipment, specific real In existing process, the sound collection unit can be realized using microphone (Mic, Microphone, abbreviation Mike).This hair In bright embodiment, what it is due to detection is the sound generated due to contacting with the electronic equipment, this sound actually electronics The vibration of equipment itself and generate, therefore as a preferred technical solution, sound collection unit can use contact Mike, Contact Mike can be set behind the display unit of electronic equipment, such as paste behind the backlight of display screen;Contact Formula Mike can select piezoelectric ceramics sheet type, as vibrating sensor;By vibration sensor signal after A/D is converted, With the processor of serial mode access electronic equipment.
Here, contacted with the electronic equipment and the sound that generates do not include: by other than electronic equipment people or equipment hair Sound out, for example, the Mike that user opens smart phone acquires the voice that user issues.It is connect in order to obtain with the electronic equipment The sound for touching and generating can be realized using the operating body contacted with the electronic equipment, wherein operating body can wrap Include finger, stone, pen, soupspoon etc.;The place that operating body is contacted with electronic equipment may include any outer of electronic equipment Surface, for example, operating body can contact the display screen of smart phone, dorsal shield, side etc. when electronic equipment is smart phone. The mode that operating body is contacted with electronic equipment may include percussion, click, attack, strike, knocking etc..
Step 102, the sound is handled, obtains the first ginseng using tone quality described in the first parameter characterization Numerical value;
Here, the sound collection unit can convert audio signals into the electric signal of simulation, therefore, in step 102 Processing to the sound may include: to be exported sound collection unit using modulus (A/D, Analog Digital) converter Analog signal be converted into digital signal, then the sound to digital signal is characterized using the first parameter.
Here, first parameter may include any one in following parameter: tone, loudness, tone color, position;Its In, loudness is also known as volume (loudness), and it is a kind of size of subjective perceived sounds, by sound that unit, which is decibel (dB), Amplitude (amplitude) and receive distance of the object (electronic equipment) apart from sound source of sound and determine that the bigger loudness of amplitude is more Greatly, the distance of the object and sound source that receive sound is smaller, and loudness is bigger.Tone (pitch) the i.e. height of sound is (high pitch, low Sound), it is determined by the frequency of sound, frequency more high-pitched tone is higher, wherein frequency unit hertz (Hz, hertz).Tone color (Timbre) it is also known as timbre, waveform determines the tone color of sound, and sound has different characteristics because of the characteristic of different objects material, For example, by using finger nail tap Mobile phone screen tone color and using finger joint percussion Mobile phone screen tone color be it is different, This is because the nail of finger it is different from the material of articulations digitorum manus and caused by.
Here, in a step 101, the number contacted with electronic equipment can include at least once, connect when with electronic equipment When touching one time, in step 102 can be generated by sound and handled for primary contact, be correspondingly made available first parameter value; When the number contacted with electronic equipment include it is continuous twice and more than twice when, can be to contacting each time in step 102 And the sound generated is handled, and multiple first parameter values are correspondingly made available.By taking tone as an example, when user contacts with electronic equipment When only contacting one time, electronic equipment can handle to obtain a pitch value (assuming that frequency is 75Hz);As user and electronic equipment It continuously contacts with three times, available three pitch values of electronic equipment (assuming that frequency is respectively 76,75,79Hz).Based on this, when with When family and electronic equipment continuously contact with multiple, first parameter can also include the number of contact, two taking second place of successively contacting Between time interval;The number wherein contacted is the restriction to contact quantity, and time interval defines and the rhythm that contacts.
Step 103, judge whether first parameter value meets preset first condition, obtain the first judging result;
Here, the first condition and the first relating to parameters, for example, when the first parameter is volume, the first condition Can be about volume value, such step 103 can be with are as follows: judge the first parameter value be in the range of default volume value (such as Between 60 decibels to 90 decibels), or judge whether the first parameter is greater than decibel or less than such as 70 points of the preset volume value of decibel Shellfish.When the first parameter is tone, the first condition be can be in certain frequency range, more than or equal to certain frequency Rate, less than or equal to certain frequency etc..When the first parameter is tone color, first condition can be the preset waveform about sound The condition of (tone color can be indicated using waveform), in general, typical tone color waveform has square wave, sawtooth wave, sine wave, arteries and veins Rush wave etc..Step 103 can be to judge whether the first parameter value is preset waveform.
Here, since the first parameter can be tone, loudness, tone color, two and more than two parameter combinations in position, Accordingly, the first condition is also possible to about two and the condition of more than two parameters, for example, about sound when the first parameter With reconciling loudness, then a part of first condition is about tone, another part of first condition is about volume.
Step 104, it is based on first judging result, is switched to the second state, second shape from the first state State is different from the first state.
Here, second state is similar with the first state in above-mentioned steps 101, therefore repeats no more.
Here, the step 104 includes:
Step 1041, when first judging result shows that first parameter value meets preset first condition, from First state is switched to the second state;
Step 1042, when first judging result shows that first parameter value is unsatisfactory for preset first condition, Maintain the first state.
In the embodiment of the present invention, first condition in step 103 in addition to other than the first relating to parameters, but also can be with step Rapid 101 frequency of exposure is related;Continue to accept example about tone in step 102, first condition can be with are as follows: pitch value exists 74Hz is between 80Hz, and including effective pitch value three times.At this moment, user is to need continuously contact with electronic equipment Contact three times, and generates sound three times, and the tone of sound will 74Hz between 80Hz, can just make in this way electronic equipment from First state is switched to the second state.
Technical solution provided in an embodiment of the present invention can be used for following scene, represents electronics below with smart phone and sets Standby, user wants to listen song, and user opens the music application on mobile phone, selectes a song (assuming that the name of song is Song1) start to play, then smart phone plays song song1 (i.e. electronic equipment is in first state), user is listened Song1 has found oneself not liking song1, therefore wants to switch next, then user taps mobile phone with such as coin of object on hand Dorsal shield, the sound that at this moment mobile phone is generated using Mike's acquisition on mobile phone due to coin and the contact of the dorsal shield of mobile phone;So Mobile phone handles the sound afterwards, obtains the first frequency value range of the sound, represents the first parameter using frequency here; Then, mobile phone judges whether the first frequency value range of the sound meets in preset frequency range, obtains the first judgement knot Fruit;When first judging result shows that the first frequency value range is in preset frequency range, mobile phone is from song Song1 is switched to other one first song such as song2;When the first judging result shows the first frequency value range not in preset frequency When within the scope of rate, then mobile phone continues to play song1.
In the embodiment of the present invention, when electronic equipment is in first state, the sound collection unit of the electronic equipment is utilized Acquire the sound generated due to contacting with the electronic equipment;The sound is handled, is obtained using the first parameter list Levy the first parameter value of the tone quality;Judge whether first parameter value meets preset first condition, obtains One judging result;Based on first judging result, the second state is switched to from the first state;It so, it is possible to avoid using The maloperation problem that family is caused when operating electronic equipment, to promote user experience.
Embodiment two
Based on embodiment one above-mentioned, the embodiment of the present invention provides a kind of information processing method again.In the embodiment of the present invention In the first parameter be specifically as follows location parameter.Fig. 2 is the implementation process schematic diagram of two information processing method of the embodiment of the present invention, As shown in Fig. 2, this method comprises:
Step 201, when electronic equipment is in first state, using the electronic equipment sound collection unit acquisition due to The sound for contacting and generating with the electronic equipment;
Here, above-mentioned step 201 corresponds to the step 101 in embodiment one, and therefore, those skilled in the art can be with Above-mentioned step 201 is understood refering to embodiment one, and in order to save length with succinctly, which is not described herein again.
Step 202, the sound is handled, obtains the location information for characterizing the source of sound of the sound using position;
Here, the sound collection unit can convert audio signals into the electric signal of simulation, therefore, in step 202 Processing to the sound may include: to be exported sound collection unit using modulus (A/D, Analog Digital) converter Analog signal be converted into digital signal, the sound of the sound is then determined according to the voice data indicated using digital signal Then source indicates the sound using the sound source position of the sound to get location information is arrived.Wherein,
Source of sound refers to the source of sound, since the sound in the embodiment of the present invention refers to since operating body and electronic equipment connect The sound of touching and generation, therefore, source of sound here refers to, the position that operating body is contacted with electronic equipment, specifically, when operation The sound that body is generated by the way of tapping electronic equipment, then source of sound is exactly the position that operating body taps electronic equipment.When The sound generated by way of finger knocking electronic equipment, then source of sound is exactly the position of finger knocking electronic equipment.
Step 203, judge whether the location information meets preset condition, obtain the first judging result;
Here, the preset condition is the condition about location information, when what is contacted in step 201 with the electronic equipment Operation is when disposably operating, and whether preset condition may determine that the location information in step 202 in the preset band of position It is interior.When the operation contacted in step 201 with the electronic equipment is continuous operation several times, preset condition may is that step Whether the location information each time in 202 is in the corresponding preset band of position, and the sequence for judging that this is contacted several times is It is no to meet preset sequence.For example, the contact area on electronic equipment can be divided into several sub-regions, in a certain order The region of each son is contacted, or shows specified figure on the screen, in a certain order the specific position of contact pattern.Institute Preset condition is stated other than the mode of foregoing description, those skilled in the art can also be arranged about position as the case may be The preset condition of confidence breath, therefore repeat no more.
Step 204, it is based on first judging result, is switched to the second state, second shape from the first state State is different from the first state.
Here, above-mentioned step 204 corresponds to the step 104 in embodiment one, and therefore, those skilled in the art can be with Above-mentioned step 204 is understood refering to embodiment one, and in order to save length with succinctly, which is not described herein again.
Technical solution provided in an embodiment of the present invention can be used for the scene of the switching song of embodiment one, in order to use It is easier that family switches song, it is assumed that user, which only needs to contact with electronic equipment, can once realize switching song, then walking Whether preset condition in rapid 203 can be with are as follows: judge location information in preset regional scope;In other words, electronic equipment Sound that is primary and generating can be contacted with electronic equipment according to user to decide whether to switch song.It is represented below with tablet computer Electronic equipment, user want to listen song, and user opens the music application on tablet computer, select and one sing (assuming that song Name is song1) start to play, then tablet computer plays song song1 (i.e. electronic equipment is in first state), user listens Song1, find oneself not liking song1, therefore want to switch next.So user taps tablet computer upper housing with coin Side, at this moment tablet computer is using Mike's acquisition on tablet computer since coin is contacted with the side of the shell of tablet computer And the sound generated;Then tablet computer handles the sound, obtains the location information of the source of sound of the sound, it is assumed that default Regional scope be dorsal shield rather than the side of shell, then tablet computer judges that the location information of source of sound comes from shell Side is rather than from dorsal shield, and therefore, tablet computer does not switch song, continues to play song1.
User misoperation in order to prevent, it is assumed that user needs to contact with electronic equipment just may be implemented switching song three times, Preset condition so in step 203 can be with are as follows: the location information that judgement contacts each time whether in preset regional scope, And whether the location information that judgement contacts each time meets corresponding sequence;For example, the dorsal shield of mobile phone is divided into Q1, Q2, Q3 tri- A region, user during use, need first to contact the region Q1 of mobile phone dorsal shield, then contact the area Q3 of mobile phone dorsal shield Domain finally contacts the region Q2 of mobile phone dorsal shield, in other words, preset condition are as follows: the region of contact is needed in corresponding region model In enclosing (tri- regions Q1, Q2, Q3), and the sequence contacted needs to meet: Q1 → Q3 → Q2.
Electronic equipment is represented with mobile phone below, user wants to listen song, and user opens the music application on mobile phone, selectes One song (assuming that the name of song is song1) starts to play, then mobile phone plays song song1, user listens song1, sends out It is existing oneself not like song1, therefore want to switch next.So user first with coin tap mobile phone on dorsal shield the region Q1, so Tap the region Q2 of mobile phone dorsal shield with coin again afterwards, (user taps suitable in the region Q3 of end user's coin percussion mobile phone dorsal shield Sequence is Q1 → Q2 → Q3);During tapping each time, mobile phone is using Mike's acquisition on mobile phone due to coin and mobile phone The sound of shell contact and generation;Then mobile phone handles the sound, obtains the location information of the source of sound of the sound;Mobile phone It was found that: although number of taps is 3 times, the location information of source of sound also in preset regional scope (tri- regions Q1, Q2, Q3), But the sequence of source of sound is unsatisfactory for the such sequence of Q1 → Q3 → Q2, therefore, mobile phone does not switch song, continues to play song1. It should be noted that, although be for switching song, but technical solution provided in an embodiment of the present invention can be used for unlock, It recalls default application (APP), play under the scenes such as video.
Embodiment three
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, described Electronic equipment includes two and more than two sound collection units;In embodiments of the present invention, the first parameter can be position Parameter;
Fig. 3-1 is the implementation process schematic diagram of three information processing method of the embodiment of the present invention, as shown in figure 3-1, the information Processing method includes:
Step 301, when electronic equipment is in first state, using the electronic equipment sound collection unit acquisition due to The sound for contacting and generating with the electronic equipment;
Here, above-mentioned step 301 corresponds to the step 101 in embodiment one, and therefore, those skilled in the art can be with Above-mentioned step 301 is understood refering to embodiment one, and in order to save length with succinctly, which is not described herein again.
Step 302, two and more than two sound collection units sound pair collected of the electronic equipment are utilized The source of sound of the sound is positioned, and the location information of the source of sound is obtained;
Here, preferable locating effect, described two and more than two sound collection units can be installed in order to obtain In the different location of electronic equipment, for example, when electronic equipment includes two sound collection units, one of sound collection Unit may be mounted at the top of the first surface of electronic equipment, another sound collection unit may be mounted at electronic equipment The bottom of second surface, wherein first surface and second surface can be set in relative positional relationship, such as first surface for electronics Standby front, second surface can be with the back sides of electronic equipment.
Here, when multiple sound collection units may be mounted at the different location of electronic equipment, in different location Sound received by sound collection unit be it is different, specifically, the volume of received sound and received The time of sound is different (volume ratio and the time difference);As shown in figure 3-2, it is assumed that the position contacted with electronic equipment is 133, and 133 the first sound collection unit of distance 131 of position is closer than apart from second sound acquisition unit 132, so the first sound Acquisition unit 131 the volume ratio second sound acquisition unit 132 of collected sound collected sound give great volume (there is volume ratio between 131 and 132, and be confirmable), and the first sound collection unit 131 first collects sound Sound, and sound (there is the time difference between 131 and 132, and be confirmable) is collected after second sound acquisition unit 132; Wherein, the first curve can be determined by the time difference, when all the points distance 131 and 132 is all having the same on the first curve Between it is poor, and the second curve can also be determined by volume ratio, all point distances 131 and 132 all have phase on the second curve The volume ratio answered, and the intersection point of the first curve and the second curve is position 133.It should be noted that determining the first song The area size and the first acquisition unit that are contacted on electronic equipment when line and the second curve and the second acquisition unit it Between relative distance all should be known.
When implementing step 302, the time difference can be advanced with and volume ratio forms the column about position Then table obtains processing using two and more than two sound collection units sound collected of the electronic equipment Then time difference and volume ratio inquire list according to time difference and volume ratio, the location information of the source of sound can be obtained.
Step 303, judge whether the location information meets preset condition, obtain the first judging result;
Step 304, it is based on first judging result, is switched to the second state, second shape from the first state State is different from the first state.
Here, above-mentioned step 303 and 304 is corresponding to the step 203 and 204 in embodiment two, therefore, the skill of this field Art personnel can understand above-mentioned step 303 and step 304 refering to embodiment two, in order to save length and succinct, here not It repeats again.
Example IV
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, described Electronic equipment includes sound collection unit and touch control detection unit, wherein sound collection unit for acquire due to the electronics The sound of equipment contact and generation, touch control detection unit is for detecting whether there is touch event;
Fig. 4 is the implementation process schematic diagram of four information processing method of the embodiment of the present invention, as shown in figure 4, the information processing Method includes:
Step 401, when electronic equipment is in first state, using the electronic equipment sound collection unit acquisition due to The sound for contacting and generating with the electronic equipment;
Step 402, the sound is handled, obtains the first ginseng using tone quality described in the first parameter characterization Numerical value;
Step 403, judge whether first parameter value meets preset first condition, obtain the first judging result;
Here, those skilled in the art can understand above-mentioned step 401 to 403 refering to embodiment one, and institute is different , in step 401, the position that operating body is contacted with the electronic equipment is the touch control detection unit positioned at electronic equipment On, in other words, the sound in step 401 is the interaction due to operating body and touch control detection unit and generates.This reality Example is applied in order to save length with succinctly, repeats no more step 402 and 403.
Step 404, touch event has been detected whether using the touch control detection unit of the electronic equipment;
Here, touch control detection unit may include touch tablet and touch-display unit;The touch event is a kind of touching The event operated in control detection unit.
Step 405, judge whether the touch event meets second condition, obtain the second judging result;
Here, second condition can refer to some some conditions related with touch event;For example, second condition can be Time of origin about touch event, second condition is also possible to the position about touch event, and second condition can be with It is about the operating body type in touch event.Other than condition above-mentioned, those skilled in the art can also be to second The some other conditions about touch event of condition setting, which is not described herein again.
Step 406, it is based on first judging result and second judging result, is switched to the from the first state Two-state, second state are different from the first state.
Here, step 406 includes:
When first judging result shows that the first parameter value meets the first condition, and the second judging result table When the bright touch event meets second condition, then electronic equipment is switched to the second state from the first state;When described One judging result shows that the first parameter value is unsatisfactory for the first condition, and second judging result shows the touch event When being unsatisfactory for second condition, then electronic equipment continues to the first state;When first judging result shows the first ginseng Numerical value is unsatisfactory for the first condition, and when second judging result shows that the touch event meets second condition, then electric Sub- equipment continues to the first state;When first judging result shows that the first parameter value meets the first condition, And second judging result when showing that the touch event is unsatisfactory for second condition, then electronic equipment continues to described first State.
Illustrate technical solution provided by the embodiment of the present invention below to unlock scene, the unlock design of touch screen is to use The interactive mode being most most widely used when family is using mobile phone, existing unlock scheme are typically all the position based on touch event And design, for example, certain electronic equipment is to rely on and carries out slide in rectangular area (release region) and realize unlock, this The unlock scheme that kind is realized based on position of touch be easy to cause maloperation, for example, user sets electronics during application Standby and key is incorporated into inside bag, and user is during drawing key, it is likely that touches the unlock area of electronic equipment just Electronic equipment has been locked so as to cause misunderstanding in domain.And technical solution provided in an embodiment of the present invention, it is assumed that second condition is touch-control position It sets, then the present embodiment during unlock, other than the conventional position of touch of judgement, also judges the sound that contact generates Whether meet preset condition, in other words, the embodiment of the present invention realized during unlock position based on touch-control and Double judgements of sound.
Design (as the aforementioned embodiment one) of the relevant unlock scheme there is likely to be another kind based on audio parameter, example Such as, electronic equipment and key are incorporated into inside bag by user, and for user during running, key is likely to impingement of electrons The touch control detection unit of equipment, and this shock can generate sound;When unlock scheme is only the single parameter about sound, that The shock of key and touch control detection unit, which will lead to misread, has locked electronic equipment.And technical side provided in an embodiment of the present invention Case, it is assumed that second condition is set to off the operating body type in touch event (for example, the type of operating body is that finger etc. has Biological nature, then the shock of key is exactly to be unsatisfactory for second condition), then the present embodiment during unlock, removes Outside the parameter of the conventional sound of judgement, also judge whether operating body type meets second condition, it is seen then that the embodiment of the present invention Double judgements based on audio parameter and touch event on being realized during unlock.
From two examples above-mentioned can be seen that technical solution provided in an embodiment of the present invention propose it is a kind of by touch-control thing The unlock scheme that part and sound are combined can be avoided the maloperation of user, and user does not have volume during unlock Outer increase operation;Moreover, it is achieved that technical solution provided in an embodiment of the present invention, not will cause the increase of additional hardware cost, Because sound collection unit is one of necessary functions component of existing electronic equipment.
Embodiment five
Based on example IV above-mentioned, the embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, institute Stating electronic equipment includes sound collection unit and touch control detection unit, wherein sound collection unit for acquire due to the electricity The sound of sub- equipment contact and generation, touch control detection unit is for detecting whether there is touch event;
Fig. 5 is the implementation process schematic diagram of five information processing method of the embodiment of the present invention, as shown in figure 5, the information processing Method includes:
Step 501, when electronic equipment is in first state, using the electronic equipment sound collection unit acquisition due to The sound generated with the contact of touch control detection unit on the electronic equipment;
Step 502, the sound is handled, obtains the first ginseng using tone quality described in the first parameter characterization Numerical value;
Step 503, judge whether first parameter value meets preset first condition, obtain the first judging result;
Step 504, touch event has been detected whether using the touch control detection unit of the electronic equipment;
Here, touch control detection unit may include touch tablet and touch-display unit (also known as touch screen), wherein touch-control Display unit includes at least resistance-type and capacitor induction type;The touch event is that one kind is operated on touch control detection unit Event.
Here, above-mentioned step 501 to step 504 corresponds to the step 401 in example IV to step 404, therefore, sheet The technical staff in field can understand above-mentioned step 501 to 504 refering to example IV, in order to save length and succinct, this In repeat no more.
Step 505, judge whether the difference of the time of origin of the touch event and the generation time of the sound is being preset Period in, obtain the second judging result;
Here, when user carries out touch control operation, the touch control detection unit on electronic equipment (prolongs in the sensitivity of its own The slow time) touch event can be detected in range, while electronic equipment needs to obtain the timestamp of the touch event;Meanwhile In step 501, when sound detection unit detects sound, electronic equipment is also required to obtain the timestamp of the sound.Due to step Sound in rapid 501 is the interaction due to operating body and touch control detection unit and generates, theoretically, work as sound The delay time of sound detection unit is identical as the delay time of touch control detection unit, and ignores sound on touch control detection unit Propagation time, then the time of origin of the touch event and the generation time of the sound should be consistent.But it reflects It is different from the delay time of touch control detection unit in the delay time of sound detection unit, and sound needs to travel to sound inspection It surveys on unit, therefore, the difference of the generation time of the time of origin of touch event and the sound needs within a certain period of time, to change Sentence is talked about, and touch event needs to match with sound, can show that sound is the contact due to operating body and touch control detection unit And generate.
Step 506, it is based on first judging result and second judging result, is switched to the from the first state Two-state, second state are different from the first state.
Here, step 506 includes:
When first judging result shows that the first parameter value meets the first condition, and the second judging result table The difference of the generation time of the time of origin and sound of the bright touch event within a preset time period when, then electronic equipment The second state is switched to from the first state;When first judging result shows that the first parameter value is unsatisfactory for described first Part, and second judging result shows the difference of the time of origin of the touch event and the generation time of the sound not pre- If period in when, then electronic equipment continues to the first state;When first judging result shows the first parameter Value is unsatisfactory for the first condition, and second judging result shows the time of origin and the sound of the touch event The difference of generation time within a preset time period when, then electronic equipment continues to the first state;When first judgement The result shows that the first parameter value meets the first condition, and when second judging result shows the generation of the touch event Between and the sound generation time difference not within a preset time period when, then electronic equipment continues to first shape State.
Embodiment six
Based on example IV above-mentioned, the embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, institute Stating electronic equipment includes sound collection unit and touch-display unit, wherein sound collection unit for acquire due to the electricity The sound of sub- equipment contact and generation, touch-display unit can be using the flat screen of capacitor induction type touch-control, for detecting whether having Operating body with biological nature and carry out touch control operation;
Fig. 6 is the implementation process schematic diagram of six information processing method of the embodiment of the present invention, as shown in fig. 6, the information processing Method includes:
Step 601, when electronic equipment is in first state, operation is acquired using the sound collection unit of the electronic equipment Body is due to the sound that generates with the contact of capacitor induction type touch screen on the electronic equipment;
Here, capacitor induction type touch screen operating body type that can be detected generally comprises the operating body with biological nature With capacitive stylus, wherein the operating body with biological characteristic includes the skin etc. of finger, finger nail, human body.
Step 602, the sound is handled, obtains the first ginseng using tone quality described in the first parameter characterization Numerical value;
Step 603, judge whether first parameter value meets preset first condition, obtain the first judging result;
Step 604, touch event has been detected whether using the capacitor induction type touch screen of the electronic equipment;
Here, above-mentioned step 602 to step 604 corresponds to the step 402 in example IV to step 404, therefore, sheet The technical staff in field can understand above-mentioned step 402 to 404 refering to example IV, in order to save length and succinct, this In repeat no more.
Step 605, obtain the type for generating the operating body of the touch event, judge the operating body type whether be Operating body with biological nature obtains the second judging result;
Step 606, it is based on first judging result and second judging result, is switched to the from the first state Two-state, second state are different from the first state.
Here, step 606 includes:
When first judging result shows that the first parameter value meets the first condition, and the second judging result table When the type of the bright operating body is the operating body with biological nature, then electronic equipment is switched to second from the first state State;When first judging result shows that the first parameter value is unsatisfactory for the first condition, and the second judging result table When the type of the bright operating body is not the operating body with biological nature, then electronic equipment continues to the first state; When first judging result shows that the first parameter value is unsatisfactory for the first condition, and second judging result show it is described When the type of operating body is the operating body with biological nature, then electronic equipment continues to the first state;When described One judging result shows that the first parameter value meets the first condition, and second judging result shows the class of the operating body When type is not the operating body with biological nature, then electronic equipment continues to the first state.
In the embodiment of the present invention, the method be can further include: judging the touch location of the touch event is No satisfaction is in preset regional scope;
Here, since the touch control detection unit in the embodiment of the present invention is capacitor induction type touch screen, it is therefore possible to use Whether routine techniques judges the touch location of touch event in preset regional scope.It, can be with during specific implementation Capacitor induction type touch screen is divided into several sub-regions, progressive contact all subregion;It can also be in capacitor induction type touch-control screen display Show specified figure, contacted in the specific position of figure according to preset sequence, then judges that the position of contact is No satisfaction is in preset regional scope.
Embodiment seven
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, described Electronic equipment includes sound collection unit and touch-display unit, wherein sound collection unit for acquire due to the electronics The sound of equipment contact and generation, touch-display unit can be using the flat screen of capacitor induction type touch-control, for detecting whether there is tool There is the operating body of biological nature and carries out touch control operation;
Fig. 7-1 is the implementation process schematic diagram of seven information processing method of the embodiment of the present invention, as shown in Fig. 7-1, the information Processing method includes:
Step 701, when electronic equipment is in first state, operation is acquired using the sound collection unit of the electronic equipment Body is due to the sound that generates with the contact of capacitor induction type touch screen on the electronic equipment;
Here, capacitor induction type touch screen operating body type that can be detected generally comprises the operating body with biological nature With capacitive stylus, wherein the operating body with biological characteristic includes finger, the skin of human body, joint of finger etc..
Step 702, the sound is handled, obtains the frequency values for characterizing the sound using frequency;
Step 703, judge whether the frequency values meet preset condition, obtain the first judging result;
Here, step 703 may determine that during specific implementation frequency values whether in preset frequency range, It may determine that whether frequency values are more than or equal to preset first frequency threshold value, or be less than or equal to preset second frequency threshold value.
Step 704, touch event has been detected whether using the capacitor induction type touch screen of the electronic equipment;
Step 705, obtain the type for generating the operating body of the touch event, judge the operating body type whether be Operating body with biological nature obtains the second judging result;
Here, that is, judge whether the operating body of hand capacity induction type touch screen is whether finger etc. has biological nature. Technical solution provided in an embodiment of the present invention is based on the fact that, when user taps screen (such as Fig. 7-using finger-joint 2) when, touch event can not only be generated, simultaneously as the sound characteristic for tapping itself is different (Fig. 7-3), the left side in Fig. 7-3 is aobvious The frequency range of the touch screen (Tip) shown, the frequency range for the percussion screen (Knucke) that the right is shown in Fig. 7-3, by scheming Shown in 7-3, it is bigger than the frequency range for touching the sound that screen generates to tap the sound that screen generates, then can be with by frequency values Judge the sound that user contacts on the screen and generates, the mode of contact can be touch, be also possible to percussion etc..
Step 706, it is based on first judging result and second judging result, is switched to the from the first state Two-state, second state are different from the first state.
Here, step 706 includes:
When first judging result shows that the frequency values meet preset condition, and second judging result shows When the type of the operating body is the operating body with biological nature, then electronic equipment is switched to the second shape from the first state State;When first judging result shows that the frequency values meet preset condition, and second judging result show it is described When the type of operating body is not the operating body with biological nature, then electronic equipment continues to the first state;When described First judging result shows that the frequency values are unsatisfactory for preset condition, and second judging result shows the operating body When type is the operating body with biological nature, then electronic equipment continues to the first state;When the first judgement knot Fruit shows that the frequency values meet preset condition, and second judging result show the operating body type be not with When the operating body of biological nature, then electronic equipment continues to the first state.
Embodiment eight
Based on previous embodiment, the embodiment of the present invention provides a kind of information processing method, is applied to electronic equipment, the electricity Sub- equipment includes sound collection unit and display unit, and wherein sound collection unit is for acquiring due to connecing with the electronic equipment The sound of touching and generation, display unit, for showing the output content of the electronic equipment;
Fig. 8 is the implementation process schematic diagram of eight information processing method of the embodiment of the present invention, as shown in figure 8, the information processing Method includes:
Step 801, it when the display unit of the electronic equipment shows the first interface, is adopted using the sound of the electronic equipment Collection unit acquires the sound generated due to contacting with the electronic equipment, wherein the first interface corresponds to the first access authority;
Step 802, the sound is handled, obtains the first ginseng using tone quality described in the first parameter characterization Numerical value;
Step 803, judge whether first parameter value meets preset first condition, obtain the first judging result;
Step 804, it is based on first judging result, is second contact surface from first changing interface, wherein described the Second interface corresponds to the second access authority, and second access authority is higher than first access authority.
Technical solution provided in an embodiment of the present invention can be used for following scene, by taking mobile phone represents electronic equipment as an example, User wants to carry out unlocking screen to mobile phone, and mobile phone is in black state at the beginning, and user clicks power supply (Power) key, hand Machine enters unlock interface (i.e. the first interface), it is assumed here that unlock interface is three regions Q1, Q2, Q3, and user is in the mistake used Cheng Zhong needs first to contact the region Q1 of Mobile phone screen, then contacts the region Q3 of Mobile phone screen, finally contacts the region Q2 of Mobile phone screen, In other words, preset condition are as follows: the region of contact needs in corresponding regional scope (tri- regions Q1, Q2, Q3), and contacts Sequence need to meet: Q1 → Q3 → Q2.In general the access authority of unlock interface is very low, and what user can do sees mobile phone Interface content, such as either with or without the operation such as incoming call or short message, current time, charge condition of electronic equipment etc., and shutdown (the first access authority is corresponding under the first interface).
When mobile phone is in unlock interface, mobile phone just opens built-in Mike;Then user first contacts the Q1 of Mobile phone screen Region, then contact Mobile phone screen the region Q3, finally contact Mobile phone screen the region Q2 (user contact sequence be Q1 → Q2 → Q3);During contacting each time, mobile phone is generated using Mike's acquisition on mobile phone since finger is contacted with Mobile phone screen Sound;Then mobile phone handles the sound, obtains the location information of the source of sound of the sound;Mobile phone discovery: finger contact Number is 3 times, the location information of source of sound also in preset regional scope (tri- regions Q1, Q2, Q3), and the sequence of source of sound Meet preset sequence (Q1 → Q2 → Q3), therefore, then mobile phone will be switched to desktop (i.e. second contact surface) from unlock interface, uses After family enters desktop, each middle operation can be carried out, for example, opening APP, deletes the operation such as application program (the second access authority), Obviously, higher than the access authority under unlock interface into the access authority of desktop.Although it should be noted that this scene be with For mobile phone screen unlocks, but technical solution provided in an embodiment of the present invention can be used for inputting under the scenes such as password, account.
Embodiment nine
Based on embodiment of the method above-mentioned, the embodiment of the present invention provides a kind of electronic equipment, and Fig. 9 is the embodiment of the present invention nine The composed structure schematic diagram of electronic equipment, as shown in figure 9, the electronic equipment 900 includes:
Sound collection unit 901, the sound generated for acquisition testing due to being contacted with the electronic equipment;
Processor 902, is used for:
When electronic equipment is in first state, using the electronic equipment sound collection unit detection due to the electricity The sound of sub- equipment contact and generation;
The sound is handled, the first parameter value using tone quality described in the first parameter characterization is obtained;
Judge whether first parameter value meets preset first condition, obtains the first judging result;
Based on first judging result, be switched to the second state from the first state, second state with it is described First state is different.
It is described that the sound is handled in the embodiment of the present invention, it obtains using sound described in the first parameter characterization First parameter value of attribute, comprising:
The sound is handled, the location information for characterizing the source of sound of the sound using position is obtained;
Accordingly, described to judge whether first parameter value meets preset first condition, comprising: to judge the position Whether information is in the preset band of position.
In the embodiment of the present invention, electronic equipment 900 may include two and more than two sound collection units 901;This When, processor 902 is used for:
When electronic equipment is in first state, described two and more than two sound collections of the electronic equipment are utilized Unit detects the sound generated due to contacting with the electronic equipment;
It is carried out using source of sound of described two and more than two sound collection unit sound collected to the sound Positioning, obtains the location information of the source of sound;
Judge whether first parameter value meets preset first condition, obtains the first judging result;
Based on first judging result, be switched to the second state from the first state, second state with it is described First state is different.
Embodiment ten
Based on embodiment of the method above-mentioned, the embodiment of the present invention provides a kind of electronic equipment, and Figure 10 is the embodiment of the present invention The composed structure schematic diagram of ten electronic equipments, as shown in Figure 10, which includes:
Sound collection unit 1001, the sound generated for acquisition testing due to being contacted with the electronic equipment;
Touch control detection unit 1002, for detecting whether there is touch event;
Processor 1003, is used for:
When electronic equipment is in first state, using the electronic equipment sound collection unit detection due to the electricity The sound of sub- equipment contact and generation;
The sound is handled, the first parameter value using tone quality described in the first parameter characterization is obtained;
Judge whether first parameter value meets preset first condition, obtains the first judging result;
Touch event has been detected whether using the touch control detection unit of the electronic equipment;
Judge whether the touch event meets second condition, obtains the second judging result;
Based on first judging result and second judging result, the second state is switched to from the first state.
It is described to judge whether the touch event meets second condition in the embodiment of the present invention, comprising:
Judge the difference of the time of origin of the touch event and the generation time of the sound whether in the preset period It is interior.
It is described to judge whether the touch event meets second condition in the embodiment of the present invention, comprising:
Obtain the type for generating the operating body of the touch event;
Whether the type for judging the operating body is the operating body with biological nature.
Here, first parameter is frequency, accordingly, described to handle the sound, is obtained using the first ginseng Number characterizes the first parameter value of the tone quality, comprising: handles the sound, obtains the frequency letter of the sound Breath;
Accordingly, judge whether first parameter value meets preset first condition, comprising:
Judge the frequency information whether in the preset threshold range about frequency.
Embodiment 11
Based on embodiment above-mentioned, the embodiment of the present invention provides a kind of electronic equipment, and Figure 11 is the embodiment of the present invention 11 The composed structure schematic diagram of electronic equipment, as shown in figure 11, which includes:
Sound collection unit 1101, the sound generated for acquisition testing due to being contacted with the electronic equipment;
Display unit 1102, for showing the output content of the electronic equipment;
Processor 1103, is used for:
When the display unit of the electronic equipment shows the first interface, examined using the sound collection unit of the electronic equipment Survey the sound generated due to contacting with the electronic equipment;
The sound is handled, the first parameter value using tone quality described in the first parameter characterization is obtained;
Judge whether first parameter value meets preset first condition, obtains the first judging result;
It is second contact surface from first changing interface, wherein the first interface corresponds to based on first judging result First access authority, the second contact surface correspond to the second access authority, and second access authority is higher than first access Permission.
Here, display unit 1102 can be touch-display unit.
It need to be noted that: the description of the above electronic equipment embodiment nine to 11, with above- mentioned information processing method The description of embodiment be it is similar, there is with embodiment of the method identical beneficial effect, therefore do not repeat them here.For electricity of the invention Undisclosed technical detail in sub- apparatus embodiments nine to 11, those skilled in the art please refer to embodiment of the present invention method Description and understand, for save length, which is not described herein again.
Embodiment 12
Based on embodiment of the method above-mentioned, the embodiment of the present invention provides a kind of information processing unit again, the information processing apparatus Acquisition unit, processing unit, judging unit and the switch unit set can be realized by the processor in electronic equipment; Certainly it can also be realized by specific logic circuit;During specific embodiment, processor can be central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) etc..
Figure 12 is the composed structure schematic diagram of 12 information processing unit of the embodiment of the present invention, as shown in figure 12, the information Processing unit 1200 includes:
Acquisition unit 1201, for utilizing the sound collection of the electronic equipment when electronic equipment is in first state Unit acquires the sound generated due to contacting with the electronic equipment;
Processing unit 1202 obtains the category using sound described in the first parameter characterization for handling the sound First parameter value of property;
Judging unit 1203 obtains first and sentences for judging whether first parameter value meets preset first condition Disconnected result;
Switch unit 1204 is switched to the second state, institute from the first state for being based on first judging result It is different from the first state to state the second state.
It need to be noted that: the description of apparatus above embodiment 12, the description with above method embodiment are classes As, there is with embodiment of the method similar beneficial effect, therefore do not repeat them here.For not disclosed in apparatus of the present invention embodiment Technical detail, please refer to the description of embodiment of the present invention method and understand, to save length, therefore repeat no more.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction " in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot Structure or characteristic can combine in any suitable manner in one or more embodiments.It should be understood that in various implementations of the invention In example, magnitude of the sequence numbers of the above procedures are not meant that the order of the execution order, and the execution sequence of each process should be with its function It can determine that the implementation process of the embodiments of the invention shall not be constituted with any limitation with internal logic.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit;Both it can be located in one place, and may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only deposits The various media that can store program code such as reservoir (Read Only Memory, ROM), magnetic or disk.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention. And storage medium above-mentioned includes: various Jie that can store program code such as movable storage device, ROM, magnetic or disk Matter.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (13)

1. a kind of information processing method, which comprises
When electronic equipment is in first state, acquired using the sound collection unit of the electronic equipment due to being set with the electronics The sound of standby contact and generation;
The sound is handled, the first parameter value using tone quality described in the first parameter characterization is obtained;Wherein, One parameter is tone, loudness, tone color, any one in position or two and more than two parameter combinations;
Judge whether first parameter value meets preset first condition, obtains the first judging result;Wherein, described first Part and first relating to parameters;
Wherein, described that the sound is handled, obtain the first parameter using tone quality described in the first parameter characterization Value, comprising:
The sound is handled, the location information for characterizing the source of sound of the sound using position is obtained;Wherein, the sound The location information of source of sound be the position for contacting the operating body of the electronic equipment and being contacted with the electronic equipment;
Accordingly, described to judge whether first parameter value meets preset first condition, comprising: to judge the location information Whether preset condition is met;
Based on first judging result, the second state, second state and described first are switched to from the first state State is different.
2. it is described that the sound is handled the method according to claim 1, wherein accordingly, it is adopted The location information of the source of sound of the sound is characterized with position, comprising:
Using two of the electronic equipment and more than two sound collection units sound collected to the sound of the sound Source is positioned, and the location information of the source of sound is obtained.
3. the method according to claim 1, wherein the method also includes:
Touch event has been detected whether using the touch control detection unit of the electronic equipment;
Judge whether the touch event meets second condition, obtains the second judging result;
Accordingly, it is based on first judging result and second judging result, is switched to the second shape from the first state State.
4. according to the method described in claim 3, it is characterized in that, described judge whether the touch event meets Article 2 Part, comprising:
Whether within a preset time period to judge the difference of the time of origin of the touch event and the generation time of the sound.
5. according to the method described in claim 3, it is characterized in that, described judge whether the touch event meets Article 2 Part, comprising:
Obtain the type for generating the operating body of the touch event;
Whether the type for judging the operating body is the operating body with biological nature.
6. according to the method described in claim 5, it is characterized in that, first parameter be frequency, it is accordingly, described to described Sound is handled, and the first parameter value using tone quality described in the first parameter characterization is obtained, comprising:
The sound is handled, the frequency information of the sound is obtained;
Accordingly, judge whether first parameter value meets preset first condition, comprising:
Judge the frequency information whether in the preset threshold range about frequency.
7. method according to any one of claims 1 to 6, which is characterized in that the electronic equipment further includes display unit;
Accordingly, the electronic equipment is in first state, comprising: the display unit of the electronic equipment shows the first boundary Face;
Accordingly, it is based on first judging result, is switched to the second state from the first state, comprising:
It is second contact surface from first changing interface based on first judging result, wherein the first interface corresponds to first Access authority, the second contact surface correspond to the second access authority, and second access authority is higher than first access authority.
8. a kind of electronic equipment, comprising:
Sound collection unit, the sound generated for acquisition testing due to being contacted with the electronic equipment;
Processor is used for:
When electronic equipment is in first state, detected using the sound collection unit of the electronic equipment due to being set with the electronics The sound of standby contact and generation;
The sound is handled, the first parameter value using tone quality described in the first parameter characterization is obtained;Wherein, One parameter is tone, loudness, tone color, any one in position or two and more than two parameter combinations;
Judge whether first parameter value meets preset first condition, obtains the first judging result;Wherein, described first Part and first relating to parameters;
Wherein, described that the sound is handled, obtain the first parameter using tone quality described in the first parameter characterization Value, comprising:
The sound is handled, the location information for characterizing the source of sound of the sound using position is obtained;Wherein, the sound The location information of source of sound be the position for contacting the operating body of the electronic equipment and being contacted with the electronic equipment;
Accordingly, described to judge whether first parameter value meets preset first condition, comprising: to judge the location information Whether preset condition is met;
Based on first judging result, the second state, second state and described first are switched to from the first state State is different.
9. electronic equipment according to claim 8, which is characterized in that it is accordingly, described that the sound is handled, it obtains To the location information for the source of sound for characterizing the sound using position, comprising:
Using two of the electronic equipment and more than two sound collection units sound collected to the sound of the sound Source is positioned, and the location information of the source of sound is obtained.
10. electronic equipment according to claim 8, which is characterized in that the electronic equipment further includes touch control detection unit, For detecting whether there is touch event;
Accordingly, the processor, is also used to:
Touch event has been detected whether using the touch control detection unit of the electronic equipment;
Judge whether the touch event meets second condition, obtains the second judging result;
Accordingly, it is based on first judging result and second judging result, is switched to the second shape from the first state State.
11. electronic equipment according to claim 10, which is characterized in that described to judge whether the touch event meets Two conditions, comprising:
Obtain the type for generating the operating body of the touch event;
Whether the type for judging the operating body is the touch for having the operating body of biological nature, and judging the touch event Whether position meets in preset condition.
12. electronic equipment according to any one of claims 8 to 11, which is characterized in that the electronic equipment further includes showing Show unit, for showing the output content of the electronic equipment;
Accordingly, the electronic equipment is in first state, comprising: the display unit of the electronic equipment shows the first boundary Face;
Accordingly, it is based on first judging result, is switched to the second state from the first state, comprising:
It is second contact surface from first changing interface based on first judging result, wherein the first interface corresponds to first Access authority, the second contact surface correspond to the second access authority, and second access authority is higher than first access authority.
13. a kind of information processing unit, described device include:
Acquisition unit, for being acquired using the sound collection unit of the electronic equipment when electronic equipment is in first state The sound generated due to being contacted with the electronic equipment;
Processing unit obtains first using tone quality described in the first parameter characterization for handling the sound Parameter value;Wherein, the first parameter is tone, loudness, tone color, any one in position or two and more than two parameter groups It closes;
Judging unit obtains the first judging result for judging whether first parameter value meets preset first condition;Its In, the first condition and first relating to parameters;
Wherein, described that the sound is handled, obtain the first parameter using tone quality described in the first parameter characterization Value, comprising:
The sound is handled, the location information for characterizing the source of sound of the sound using position is obtained;
Accordingly, described to judge whether first parameter value meets preset first condition, comprising: to judge the location information Whether preset condition is met;
Switch unit is switched to the second state, second shape from the first state for being based on first judging result State is different from the first state.
CN201510127866.3A 2015-03-23 2015-03-23 A kind of information processing method and device, electronic equipment Active CN104750254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510127866.3A CN104750254B (en) 2015-03-23 2015-03-23 A kind of information processing method and device, electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510127866.3A CN104750254B (en) 2015-03-23 2015-03-23 A kind of information processing method and device, electronic equipment

Publications (2)

Publication Number Publication Date
CN104750254A CN104750254A (en) 2015-07-01
CN104750254B true CN104750254B (en) 2019-02-05

Family

ID=53590076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510127866.3A Active CN104750254B (en) 2015-03-23 2015-03-23 A kind of information processing method and device, electronic equipment

Country Status (1)

Country Link
CN (1) CN104750254B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306673A (en) * 2015-09-07 2016-02-03 惠州Tcl移动通信有限公司 Mobile terminal and automatic scene mode adjustment method thereof
CN105808996A (en) * 2016-05-12 2016-07-27 北京小米移动软件有限公司 Method and device for unlocking screen of terminal
CN106485110A (en) * 2016-09-30 2017-03-08 宇龙计算机通信科技(深圳)有限公司 A kind of unlocking screen method and terminal
CN106485126A (en) * 2016-10-31 2017-03-08 宇龙计算机通信科技(深圳)有限公司 Information processing method based on articulations digitorum manus, device and terminal
CN106529250A (en) * 2016-10-31 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Unlocking method and terminal
JP6416995B1 (en) * 2017-07-12 2018-10-31 レノボ・シンガポール・プライベート・リミテッド Portable information processing apparatus, command input method for portable information processing apparatus, and computer-executable program
CN108519148A (en) * 2018-03-22 2018-09-11 广州通导信息技术服务有限公司 A kind of sound wave sensing device of contact
CN109977244A (en) * 2019-03-31 2019-07-05 联想(北京)有限公司 A kind of processing method and electronic equipment
CN113050812B (en) * 2021-03-30 2023-11-21 联想(北京)有限公司 Control method, electronic pen and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037068A (en) * 2011-10-08 2013-04-10 宏碁股份有限公司 Automatic ringing mode switching method and electronic device thereof
CN103049186A (en) * 2012-09-24 2013-04-17 共青城赛龙通信技术有限责任公司 Electronic device with sound control button function and sound control button method
CN103645845A (en) * 2013-11-22 2014-03-19 华为终端有限公司 Knocking control method and terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634721A (en) * 2012-08-20 2014-03-12 联想(北京)有限公司 A data processing method and an electronic device
CN104049933B (en) * 2013-03-11 2019-07-26 联想(北京)有限公司 A kind of method and electronic equipment of information processing
CN104375625B (en) * 2013-08-12 2018-04-27 联想(北京)有限公司 A kind of recognition methods and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037068A (en) * 2011-10-08 2013-04-10 宏碁股份有限公司 Automatic ringing mode switching method and electronic device thereof
CN103049186A (en) * 2012-09-24 2013-04-17 共青城赛龙通信技术有限责任公司 Electronic device with sound control button function and sound control button method
CN103645845A (en) * 2013-11-22 2014-03-19 华为终端有限公司 Knocking control method and terminal

Also Published As

Publication number Publication date
CN104750254A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
CN104750254B (en) A kind of information processing method and device, electronic equipment
CN105025415B (en) A kind of audio switching method and user terminal
CN104571498B (en) A kind of application program launching method
CN109639367A (en) The method of adjustment and Related product of electromagnetic interference
CN108052261A (en) Record screen method, apparatus and terminal
CN109803104A (en) A kind of record screen method, device and mobile terminal
CN209562594U (en) Smart machine key control device
CN105916074A (en) Play control method for multimedia and terminal
CN109495642A (en) Display control method and Related product
CN109561643A (en) Electromagnetic interference control method and Related product
JP2010119841A (en) Multifunctional electronic device
CN109862430A (en) Multi-medium play method and terminal device
CN109067965A (en) Interpretation method, translating equipment, wearable device and storage medium
CN104301824B (en) Line traffic control equipment, controller, method and device
CN103513888B (en) Electronic equipment and control method
CN106055302A (en) Volume adjustment method and mobile terminal
CN108704307A (en) Processing method, device, storage medium and the electronic device of touch information
CN108268395A (en) A kind of method and mobile terminal of data communication
CN106254677A (en) A kind of scene mode setting method and terminal
CN110475020A (en) Apparatus control method and Related product
CN108668018A (en) Mobile terminal, method for controlling volume and Related product
CN108924705A (en) 3D sound effect treatment method and Related product
CN109121069A (en) 3D sound effect treatment method and Related product
CN108874359A (en) Volume adjusting method and relevant device
CN104049933B (en) A kind of method and electronic equipment of information processing

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