CN103838412B - The method and electronic equipment of feedback are provided - Google Patents
The method and electronic equipment of feedback are provided Download PDFInfo
- Publication number
- CN103838412B CN103838412B CN201210492033.3A CN201210492033A CN103838412B CN 103838412 B CN103838412 B CN 103838412B CN 201210492033 A CN201210492033 A CN 201210492033A CN 103838412 B CN103838412 B CN 103838412B
- Authority
- CN
- China
- Prior art keywords
- actuating unit
- value
- electronic equipment
- unit
- sampled value
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of method and electronic equipment for providing feedback, it is related to electronic apparatus application field, according to user the force feedback for providing specific direction can not be operated to invent to solve electronic equipment actuator.The method of the present invention includes:Obtain the first operation that user is carried out to touch-display unit;Based on the described first operation generation operation instruction information;One or more the first parameter is produced according to the operation instruction information, first parameter is used for the motion state for characterizing first operation;Indicate that actuating unit vibrates according to first direction according to first parameter, so as to provide force feedback in said first direction.During being vibrated present invention is mainly applied to electronic equipment according to user's operation.
Description
Technical field
The present invention relates to electronic apparatus application field, more particularly to a kind of method and electronic equipment for providing feedback.
Background technology
At present, using mobile phone as the electronic equipment of representative in be generally mounted with provide feedback actuator, when electronic equipment connects
When receiving incoming call, receive the prearranged signals such as short message or detecting the specific operations such as user's slip touch-screen, start actuator production
Raw vibration force, provides vibrating effect, this vibration force is referred to as force feedback for electronic equipment.
Generally, actuator produces the mode of force feedback including following three kinds:1) rotary body in rotor actuator, actuator
According to electromagnetic induction principle, around rotating shaft rotation, there is provided the force feedback with vibrating effect;2) orient in actuator, actuator
Vibrating body is along perpendicular to the reciprocating motion of the direction of the actuator longitudinal axis, there is provided the force feedback with vibrating effect;3) deformation actuator,
Vibrating body in actuator is made up of the material with certain coefficient of elasticity, and vibrating body is carried by metamorphosis such as bending, distortions
For the force feedback with vibrating effect.In above-mentioned three kinds of force feedback modes, the power that rotor actuator and deformation actuator are provided
Feedback does not have specific direction, and force feedback can be provided according to the specific direction of left and right by orienting actuator.
During stating offer feedback in realization, inventor has found that at least there are the following problems in the prior art:Electronics
Although equipment can indicate to produce force feedback according to the activation such as prearranged signals and specific operation, the direction of force feedback can not be because
Coactivation indicate change and change.For example, for specific operation, no matter user slides touch-screen to which direction,
Rotor actuator and deformation actuator can all produce unoriented (producing 360 ° in other words) force feedback, the vibration of electronic equipment
Effect does not have difference;Actuator is oriented due to manufacture craft, its position with electronic equipment (in other words with touch-screen)
It is relatively fixed, back and forth can only produces force feedback on actuator y direction, when user slides direction and the actuator of touch-screen
When y direction is inconsistent, the direction and user's operation direction of force feedback are inconsistent, and electronic equipment can be made to produce bad vibration
Effect.
The content of the invention
Embodiments of the invention provide a kind of method and electronic equipment for providing feedback, can solve the problem that what electronic equipment was provided
The problem of force feedback direction and inconsistent user's operation direction.
On the one hand, the invention provides a kind of method for providing feedback, methods described includes:
Obtain the first operation that user is carried out to the touch-display unit;
Based on the described first operation generation operation instruction information;
One or more the first parameter is produced according to the operation instruction information, first parameter is described for characterizing
The motion state of first operation;
Indicate that the actuating unit vibrates according to first direction according to first parameter, so that in said first direction
Force feedback is provided.
On the other hand, present invention also offers a kind of electronic equipment, the electronic equipment includes:
At least one actuating unit and a touch-display unit;
The electronic equipment has the first actuating unit and the second actuating unit, wherein the longitudinal axis of first actuating unit
Direction is consistent with the y direction of the electronic equipment, the y direction of second actuating unit and the horizontal stroke of the electronic equipment
Direction of principal axis is consistent.
The method and electronic equipment provided in an embodiment of the present invention for providing feedback, can be based on user to touch-display unit
Carry out first operation generation operation instruction information, according to operation instruction information produce one or more be used for characterize operation transport
First parameter of dynamic state, indicates actuating unit according to first direction single vibration, with causing in the prior art according to the first parameter
Dynamic device is moved back and forth along the direction perpendicular to the actuator longitudinal axis to be compared, and can be provided and be operated the consistent or opposite power in direction with user
Feedback, while the Oscillation Amplitude of actuator can also be adjusted according to the first operation, so as to improve the vibrating effect of electronic equipment.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of offer force feedback in the embodiment of the present invention;
Fig. 2 (a), Fig. 2 (b) and Fig. 2 (c) provide showing for force feedback for actuating unit in prior art and the embodiment of the present invention
It is intended to;
Fig. 3 provides the schematic diagram of force feedback for another actuating unit in the embodiment of the present invention;
Fig. 4 (a) and Fig. 4 (b) provide the signal of force feedback for the 3rd in the embodiment of the present invention and the 4th actuating unit
Figure;
Fig. 5 provides the schematic diagram of force feedback for the 5th actuating unit in the embodiment of the present invention;
Fig. 6 is the structural representation of first electronic equipment in the embodiment of the present invention;
Fig. 7 is the structural representation of second electronic equipment in the embodiment of the present invention;
Fig. 8 is the structural representation of the 3rd electronic equipment in the embodiment of the present invention;
Fig. 9 is the structural representation of the 4th electronic equipment in the embodiment of the present invention;
Figure 10 is the structural representation of the 5th electronic equipment in the embodiment of the present invention;
Figure 11 is the structural representation of the 6th electronic equipment in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The embodiments of the invention provide a kind of method for providing feedback, as shown in figure 1, methods described comprises the following steps:
101st, the first operation that user is carried out to touch-display unit is obtained.
The executive agent of the embodiment of the present invention can be the electronic equipment including mobile phone, tablet personal computer, the electronics
Equipment should at least include the actuating unit for providing force feedback and the touch-display unit with touch-control and display function.When
User is when touch-display unit carries out touch control operation, and electronic equipment obtains the first operation that user is carried out.
First operation includes but is not limited to clicking operation and the slide that touch-display unit is received, the present invention
Embodiment is subsequently illustrated by taking the slide that touch-display unit is received as an example.
102nd, based on the first operation generation operation instruction information.
Different operation instruction information are produced for the different types of first operation, such as when touch-display unit is received
During the slide of user, the operation instruction information is the first operation instruction information, and the first operation instruction information includes user
The glide direction information of slide and the sliding speed information of user's slide;When the locus of electronic equipment becomes
During change, the operation instruction information is the second operation instruction information, and the second operation instruction information includes electronic equipment change in location
Change direction information and electronic equipment change in location change acceleration information.
103rd, one or more the first parameter is produced according to operation instruction information, first parameter is used to characterize the first behaviour
The motion state of work.
It is one or more first parameter by operation instruction information analog-to-digital conversion, first parameter can be a quilt
The numeral with sign quantified, wherein sign are used for the direction of vibration for identifying actuating unit, and digital numerical values recited is used
In the Oscillation Amplitude of mark actuating unit.In addition, the first parameter can also be a directive pulse value of tool, wherein pulse side
To the direction of vibration for identifying actuating unit, pulse value size is used for the Oscillation Amplitude for identifying actuating unit, and the present invention is implemented
Example is not limited to the type of the first parameter.
Exemplified by using numeral as the first parameter, when the execution of the first operation takes a moment value in sequential, for example
User clicks on touch-display unit, and electronic equipment produces first parameter according to operation instruction information;When holding for the first operation
When row has ductility in sequential, such as user slides a segment distance in touch-display unit, and (sliding process takes certain
Time), electronic equipment produces multiple first parameters according to operation instruction information, and this multiple first parameter combination is one discrete
Argument sequence.
104th, indicate that actuating unit vibrates according to first direction according to the first parameter, so that it is anti-to provide power in a first direction
Feedback.
As described in step 103, positive and negative (or the pulse direction) of the first parameter is used for the direction of vibration for identifying actuating unit, the
One parameter values size is used for the Oscillation Amplitude for identifying actuating unit, after the first parameter is produced, according to the positive and negative of the first parameter
(or pulse direction) and numerical values recited indicate that actuating unit vibrates according to first direction, wherein the first direction is single for actuating
The direction of vibration of member.Actuating unit described in the embodiment of the present invention is the vibrating body edge in orientation actuator, orientation actuator
Moved back and forth perpendicular to the direction of the actuator longitudinal axis, for ease of description, two sides opposite each other on the actuator longitudinal axis will be oriented
It is described to indicate that orientation actuator vibrates according to first direction according to the first parameter to second direction and third direction is defined as, i.e.,
To indicate that orientation actuator vibrates according to second direction or third direction according to the first parameter.
So that the first operation is slide as an example, such as shown in Fig. 2 (a), a built-in orientation actuator in electronic equipment,
The longitudinal axis of the orientation actuator parallel to electronic equipment the longitudinal axis, and provide orient actuator second direction and third direction
As shown in Fig. 2 (a).In the prior art, as shown in Fig. 2 (b), no matter user is according to second direction or third direction sliding touch
Display unit, orientation actuator is of reciprocating vibration in second direction and third direction opposite each other;In the embodiment of the present invention
In, such as shown in Fig. 2 (c), when user is according to second direction sliding touch display unit, orientation actuator is only in a second direction
Single vibration, when user is according to third direction sliding touch display unit, orientation actuator only unidirectionally shakes on third direction
It is dynamic, thus the force feedback consistent with user's slide direction be provided.
It is preferred that, for lifting user's operating experience, it is anti-that electronic equipment can also provide the power in opposite direction with the first operation
Feedback, specific implementation is identical with implementation shown in Fig. 1, only when step 103 produces the first parameter, by the first parameter just
Negative (or pulse direction) is oppositely arranged, when user is according to second direction sliding touch display unit, and orientation actuator is only
The single vibration on third direction, when user is according to third direction sliding touch display unit, orientation actuator is only second
Single vibration on direction, is thus provided and the force feedback in opposite direction of user's slide.Electronic equipment is provided and the first operation
The implementation of force feedback in opposite direction may be referred to implementation shown in Fig. 1, not pay creativeness in those skilled in the art
It is achieved on the premise of work.
The method provided in an embodiment of the present invention that feedback is provided, can be carried out based on user to touch-display unit first
Operation generation operation instruction information, producing one or more according to operation instruction information is used to characterize the of operational movement state
One parameter, indicates that actuating unit, according to first direction single vibration, hangs down with the edge of actuating unit in the prior art according to the first parameter
The straight direction in the actuating unit longitudinal axis moves back and forth and compared, and can provide and operate the consistent or opposite force feedback in direction with user,
The Oscillation Amplitude of actuating unit can also be adjusted according to the first operation simultaneously, so as to improve the vibrating effect of electronic equipment.
Embodiment illustrated in fig. 1 is described in detail and further expanded below, with the first operation for slide, electronics
The operation instruction information that equipment is produced is that the first operation instruction information, the first parameter are that the numeral with sign being quantized is
Example:
In a step 102, electronic equipment generated in the period that user slides slide glide direction information and
Sliding speed information, specifically, as shown in figure 3, user shows by starting point upward sliding to touch-control of touch-display unit midpoint
Unit top edge midpoint, slides time-consuming 0.5s.The glide direction information of electronic equipment generation is Y+, and sliding speed information is Vm/
S, wherein, Y+ represent by origin of touch-display unit midpoint, the touch-display unit longitudinal axis be Y-axis, touch-display unit it is horizontal
Axle is in the two-dimensional plane coordinate system of X-axis, the direction of user's slide is Y-axis positive direction;It is flat that Vm/s represents that user slides
Equal sliding speed, the i.e. longitudinal extent of touch-display unit 1/2nd divided by the time-consuming 0.5s of slip.
In step 103, electronic equipment is existed respectively since slide initial time value with 0.1s sample frequency
Five sampled values are obtained on 0.1s, 0.2s, 0.3s, 0.4s and 0.5s.Specifically, electronic equipment according to sliding speed information V with
And default first mapping table, five sampled values are obtained, wherein, the first mapping table is used to characterize sliding speed with adopting
Mapping relations between sample value, the size of sampled value is used for the Oscillation Amplitude for characterizing the actuating unit.First mapping table
Shape such as following table:
Sliding speed | Sampled value |
0.1m/s | 1 |
0.2m/s | 2 |
0.3m/s | 3 |
…… | …… |
It is 2 that electronic equipment, which is tabled look-up and obtains five sampled values, then obtains glide direction and the default side of the actuating unit longitudinal axis
Angle value between, the wherein longitudinal axis of actuating unit have opposite each other second direction and third direction, the default side
To for the second direction.In figure 3, the actuating unit longitudinal axis is parallel with the touch-display unit longitudinal axis (i.e. Y-axis), and actuating unit is indulged
The second direction of axle is consistent with Y-axis positive direction, and the third direction of the actuating unit longitudinal axis is consistent with Y-axis negative direction.Obtain slip side
It is the angle value for obtaining glide direction and Y-axis positive direction to the angle value between actuating unit longitudinal axis preset direction.When this
When angle value is less than 90 °, the symbol of sampled value is set to just, when angle value is more than 90 °, the symbol of sampled value is set to
It is negative, when angle value is 90 °, sampled value is set to 0, wherein, the positive and negative direction of vibration for being used to characterize actuating unit of sampled value.
In figure 3, the angle value of glide direction and Y-axis positive direction is 0 °, so the symbol of five sampled values 2 is respectively provided with
Just, to be derived from a discrete parameter sequence (+2 ,+2 ,+2 ,+2 ,+2) being made up of 5 sampled values with sign.
At step 104, indicate that actuating unit vibrates according to first direction according to the first parameter, so that in a first direction
Force feedback is provided.Wherein, first direction can be the second direction of actuating unit or the third direction of actuating unit.
In figure 3, provided that the force feedback consistent with glide direction, then it is that timing indicates actuating unit according to second to set sampled value
Direction (i.e. Y-axis positive direction) vibrates, and indicates that actuating unit vibrates according to third direction (Y-axis negative direction) when sampled value is bears;
Provided that the force feedback opposite with glide direction, then indicate actuating unit according to second direction (Y when setting sampled value to bear
Axle positive direction) vibration, sampled value is that timing indicates that actuating unit vibrates according to third direction (i.e. Y-axis negative direction).Electronic equipment
The Oscillation Amplitude of actuating unit can be obtained by the mapping table between sampled value size and Oscillation Amplitude, wherein, mm is
Vibration amplitude unit, the mapping table shape such as following table:
Sampled value absolute value | Oscillation Amplitude |
1 | 0.4mm |
2 | 0.8mm |
3 | 1.2mm |
…… | …… |
It is described above to be illustrated so that user at the uniform velocity slides in touch-display unit as an example, in practical application, use
The slide at family can carry acceleration, i.e., sliding speed is sometimes fast and sometimes slow in sliding process.Therefore electronics is set in a step 102
Standby to need to obtain different sliding speed information immediately, obtaining the mode of sliding speed information has two:1) electronic equipment is to sample
The sequential granularity collection sliding speed information of frequency, i.e., in five moment values of 0.1s, 0.2s, 0.3s, 0.4s and 0.5s respectively
Obtain five instantaneous sliding speed information;2) electronic equipment continuous acquisition sliding speed information, when generating the first parameter,
Five instantaneous sliding speed information are obtained in five moment values of 0.1s, 0.2s, 0.3s, 0.4s and 0.5s.Based on slide tool
There is acceleration, multiple sampled values of electronic equipment generation can have difference in size, thus producing different Oscillation Amplitudes, (vibration is strong
Degree) vibrating effect.For example, the sampled value size that electronic equipment is generated on 0.1s is 2, then it is electric in 0.1s between 0.2s
Sub- equipment indicates that actuating unit is vibrated with the corresponding Oscillation Amplitude of sampled value 2;The sampling that electronic equipment is generated on 0.2s
It is 3 to be worth size, then in 0.2s between 0.3s, electronic equipment indicates that actuating unit is carried out with the corresponding Oscillation Amplitude of sampled value 3
Vibration, thus provides the vibrating effect of differentiation.
Fig. 3 is the explanation carried out in case of glide direction is parallel with actuating unit y direction, and the present invention is implemented
Example also provides the situation that a kind of glide direction does not have parallel relation with actuating unit y direction.As shown in Fig. 4 (a), slide
Direction and Y-axis positive direction angle at 45 °, electronic equipment also need further root after five sampled values with sign are produced
According to glide direction and the angle value and default 3rd mapping table of Y-axis positive direction, the power of five sampled values is obtained respectively
Weight values.Wherein the 3rd mapping table is used to characterize the mapping relations between angle value and weighted value, the 3rd mapping table shape
Such as following table:
Angle value | Weighted value |
5° | 0.28 |
10° | 0.27 |
15° | 0.26 |
…… | …… |
The setting principle of 3rd mapping table is that angle value is in inverse relationship, the i.e. smaller weight of angle value with weighted value
Value is bigger, thus produces glide direction closer to the bigger effect of actuating unit y direction Oscillation Amplitude.Getting weighted value
Afterwards, sampled value is multiplied with weighted value, the component samples value after being adjusted.For example, when the corresponding weighted value of 45 ° of angle values is
When 0.2, sampled value 2 is multiplied by weighted value 0.2 and obtains component samples value 0.4.
After component samples value is obtained, electronic equipment is obtained according to component samples value and default 4th mapping table
The Oscillation Amplitude of actuating unit is obtained, wherein, the 4th mapping table is used to characterize component samples value size and actuating unit vibration
Mapping relations between amplitude, the 4th mapping table shape such as following table:
Sampled value absolute value | Oscillation Amplitude |
0.4 | 0.7mm |
0.8 | 1.4mm |
1.2 | 2.1mm |
…… | …… |
In the case of shown in Fig. 4 (a), because the glide direction during slide and Y-axis positive direction are constant, institute
It is identical with the weighted value of five sampled values of acquisition.If glide direction changes during slide, electronics is set
Standby can be that each sampled value obtains different weighted values according to the instantaneous glide direction in different sampling instant values, implement
Mode is repeated no more.
It should be noted that the direction of vibration of actuating unit is still determined by the positive and negative of sampled value, actuating unit is only the
Force feedback in single vibration on two directions or third direction, glide direction is actuating unit in second direction or third direction
What is produced during single vibration in glide direction makes a concerted effort.
It is preferred that, such as in Fig. 4 (b), two actuating units can be set in the electronic device, the two actuating units it is vertical
Axle is parallel with Y-axis and X-axis respectively.During user carries out slide, electronic equipment divides in each sampling instant value
Not Wei two actuating units produce a sampled values, then electronic equipment is according to the respective discrete parameter sequence of two actuating units
It is independent to indicate two actuating units single vibration on respective y direction, vibrate what is produced from there through two actuating units
Force feedback in a certain glide direction is provided with joint efforts.
Above is being carried out by user exemplified by enterprising line slip operation the first operation instruction information of generation of touch-display unit
Explanation, below with user rock electronic equipment generate the second operation instruction information the embodiment of the present invention is illustrated:
As shown in figure 5, by origin of touch-display unit midpoint, the X-axis of electronic equipment and Y-axis be respectively that space three-dimensional is sat
The X-axis and Y-axis of system are marked, is that Z axis sets up 3 d space coordinate system perpendicular to the direction of touch-display unit, the 3 d space coordinate
System and the locus of electronic equipment are relatively fixed.An actuating unit is provided with electronic equipment, the actuating unit longitudinal axis and Y
Axle is parallel, and the second direction of the actuating unit longitudinal axis is consistent with Y-axis positive direction, and third direction is consistent with Y-axis negative direction.
When user rocks electronic equipment, electronic equipment, which is obtained by built-in gravity sensor and generates the second operation, to be referred to
Show information, the second operation instruction information includes the change direction information of change in location and the change acceleration letter of change in location
Breath.The change direction information of the change in location is specially Y-axis and Y before electronic equipment change in location after electronic equipment change in location
Angle value between axle, the change acceleration information of the change in location is specially position change during electronic equipment change in location
Change acceleration component values of the acceleration in Y-axis.
Electronic equipment produces one or more first parameters according to the second operation instruction information of generation, specifically, electronics
Equipment obtains sampled value according to change acceleration information and default second mapping table in default sampling instant, its
In, the second mapping table is used to characterize the mapping relations between change acceleration and sampled value, and the size of sampled value is used for table
Levy the Oscillation Amplitude of actuating unit.Second mapping table shape such as following table:
Acceleration | Sampled value |
0.4m/s2 | 1 |
0.8m/s2 | 2 |
1.2m/s2 | 3 |
…… | …… |
Wherein, have the bigger sampled value of positive relationship, i.e. acceleration bigger between acceleration magnitude and sampled value.Need explanation
, component of acceleration of the change acceleration for change acceleration in Y-axis described in the embodiment of the present invention.Because actuating is single
First longitudinal axis is parallel with Y-axis, so not considering to change component of acceleration of the acceleration in X-axis and Z axis.
Obtain the actuating unit longitudinal axis and Y-axis in the angle value between change direction and actuating unit longitudinal axis preset direction, Fig. 5
Parallel, the longitudinal axis of actuating unit has opposite each other second direction and third direction, wherein, second direction and Y-axis positive direction
Unanimously, third direction is consistent with Y-axis negative direction, and the preset direction is the second direction of the actuating unit longitudinal axis.
When angle value is less than 90 °, the symbol of sampled value is set to just by electronic equipment, will when angle value is more than 90 °
The symbol of sampled value is set to bear, and when angle value is equal to 90 °, sampled value is set into 0, wherein, the positive and negative of sampled value is used for
Characterize the direction of vibration of actuating unit.
Electronic equipment obtains the Oscillation Amplitude of actuating unit according to sampled value and default 4th mapping table, and
Indicate actuating unit in second direction or the third party according to the positive and negative of sampled value and the actuating unit Oscillation Amplitude obtained
Vibration upwards.
Optionally, on the basis of Fig. 5, an actuating unit can also be set up in the side parallel to X-axis, electronics is set
The standby implementation for indicating actuating unit vibration in X-direction is identical with the implementation shown in Fig. 5, and here is omitted.
Further, electronic equipment can also allow for user and set the period for starting force feedback function, such as daily 8:
00 to 19:00 electronic equipment provides force feedback, and remaining period does not provide force feedback;Or electronic equipment can also allow for user's choosing
The application program suitable for force feedback is selected, for example, user is when playing some gravity sensing game or user is touched using some
Electronic equipment can provide force feedback to user equipment when touching the application program of operation;Again or, electronic equipment can allow use
Family is configured to each above-mentioned mapping table, and direction and the Oscillation Amplitude of force feedback are adjusted thus according to user preferences;Most
Afterwards, when being configured with multiple actuating units in electronic equipment, electronic equipment can allow the actuating unit that user's selection is used, example
Such as when vertically and horizontally respectively being configured in electronic equipment by an actuating unit, user can select closing level side
Upward actuating unit, thus only obtains the force feedback on vertical direction.
The electronic equipment that the embodiment of the present invention is applicable includes but are not limited at least have orientation actuator, touch-screen
And/or the mobile phone or tablet personal computer of gravity sensor.
The method provided in an embodiment of the present invention that feedback is provided, can be carried out based on user to touch-display unit first
Operation generation operation instruction information, producing one or more according to operation instruction information is used to characterize the of operational movement state
One parameter, indicates that actuating unit, according to first direction single vibration, hangs down with the edge of actuating unit in the prior art according to the first parameter
The straight direction in the actuating unit longitudinal axis moves back and forth and compared, and can provide and operate the consistent or opposite force feedback in direction with user,
The Oscillation Amplitude of actuating unit can also be adjusted according to the first operation simultaneously, so as to improve the vibrating effect of electronic equipment.
As the realization to the above method, the embodiment of the present invention additionally provides a kind of electronic equipment, as shown in fig. 6, described
Electronic equipment includes:At least one actuating unit 61 and a touch-display unit 62, wherein,
As shown in fig. 7, the electronic equipment has the first actuating unit 611 and the second actuating unit 612, described first causes
The y direction of moving cell 611 is consistent with the y direction of the electronic equipment, the y direction of second actuating unit 612
It is consistent with the X direction of the electronic equipment, first actuating unit 611 and second actuating unit 612 is in 90 ° sets
It is placed in the electronic equipment, the force feedback in vertically and horizontally both direction can be provided, and can be except vertical and water
Any one direction beyond flat both direction provides force feedback of making a concerted effort, and thereby increases the application of force feedback.
Further, the electronic equipment has at least two first actuating units 611 and at least two second actuatings single
Member 612;
At least two first actuating unit 611 is arranged on the y direction of the electronic equipment according to predetermined interval
On, at least two second actuating unit 612 is arranged on according to predetermined interval in the X direction of the electronic equipment.Specifically
, as shown in figure 8, two the first actuating units 611 are using electronic equipment center longitudinal axis as reference axis, it is axisymmetric to be arranged at electronics
In equipment, two the second actuating units 612 are axisymmetric to be arranged at electronic equipment using electronic equipment central, transverse axis as reference axis
On.It is possible thereby to the force feedback of uniform force be provided a user in any region in touch-display unit 62, with two
Exemplified by one actuating unit 611 is symmetrical arranged, and though user the left area of touch-display unit 62 carry out slide or
The right half area of touch-display unit 62 carries out slide, can obtain vibrating effect identical force feedback.
Further, the electronic equipment with reference to shown in Fig. 6, as shown in figure 9, the electronic equipment also includes:
Generation unit 91, for the first operation generation operation carried out according to acquisition user to the touch-display unit 62
Configured information;
Processing unit 92, the operation instruction information for being generated according to the generation unit 91 produces one or many
Individual first parameter, first parameter is used for the motion state for characterizing first operation;
Execution unit 93, first parameter for being produced according to the processing unit 92 indicates the actuating unit 61
Vibrated according to first direction, so as to provide force feedback in said first direction.
Further, the generation unit 91 is specifically for the first operation instruction information of generation, first operation instruction
Information includes the glide direction information of slide and the sliding speed information of slide;
When the generation unit 91 is specifically for the second operation instruction information of generation, the second operation instruction information includes
The change direction information of change in location and the change acceleration information of change in location.
Further, as shown in Figure 10, the processing unit 92 is specifically included:
First obtains subelement 1001, for the sliding speed information that generate according to the generation unit 91 and in advance
If the first mapping table, obtain sampled value in default sampling instant, wherein, first mapping table is used to characterize
Mapping relations between sliding speed and sampled value, the size of the sampled value is used for the vibration width for characterizing the actuating unit 61
Degree;
Second obtains subelement 1002, for obtaining glide direction and the actuating unit that the generation unit 91 is generated
Angle value between 61 longitudinal axis preset directions, wherein the longitudinal axis of the actuating unit 61 has opposite each other second direction and the
Three directions, the preset direction is the second direction or the third direction;
First sets subelement 1003, for when the angle value is less than 90 °, subelement 1001 to be obtained by described first
The symbol of the sampled value obtained is set to just, when the angle value is more than 90 °, subelement 1001 be obtained by described first
The symbol of the sampled value obtained is set to bear, wherein, the positive and negative of the sampled value is used to characterize the actuating unit 61
Direction of vibration.
Further, still as shown in Figure 10, the processing unit 92 is also specifically included:
3rd obtains subelement 1004, for the change acceleration information that is generated according to the generation unit 91 and
Default second mapping table, sampled value is obtained in default sampling instant, wherein, second mapping table is used for table
The mapping relations between change acceleration and sampled value are levied, the size of the sampled value is used to characterize shaking for the actuating unit 61
Dynamic amplitude;
4th obtains subelement 1005, for obtaining change direction and the actuating unit that the generation unit 91 is generated
Angle value between 61 longitudinal axis preset directions, wherein the longitudinal axis of the actuating unit 61 has opposite each other second direction and the
Three directions, the preset direction is the second direction or the third direction;
Second sets subelement 1006, for when the angle value is less than 90 °, subelement 1004 to be obtained by the described 3rd
The symbol of the sampled value obtained is set to just, when the angle value is more than 90 °, subelement 1004 be obtained by the described 3rd
The symbol of the sampled value obtained is set to bear, wherein, the positive and negative of the sampled value is used to characterize the actuating unit 61
Direction of vibration.
Further, still as shown in Figure 10, the processing unit 92 is also specifically included:
5th obtains subelement 1007, for obtaining subelement 1002 or the 4th acquisition subelement according to described second
The 1005 angle values and default 3rd mapping table obtained, obtain the weighted value of the sampled value, wherein described
3rd mapping table is used to characterize the mapping relations between the angle value and weighted value;
Product subelement 1008, for the weight for obtaining the sampled value with the described 5th acquisition subelement 1007
Value is multiplied, the component samples value after being adjusted.
Further, as shown in figure 11, the execution unit 93 is specifically included:
6th obtains subelement 1101, for the component samples value that is obtained according to the product subelement 1008 and
Default 4th mapping table, obtains the Oscillation Amplitude of the actuating unit 61, wherein, the 4th mapping table is used for
Characterize the mapping relations between component samples value size and the Oscillation Amplitude of actuating unit 61;
Indicate subelement 1102, for the component samples value that is obtained according to the product subelement 1008 it is positive and negative with
And the Oscillation Amplitude of actuating unit 61 that the 6th acquisition subelement 1101 is obtained indicates the actuating unit 61 described second
Vibrated on direction or the third direction.
Actuating unit 61 described in the embodiment of the present invention is orientation actuator, and the touch-display unit 62 is to touch
Touch screen.
Electronic equipment provided in an embodiment of the present invention, the first operation life that can be carried out based on user to touch-display unit
Into operation instruction information, one or more the first ginseng for being used to characterize operational movement state is produced according to operation instruction information
Number, actuating unit is indicated according to first direction single vibration according to the first parameter, with actuating unit in the prior art along perpendicular to
The direction of the actuating unit longitudinal axis moves back and forth and compared, and can provide and operate the consistent or opposite force feedback in direction with user, simultaneously
The Oscillation Amplitude of actuating unit can also be adjusted according to the first operation, so as to improve the vibrating effect of electronic equipment.
It is apparent to those skilled in the art that, for convenience and simplicity of description, only with above-mentioned each function
The division progress of module is for example, in practical application, as needed can distribute above-mentioned functions by different function moulds
Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of work(described above
Energy.The specific work process of the system, apparatus, and unit of foregoing description, may be referred to corresponding in preceding method embodiment
Journey, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the module or
The division of unit, only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units
Or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute
Display or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, device or unit
INDIRECT COUPLING or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
It is each that equipment (can be personal computer, server, or network equipment etc.) or processing unit (processor) perform the present invention
The all or part of step of individual embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover 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 (11)
1. a kind of method for providing feedback, methods described is applied in electronic equipment, the electronic equipment at least has actuating single
Member and touch-display unit, it is characterised in that methods described includes:
Obtain the first operation that user is carried out to the touch-display unit;
Based on the described first operation generation operation instruction information;
One or more the first parameter is produced according to the operation instruction information, first parameter is used to characterize described first
The motion state of operation;
Indicate that the actuating unit vibrates according to first direction according to first parameter, so as to provide in said first direction
Force feedback;
Wherein, when the operation instruction information is the first operation instruction information, the first operation instruction information includes sliding
The glide direction information of operation and the sliding speed information of slide, it is described according to the operation instruction information produce one or
Multiple first parameters of person, are specifically included:
According to the sliding speed information and default first mapping table, sampled value is obtained in default sampling instant,
Wherein, first mapping table is used to characterizing mapping relations between sliding speed and sampled value, the sampled value it is big
The small Oscillation Amplitude for being used to characterize the actuating unit;
The angle value between glide direction and the actuating unit longitudinal axis preset direction is obtained, wherein the longitudinal axis of the actuating unit
With opposite each other second direction and third direction, the preset direction is the second direction;
When the angle value is less than 90 °, the symbol of the sampled value is set to just, will when the angle value is more than 90 °
The symbol of the sampled value is set to bear, wherein, the positive and negative direction of vibration for being used to characterize the actuating unit of the sampled value.
2. according to the method described in claim 1, it is characterised in that including:
When the operation instruction information is the second operation instruction information, the second operation instruction information includes change in location
The change acceleration information of change direction information and change in location.
3. method according to claim 2, it is characterised in that when the operation instruction information is the second operation instruction information
When, it is described that one or more the first parameter is produced according to the operation instruction information, specifically include:
According to the change acceleration information and default second mapping table, sampled in default sampling instant
Value, wherein, second mapping table is used to characterize the mapping relations between change acceleration and sampled value, the sampled value
Size be used to characterize the Oscillation Amplitude of the actuating unit;
The angle value between change direction and the actuating unit longitudinal axis preset direction is obtained, wherein the longitudinal axis of the actuating unit
With opposite each other second direction and third direction, the preset direction is the second direction;
When the angle value is less than 90 °, the symbol of the sampled value is set to just, will when the angle value is more than 90 °
The symbol of the sampled value is set to bear, wherein, the positive and negative direction of vibration for being used to characterize the actuating unit of the sampled value.
4. the method according to any one of claims 1 to 3, it is characterised in that obtained described in default sampling instant
After sampled value, methods described further comprises:
According to the angle value and default 3rd mapping table, the weighted value of the sampled value is obtained, wherein described the
Three mapping tables are used to characterize the mapping relations between the angle value and weighted value;
The sampled value is multiplied with the weighted value, the component samples value after being adjusted.
5. method according to claim 4, it is characterised in that described that the actuating unit is indicated according to first parameter
Vibrate, specifically include according to first direction:
According to the component samples value and default 4th mapping table, the Oscillation Amplitude of the actuating unit is obtained, its
In, the 4th mapping table is used to characterize the mapping relations between component samples value size and actuating unit Oscillation Amplitude;
Indicate the actuating unit described according to the positive and negative of the component samples value and the actuating unit Oscillation Amplitude obtained
Vibrated in second direction or the third direction.
6. a kind of electronic equipment, the electronic equipment has at least one actuating unit and a touch-display unit, its feature
It is, including:
The electronic equipment has the first actuating unit and the second actuating unit, wherein the y direction of first actuating unit
It is consistent with the y direction of the electronic equipment, the y direction of second actuating unit and the transverse axis side of the electronic equipment
To consistent;
The electronic equipment also includes:
Generation unit, for the first operation generation operation instruction letter carried out according to acquisition user to the touch-display unit
Breath;
Processing unit, the operation instruction information for being generated according to the generation unit produce one or more first
Parameter, first parameter is used for the motion state for characterizing first operation;
Execution unit, first parameter for being produced according to the processing unit indicates the actuating unit according to first party
To vibration, so as to provide force feedback in said first direction;
Wherein, the generation unit is specifically for the first operation instruction information of generation, and the first operation instruction information includes sliding
The glide direction information of dynamic operation and the sliding speed information of slide;
The processing unit is specifically included:
First obtains subelement, and the sliding speed information and default first for being generated according to the generation unit are reflected
Penetrate relation table, sampled value obtained in default sampling instant, wherein, first mapping table be used to characterizing sliding speed with
Mapping relations between sampled value, the size of the sampled value is used for the Oscillation Amplitude for characterizing the actuating unit;
Second obtains subelement, glide direction and the default side of the actuating unit longitudinal axis for obtaining the generation unit generation
Angle value between, wherein the longitudinal axis of the actuating unit has opposite each other second direction and third direction, it is described pre-
Set direction is the second direction or the third direction;
First sets subelement, for when the angle value is less than 90 °, will be adopted described in the described first acquisition subelement acquisition
The symbol of sample value is set to just, when the angle value is more than 90 °, the sampled value that subelement is obtained be obtained by described first
Symbol be set to bear, wherein, the positive and negative of the sampled value is used to characterize the direction of vibration of the actuating unit.
7. electronic equipment according to claim 6, it is characterised in that including:
The electronic equipment has at least two first actuating units and at least two second actuating units;
At least two first actuating unit is arranged on according to predetermined interval on the y direction of the electronic equipment;
At least two second actuating unit is arranged on according to predetermined interval in the X direction of the electronic equipment.
8. electronic equipment according to claim 7, it is characterised in that including:
When the generation unit is specifically for the second operation instruction information of generation, the second operation instruction information becomes including position
The change direction information of change and the change acceleration information of change in location.
9. electronic equipment according to claim 8, it is characterised in that the processing unit is also specifically included:
3rd obtains subelement, for the change acceleration information and default second generated according to the generation unit
Mapping table, sampled value is obtained in default sampling instant, wherein, second mapping table is used to characterize change acceleration
Mapping relations between degree and sampled value, the size of the sampled value is used for the Oscillation Amplitude for characterizing the actuating unit;
4th obtains subelement, change direction and the default side of the actuating unit longitudinal axis for obtaining the generation unit generation
Angle value between, wherein the longitudinal axis of the actuating unit has opposite each other second direction and third direction, it is described pre-
Set direction is the second direction or the third direction;
Second sets subelement, for when the angle value is less than 90 °, will be adopted described in the described 3rd acquisition subelement acquisition
The symbol of sample value is set to just, when the angle value is more than 90 °, the sampled value that subelement is obtained be obtained by the described 3rd
Symbol be set to bear, wherein, the positive and negative of the sampled value is used to characterize the direction of vibration of the actuating unit.
10. the electronic equipment according to any one of claim 6 to 9, it is characterised in that the processing unit is also specifically wrapped
Include:
5th obtains subelement, for obtaining the folder that subelement or the 4th acquisition subelement are obtained according to described second
Angle value and default 3rd mapping table, obtain the weighted value of the sampled value, wherein the 3rd mapping table is used
Mapping relations between the sign angle value and weighted value;
Product subelement, for the sampled value to be multiplied with the weighted value that the described 5th acquisition subelement is obtained, is obtained
Component samples value after adjustment.
11. electronic equipment according to claim 10, it is characterised in that the execution unit is specifically included:
6th obtains subelement, and the component samples value and the default 4th for being obtained according to the product subelement are reflected
Relation table is penetrated, the Oscillation Amplitude of the actuating unit is obtained, wherein, the 4th mapping table is used to characterize component samples value
Mapping relations between size and actuating unit Oscillation Amplitude;
Subelement is indicated, the positive and negative and described the 6 of the component samples value for being obtained according to the product subelement obtains
The actuating unit Oscillation Amplitude for taking subelement to obtain indicates the actuating unit in the second direction or the third direction
Vibration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210492033.3A CN103838412B (en) | 2012-11-27 | 2012-11-27 | The method and electronic equipment of feedback are provided |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210492033.3A CN103838412B (en) | 2012-11-27 | 2012-11-27 | The method and electronic equipment of feedback are provided |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103838412A CN103838412A (en) | 2014-06-04 |
CN103838412B true CN103838412B (en) | 2017-11-07 |
Family
ID=50802000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210492033.3A Active CN103838412B (en) | 2012-11-27 | 2012-11-27 | The method and electronic equipment of feedback are provided |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103838412B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR3029308B1 (en) * | 2014-12-02 | 2017-12-22 | Commissariat Energie Atomique | HAPTIC INTERFACE HAPPENED IMPROVED, IN PARTICULAR IN THE REPRODUCTION OF A STROKE |
EP3287880B1 (en) * | 2015-04-21 | 2019-05-22 | Fujitsu Limited | Electronic device |
CN107506027B (en) * | 2017-07-31 | 2021-06-01 | 瑞声科技(新加坡)有限公司 | Haptic feedback control method, processor, control system and terminal |
CN108153419B (en) * | 2017-12-25 | 2021-11-16 | 联想(北京)有限公司 | Electronic equipment and control method |
CN110531852A (en) * | 2019-08-21 | 2019-12-03 | 维沃移动通信有限公司 | Information processing method and electronic equipment |
CN112667077B (en) * | 2020-12-24 | 2024-08-16 | 瑞声新能源发展(常州)有限公司科教城分公司 | Motor model parameter detection method and device, electronic equipment and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111496A (en) * | 2009-12-24 | 2011-06-29 | 三星电子株式会社 | Method and apparatus for generating vibrations in portable terminal |
CN102402318A (en) * | 2010-09-09 | 2012-04-04 | 瑞声声学科技(深圳)有限公司 | Method for realizing positioning and force feedback |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9746923B2 (en) * | 2009-03-12 | 2017-08-29 | Immersion Corporation | Systems and methods for providing features in a friction display wherein a haptic effect is configured to vary the coefficient of friction |
US9436280B2 (en) * | 2010-01-07 | 2016-09-06 | Qualcomm Incorporated | Simulation of three-dimensional touch sensation using haptics |
-
2012
- 2012-11-27 CN CN201210492033.3A patent/CN103838412B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102111496A (en) * | 2009-12-24 | 2011-06-29 | 三星电子株式会社 | Method and apparatus for generating vibrations in portable terminal |
CN102402318A (en) * | 2010-09-09 | 2012-04-04 | 瑞声声学科技(深圳)有限公司 | Method for realizing positioning and force feedback |
Also Published As
Publication number | Publication date |
---|---|
CN103838412A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103838412B (en) | The method and electronic equipment of feedback are provided | |
EP2629178B1 (en) | High definition haptic effects generation using primitives | |
CN110096131B (en) | Touch interaction method and device and touch wearable equipment | |
CN103870060B (en) | Haptic system with increase LRA bandwidth | |
EP2674835B1 (en) | Haptic effect conversion system using granular synthesis | |
US8981915B2 (en) | System and method for display of multiple data channels on a single haptic display | |
CN102713793B (en) | For increasing the system and method for the haptic bandwidth in electronic equipment | |
US8570296B2 (en) | System and method for display of multiple data channels on a single haptic display | |
US8723820B1 (en) | Methods and apparatus related to a haptic feedback drawing device | |
CN109154859A (en) | For providing the equipment, method and graphic user interface of touch feedback | |
CN100432906C (en) | Pointing device control apparatus and method, electronic instrument, and computer program for the pointing device control apparatus | |
CN107861622A (en) | Touch-control feedback method, equipment, computer-readable recording medium and computer installation | |
CN110389659A (en) | The system and method for dynamic haptic playback are provided for enhancing or reality environment | |
CN105027025A (en) | Digitizer system with improved response time to wake up signal | |
EP3038335A1 (en) | Automatic and unique haptic notification | |
CN107734167A (en) | A kind of vibration control method, terminal and computer-readable recording medium | |
CN103869969A (en) | Enhanced dynamic haptic effects | |
CN104317539A (en) | Information processing method and electronic equipment | |
CN108132707A (en) | Vibrational feedback test method and test platform | |
CN107106908A (en) | Made an amendment haptic effect for slow motion | |
CN109634428A (en) | Electronic equipment, feedback prompts method, apparatus and terminal device | |
CN103488298B (en) | A kind of based on tactile sense reproduction hand-type slot device that is flexible and that be slidably connected | |
CN112416115B (en) | Method and equipment for performing man-machine interaction in control interaction interface | |
US20200401264A1 (en) | Method for generating tactile feedback and device performing same | |
CN110362200A (en) | The generation method and device of touch feedback |
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 |