CN107305432A - A kind of terminal and the method for touch feedback, device are realized in terminal - Google Patents

A kind of terminal and the method for touch feedback, device are realized in terminal Download PDF

Info

Publication number
CN107305432A
CN107305432A CN201610261321.6A CN201610261321A CN107305432A CN 107305432 A CN107305432 A CN 107305432A CN 201610261321 A CN201610261321 A CN 201610261321A CN 107305432 A CN107305432 A CN 107305432A
Authority
CN
China
Prior art keywords
touch
screen
shaking device
terminal
corresponding
Prior art date
Application number
CN201610261321.6A
Other languages
Chinese (zh)
Inventor
刘凤鹏
刘冬梅
Original Assignee
西安中兴新软件有限责任公司
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 西安中兴新软件有限责任公司 filed Critical 西安中兴新软件有限责任公司
Priority to CN201610261321.6A priority Critical patent/CN107305432A/en
Publication of CN107305432A publication Critical patent/CN107305432A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Abstract

The embodiments of the invention provide a kind of method that touch feedback is realized in terminal, the terminal includes touch-screen, and methods described includes:Obtain the historical pressures data that user presses touch-screen;The historical pressures data of user's pressing touch-screen include:At least one pressing position and pressure data corresponding with each pressing position;Obtain the current press position of touch-screen;Based on pressure data corresponding with the current press position of touch-screen, there is provided touch feedback.The embodiment of the invention also discloses a kind of device that touch feedback is realized in terminal and a kind of terminal.

Description

A kind of terminal and the method for touch feedback, device are realized in terminal

Technical field

The present invention relates to terminal shake control technology, more particularly to a kind of terminal and realize that tactile is anti-in terminal The method of feedback, device.

Background technology

In terminal device, the application of pressure sensor is risen gradually, for example, can be realized on mobile phone 3DTouch pressure sensing functions;And how more graceful experience more shaken is obtained using pressure sensing technology, As a new problem.

In the prior art, the application to pressure sensing technology is relatively simple, it is impossible to based on pressure sensor come Realize force feedback.

The content of the invention

To solve existing technical problem, the embodiment of the present invention provides a kind of terminal and realized in terminal The method of touch feedback, device, the historical pressures data and touch-screen that touch-screen can be pressed based on user are worked as Preceding pressing position carries out touch feedback.

To reach above-mentioned purpose, what the technical scheme of the embodiment of the present invention was realized in:

The embodiments of the invention provide a kind of method that touch feedback is realized in terminal, the terminal includes touching Screen is touched, methods described includes:

Obtain the historical pressures data that user presses touch-screen;The user presses the historical pressures number of touch-screen According to including:At least one pressing position and pressure data corresponding with each pressing position;

Obtain the current press position of touch-screen;

Based on pressure data corresponding with the current press position of touch-screen, there is provided touch feedback.

In such scheme, the pressure data corresponding with each pressing position includes:The touch-screen collected Pressure value and the corresponding relation of time at correspondence pressing position.

In such scheme, described based on pressure data corresponding with the current press position of touch-screen, there is provided touch Feel feedback, including:In the historical pressures data of user's pressing touch-screen of acquisition, working as touch-screen is searched The corresponding pressure data of preceding pressing position;Based on the pressure data design vibrations function found out;Based on set There is provided touch feedback for the vibrations function of meter.

In such scheme, the terminal includes at least one shaking device;

Methods described also includes:For each shaking device, vibrations weighted value is set;

It is described that function is shaken based on the pressure data found out design, including:According to the pressure data found out, And the vibrations weighted value of each shaking device, it is each corresponding vibrations function of shaking device design;

It is described based on designed vibrations function there is provided touch feedback, including:Based on each shaking device pair The vibrations function answered, driving correspondence shaking device is shaken.

It is described that for each shaking device, vibrations weighted value is set in such scheme, including:According to it is following at least A kind of information sets the vibrations weighted value of each shaking device:The current press of correspondence shaking device and touch-screen The correction parameter of the horizontal range of position, the corresponding shaking device set.

In such scheme, methods described also includes:Obtain the attitude information of terminal, the appearance based on the terminal State information, is that each shaking device sets correction parameter.

In such scheme, the current press position for obtaining touch-screen includes:The current of collection touch is pressed Position is pressed, or, at least one manipulation position of terminal current display interface is pressed as the current of touch-screen Press position.

The embodiment of the present invention additionally provides a kind of device that touch feedback is realized in terminal, and the terminal includes Touch-screen, described device includes:First acquisition module, the second acquisition module and feedback module;Wherein,

First acquisition module, the historical pressures data of touch-screen are pressed for obtaining user;User's pressing The historical pressures data of touch-screen include:At least one pressing position and corresponding with each pressing position Pressure data;

Second acquisition module, the current press position for obtaining touch-screen;

Feedback module, for there is provided tactile based on pressure data corresponding with the current press position of touch-screen Feedback.

In such scheme, the pressure data corresponding with each pressing position includes:The touch-screen collected Pressure value and the corresponding relation of time at correspondence pressing position.

In such scheme, the feedback module includes searching unit, design cell and feedback unit;Wherein,

Searching unit, in the historical pressures data that the user of acquisition presses touch-screen, searching touch-screen The corresponding pressure data in current press position;

Design cell, for based on the pressure data design vibrations function found out;

Feedback unit, for there is provided touch feedback based on designed vibrations function.

In such scheme, the terminal includes at least one shaking device;Described device also includes setup module;

Setup module, for setting vibrations weighted value for each shaking device;

The design cell, specifically for the shake according to the pressure data found out and each shaking device Dynamic weighted value, is each corresponding vibrations function of shaking device design;

The feedback unit, specifically for based on the corresponding vibrations function of each shaking device, driving correspondence shake Dynamic device is shaken.

