CN105094290A - Electronic equipment and control method for same - Google Patents

Electronic equipment and control method for same Download PDF

Info

Publication number
CN105094290A
CN105094290A CN201410184028.5A CN201410184028A CN105094290A CN 105094290 A CN105094290 A CN 105094290A CN 201410184028 A CN201410184028 A CN 201410184028A CN 105094290 A CN105094290 A CN 105094290A
Authority
CN
China
Prior art keywords
magnetic field
field intensity
intensity information
electronic equipment
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410184028.5A
Other languages
Chinese (zh)
Other versions
CN105094290B (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 CN201410184028.5A priority Critical patent/CN105094290B/en
Publication of CN105094290A publication Critical patent/CN105094290A/en
Application granted granted Critical
Publication of CN105094290B publication Critical patent/CN105094290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides electronic equipment and a control method for the same. Various applications can be achieved via a magnetic sensor; and user operation experience can be enhanced. The electronic equipment comprises a magnetic sensor equipped with a sensing magnetic field and capable of producing magnetic field strength information, and a processing unit configured to monitor changes of the magnetic field strength information provided by the magnetic sensor. When changes of the magnetic field strength information meet a preset condition, input information related to motions of input equipment including a permanent magnet can be produced based on the magnetic field strength information; corresponding control information can be produced based on the input information; and the magnetic field strength information changes with motions of the input equipment.

Description

Electronic equipment and the control method in this electronic equipment
Technical field
The present invention relates to the control method in electronic equipment and this electronic equipment.
Background technology
In the such as electronic equipment such as smart mobile phone, panel computer, be usually configured with Magnetic Sensor.In the prior art, utilize Magnetic Sensor to come inductively magnetic field, according to the magnetic field intensity of the terrestrial magnetic field responded to by Magnetic Sensor, determine the orientation etc. of the electronic equipment being configured with this Magnetic Sensor.Such as, the function such as can realize digital compass by Magnetic Sensor, assistant GPS positions.In the prior art, the application of Magnetic Sensor is limited to inductively magnetic field.
Summary of the invention
The present invention completes in view of the above problems, and its object is to provides a kind of electronic equipment and the control method thereof that effectively can utilize the Magnetic Sensor wherein configured.
According to an aspect of the present invention, a kind of electronic equipment is provided.This electronic equipment comprises: Magnetic Sensor, and configuration carrys out induced field, thus produces magnetic field intensity information; And processing unit, the change of the described magnetic field intensity information provided by described Magnetic Sensor is monitored in configuration, produce the input information relevant to the motion of the input equipment comprising permanent magnet when the change of described magnetic field intensity information meets predetermined condition based on described magnetic field intensity information, and produce corresponding control information based on described input information.Wherein, the change of described magnetic field intensity information produces because of the motion of described input equipment.
According to a further aspect in the invention, the control method in a kind of electronic equipment is provided.This electronic equipment comprises Magnetic Sensor.Described control method comprises: carry out induced field by described Magnetic Sensor, thus produces magnetic field intensity information; Monitor the change of described magnetic field intensity information, the change of wherein said magnetic field intensity information produces because comprising the motion of the input equipment of permanent magnet; When the change of described magnetic field intensity information meets predetermined condition, produce the input information relevant to the motion of described input equipment based on described magnetic field intensity information; And produce corresponding control information based on described input information.
According to electronic equipment of the present invention and control method thereof, the Magnetic Sensor that effective utilization wherein configures, the input information relevant to the motion of the input equipment comprising permanent magnet can be produced, and based on the control information produced according to input information, described electronic equipment is controlled, thus various application can be carried out by described Magnetic Sensor, and improve the operating experience of the user of described electronic equipment.
Accompanying drawing explanation
Fig. 1 is the functional block diagram of the electronic equipment representing embodiment 1.
Fig. 2 is the schematic diagram illustrating setting four precalculated positions and according to these four precalculated positions, the perimeter of electronic equipment 1 is divided into four sub regions.
Fig. 3 is illustrated in when being kept flat in the horizontal plane by electronic equipment to have carried out by processing unit the schematic diagram demarcating the result of process.
Fig. 4 is illustrated in the oscillogram that input equipment carries out each component of magnetic intensity vector when knocking motion.
Fig. 5 is the process flow diagram of the control method represented in electronic equipment of the present invention.
Embodiment
Below, with reference to accompanying drawing, the specific embodiment of the present invention is described.
Electronic equipment of the present invention comprises Magnetic Sensor and processing unit.Described magnetic sensor configuration carrys out induced field, thus produces magnetic field intensity information.The change of the described magnetic field intensity information provided by described Magnetic Sensor is monitored in described processing unit configuration, produce the input information relevant to the motion of the input equipment comprising permanent magnet when the change of described magnetic field intensity information meets predetermined condition based on described magnetic field intensity information, and produce corresponding control information based on described input information.Wherein, the change of described magnetic field intensity information produces because of the motion of described input equipment.
Here, electronic equipment of the present invention is such as smart mobile phone, panel computer etc.In the following description, in three-dimensional system of coordinate, axle orthogonal in surface level is set to X-axis, Y-axis, the axle with horizontal plane is set to Z axis.
Wherein, the magnetic field intensity information generated by Magnetic Sensor is such as three-dimensional magnetic intensity vector, and this magnetic intensity vector can be represented by the size of the component of three under three-dimensional system of coordinate.Particularly, magnetic intensity vector can be represented by the size of the size of the size of X-axis component, Y-axis component and Z axis component.But magnetic field intensity information also can represent by other means, such as, also can be represented by the size of the part component in magnetic intensity vector, and other coordinate system also can be used to represent.
Do not exist described when comprising the input equipment of permanent magnet near Magnetic Sensor, the magnetic intensity vector that Magnetic Sensor generates mainly represents terrestrial magnetic field.The magnetic field intensity of terrestrial magnetic field is very little, and along with the change of time and position also very little.On the other hand, when the input equipment comprising permanent magnet moves near Magnetic Sensor, the magnetic intensity vector that Magnetic Sensor generates is greater than the magnetic intensity vector (the main magnetic intensity vector representing terrestrial magnetic field) when there is not input equipment significantly, and the change of magnetic intensity vector also clearly.
Therefore, described processing unit is when monitoring the change of the magnetic field intensity information provided by described Magnetic Sensor, if the change of described magnetic field intensity information meets predetermined condition, then can regard as the change creating described magnetic field intensity information because of the motion of described input equipment.That is, if the change of described magnetic field intensity information meets predetermined condition, be then judged as that the input equipment comprising permanent magnet moves near Magnetic Sensor.
Such as, when the change of described magnetic intensity vector exceedes threshold value, the change creating described magnetic intensity vector because of the motion of described input equipment is regarded as.Particularly, can judge whether the size variation of magnetic intensity vector exceedes threshold value, or judge whether the size variation of any one intended component (such as X-axis) of magnetic intensity vector exceedes threshold value etc.This threshold value can set arbitrarily, as long as the change of magnetic intensity vector is no more than this threshold value when there is not the motion of input equipment.In addition, also can assert by other method the motion that whether comprises the input equipment of permanent magnet because of described and create the change of described magnetic intensity vector.
When creating the change of described magnetic field intensity information in the motion because of described input equipment, think user utilize described in comprise permanent magnet input equipment carry out input operation.Therefore, described processing unit produces the input information relevant to the motion of the input equipment comprising permanent magnet based on magnetic field intensity information, and produces corresponding control information based on described input information.
Thus the input equipment comprising permanent magnet described in user can pass through carries out input operation, and described Magnetic Sensor can respond to this input operation, thus the various application based on Magnetic Sensor can be carried out, and improve the operating experience of the user of described electronic equipment.
Below, in conjunction with the embodiments 1 and embodiment 2 Benq in Magnetic Sensor carry out musical performance and induction input equipment the scheme of rocking, but the present invention is not limited thereto, as long as utilize Magnetic Sensor to respond to the operation of the input equipment comprising permanent magnet, and based on the operation of this input equipment, the scheme that electronic equipment controls is included in scope of the present invention.
" embodiment 1 "
In embodiments of the invention 1, user operation comprises the input equipment of permanent magnet, and utilizes Magnetic Sensor to respond to the operation of user in the electronic device, exports the sound corresponding with the operation of user, thus realizes musical performance.
Fig. 1 is the functional block diagram of the electronic equipment 1 representing embodiment 1.As shown in Figure 1, electronic equipment 1 comprises Magnetic Sensor 11, processing unit 12 and voice output unit 13.
As mentioned above, Magnetic Sensor 11 configures induced field, thus produces magnetic intensity vector (magnetic field intensity information).Processing unit 12 monitors the change of the magnetic intensity vector provided by Magnetic Sensor 11, when the change of magnetic intensity vector meets predetermined condition, regards as the change creating described magnetic intensity vector because of the motion of input equipment.
When regarding as the change creating described magnetic intensity vector because of the motion of input equipment, processing unit 12 is according to the magnetic intensity vector provided by Magnetic Sensor 11, determine the operating parameter of input equipment, and produce the control information making voice output unit 12 export the sound corresponding with described operating parameter.
Particularly, the operating parameter of input equipment such as comprises operator region, operation rhythm, operating force etc.Wherein, operator region corresponds to the tone color (type of such as musical instrument) of sound, and operation rhythm corresponds to the rhythm of sound, and operating force corresponds to the volume of sound.But, operating parameter is not limited to above-mentioned parameter, can be such as one or more in above-mentioned parameter, also more parameter can be comprised, and the corresponding relation of operating parameter and audio parameter is not limited to aforesaid way, as long as user can utilize input equipment to play the sound of expectation.About the method carrying out determination operation parameter according to magnetic intensity vector, be specifically described below.
The control information that processing unit 12 produces, the tone color of the sound that voice output unit 13 is exported corresponds to operator region, the rhythm of sound that exports corresponds to operation rhythm, the volume of sound that exports corresponds to operating force.
Voice output unit 13 exports sound according to the control information inputted by processing unit 12, thus can export the sound corresponding with the operating parameter of input equipment.
Below, the method for the operating parameter being determined input equipment by processing unit according to magnetic intensity vector is illustrated.
Here, when user utilizes input equipment to perform music, input equipment is brandished around electronic equipment or knocks.Described input equipment can be a pen embedding permanent magnet, or the device such as finger ring or baton of other embedding permanent magnet.Preferably, described input equipment is the capacitance pen being embedded with permanent magnet, and the direction of magnetization of described permanent magnet is the axis direction of pen.
The first, the method in the operator region determining input equipment according to magnetic intensity vector is described.
According to two or more preposition, the perimeter of electronic equipment 1 is divided into multiple subregion.Processing unit 12 carries out demarcation process, namely based on the size of the intended component in the magnetic intensity vector produced by Magnetic Sensor 11 when input equipment being placed on preposition, the magnitude range of the intended component in the magnetic intensity vector corresponding respectively with described multiple subregion is obtained.
Fig. 2 is the schematic diagram illustrating setting four precalculated positions (i.e. the upper left corner of the housing of electronic equipment 1, the lower left corner, the lower right corner, the upper right corner) and according to these four precalculated positions, the perimeter of electronic equipment 1 is divided into four sub regions (namely going up region, lower area, left region, right region).In addition, the number in precalculated position, position are only illustrate, and are not limited to the method shown in Fig. 2.
In the situation shown in fig. 2, processing unit 12 obtains the size of the intended component of the magnetic intensity vector when the upper left corner of housing input equipment being placed on electronic equipment 1, the lower left corner, the lower right corner, the upper right corner respectively, and the size of intended component according to obtained four magnetic intensity vectors, determine the magnitude range of the intended component of the magnetic intensity vector corresponding respectively with four sub regions.
Fig. 3 is illustrated in when being lain on surface level (i.e. the plane of X-axis Y-axis decision) by electronic equipment 1 to have carried out by processing unit 12 schematic diagram demarcating the result of process.Particularly, processing unit 12 obtains the X-axis component of magnetic intensity vector when the upper left corner of housing input equipment being placed on electronic equipment 1, the lower left corner, the lower right corner, the upper right corner and the size of Y-axis component, and according to the X-axis component of magnetic intensity vector when input equipment being placed on the upper left corner of housing of electronic equipment 1, the lower left corner, the lower right corner, the upper right corner and the size of Y-axis component, determine the X-axis component of magnetic intensity vector corresponding respectively with upper region, lower area, left region, right region and the magnitude range of Y-axis component.Particularly, in figure 3, the X-axis component of the coordinates regional that half line L1 and half line L2 encloses and the magnitude range of Y-axis component correspond to upper region, the X-axis component of the coordinates regional that half line L2 and half line L3 encloses and the magnitude range of Y-axis component correspond to right region, the X-axis component of the coordinates regional that half line L3 and half line L4 encloses and the magnitude range of Y-axis component correspond to lower area, and the X-axis component of the coordinates regional that half line L4 and half line L1 encloses and the magnitude range of Y-axis component correspond to left region.
As mentioned above, when carrying out demarcation process electronic equipment 1 is lain in surface level, the intended component of magnetic intensity vector is X-axis component and Y-axis component.But according to the attitude of the electronic equipment 1 undertaken by processing unit 12 when demarcating process, the result of demarcating process is different.Such as, when electronic equipment 1 being placed on the plane determined by X-axis, Z axis, the scope corresponding respectively with described multiple subregion is the magnitude range (namely intended component is X-axis component and Y-axis component) of X-axis component in magnetic intensity vector and Z axis component.Therefore, in the process using electronic equipment 1, if the attitudes vibration of electronic equipment 1, then change the magnitude range of the intended component in the magnetic field intensity information corresponding respectively with multiple subregion according to the attitude of electronic equipment 1.
Particularly, electronic equipment 1 also comprises acceleration transducer.The configuration of this acceleration transducer obtains the attitude of electronic equipment 1.Processing unit 12, according to the attitude of the electronic equipment 1 after change, adjusts the magnitude range of the intended component in the demarcated magnetic field intensity information corresponding respectively with multiple subregion.In addition, the parts for the attitude obtaining electronic equipment 1 are not limited to acceleration transducer, such as, also can be obtained the attitude of electronic equipment 1 by parts such as gyroscopes.
Utilize input equipment when particular sub-area is brandished or knock when user, the size of the intended component of the magnetic intensity vector obtained by Magnetic Sensor 11 falls into the magnitude range of the intended component corresponding with this particular sub-area.
Therefore, the result that processing unit 12 processes according to above-mentioned demarcation, based on the size of the intended component in the magnetic intensity vector produced by Magnetic Sensor 11, determine the corresponding subregion corresponding with the scope that the size of this intended component falls into, thus corresponding subregion is defined as the operator region of input equipment.
Particularly, when the result of demarcation process as shown in Figure 3, processing unit 12 obtains the size of X-axis component in the magnetic intensity vector produced by Magnetic Sensor 11 and Y-axis component, and determine the corresponding subregion corresponding with the scope that the size of obtained X-axis component and Y-axis component falls into, thus corresponding subregion is defined as the operator region of input equipment.Such as, when the size of obtained X-axis component and Y-axis component falls into the coordinates regional that the half line L1 of Fig. 3 and half line L2 encloses, upper region is defined as the operator region of input equipment.
Wherein, processing unit 12 is when the size of the X-axis component obtained in the magnetic intensity vector that produced by Magnetic Sensor 11 and Y-axis component, preferably, the predetermined interval mean value of the X-axis component in magnetic intensity vector can be obtained, also can obtain the crest value in the scheduled period.
In addition, in the electronic device 1, the corresponding relation of subregion and instrument type is previously determined.Such as, by corresponding with violin for upper region, lower area is corresponding with trumpet, by corresponding with violoncello for left region, by corresponding with trombone for right region.
And then processing unit 12 produces the control information making voice output unit 13 export the sound of the tone color corresponding with operator region.Such as, when upper region is defined as the operator region of input equipment by processing unit, according to the corresponding relation of the subregion preset and instrument type, produce the control information making voice output unit 13 export small size sound.
The second, the method carrying out determination operation rhythm according to magnetic intensity vector is described.
When user utilizes input equipment such as to carry out knocking motion, first input equipment is from afar near electronic equipment 1, and after having knocked, input equipment is away from electronic equipment 1.Therefore, when input equipment carries out knocking motion, magnetic intensity vector changes according to the rhythm knocked.
Processing unit 12, based on the period of change of the magnetic intensity vector obtained by Magnetic Sensor 11, determines the operation rhythm of input equipment.
Fig. 4 is illustrated in the oscillogram that input equipment carries out each component of magnetic intensity vector when knocking motion.As shown in Figure 4, each component of magnetic intensity vector according to the rhythm knocking motion, again to trough from trough to crest.
Particularly, first processing unit 12 can carry out high-pass filtering, using intended component large for high frequency power as handling object to each component of magnetic intensity vector.In the case of fig. 5, X-axis component can be chosen as handling object.And then processing unit 12 using the crest of X-axis component curve as the time point knocked, can calculate the time point of the crest of X-axis component curve, using the period of change of the time interval of adjacent crest as magnetic intensity vector successively.
In addition, the method for the period of change of calculating magnetic field strength vector is not limited to this, also can apply other method.Such as, also the period of change of the time interval as magnetic intensity vector of adjacent trough can be calculated, also can carry out process to obtain period of change to intended component in a frequency domain, process can certainly be carried out to obtain period of change to the curve of multiple components of magnetic intensity vector.
And then processing unit 12 produces and makes voice output unit 13 export the control information of sound with the sound rhythm corresponding with operation rhythm.
3rd, the method carrying out determination operation dynamics according to magnetic intensity vector is described.
When the operating force of input equipment is large, magnetic intensity vector is presented as the difference of crest value and trough value becomes large and trough shortened to time interval of crest.On the contrary, when the operating force of input equipment is little, magnetic intensity vector is presented as the difference of crest value and trough value diminishes and trough is elongated to the time interval of crest.That is, the period of change of operating force magnetic intensity vector is relevant with amplitude of variation, is directly proportional particularly to the amplitude of variation of magnetic intensity vector, and is inversely proportional to the period of change of magnetic intensity vector.
Therefore, processing unit 12, based on the period of change of magnetic intensity vector and amplitude of variation, determines the operating force of input equipment.
Particularly, first processing unit 12 can carry out high-pass filtering, using intended component large for high frequency power as handling object to each component of magnetic intensity vector.In the case of fig. 5, X-axis component can be chosen as handling object.And then, processing unit 12 can calculate the difference of adjacent crest value and trough value, thus as the amplitude of variation of magnetic intensity vector, and calculate the period of change of the time interval as magnetic intensity vector of adjacent trough and crest, finally utilize this period of change divided by the business of this amplitude of variation as operating force.
In addition, the method for the operating force of calculating magnetic field strength vector is not limited to this, also can apply other method.Such as, also the period of change of difference as magnetic intensity vector of adjacent crest value and trough value can only be calculated, also can carry out process to obtain period of change to intended component in a frequency domain, process can certainly be carried out to obtain period of change to the curve of multiple components of magnetic intensity vector.
And then processing unit 12 produces and makes voice output unit 13 export the control information of sound with the volume corresponding with operating force.
In the prior art, usually complete the performance of musical instrument by carrying out touch control operation in touch screen, therefore user lacks real body sense and musicality.That is, responded to the dynamics of performance by pressure transducer, therefore need multiple pressure transducer, cost compare is high.
By the technical scheme of embodiment 1, the existing Magnetic Sensor of electronic equipment can be utilized, adopt the input equipment comprising permanent magnet to play different musical instruments around electronic equipment 1, produce rhythm, the music that tone is different.Therefore, it is possible to reduce costs lower, and the Consumer's Experience of actual situation combination can be promoted.
" embodiment 2 "
In embodiments of the invention 2, user operation comprises the input equipment of permanent magnet, and utilizes Magnetic Sensor to respond to the operation of user in the electronic device, when sensing the rocking of input equipment, starting and specifically applying.
In example 2, input equipment can be a pen embedding permanent magnet, or the device such as finger ring or baton of other embedding permanent magnet.Preferably, described input equipment is the finger ring being configured to permanent magnet.
In the explanation of embodiment 2, do not carry out the explanation of repetition to the same or analogous part of embodiment 1, and continue to use the Reference numeral in embodiment 1.
Electronic equipment 1 comprises Magnetic Sensor 11 and processing unit 12.
When user rocks input equipment, the oscillogram of the magnetic intensity vector produced by Magnetic Sensor 11 is presented as and regularly changes (roughly similar sinusoidal curve) in the given time, when user stops rocking input equipment, the oscillogram of magnetic intensity vector is presented as and tends towards stability.
Therefore, processing unit 12 judges whether magnetic intensity vector regularly changes in the given time, when being judged as that described magnetic field intensity information regularly changes in the given time, produces the control information for starting specific function.
Particularly, processing unit 12 can adjacent wave peak-to-peak time interval of intended component of calculating magnetic field strength vector, and obtain the crest value of intended component, in the given time the adjacent wave peak-to-peak time interval similar and fluctuation that is crest value size is little when, be judged as that magnetic intensity vector regularly changes in the given time.Or, also can in the time average calculating the intended component in the schedule time, and deduct this time average from the size of intended component successively and obtain difference, when regularly positive and negative values converts this difference in the given time, be judged as that magnetic intensity vector regularly changes in the given time.
In addition, also other computing method can be utilized to judge that magnetic intensity vector regularly changes in the given time, such as can analyze the intended component of magnetic intensity vector on frequency domain, as long as can calculate and judge the characteristic of the magnetic intensity vector when input equipment rocks.
Further, judging described magnetic field intensity information in the given time after regularly change, processing unit 12 and then can judge whether magnetic intensity vector tends towards stability.Such as, when the crest value of each component of magnetic intensity vector is less than predetermined threshold, can be judged as that magnetic intensity vector tends towards stability, thus the stopping of rocking of induction input equipment.
When processing unit 12 is judged as that described magnetic field intensity information regularly changes in the given time, produce the control information for starting specific function.Particularly, this control information be used for starting random number generation, shake dice, draw lots before idols, clear up internal memory, judge environment played songs title, call out assistant etc.
In addition, processing unit also can tend towards stability after the change of magnetic intensity vector rule (that is, input equipment rock stopping) when, activate and specifically apply.
In the prior art, usually detected by acceleration transducer and rock, and then start specific application, but larger electronic equipment rocks inconvenience.But in the scheme of embodiment 2, start specific application by rocking the input equipment comprising permanent magnet, therefore the operating experience of user promotes, realistic.
To sum up, according to electronic equipment 1 of the present invention, the Magnetic Sensor that effective utilization wherein configures, the input information relevant to the motion of the input equipment comprising permanent magnet can be produced, and based on the control information produced according to input information, electronic equipment is controlled, thus various application can be carried out by Magnetic Sensor, and improve the operating experience of the user of described electronic equipment.
Below, the control method in electronic equipment is described with reference to Fig. 5.Fig. 5 is the process flow diagram of the control method represented in electronic equipment of the present invention.Wherein, the control method shown in Fig. 5 can be applied to the above embodiments 1 and embodiment 2.This electronic equipment 1 comprises Magnetic Sensor 11 and processing unit 12.
In step sl, carry out induced field by Magnetic Sensor 11, thus produce magnetic field intensity information.Wherein, the magnetic field intensity information generated by Magnetic Sensor 11 is such as three-dimensional magnetic intensity vector, and this magnetic intensity vector can be represented by the size of the component of three under three-dimensional system of coordinate.Particularly, magnetic intensity vector can be represented by the size of the size of the size of X-axis component, Y-axis component and Z axis component.
In step s 2, processing unit 12 monitors the change of magnetic field intensity information, and judges whether the change of magnetic field intensity information meets predetermined condition.The change of wherein said magnetic field intensity information produces because comprising the motion of the input equipment of permanent magnet.
As mentioned above, when there is not the input equipment comprising permanent magnet near Magnetic Sensor 11, the magnetic intensity vector that Magnetic Sensor 11 generates mainly represents terrestrial magnetic field.The magnetic field intensity of terrestrial magnetic field is very little, and along with the change of time and position also very little.On the other hand, when the input equipment comprising permanent magnet moves near Magnetic Sensor 11, the magnetic intensity vector that Magnetic Sensor 11 generates is greater than magnetic intensity vector when there is not input equipment significantly, and the change of magnetic intensity vector also clearly.
Therefore, when monitoring the change of the magnetic field intensity information provided by Magnetic Sensor 11, if the change of described magnetic field intensity information meets predetermined condition, then the change creating described magnetic field intensity information because of the motion of described input equipment can be regarded as.Such as, when the change of described magnetic intensity vector exceedes threshold value, the change creating magnetic intensity vector because of the motion of input equipment is regarded as.
Then, in step s3, when the change of magnetic field intensity information meets predetermined condition, processing unit 12 produces the input information relevant to the motion of input equipment based on described magnetic field intensity information.Wherein, when the change of magnetic field intensity information meets predetermined condition, think user utilize described in comprise permanent magnet input equipment carry out input operation.
Particularly, in embodiment 1, electronic equipment 1 also comprises voice output unit 13.In embodiment 1, utilize Magnetic Sensor to respond to the operation of user in the electronic device 1, export the sound corresponding with the operation of user, thus realize musical performance.
Processing unit 12, according to the described magnetic field intensity information provided by Magnetic Sensor, determines the operating parameter of input equipment.Wherein, operating parameter such as comprises operator region, operation rhythm and operating force, but, operating parameter is not limited to above-mentioned parameter, can be such as one or more in above-mentioned parameter, also user can comprise more parameter, and the corresponding relation of operating parameter and audio parameter is not limited to aforesaid way, as long as can utilize input equipment to play the sound of expectation.
The first, when carrying out determination operation subregion according to magnetic field intensity information, first, processing unit 12 is based on the size of the intended component in the magnetic field intensity information produced by Magnetic Sensor 11 when input equipment being placed on preposition, obtain the magnitude range of the intended component in the magnetic field intensity information corresponding respectively with described multiple subregion, wherein said multiple subregion is formed by dividing the perimeter of described electronic equipment according to described preposition.Then processing unit 12 is based on the size of the intended component in the magnetic field intensity information produced by Magnetic Sensor 11, determine the corresponding subregion corresponding with the scope that the size of this intended component falls into, thus corresponding subregion is defined as the operator region of input equipment.
Such as, as shown in Figure 2, according to four precalculated positions (i.e. the upper left corner of the housing of electronic equipment 1, the lower left corner, the lower right corner, the upper right corner), the perimeter of electronic equipment 1 is divided into four sub regions (namely going up region, lower area, left region, right region).Further, as shown in Figure 3, according to magnetic intensity vector when input equipment being placed on when being kept flat in the horizontal plane by electronic equipment 1 this four precalculated positions, the magnitude range of the intended component of the magnetic intensity vector corresponding respectively with four sub regions is determined.
In addition, according to the attitude of the electronic equipment 1 undertaken by processing unit 12 when demarcating process, the result of demarcating process is different.Therefore, in the process using electronic equipment 1, if the attitudes vibration of electronic equipment 1, then change the magnitude range of the intended component in the magnetic field intensity information corresponding respectively with multiple subregion according to the attitude of electronic equipment 1.Such as, also acceleration transducer is comprised in the electronic device 1.The configuration of this acceleration transducer obtains the attitude of electronic equipment 1.Processing unit 12, according to the attitude of the electronic equipment 1 after change, changes the magnitude range of the intended component in the demarcated magnetic field intensity information corresponding respectively with multiple subregion.
The second, when carrying out determination operation rhythm according to magnetic field intensity information, processing unit 12 determines described operation rhythm based on the period of change of magnetic field intensity information.Such as, first processing unit 12 can carry out high-pass filtering, using intended component large for high frequency power as handling object to each component of magnetic intensity vector.And then the crest of the curve of handling object as the time point knocked, is calculated the time point of the crest of this curve by processing unit 12 successively, using the period of change of the time interval of adjacent crest as magnetic intensity vector.
Three, when carrying out determination operation dynamics according to magnetic field intensity information, based on period of change and the amplitude of variation of described magnetic field intensity information, described operating force is determined.Such as, the period of change of processing unit 12 calculating magnetic field strength vector and amplitude of variation, utilize this period of change divided by the business of this amplitude of variation as operating force.
In example 2, processing unit 12 judges whether described magnetic field intensity information regularly changes in the given time, and using judged result as input information.Such as, the adjacent wave peak-to-peak time interval of the intended component of processing unit 12 calculating magnetic field strength vector, and obtain the crest value of intended component, in the given time the adjacent wave peak-to-peak time interval similar and fluctuation that is crest value size is little when, be judged as that magnetic intensity vector regularly changes in the given time.
In addition, judging described magnetic field intensity information in the given time after regularly change, processing unit 12 and then can judge whether magnetic intensity vector tends towards stability.Such as, when the crest value of each component of magnetic intensity vector is less than predetermined threshold, can be judged as that magnetic intensity vector tends towards stability, thus the stopping of rocking of induction input equipment.
Then, in step s 4 which, corresponding control information is produced based on the input information relevant to the motion of input equipment.
Particularly, in embodiment 1, processing unit 12 produces the control information making described voice output unit export the sound corresponding with described operating parameter.
Such as, in the electronic device 1, the corresponding relation of operator region and instrument type is previously determined.Processing unit 12 produces the control information making voice output unit 13 export the sound of the tone color corresponding with operator region.In addition, processing unit 12 produces and makes voice output unit 13 export the control information of sound with the sound rhythm corresponding with operation rhythm.And then processing unit 12 produces and makes voice output unit 13 export the control information of sound with the volume corresponding with operating force.
In example 2, processing unit 12, when being judged as that described magnetic field intensity information regularly changes in the given time, produces the control information for starting specific function.This control information be such as used for starting random number generation, shake dice, draw lots before idols, clear up internal memory, judge environment played songs title, call out assistant etc.In addition, processing unit also can tend towards stability after the change of magnetic intensity vector rule (that is, input equipment rock stopping) when, activate and specifically apply.
According to the control method of electronic equipment of the present invention, effectively utilize Magnetic Sensor, the input information relevant to the motion of the input equipment comprising permanent magnet can be produced, and based on the control information produced according to input information, described electronic equipment is controlled, thus various application can be carried out by Magnetic Sensor, and improve the operating experience of the user of electronic equipment.
Those of ordinary skill in the art can recognize, are combined in unit and the step of embodiments of the invention description, can realize with electronic hardware, computer software or the combination of the two.And software module can be placed in the computer-readable storage medium of arbitrary form.In order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Those skilled in the art can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Each embodiment of the present invention is described in detail above.But, it should be appreciated by those skilled in the art that without departing from the principles and spirit of the present invention, various amendment can be carried out to these embodiments, combination or sub-portfolio, and such amendment should fall within the scope of the present invention.

Claims (14)

1. an electronic equipment, comprising:
Magnetic Sensor, configuration carrys out induced field, thus produces magnetic field intensity information; And
Processing unit, the change of the described magnetic field intensity information provided by described Magnetic Sensor is monitored in configuration, the input information relevant to the motion of the input equipment comprising permanent magnet is produced based on described magnetic field intensity information when the change of described magnetic field intensity information meets predetermined condition, and produce corresponding control information based on described input information
The change of wherein said magnetic field intensity information produces because of the motion of described input equipment.
2. electronic equipment as claimed in claim 1, also comprises:
Voice output unit,
Described processing unit, according to the described magnetic field intensity information provided by described Magnetic Sensor, determines the operating parameter of described input equipment, and produces the control information making described voice output unit export the sound corresponding with described operating parameter.
3. electronic equipment as claimed in claim 2, wherein,
Described processing unit is based on the size of the intended component in the magnetic field intensity information produced by described Magnetic Sensor when described input equipment being placed on preposition, obtain the magnitude range of the intended component in the magnetic field intensity information corresponding respectively with described multiple subregion, wherein said multiple subregion is formed by dividing the perimeter of described electronic equipment according to described preposition
Described operating parameter comprises operator region,
Described processing unit is based on the size of the intended component in the magnetic field intensity information produced by described Magnetic Sensor, determine the corresponding subregion corresponding with the scope that the size of this intended component falls into, thus described corresponding subregion is defined as the operator region of described input equipment.
4. electronic equipment as claimed in claim 3, also comprises:
Acceleration transducer, configuration obtains the attitude of described electronic equipment,
Described processing unit, according to the attitude of the described electronic equipment obtained by described acceleration transducer, changes the magnitude range of the intended component in the magnetic field intensity information corresponding respectively with described multiple subregion.
5. electronic equipment as claimed in claim 2, wherein,
Described operating parameter comprises operation rhythm,
Described processing unit determines described operation rhythm based on the period of change of described magnetic field intensity information.
6. electronic equipment as claimed in claim 2, wherein,
Described operating parameter comprises operating force,
Described processing unit, based on the period of change of described magnetic field intensity information and amplitude of variation, determines described operating force.
7. electronic equipment as claimed in claim 1, wherein,
Described processing unit judges whether described magnetic field intensity information regularly changes in the given time, when being judged as that described magnetic field intensity information regularly changes in the given time, produces the control information for starting specific function.
8. the control method in electronic equipment, this electronic equipment comprises Magnetic Sensor, and described control method comprises:
Carry out induced field by described Magnetic Sensor, thus produce magnetic field intensity information;
Monitor the change of described magnetic field intensity information, the change of wherein said magnetic field intensity information produces because comprising the motion of the input equipment of permanent magnet;
When the change of described magnetic field intensity information meets predetermined condition, produce the input information relevant to the motion of described input equipment based on described magnetic field intensity information; And
Corresponding control information is produced based on described input information.
9. control method as claimed in claim 8, wherein,
Described electronic equipment also comprises voice output unit,
The step producing described input information based on described magnetic field intensity information also comprises:
According to the described magnetic field intensity information provided by described Magnetic Sensor, determine the operating parameter of described input equipment,
The step producing corresponding control information based on described input information also comprises:
Produce the control information making described voice output unit export the sound corresponding with described operating parameter.
10. control method as claimed in claim 9, also comprises:
Based on the size of the intended component in the magnetic field intensity information produced by described Magnetic Sensor when described input equipment being placed on preposition, obtain the magnitude range of the intended component in the magnetic field intensity information corresponding respectively with described multiple subregion, wherein said multiple subregion is formed by dividing the perimeter of described electronic equipment according to described preposition
Described operating parameter comprises operator region,
Described magnetic field intensity information according to being provided by described Magnetic Sensor determines that the step of the operating parameter of described input equipment also comprises:
Based on the size of the intended component in the magnetic field intensity information produced by described Magnetic Sensor, determine the corresponding subregion corresponding with the scope that the size of this intended component falls into, thus described corresponding subregion is defined as the operator region of described input equipment.
11. control methods as claimed in claim 10, wherein,
Described electronic equipment also comprises acceleration transducer,
Described control method also comprises:
The attitude of described electronic equipment is obtained by described acceleration transducer;
According to the attitude of the described electronic equipment obtained by described acceleration transducer, change the magnitude range of the intended component in the magnetic field intensity information corresponding respectively with described multiple subregion.
12. control methods as claimed in claim 9, wherein,
Described operating parameter comprises operation rhythm,
Described magnetic field intensity information according to being provided by described Magnetic Sensor determines that the step of the operating parameter of described input equipment also comprises:
Period of change based on described magnetic field intensity information determines described operation rhythm.
13. control methods as claimed in claim 9, wherein,
Described operating parameter comprises operating force,
Described magnetic field intensity information according to being provided by described Magnetic Sensor determines that the step of the operating parameter of described input equipment also comprises:
Based on period of change and the amplitude of variation of described magnetic field intensity information, determine described operating force.
14. control methods as claimed in claim 8, wherein,
The step producing described input information based on described magnetic field intensity information also comprises:
Judge whether described magnetic field intensity information regularly changes in the given time, and using judged result as described input information,
The step producing corresponding control information based on described input information also comprises:
When being judged as that described magnetic field intensity information regularly changes in the given time, produce the control information for starting specific function.
CN201410184028.5A 2014-05-04 2014-05-04 Control method in electronic equipment and the electronic equipment Active CN105094290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410184028.5A CN105094290B (en) 2014-05-04 2014-05-04 Control method in electronic equipment and the electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410184028.5A CN105094290B (en) 2014-05-04 2014-05-04 Control method in electronic equipment and the electronic equipment

Publications (2)

Publication Number Publication Date
CN105094290A true CN105094290A (en) 2015-11-25
CN105094290B CN105094290B (en) 2018-02-27

Family

ID=54574933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410184028.5A Active CN105094290B (en) 2014-05-04 2014-05-04 Control method in electronic equipment and the electronic equipment

Country Status (1)

Country Link
CN (1) CN105094290B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109952774A (en) * 2016-12-22 2019-06-28 金泰克斯公司 Wireless module is activated using magnetic field data
CN111610474A (en) * 2020-04-30 2020-09-01 联宝(合肥)电子科技有限公司 Electronic equipment inspection method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201107748Y (en) * 2007-09-05 2008-08-27 达方电子股份有限公司 Mouse apparatus
JP2010266910A (en) * 2009-05-12 2010-11-25 Nissha Printing Co Ltd Position detection input device
CN202221558U (en) * 2011-08-22 2012-05-16 幻音科技(深圳)有限公司 Input system and mouse pad
CN103729055A (en) * 2012-10-10 2014-04-16 三星电子株式会社 Multi display apparatus, input pen, multi display apparatus controlling method, and multi display system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201107748Y (en) * 2007-09-05 2008-08-27 达方电子股份有限公司 Mouse apparatus
JP2010266910A (en) * 2009-05-12 2010-11-25 Nissha Printing Co Ltd Position detection input device
CN202221558U (en) * 2011-08-22 2012-05-16 幻音科技(深圳)有限公司 Input system and mouse pad
CN103729055A (en) * 2012-10-10 2014-04-16 三星电子株式会社 Multi display apparatus, input pen, multi display apparatus controlling method, and multi display system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109952774A (en) * 2016-12-22 2019-06-28 金泰克斯公司 Wireless module is activated using magnetic field data
CN109952774B (en) * 2016-12-22 2022-09-09 金泰克斯公司 Activation of wireless modules using magnetic field data
CN111610474A (en) * 2020-04-30 2020-09-01 联宝(合肥)电子科技有限公司 Electronic equipment inspection method and device

Also Published As

Publication number Publication date
CN105094290B (en) 2018-02-27

Similar Documents

Publication Publication Date Title
CN108874144B (en) Sound-to-haptic effect conversion system using mapping
KR102024940B1 (en) High definition haptic effects generation using primitives
US8907930B2 (en) Methods and devices for determining user input location using acoustic sensing elements
JP6112458B2 (en) Tactile sensation presentation apparatus and tactile sensation presentation method
US20140015761A1 (en) Generating haptic effects for dynamic events
KR20130011889A (en) Touch tracking device and method for a touch screen
JP2008139293A (en) Method for analyzing device environment and device using the same
WO2012001462A1 (en) Method and apparatus for providing context-based power consumption control
CN103631375B (en) According to the method and apparatus of the Situation Awareness control oscillation intensity in electronic equipment
US20140082491A1 (en) Electronic device and editing method for synthetic image
CN110413099A (en) Haptic feedback system and method
CN107608519A (en) A kind of sound method of adjustment and virtual reality device
CN107169525A (en) A kind of method, device and mobile terminal for determining mobile terminal application scenarios
CN109240413B (en) Screen sounding method and device, electronic device and storage medium
CN108491748B (en) Graphic code identification and generation method and device and computer readable storage medium
CN114071315A (en) Audio processing method and device, electronic equipment and storage medium
CN110867194B (en) Audio scoring method, device, equipment and storage medium
CN107797652B (en) Method, device and terminal for adjusting display effect
CN105094290A (en) Electronic equipment and control method for same
CN103869949B (en) A kind of method for controlling to vibrate and electronic equipment
CN106303722B (en) animation playing method and device
US10684689B2 (en) Cross-platform dynamic haptic effect design tool for augmented or virtual reality environments
KR101551030B1 (en) Input pad and controlling method thereof
CN112182986B (en) Method, device, equipment and storage medium for determining area sweep information
CN109598773A (en) A kind of method and apparatus handling static figure layer

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