CN105786389A - Method for simulating touch pressure to enhance touch experience - Google Patents
Method for simulating touch pressure to enhance touch experience Download PDFInfo
- Publication number
- CN105786389A CN105786389A CN201610153511.6A CN201610153511A CN105786389A CN 105786389 A CN105786389 A CN 105786389A CN 201610153511 A CN201610153511 A CN 201610153511A CN 105786389 A CN105786389 A CN 105786389A
- Authority
- CN
- China
- Prior art keywords
- touch
- android device
- touch screen
- contact
- event
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/041—Indexing scheme relating to G06F3/041 - G06F3/045
- G06F2203/04105—Pressure sensors for measuring the pressure or force exerted on the touch surface without providing the touch position
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The invention discloses a method for simulating touch pressure to enhance touch experience.The method involves a touch screen and an android device electrically connected with the touch screen.The touch screen is used for recognizing an external touch event and transmitting the command represented by the touch event to the android device.The android device is internally provided with a touch screen drive corresponding to the touch screen and responds to and processes the command corresponding to the touch event.By detecting the width and height of a touch point, the touch screen reflects and judges the magnitude of the pressure of a user during operation and rapidly responds to the long-press operation of the user through the change of the magnitude of the pressure.
Description
Technical field
The present invention relates to Android and touch screen field thereof, particularly relate to a kind of simulated touch pressure and strengthen the method touching experience.
Background technology
Existing touch screen, is substantially all the coordinate that simply can recognise that contact, does not have the sensor identifying touch pressure, but touching in driving of android has force value.Android system require over long by the menu responding ejection operation.The long operation pressed, it is determined that time longer, it is generally required to 0.5s, but increased by force value and be judged to that user is intended to carry out growing the words by operation, it is possible to allow response time substantially shorten, about shorten to 0.2s.And existing touch screen do not strengthened by force value judge with the head of a household by related Control System and technology, this to touch screen length by realization and operation bring many troubles.
In order to strengthen Consumer's Experience by detecting touch event pressure, this is accomplished by touch screen and to add Pressure identification at hardware aspect, and this will increase many costs, it is possible to considers to consider from another one direction, carrys out reaction pressure force value by other value.This value is exactly the size of contact, is embodied in (at least infrared touch panel is width and the height that can detect contact in the market) above the width of contact and height in the process of data transmission.The two value is more big, is that can to react user's pressure when operation more big, therefore can identify the size of touch pressure with this, and is quickly responded the long operation pressed by the change of pressure.
Summary of the invention
For the weak point that prior art exists, it is an object of the invention to provide a kind of simulated touch pressure and strengthen the method touching experience, touch screen is reacted by the width and two values of height detecting contact and judges user's pressure size when operation, and quickly responds the length of user by operation by the change of pressure size.
The purpose of the present invention is achieved through the following technical solutions:
A kind of simulated touch pressure strengthens the method touching experience, including touch screen and the Android device that electrically connects with touch screen, touch screen is for identifying external touch event and the order representated by touch event being transferred to Android device, the touch screen in Android device with corresponding touch screen drives, Android device responds and processes the order corresponding to touch event, and its method is as follows:
A, the width increasing detection contact in touch screen and height devices, when there being touch event to produce every time, touch screen will produce to interrupt, and then sends width and the elevation information of contact to Android device;
B, Android device touch screen drive receive the touch information coming from touch screen, touch information includes width and the elevation information of contact in step A;Height and the width information of contact are directly converted into force value by Android device, and submit to input subsystem;
The force value that C, Android device are converted in recording step B in the touch information frequency of one or more reception contacts, Android device input subsystem according to force value situation of change and corresponding database operation process the touch event judging touch screen be short by, long by or double-click.
As a kind of advantageous applications in the present invention, utilizing the inventive method to respond the length of user by Action Events, more specifically preferred flow method is as follows for it:
Described step B particularly as follows:
Having Linux in B1, Android device to drive, the Linux of Android device drives after starting, and height and the width information of contact are directly converted into force value and transmit to LinuxInput system by Android device;
Force value after touch event step B1 conversion and touch information are issued the input subsystem of Android device by the LinuxInput system in B2, Android device;
Described step C particularly as follows:
The force value that C1, Android device input subsystem are converted in recording step B in the touch information frequency of one or more reception contacts, and first determine whether that whether force value is in quick increase, judge if it is, enter step C2;If it is not, then stop;
C2, then judge whether the contact position of touch screen is moving, judge if it is not, then enter step C3;If it is, stop;
C3, judge that the contact sizes of touch screen is not whether in change, if it is, Android device judges that touch event is as growing by event and responding this length by event command;If it is not, then stop.
The Android of the present invention sets the frequency that receives contact touch information as 60Hz.
It is as follows that the present invention carries out the operation principle after following design improves for conventional touch screen:
1) first amendment touch screen hardware sends the form of data, increases the width and elevation information that send contact.When there being touch event to produce every time, touch screen will produce to interrupt, and then sends width and the elevation information of subsidiary contact to Android device.
2) touch screen of Android device drives and have received touch information, and wherein touch information has attached width and the height of contact.The linux of android drives the macrodefinition being to describe contact information, linux drive it appeared that android contact is processed into one oval, there is major axis and short axle.For simplicity, it is possible in Android device, the height of contact and width are directly converted into force value, are then forwarded to input subsystem.Like this, the change of conventional touch screen is minimum, also compare the debugging being easy to the later stage.
3) touch event (include long by) is just sent to the input subsystem of android from driving layer.After Android device receives contact information, can by information reporting to View.
4) how to press for long according to force value response, first the surface of finger is arc, when just coming into contact with touch screen, contact is only small, when then firmly pressing, contact can quickly increase, and will not move in the mistake increased, and to a certain degree can keep only small a period of time increasing to, then discharge.In Android end (i.e. Android device), the frequency receiving contact information is usually at 60Hz, the words heavily pressed, can just completely may determine that out in 10 information, like this, the time of response should be 10/60=0.16s, not over 0.2s.Than traditional approach, the long response events (being usually 0.5s) pressed is many soon, so can be better in touching experience.
It is long as follows by the flow and method of event that the present invention is used in response:
A, the width increasing detection contact in touch screen and height devices, when there being touch event to produce every time, touch screen will produce to interrupt, and then sends width and the elevation information of contact to Android device;
Having Linux in B1, Android device to drive, the Linux of Android device drives after starting, and height and the width information of contact are directly converted into force value and transmit to LinuxInput system by Android device;
Force value after touch event step B1 conversion and touch information are issued the input subsystem of Android device by the LinuxInput system in B2, Android device;
The force value that C1, Android device input subsystem are converted in recording step B in the touch information frequency of one or more reception contacts, and first determine whether that whether force value is in quick increase, judge if it is, enter step C2;If it is not, then stop;
C2, then judge whether the contact position of touch screen is moving, judge if it is not, then enter step C3;If it is, stop;
C3, judge that the contact sizes of touch screen is not whether in change, if it is, Android device judges that touch event is as growing by event and responding this length by event command;If it is not, then stop.
The present invention compared with the prior art, has the following advantages and beneficial effect:
Inventive touch screen is reacted by the width and two values of height detecting contact and judges user's pressure size when operation, and quickly responds the length of user by operation by the change of pressure size.
Accompanying drawing explanation
Fig. 1 is the structural representation of the present invention.
Detailed description of the invention
Below in conjunction with embodiment, the present invention is described in further detail:
Embodiment one
A kind of simulated touch pressure strengthens the method touching experience, including touch screen and the Android device that electrically connects with touch screen, touch screen is for identifying external touch event and the order representated by touch event being transferred to Android device, the touch screen in Android device with corresponding touch screen drives, Android device responds and processes the order corresponding to touch event, and its method is as follows:
A, the width increasing detection contact in touch screen and height devices, when there being touch event to produce every time, touch screen will produce to interrupt, and then sends width and the elevation information of contact to Android device;
B, Android device touch screen drive receive the touch information coming from touch screen, touch information includes width and the elevation information of contact in step A;Height and the width information of contact are directly converted into force value by Android device, and submit to input subsystem;
The force value that C, Android device are converted in recording step B in the touch information frequency of one or more reception contacts, Android device input subsystem according to force value situation of change and corresponding database operation process the touch event judging touch screen be short by, long by or double-click.
The preferred Android of the present embodiment sets the frequency that receives contact touch information as 60Hz.
Embodiment two
As shown in Figure 1, a kind of simulated touch pressure strengthens the method touching experience, including touch screen and the Android device that electrically connects with touch screen, touch screen is for identifying external touch event and the order representated by touch event being transferred to Android device, the touch screen in Android device with corresponding touch screen drives, Android device responds and processes the order corresponding to touch event, as a kind of advantageous applications in the present invention, utilizing the inventive method to respond the length of user by Action Events, more specifically preferred flow method is as follows for it:
A, the width increasing detection contact in touch screen and height devices, when there being touch event to produce every time, touch screen will produce to interrupt, and then sends width and the elevation information of contact to Android device;
Having Linux in B1, Android device to drive, the Linux of Android device drives after starting, and height and the width information of contact are directly converted into force value and transmit to LinuxInput system by Android device;
Force value after touch event step B1 conversion and touch information are issued the input subsystem of Android device by the LinuxInput system in B2, Android device;
The force value that C1, Android device input subsystem are converted in recording step B in the touch information frequency of one or more reception contacts, and first determine whether that whether force value is in quick increase, judge if it is, enter step C2;If it is not, then stop;
C2, then judge whether the contact position of touch screen is moving, judge if it is not, then enter step C3;If it is, stop;
C3, judge that the contact sizes of touch screen is not whether in change, if it is, Android device judges that touch event is as growing by event and responding this length by event command;If it is not, then stop.
The preferred Android of the present embodiment sets the frequency that receives contact touch information as 60Hz.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.
Claims (3)
1. a simulated touch pressure strengthens the method touching experience, it is characterized in that: include touch screen and the Android device electrically connected with touch screen, touch screen is for identifying external touch event and the order representated by touch event being transferred to Android device, the touch screen in Android device with corresponding touch screen drives, Android device responds and processes the order corresponding to touch event, and its method is as follows:
A, the width increasing detection contact in touch screen and height devices, when there being touch event to produce every time, touch screen will produce to interrupt, and then sends width and the elevation information of contact to Android device;
B, Android device touch screen drive receive the touch information coming from touch screen, touch information includes width and the elevation information of contact in step A;Height and the width information of contact are directly converted into force value by Android device, and submit to input subsystem;
The force value that C, Android device are converted in recording step B in the touch information frequency of one or more reception contacts, Android device input subsystem according to force value situation of change and corresponding database operation process the touch event judging touch screen be short by, long by or double-click.
2. a kind of simulated touch pressure described in claim 1 strengthens and touches the method experienced, it is characterised in that: described step B particularly as follows:
Having Linux in B1, Android device to drive, the Linux of Android device drives after starting, and height and the width information of contact are directly converted into force value and transmit to LinuxInput system by Android device;
Force value after touch event step B1 conversion and touch information are issued the input subsystem of Android device by the LinuxInput system in B2, Android device;
Described step C particularly as follows:
The force value that C1, Android device input subsystem are converted in recording step B in the touch information frequency of one or more reception contacts, and first determine whether that whether force value is in quick increase, judge if it is, enter step C2;If it is not, then stop;
C2, then judge whether the contact position of touch screen is moving, judge if it is not, then enter step C3;If it is, stop;
C3, judge that the contact sizes of touch screen is not whether in change, if it is, Android device judges that touch event is as growing by event and responding this length by event command;If it is not, then stop.
3. a kind of simulated touch pressure described in claim 1 strengthens and touches the method experienced, it is characterised in that: described Android sets the frequency that receives contact touch information as 60Hz.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610153511.6A CN105786389A (en) | 2016-03-17 | 2016-03-17 | Method for simulating touch pressure to enhance touch experience |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610153511.6A CN105786389A (en) | 2016-03-17 | 2016-03-17 | Method for simulating touch pressure to enhance touch experience |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105786389A true CN105786389A (en) | 2016-07-20 |
Family
ID=56393927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610153511.6A Pending CN105786389A (en) | 2016-03-17 | 2016-03-17 | Method for simulating touch pressure to enhance touch experience |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105786389A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112416829A (en) * | 2020-11-25 | 2021-02-26 | 福州富昌维控电子科技有限公司 | Method for transmitting data to HMI (human machine interface) and USB HID (Universal Serial bus) equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102221932A (en) * | 2011-06-29 | 2011-10-19 | 华为终端有限公司 | Touch screen command input method and user equipment |
CN103135818A (en) * | 2011-11-28 | 2013-06-05 | 联想(北京)有限公司 | Quick response operation method and electronic equipment |
CN103620536A (en) * | 2012-07-30 | 2014-03-05 | 华为终端有限公司 | Touch event reporting method, device and mobile terminal |
WO2014113923A1 (en) * | 2013-01-22 | 2014-07-31 | 华为终端有限公司 | Touchscreen-based physical button simulation method and device |
CN104714741A (en) * | 2013-12-11 | 2015-06-17 | 北京三星通信技术研究有限公司 | Method and device for touch operation |
CN105022561A (en) * | 2014-04-30 | 2015-11-04 | 中国电信股份有限公司 | Touch screen control apparatus and method and mobile terminal |
-
2016
- 2016-03-17 CN CN201610153511.6A patent/CN105786389A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102221932A (en) * | 2011-06-29 | 2011-10-19 | 华为终端有限公司 | Touch screen command input method and user equipment |
CN103135818A (en) * | 2011-11-28 | 2013-06-05 | 联想(北京)有限公司 | Quick response operation method and electronic equipment |
CN103620536A (en) * | 2012-07-30 | 2014-03-05 | 华为终端有限公司 | Touch event reporting method, device and mobile terminal |
WO2014113923A1 (en) * | 2013-01-22 | 2014-07-31 | 华为终端有限公司 | Touchscreen-based physical button simulation method and device |
CN104714741A (en) * | 2013-12-11 | 2015-06-17 | 北京三星通信技术研究有限公司 | Method and device for touch operation |
CN105022561A (en) * | 2014-04-30 | 2015-11-04 | 中国电信股份有限公司 | Touch screen control apparatus and method and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112416829A (en) * | 2020-11-25 | 2021-02-26 | 福州富昌维控电子科技有限公司 | Method for transmitting data to HMI (human machine interface) and USB HID (Universal Serial bus) equipment |
CN112416829B (en) * | 2020-11-25 | 2021-06-29 | 福州富昌维控电子科技有限公司 | Method for transmitting data to HMI (human machine interface) and USB HID (Universal Serial bus) equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103135818B (en) | Quick operation response method and electronic equipment | |
CN101464750B (en) | Method for gesture recognition through detecting induction area of touch control panel | |
CN101551723B (en) | Electronic device and related control method | |
US20100271326A1 (en) | Method for operating electronic device using touch pad | |
JP2019121396A (en) | Device and method for dynamically associating user input with mobile device operation | |
US20180365086A1 (en) | Method for Processing Data Collected by Touch Panel, and Terminal Device | |
US20160239149A1 (en) | Method of identifying touch gesture and touch system | |
CN102411439B (en) | Stylus modes | |
TWI653569B (en) | Active pen signal identification method applied to capacitive touch panel | |
CN101382856A (en) | Apparatus and method for implementing USB HID MOUSE function on touching device | |
KR20130099745A (en) | Interface apparatus and method for touch generated in terminal of touch input | |
WO2015131675A1 (en) | Compensation method for broken slide paths, electronic device and computer storage medium | |
WO2012075821A1 (en) | Overlapped handwriting input method | |
JP2013514590A5 (en) | ||
CN103176670A (en) | Touch display panel and driving method thereof | |
CN102768595B (en) | A kind of method and device identifying touch control operation instruction on touch-screen | |
CN205068294U (en) | Human -computer interaction of robot device | |
CN105022561A (en) | Touch screen control apparatus and method and mobile terminal | |
CN110794989A (en) | Key response method and electronic equipment | |
CN103076888A (en) | KVM (Kernel-based Virtual Machine) equipment and method for calling OSD (On-screen Display) for channel switching by USB (Universal Serial Bus) keyboard in KVM equipment | |
CN105786389A (en) | Method for simulating touch pressure to enhance touch experience | |
CN105335086A (en) | Touch screen operation method and apparatus | |
US9772699B2 (en) | Touch control system and touch control method and computer system of the same | |
CN103885707A (en) | Multi-touch technology based human-computer interaction method and remote controller | |
KR20190038422A (en) | Methods and apparatus to detect touch input gestures |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160720 |