In such scheme, the setup module, specifically for setting each shake according to following at least one information The vibrations weighted value of dynamic device:Correspond to the horizontal range of the current press position of shaking device and touch-screen, set The correction parameter for the corresponding shaking device put.

In such scheme, the setup module is additionally operable to obtain the attitude information of terminal, based on the terminal Attitude information, be that each shaking device sets correction parameter.

The embodiment of the present invention additionally provides a kind of terminal, and terminal includes touch-screen, processor and at least one shake Dynamic device;Wherein,

Processor, for obtaining the historical pressures data of user's pressing touch-screen and the current press position of touch-screen Put;The historical pressures data of user's pressing touch-screen include:At least one pressing position and with it is every The corresponding pressure data of individual pressing position;

The processor, is additionally operable to based on pressure data corresponding with the current press position of touch-screen, to extremely A few shaking device sends drive signal;

Each shaking device, for producing vibrations according to the drive signal of reception.

In such scheme, the pressure data corresponding with each pressing position includes:The touch-screen collected Pressure value and the corresponding relation of time at correspondence pressing position.

In such scheme, the processor, the historical pressures specifically for pressing touch-screen in the user of acquisition In data, the corresponding pressure data in current press position of touch-screen is searched;Based on the pressure data found out Design vibrations function;According to designed vibrations function, corresponding drive signal is sent to each shaking device.

In such scheme, the processor is additionally operable to set vibrations weighted value for each shaking device;According to The pressure data and the vibrations weighted value of each shaking device found out, is each shaking device design phase The vibrations function answered;According to the corresponding vibrations function of each shaking device, send corresponding to each shaking device Drive signal.

The embodiment of the present invention additionally provides a kind of computer-readable storage medium, is stored with for being walked according to following operation The rapid program handled:

Obtain the historical pressures data that user presses touch-screen;The user presses the historical pressures number of touch-screen According to including:At least one pressing position and pressure data corresponding with each pressing position;

Obtain the current press position of touch-screen;

Based on pressure data corresponding with the current press position of touch-screen, there is provided touch feedback.

A kind of terminal provided in an embodiment of the present invention and realized in terminal in the method for touch feedback, device, Obtain the historical pressures data that user presses touch-screen;Obtain the current press position of touch-screen;Based on touching Touching the corresponding pressure data in current press position of screen, there is provided touch feedback;So, it is possible based on user by The historical pressures data and touch-screen current press position for pressing touch-screen carry out touch feedback, it is thus possible to generate A variety of haptic feedback effects, enrich the application to pressure sensing technology, with reliability it is high the characteristics of;Separately Outside, because hardware used in terminal is all the existing configuration of terminal, it is not necessary to increase extra cost.

Brief description of the drawings

Fig. 1 is the flow of the first embodiment for the method that the embodiment of the present invention realizes touch feedback in terminal Figure;

Fig. 2 is the schematic diagram of the pressure value at same time point touch-screen diverse location in the embodiment of the present invention;

Fig. 3 is the schematic diagram of the pressure value function at a pressing position in the embodiment of the present invention;

Fig. 4 realizes terminal used in the second embodiment of the method for touch feedback for the present invention in terminal One exemplary plot of hardware configuration;

Fig. 5 realizes the flow chart of the second embodiment of the method for touch feedback for the present invention in terminal;

Fig. 6 for the present invention realized in terminal touch feedback method 3rd embodiment in terminal hand-held appearance The schematic diagram of state;

Fig. 7 realizes the flow chart of the 3rd embodiment of the method for touch feedback for the present invention in terminal;

Each shaking device in 3rd embodiments of the Fig. 8 for the method for the invention that touch feedback is realized in terminal With a schematic diagram of the horizontal range of the current press position of touch-screen;

Fig. 9 be the present invention realized in terminal touch feedback method 3rd embodiment in be that each motor is set The schematic diagram for the vibrations function put;

Figure 10 is the composition structural representation for the device that the embodiment of the present invention realizes touch feedback in terminal;

Figure 11 is that the embodiment of the present invention realizes that the structure of feedback module in the device of touch feedback is shown in terminal It is intended to;

Figure 12 is the structural representation of the terminal of the embodiment of the present invention.

Embodiment

Below in conjunction with drawings and Examples, the present invention will be described in further detail.It should be appreciated that herein Described specific embodiment only to explain the present invention, is not intended to limit the present invention.

The embodiment of the present invention records a kind of method that touch feedback is realized in terminal, can apply in terminal, The terminal includes touch-screen, and terminal can be fixed terminal or mobile terminal;Above-mentioned mobile terminal can be Smart mobile phone, tablet personal computer or Wearable (such as intelligent glasses, intelligent watch), can also be intelligence Automobile, intelligent appliance (such as intelligent refrigerator, intelligent battery, set top box);The operating system of smart mobile phone can To be that Android operation system, IOS or other any third parties exploitations can run on microcomputer Operating system (such as mobile edition linux system, the blackberry, blueberry of calculation machine structure (at least including processor and internal memory) QNX operating systems etc.).

Touch-screen is provided with above-mentioned terminal, touch-screen is a kind of induction type for receiving the input signals such as contact Display device, when contacting the graphic button on screen, the haptic feedback system on screen can be according to advance The formula of programming drives various link devices, is substituted for mechanical push button panel, and by display picture Face produces lively visual and sound effects.

Terminal can also include being used for the sensor that collection touch presses information, and touch-screen pressing information includes Following at least one information:At least one pressing position and pressure data corresponding with each pressing position; In actual applications, sensor can be arranged on the lower section of the touch-screen of terminal, and sensor can be that pressure is passed Sensor or the pressure touch module for realizing 3d touch functions.

Processor can also be set in terminal, and processor can implement the embodiment of the present invention and specially set Processor;Processor is communicated to connect with sensor formation, and processor can obtain touch-screen pressing position information, And the information of acquisition is handled.

Terminal and touch-screen based on above-mentioned record, propose following specific embodiment.

First embodiment

First embodiment of the invention provides a kind of method that touch feedback is realized in terminal, and Fig. 1 is this hair Bright embodiment realizes the flow chart of the first embodiment of the method for touch feedback in terminal, as shown in figure 1, The flow includes:

Step 100:Obtain the historical pressures data that user presses touch-screen;User's pressing touch-screen Historical pressures data include:At least one pressing position and pressure data corresponding with each pressing position.

Here, the pressure data corresponding with each pressing position can be:The touch-screen correspondence collected The corresponding relation of pressure value and time at pressing position;Pressure value at touch-screen correspondence pressing position is used for Characterize the pressure size at touch-screen correspondence pressing position.

In actual applications, when user presses touch-screen, pressure sensor or pressure touch mould can be used The pressure value of the group multiple pressing positions of collection touch, for each pressing position of touch-screen, its pressure value Generally change with time and produce change, that is to say, that the pressure value of each pressing position of touch-screen is Using the time as the function of independent variable;Therefore, the pressure at the touch-screen correspondence pressing position collected is being obtained Value is with after the corresponding relation of time, actually having drawn the pressure value letter at touch-screen correspondence pressing position Number.

Exemplarily, pressing position can be indicated in the form of two-dimensional coordinate, coordinate is (x, y) The pressure value of pressing position can be expressed as pressure (x, y) or p (x, y), here, x and y The abscissa and ordinate for the two-dimensional coordinate system that plane where being illustrated respectively in touch-screen is set up, in touch-screen institute In the two-dimensional coordinate system that plane is set up, the position of origin can be according to circumstances configured, for example, by original Point is arranged on the center of touch-screen, left upper, at the upper right corner, at lower right-hand corner or the lower right corner.

Here, in the historical pressures data that user presses touch-screen, at same time point, difference pressing position The pressure value at the place of putting is probably different, and Fig. 2 is the different positions of same time point touch-screen in the embodiment of the present invention The schematic diagram of the pressure value at place is put, as shown in Fig. 2 X-axis represents the two dimension that the plane where touch-screen is set up The transverse axis of coordinate system, Y-axis represents the longitudinal axis for the two-dimensional coordinate system that the plane where touch-screen is set up, and Z axis is used Pressure value at the different pressing positions of sign;In Fig. 2, pressure value is more than 0 two-dimensional coordinate positional representation The pressing position of user, and the position that the two-dimensional coordinate positional representation that pressure value is 0 is not depressed by the user.

Correspondingly, can be corresponding with the time according to the pressure value at the touch-screen correspondence pressing position collected Relation, build touch-screen correspondence pressing position at pressure value function p (t), p (t) represent using time t as The function of independent variable, Fig. 3 is the schematic diagram of the pressure value function at a pressing position in the embodiment of the present invention, As shown in figure 3, transverse axis represents time t, the longitudinal axis represents pressure value p (t).

In actual applications, the pressure value pass corresponding with the time at touch-screen correspondence pressing position is being collected When being, it can gather from the pressure value at setting time length correspondence pressing position, setting time length can be with For more than or equal to 1 second.

Step 101:Obtain the current press position of touch-screen.

In this step, the current press position of touch-screen can be obtained using following two modes.

Mode 1:The current press position of collection touch.

Here it is possible to using pressure sensor or realize that the pressure touch module of 3d touch functions is tactile to gather Touch the current press position of screen;In actual applications, when user's finger presses touch-screen, user's finger Pressing position is a region of plane where touch-screen, therefore, using pressure sensor or is realizing 3d , can pressing in user's finger when the pressure touch module of touch functions collects the area pressed of user's finger Current press position a little as touch-screen is chosen in intermediate pressure section.

Mode 2:At least one of terminal current display interface is manipulated into position as the current press of touch-screen Position.

Here, terminal current display interface can show the interface of desktop icons or appointing for terminal The human-computer interaction interface of one application of meaning;When pressing any one manipulation position of terminal current display interface, Man-machine interaction can be realized;For example, the manipulation position of terminal current display interface is comprised in terminal and currently shown Show a manipulation picture mark position at interface, in actual applications, terminal current display interface can be obtained first A manipulation picture mark position, afterwards, by one of terminal current display interface manipulate picture mark position a bit It is used as the current press position of touch-screen.

Illustrated below by taking the human-computer interaction interface of " car race game " as an example.The current display interface of terminal For the human-computer interaction interface of " car race game ", there is " throttle " in the human-computer interaction interface of " car race game " Manipulate picture mark position and " brake " manipulates picture mark position, at this point it is possible to manipulate picture mark position at " throttle " Or any is chosen as the current press position of touch-screen in " brake " manipulation picture mark position.

Step 102:Based on pressure data corresponding with the current press position of touch-screen, there is provided touch feedback.

This step is specifically included:In the historical pressures data of user's pressing touch-screen of acquisition, search and touch The corresponding pressure data in current press position of screen;Based on the pressure data design vibrations function found out;Base In designed vibrations function, there is provided touch feedback.

Here, because the historical pressures data that the user of above-mentioned record presses touch-screen include pressing position and pressure The corresponding relation of force data, therefore, user's pressing touch-screen is included in the current press position of touch-screen Historical pressures data when, the historical pressures data of touch-screen can be pressed based on user, touch-screen is searched The corresponding pressure data in current press position;Certainly, if the user of above-mentioned record presses the history of touch-screen When pressing position in pressure data does not include the current press position of touch-screen, it is impossible to find out touch-screen The corresponding pressure data in current press position, now, directly terminates flow.

Here, vibrations function can be intended to indicate that the corresponding relation of touch feedback amplitude and time, that is, Say, vibrations function is the touch feedback amplitude function using the time as independent variable, and the pressure data bag found out Include the pressure value and the corresponding relation of time of the current press position of touch-screen, therefore, above-mentioned record based on The pressure data design vibrations function found out includes:According to the pressure value of the current press position of touch-screen with The corresponding relation of time, design vibrations function;For example, the current press position of touch-screen pressure value and when Between corresponding relation can be expressed as the pressure value function p1 (t) using time t as independent variable, at this point it is possible to Based on function p1 (t) design vibrations functions, especially, directly function p1 (t) can be regard as vibrations letter Number.

In actual applications, when touch feedback can be realized by the shaking device set in terminal, accordingly Ground, touch feedback amplitude can be the vibration amplitude of shaking device.

As can be seen that including in pressure data corresponding with each pressing position at the corresponding pressing position of touch-screen Pressure value and during the corresponding relation of time, be easy to, based on the pressure data design vibrations function found out, enter And it is conducive to provide touch feedback.

The present invention is realized in terminal in the first embodiment of method of touch feedback, for that can be based on user The historical pressures data and touch-screen current press position for pressing touch-screen carry out touch feedback, it is thus possible to raw Into a variety of haptic feedback effects, enrich the application to pressure sensing technology, with reliability it is high the characteristics of; Further, since hardware used in terminal is all the existing configuration of terminal, it is not necessary to increase extra cost.

Second embodiment

In order to be able to more embody the purpose of the present invention, on the basis of first embodiment of the invention, enter traveling one The illustration of step.

In order to realize the method that touch feedback is realized in terminal of second embodiment of the invention, set in terminal Put at least one shaking device, shaking device can be the vibrations device such as linear motor, shaking device can be Shaken under the control of shake control signal, shake control signal can be generated with the processor of terminal.

Here, number and shaking device position not to shaking device is defined, below by Fig. 4 Illustrate to carry out exemplary explanation to the number of shaking device and position.

Fig. 4 realizes terminal used in the second embodiment of the method for touch feedback for the present invention in terminal One exemplary plot of hardware configuration, 3d touch work(is realized as shown in figure 4, being provided with the touch-screen of terminal The pressure touch module 401 of energy, pressure touch module 401 includes multiple pressure sensors;In touch-screen The panel of lower section is provided with 4 linear motors 402 (position that circle is marked in Fig. 4), and linear motor is The shaking device set in terminal, this 4 linear motors are separately positioned on the corner location of the corresponding panel.

Fig. 5 realizes the flow chart of the second embodiment of the method for touch feedback for the present invention in terminal, such as schemes Shown in 5, the flow includes:

Step 500~501:It is identical with step 100~101, it is not repeated herein.

Step 502:For each shaking device, vibrations weighted value is set.

This step is specifically included:The vibrations weighted value of each shaking device is set according to following at least one information: The horizontal range of correspondence shaking device and the current press position of touch-screen, the corresponding shaking device set it is strong Positive parameter.

Here, each shaking device is typically not at plane where touch-screen, each shaking device and touch-screen The horizontal range of current press position be used to represent correspondence shaking device projected position on the touchscreen with touching Touch the distance of the current press position of screen;And each projected position of shaking device on the touchscreen can be advance Input is into terminal, in this way, after the current press position of touch-screen is obtained, just can be drawn often by calculating The horizontal range of the current press position of individual shaking device and touch-screen;For example, a shaking device is being touched The coordinate of projected position on screen be (x1, y1), and the coordinate of the current press position of touch-screen for (x2, Y2), then the horizontal range d1 of the current press position of corresponding shaking device and touch-screen is:

Here, the correction parameter of each shaking device can be pre-set, and multiple corrections are provided with terminal During parameter, the correction parameter of each shaking device can be with identical, can also be different.

Preferably, the attitude information of terminal can be obtained, the attitude information afterwards based on the terminal, is every Individual shaking device sets correction parameter;Specifically, can the attitude information based on the terminal, respectively to shake Dynamic device is marked, for any one shaking device, can mark as emphasis shaking device or auxiliary shake Dynamic device, is that each emphasis shaking device sets identical to correct parameter, is designated as parameter 1;Aided in for each Shaking device sets identical to correct parameter, is designated as parameter 2, and parameter 1 is more than parameter 2.

Here, the value of the correction parameter of each shaking device can also be adjusted according to application scenarios, for example, Under some fierce scene modes, the correction parameter value of each shaking device can be bigger than normal.

Further, plane where the attitude information of the terminal includes touch-screen and the angle of horizontal plane, are touched The value of plane and the angle of horizontal plane is between 0 degree to 90 degree where touching screen.

Can be each vibrations dress if plane where touch-screen and the angle of horizontal plane are equal to 0 degree or 90 degree The identical correction parameter put, i.e. it is that emphasis shaking device or auxiliary shake to mark each shaking device Device.

If plane where touch-screen and the angle of horizontal plane are more than 0 degree and less than or equal to 45 degree, under each Square shaking device is labeled as the first shaking device, and each top shaking device is labeled as into second of vibrations dress Put, wherein, the projection of lower section shaking device on the touchscreen and the distance of touch-screen bottom are less than or equal to lower section Distance at the top of shaking device projection on the touchscreen and touch-screen, top shaking device is on the touchscreen Projection is less than or equal to the projection of lower section shaking device on the touchscreen and touch-screen bottom with the distance at the top of touch-screen The distance in portion, when the first shaking device is emphasis shaking device, second of shaking device is auxiliary vibrations dress Put;When the first shaking device is auxiliary shaking device, second of shaking device is emphasis shaking device.

, will each top if plane where touch-screen and the angle of horizontal plane are more than 45 degree and less than 90 degree Shaking device is labeled as the first shaking device, and each lower section shaking device is labeled as into second of shaking device.

In this step, when terminal is smart mobile phone, the attitude information of terminal is the hand-held posture of terminal, In practical application, it is possible to use the sensor such as gyroscope set in terminal detects the hand-held posture of terminal, figure 6 realize that the hand-held posture of terminal in the 3rd embodiment of the method for touch feedback is shown for the present invention in terminal It is intended to;In Fig. 6, numeral 1,2,3 and 4 distinguishes 4 linear motors in the projected position of touch-screen, example Such as, can be corresponding by numeral 3 and 4 by digital 1 and 2 corresponding motors labeled as auxiliary shaking device Motor mark is emphasis shaking device.

In this step, it can use three kinds of modes that vibrations weighted value is set for each shaking device, separately below Illustrate.

Mode 1, according to each shaking device and the horizontal range of the current press position of touch-screen, setting pair Answer the vibrations weighted value of shaking device.

When employing mode 1 is that each shaking device sets vibrations weighted value, by shaking device and touch-screen The horizontal range of current press position is designated as L1, then the vibrations weighted value of shaking device can be directly proportional to L1, It can also be inversely proportional with L1.

Mode 2, according to the correction parameter of each shaking device of setting, sets the vibrations of correspondence shaking device Weighted value.

When employing mode 2 is that each shaking device sets vibrations weighted value, the vibrations weighted value of shaking device It is directly proportional to the correction parameter of shaking device.

Mode 3, according to the horizontal range of each shaking device and the current press position of touch-screen, Yi Jishe The correction parameter for each shaking device put, sets the vibrations weighted value of correspondence shaking device.

When employing mode 3 is that each shaking device sets vibrations weighted value, by shaking device and touch-screen The horizontal range of current press position is designated as L2, the correction parameter of shaking device is designated as into S, then shaking device Vibrations weighted value can be directly proportional to L2*S, can also be directly proportional to S/L2.

Step 503:In the historical pressures data of user's pressing touch-screen of acquisition, working as touch-screen is searched The corresponding pressure data of preceding pressing position;According to the shake of the pressure data found out and each shaking device Dynamic weighted value, is each corresponding vibrations function of shaking device design;Based on the corresponding shake of each shaking device Dynamic function, driving correspondence shaking device is shaken.

In this step, the implementation for designing corresponding vibrations function for each shaking device, specifically Say, be that each shaking device sets initial feedback function, by initial feedback according to the pressure data found out Function is multiplied by the vibrations weighted value of correspondence shaking device, is derived as the vibrations function of correspondence shaking device design; Here, initial feedback function is used to represent correspondence shaking device vibration amplitude and the corresponding relation of time, also It is to say, initial feedback function is the vibration amplitude function using the time as independent variable.For example, being any one shake The initial feedback function that dynamic device is set is p2 (t), and the vibrations weighted value of correspondence shaking device is w, then Vibrations function p3 (t) for correspondence shaking device design is equal to w*p2 (t).

Further, the pressure data found out includes pressure value and the time of the current press position of touch-screen Corresponding relation when, can according to the pressure value and the corresponding relation of time of the current press position of touch-screen, Design initial feedback function.

In this step, after the corresponding vibrations function of each shaking device is obtained, it can be filled according to each vibrations Corresponding vibrations function is put, corresponding shake control signal is sent to each shaking device, to control correspondence to shake Dynamic device is shaken according to vibrations function.

Further, for step 502, Fig. 5 simply exemplarily illustrates its execution sequence, in reality In, only it need to ensure that step 502 is performed before step 503, specifically, can be in step 500 Step 502 is performed before, and step 502 can also be performed between step 500 and step 501.

The present invention realizes in terminal in the second embodiment of method of touch feedback, due to can be according to each The vibrations weighted value of shaking device shakes dress accordingly to design vibrations function according to vibrations function drive Put and shaken, therefore various vibration strategy can be configured for each shaking device;Further, due to When the vibrations weighted value of each shaking device is set, in addition it is also necessary to consider correspondence shaking device and touch-screen it is current The correction parameter of the horizontal range of pressing position and/or the corresponding shaking device of setting, in this way, can be to difference Shaking device sets different vibrations strategies;Further, since needing according to the corresponding vibrations of each shaking device Function, corresponding shake control signal is sent to each shaking device, it is possible to which design is corresponding accurate multiple Miscellaneous shake control signal, and at least one shaking device in drives terminal, bring that user is more graceful more to shake The touch feedback experience shaken, enriches the content of force feedback.

3rd embodiment.

In order to be able to more embody the purpose of the present invention, on the basis of first embodiment of the invention and second embodiment On, further illustrated.

Third embodiment of the invention provides a kind of method that touch feedback is realized in terminal, in the present invention the In three embodiments, terminal is smart mobile phone, reference picture 4, and pressure touch module and 4 are provided with terminal Linear motor, this 4 linear motors are respectively labeled as motor 1, motor 2, motor 3 and motor 4.

Fig. 7 realizes the flow chart of the 3rd embodiment of the method for touch feedback for the present invention in terminal, such as schemes Shown in 7, the flow includes:

Step 700~701:It is identical with step 100~101, it is not repeated herein.

Step 702:The attitude information of terminal is obtained, is each vibrations based on the attitude information of the terminal Device sets correction parameter.

Here, it is x_1 by the correction parameter tags of motor 1, is x_2 by the correction parameter tags of motor 2, It is y_1 by the correction parameter tags of motor 3, is y_2 by the correction parameter tags of motor 4, for example, 4 In the correction parameter of individual motor, x_1 and x_2 are bigger than normal, and y_1 is minimum, are more than y_1 close to 0, y_2, And less than x_1 and x_2.

Step 703:Obtain the horizontal range of the current press position of each shaking device and touch-screen.

Each shaking device in 3rd embodiments of the Fig. 8 for the method for the invention that touch feedback is realized in terminal With a schematic diagram of the horizontal range of the current press position of touch-screen, as shown in figure 8, by motor 1 with The horizontal range of the current press position of touch-screen is designated as a, by the current press position of motor 2 and touch-screen Horizontal range be designated as b, motor 3 and the horizontal range of the current press position of touch-screen are designated as c, by motor 4 are designated as d with the horizontal range of the current press position of touch-screen.

Step 704:According to the horizontal range of each shaking device and the current press position of touch-screen and The correction parameter of each shaking device set, sets the vibrations weighted value of correspondence shaking device.

Here, the vibrations weighted value of motor 1 is designated as α, the vibrations weighted value of motor 2 is designated as β, by horse Vibrations weighted value up to 3 is designated as γ, and the vibrations weighted value of motor 4 is designated as into δ, then has α=a*x_1 ,=b* X_2, γ=c*y_1, δ=d*y_2.

Here, the initial feedback function each motor set is the historical pressures data that user presses touch-screen In the pressure value function of the current press position of touch-screen that finds out, the initial feedback that each motor is set Function is designated as P (t), and motor 1, motor 2, motor 3 and the corresponding vibrations function of motor 4 are designated as respectively Vibrate-1 (t), vibrate-2 (t), vibrate-3 (t), vibrate-4 (t), then have:

Vibrate-1 (t)=α × P (t)

Vibrate-2 (t)=β × P (t)

Vibrate-3 (t)=γ × P (t)

Vibrate-4 (t)=δ × P (t).

Fig. 9 be the present invention realized in terminal touch feedback method 3rd embodiment in be that each motor is set In the schematic diagram for the vibrations function put, Fig. 9, vertical axle represents vibration amplitude, when two transverse axis are respectively Countershaft and motor drive shaft, on the motor, 1,2,3 and 4 represent motor 1, motor 2, the and of motor 3 respectively Motor 4;The curve for the arrow meaning that numeral 1 starts represents the corresponding vibrations function of motor 1, and numeral 2 is opened The signified curve of the arrow of beginning represents the corresponding vibrations function of motor 2, the signified song of the arrow that numeral 3 starts Line represents the corresponding vibrations function of motor 3, and the signified curve of the arrow that numeral 4 starts represents the correspondence of motor 4 Vibrations function.

Step 705:It is identical with step 503, it is not repeated herein.

Further, after touch-screen current press position is obtained, current press position can also be obtained initial The pressure value at moment, the pressure value based on current press position initial time demarcates the startup number of initial force feedback According to.Can also be that each shaking device is set according to the manipulation icon corresponding to touch-screen current press position Different vibrations strategy, for example, touch-screen current press position corresponds to the icon of " throttle exerts oneself to step on " respectively During the icon of " throttle is gently stepped on ", the amplitude of the touch feedback of generation is different, touch-screen current press During correspondence " brake " icon of position, the form of touch feedback is to produce drastically high-frequency vibration, and lean forward Illusion;Touch-screen current press position is while when corresponding " brake " icon is with " throttle " icon, tactile is anti- The form of feedback is generation force feedback and the seismaesthesia of whipping, and drift centrifuge illusion.

Fourth embodiment

For first embodiment of the invention and the method that touch feedback is realized in terminal of second embodiment, sheet Invention fourth embodiment provides a kind of device that touch feedback is realized in terminal, and the terminal includes touching Screen.

Figure 10 is the composition structural representation for the device that the embodiment of the present invention realizes touch feedback in terminal, such as Shown in Figure 10, the device includes:First acquisition module 1000, the second acquisition module 1001 and feedback module 1002;

Wherein, the first acquisition module 1000, the historical pressures data of touch-screen are pressed for obtaining user;Institute Stating the historical pressures data of user's pressing touch-screen includes:At least one pressing position and with each pressing The corresponding pressure data in position.

Second acquisition module 1001, the current press position for obtaining touch-screen.

Feedback module 1002, for there is provided touch feedback based on pressure data corresponding with current press position.

Specifically, the pressure data corresponding with each pressing position includes:The touch-screen correspondence collected The corresponding relation of pressure value and time at pressing position.

Figure 11 is that the embodiment of the present invention realizes that the structure of feedback module in the device of touch feedback is shown in terminal It is intended to, as shown in figure 11, the feedback module 1002 includes searching unit 1100, design cell 1101 With feedback unit 1102;Wherein,

Searching unit 1100, in the historical pressures data that the user of acquisition presses touch-screen, searching and touching Touch the corresponding pressure data in current press position of screen;

Design cell 1101, for based on the pressure data design vibrations function found out;

Feedback unit 1102, for there is provided touch feedback based on designed vibrations function.

Further, the terminal includes at least one shaking device;Reference picture 10, described device also includes Setup module 1003;

Setup module 1003, for setting vibrations weighted value for each shaking device;

The design cell 1101, specifically for according to the pressure data found out and each shaking device Vibrations weighted value, be the corresponding vibrations function of each shaking device design;

The feedback unit 1102, specifically for based on the corresponding vibrations function of each shaking device, driving pair Shaking device is answered to be shaken.

Specifically, the setup module 1003, for setting each vibrations to fill according to following at least one information The vibrations weighted value put:Correspondence shaking device and touch-screen current press position horizontal range, set The correction parameter of correspondence shaking device.

The setup module 1003, is additionally operable to obtain the attitude information of terminal, the posture letter based on the terminal Breath, is that each shaking device sets correction parameter.

In actual applications, first acquisition module 1000, the second acquisition module 1001, feedback module 1002 and setup module 1003 can by terminal central processing unit (Central Processing Unit, CPU), microprocessor (Micro Processor Unit, MPU), digital signal processor (Digital Signal Processor, DSP) or field programmable gate array (Field Programmable Gate Array, FPGA) Deng realization.

5th embodiment

For first embodiment of the invention and the method that touch feedback is realized in terminal of second embodiment, sheet The 5th embodiment is invented there is provided a kind of terminal.

Figure 12 is the structural representation of the terminal of the embodiment of the present invention, and terminal includes touch-screen 1200, processing Device 1201 and at least one shaking device 1202;Wherein,

Processor 1201, historical pressures data and the current of touch-screen for obtaining user's pressing touch-screen are pressed Press position;The historical pressures data of user's pressing touch-screen include:At least one pressing position and Pressure data corresponding with each pressing position;

The processor 1201, is additionally operable to be based on pressure data corresponding with current press position, at least one Individual shaking device sends drive signal;

Each shaking device 1202, for producing vibrations according to the drive signal of reception.

Specifically, the processor 1201, the historical pressures data for pressing touch-screen in the user of acquisition In, search the corresponding pressure data in current press position of touch-screen;Based on the pressure data design found out Shake function;According to designed vibrations function, corresponding drive signal is sent to each shaking device.

The pressure data corresponding with each pressing position includes:The touch-screen correspondence pressing position collected The pressure value at place and the corresponding relation of time.

Further, the processor 1201, is additionally operable to each shaking device and sets vibrations weighted value;According to The pressure data and the vibrations weighted value of each shaking device found out, is each shaking device design phase The vibrations function answered;According to the corresponding vibrations function of each shaking device, send corresponding to each shaking device Drive signal.

It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can using hardware embodiment, software implementation or combine software and The form of the embodiment of hardware aspect.Moreover, the present invention can be used wherein includes calculating one or more The computer-usable storage medium of machine usable program code (includes but is not limited to magnetic disk storage and optical storage Device etc.) on the form of computer program product implemented.

The present invention is with reference to method according to embodiments of the present invention, equipment (system) and computer program product Flow chart and/or block diagram describe.It should be understood that can be by computer program instructions implementation process figure and/or side Each flow and/or square frame in block diagram and flow and/or the knot of square frame in flow chart and/or block diagram Close.Can provide these computer program instructions to all-purpose computer, special-purpose computer, Embedded Processor or The processor of other programmable data processing devices is to produce a machine so that by computer or other can The instruction of the computing device of programming data processing equipment is produced for realizing in one flow or multiple of flow chart The device for the function of being specified in one square frame of flow and/or block diagram or multiple square frames.

These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices In the computer-readable memory worked in a specific way so that be stored in the computer-readable memory Instruction, which is produced, includes the manufacture of command device, and the command device is realized in one flow of flow chart or multiple streams The function of being specified in one square frame of journey and/or block diagram or multiple square frames.

These computer program instructions can be also loaded into computer or other programmable data processing devices, made Obtain and perform series of operation steps on computer or other programmable devices to produce computer implemented place Reason, so that the instruction performed on computer or other programmable devices is provided for realizing in flow chart one The step of function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.

The foregoing is only a preferred embodiment of the present invention, is not intended to limit the protection model of the present invention Enclose.

Claims (17)

1. a kind of method that touch feedback is realized in terminal, it is characterised in that the terminal includes touch-screen, Methods described includes:
Obtain the historical pressures data that user presses touch-screen;The user presses the historical pressures number of touch-screen According to including:At least one pressing position and pressure data corresponding with each pressing position;
Obtain the current press position of touch-screen;
Based on pressure data corresponding with the current press position of touch-screen, there is provided touch feedback.
2. according to the method described in claim 1, it is characterised in that described corresponding with each pressing position Pressure data includes:The touch-screen collected corresponds to the pressure value and the corresponding relation of time at pressing position.
3. according to the method described in claim 1, it is characterised in that described based on being pressed with the current of touch-screen The corresponding pressure data in position is pressed there is provided touch feedback, including:Going through for touch-screen is pressed in the user of acquisition In history pressure data, the corresponding pressure data in current press position of touch-screen is searched;Based on the pressure found out Force data design vibrations function;Based on designed vibrations function, there is provided touch feedback.
4. method according to claim 3, it is characterised in that the terminal shakes including at least one Device;
Methods described also includes:For each shaking device, vibrations weighted value is set;
It is described that function is shaken based on the pressure data found out design, including:According to the pressure data found out, And the vibrations weighted value of each shaking device, it is each corresponding vibrations function of shaking device design;
It is described based on designed vibrations function there is provided touch feedback, including:Based on each shaking device pair The vibrations function answered, driving correspondence shaking device is shaken.
5. method according to claim 4, it is characterised in that described that shake is set for each shaking device Dynamic weighted value, including:The vibrations weighted value of each shaking device is set according to following at least one information:It is right Answer shaking device and the horizontal range of the current press position of touch-screen, the correction of the corresponding shaking device set Parameter.
6. method according to claim 5, it is characterised in that methods described also includes:Obtain terminal Attitude information, be that each shaking device sets correction parameter based on the attitude information of the terminal.
7. the method according to any one of claim 1 to 6, it is characterised in that the acquisition touch-screen Current press position include:The current press position of collection touch, or, terminal is currently shown into boundary At least one of face manipulates position as the current press position of touch-screen.
8. a kind of device that touch feedback is realized in terminal, it is characterised in that the terminal includes touch-screen, Described device includes:First acquisition module, the second acquisition module and feedback module;Wherein,
First acquisition module, the historical pressures data of touch-screen are pressed for obtaining user;User's pressing The historical pressures data of touch-screen include:At least one pressing position and corresponding with each pressing position Pressure data;
Second acquisition module, the current press position for obtaining touch-screen;
Feedback module, for there is provided tactile based on pressure data corresponding with the current press position of touch-screen Feedback.
9. device according to claim 8, it is characterised in that described corresponding with each pressing position Pressure data includes:The touch-screen collected corresponds to the pressure value and the corresponding relation of time at pressing position.
10. device according to claim 8, it is characterised in that the feedback module includes searching list Member, design cell and feedback unit;Wherein,
Searching unit, in the historical pressures data that the user of acquisition presses touch-screen, searching touch-screen The corresponding pressure data in current press position;
Design cell, for based on the pressure data design vibrations function found out;
Feedback unit, for there is provided touch feedback based on designed vibrations function.
11. device according to claim 10, it is characterised in that the terminal is shaken including at least one Dynamic device;Described device also includes setup module;
Setup module, for setting vibrations weighted value for each shaking device;
The design cell, specifically for the shake according to the pressure data found out and each shaking device Dynamic weighted value, is each corresponding vibrations function of shaking device design;
The feedback unit, specifically for based on the corresponding vibrations function of each shaking device, driving correspondence shake Dynamic device is shaken.
12. device according to claim 11, it is characterised in that the setup module, specifically for The vibrations weighted value of each shaking device is set according to following at least one information:Correspondence shaking device is with touching The correction parameter of the horizontal range of the current press position of screen, the corresponding shaking device set.
13. device according to claim 12, it is characterised in that the setup module, is additionally operable to obtain The attitude information of terminal is taken, is that each shaking device sets correction parameter based on the attitude information of the terminal.
14. a kind of terminal, it is characterised in that the terminal includes touch-screen, processor and at least one shake Dynamic device;Wherein,
Processor, for obtaining the historical pressures data of user's pressing touch-screen and the current press position of touch-screen Put;The historical pressures data of user's pressing touch-screen include:At least one pressing position and with it is every The corresponding pressure data of individual pressing position;
The processor, is additionally operable to based on pressure data corresponding with the current press position of touch-screen, to extremely A few shaking device sends drive signal;
Each shaking device, for producing vibrations according to the drive signal of reception.
15. terminal according to claim 14, it is characterised in that described corresponding with each pressing position Pressure data include:The touch-screen collected corresponds to the pressure value and the corresponding relation of time at pressing position.
16. terminal according to claim 14, it is characterised in that the processor, specifically for In the historical pressures data of user's pressing touch-screen of acquisition, the current press position for searching touch-screen is corresponding Pressure data;Based on the pressure data design vibrations function found out;According to designed vibrations function, to Each shaking device sends corresponding drive signal.
17. terminal according to claim 16, it is characterised in that the processor, is additionally operable to be every Individual shaking device sets vibrations weighted value;According to the shake of the pressure data found out and each shaking device Dynamic weighted value, is each corresponding vibrations function of shaking device design;According to the corresponding shake of each shaking device Dynamic function, corresponding drive signal is sent to each shaking device.
CN201610261321.6A 2016-04-25 2016-04-25 A kind of terminal and the method for touch feedback, device are realized in terminal CN107305432A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610261321.6A CN107305432A (en) 2016-04-25 2016-04-25 A kind of terminal and the method for touch feedback, device are realized in terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610261321.6A CN107305432A (en) 2016-04-25 2016-04-25 A kind of terminal and the method for touch feedback, device are realized in terminal
PCT/CN2016/086262 WO2017185502A1 (en) 2016-04-25 2016-06-17 Terminal, and method and apparatus for implementing tactile feedback on terminal

Publications (1)

Publication Number Publication Date
CN107305432A true CN107305432A (en) 2017-10-31

Family

ID=60150246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610261321.6A CN107305432A (en) 2016-04-25 2016-04-25 A kind of terminal and the method for touch feedback, device are realized in terminal

Country Status (2)

Country Link
CN (1) CN107305432A (en)
WO (1) WO2017185502A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008033739A (en) * 2006-07-31 2008-02-14 Sony Corp Touch screen interaction method and apparatus based on tactile force feedback and pressure measurement
JP2011048685A (en) * 2009-08-27 2011-03-10 Kyocera Corp Input apparatus
JP2011048606A (en) * 2009-08-27 2011-03-10 Kyocera Corp Input device
US8892162B2 (en) * 2011-04-25 2014-11-18 Apple Inc. Vibration sensing system and method for categorizing portable device context and modifying device operation
CN103246379A (en) * 2012-02-10 2013-08-14 联想移动通信科技有限公司 Touch feedback method and device, and wireless terminal
US8896524B2 (en) * 2012-08-24 2014-11-25 Immersion Corporation Context-dependent haptic confirmation system

Also Published As

Publication number Publication date
WO2017185502A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
JP6553136B2 (en) System and method for multi-pressure interaction on touch sensitive surface
JP6158406B2 (en) System for enabling video capture of interactive applications on mobile devices
JP2019036348A (en) Interactivity model for shared feedback on mobile devices
JP6598915B2 (en) Context-sensitive haptic confirmation system
US20180136732A1 (en) Systems and Methods for Visual Processing of Spectrograms to Generate Haptic Effects
JP2017174446A (en) Systems and methods for using textures in graphical user interface widgets
CN104471521B (en) For providing the equipment, method and graphic user interface of feedback for the state of activation for changing user interface object
KR101946365B1 (en) Display device and Method for controlling the same
JP2019050003A (en) Simulation of tangible user interface interactions and gestures using array of haptic cells
JP2017168121A (en) Information processing method
CN104487927B (en) For selecting the equipment, method and graphic user interface of user interface object
JP2016015140A (en) Systems and methods for surface elements that provide electrostatic haptic effects
JP2019114270A (en) System and method for performing haptic conversion
Karam A taxonomy of gestures in human computer interactions
CN101819462B (en) Image texture haptic representation system based on force/haptic interaction equipment
KR100744902B1 (en) Mobile wireless manipulator
WO2012056960A1 (en) Content display device and content display method
US20140098038A1 (en) Multi-function configurable haptic device
US20130050069A1 (en) Method and system for use in providing three dimensional user interface
US10191562B2 (en) Pointing system, pointing device, and pointing control method
US20110267294A1 (en) Apparatus and method for providing tactile feedback for user
US20120057806A1 (en) User interface with three dimensional user input
US9250799B2 (en) Control method for information input device, information input device, program therefor, and information storage medium therefor
JP3847641B2 (en) Information processing apparatus, information processing program, computer-readable recording medium storing information processing program, and information processing method
CN102449590B (en) Dual pointer management method using cooperating input sources and efficient dynamic coordinate remapping

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination