CN-122018719-A - Interaction method, device, equipment, medium and program product with touch pen
Abstract
The embodiment of the application provides an interaction method, device, equipment, medium and program product with a touch control pen, and particularly relates to the technical field of touch control equipment. The method comprises the steps of determining a screen false touch area based on the contact point position of a touch pen and a target holding mode when the touch pen enters the target holding mode, enabling a non-pen-holding finger to automatically cover or hover due to holding gesture when a user holds the touch pen, enabling the touch pen to delay responding or not responding to a touch event when a touch event of the user finger in the false touch area is detected, and enabling the touch pen to switch to the target holding mode when the pressure film structure detects and judges that the born pressure distribution characteristics meet the pressure distribution characteristics corresponding to the preset target holding mode. Based on the pressure film structure, the diversified holding mode activation mechanism of the touch pen is realized by combining with other sensors, so that the effect of reducing the occupation of the internal space of the touch pen while realizing function expansion is achieved.
Inventors
- ZHANG YANG
Assignees
- 南昌华勤电子科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251231
Claims (10)
- 1. An interaction method with a stylus, wherein an outer wall of the stylus is provided with a pressure film structure, and the pressure film structure is used for detecting pressure signals born by different areas of the outer wall of the stylus, the method comprising: When the touch pen enters a target holding mode, determining a screen false touch area based on the contact point position of the touch pen and the target holding mode, wherein the false touch area is a screen area where a user generates unintended contact due to the fact that a finger of the user which does not hold the pen is naturally covered or hovered due to the holding gesture when the user holds the touch pen; When a touch event of a user finger in the false touch area is detected, delaying response or not responding to the touch event; and when the pressure film structure detects and judges that the born pressure distribution characteristics meet the pressure distribution characteristics corresponding to the preset target holding mode, the touch pen is switched to the target holding mode.
- 2. The method according to claim 1, wherein the method further comprises: Judging whether the touch event is a false touch event or not in a preset delay period; And if the touch event is judged to be a false touch event, not responding to the touch event, otherwise, responding to the touch event after the preset delay period is finished, wherein the duration of the preset delay period is determined according to the communication mode between the touch pen and the terminal equipment provided with the screen.
- 3. The method according to claim 1, wherein the method further comprises: When the touch pen enters an eraser mode, the screen is switched to a locking state, in the locking state, application switching operation and application exiting operation are forbidden to be executed, and when the touch pen detects and judges that the pressure distribution characteristics born by the tail area of the touch pen accord with the pressure distribution characteristics corresponding to the preset eraser mode through the pressure film structure, the touch pen is switched to the eraser mode.
- 4. The method according to claim 1, wherein the method further comprises: The touch control pen is in any holding mode, is in contact with the screen, the relative position between the touch control pen and a corresponding contact area of the screen is kept unchanged in a preset time period after the touch control pen is in contact with the screen, and the touch control pen is switched to the first copying mode when the pressure film structure detects and judges that the born pressure meets a preset first pressure condition.
- 5. The method according to claim 4, wherein the method further comprises: And under the condition that the touch pen is in a first copying mode, if the pressure film structure detects that the pressure born by the touch pen meets a preset third pressure condition and the touch pen is contacted with the screen again from the air, displaying a copying buffer area on the screen, wherein the copying buffer area is used for storing the content to be copied.
- 6. The method according to claim 4, wherein the method further comprises: And when the touch pen is in any holding mode, the touch pen is not contacted with the screen, and the pressure film structure detects and judges that the born pressure meets the preset second pressure condition, the touch pen is switched to the second copying mode.
- 7. The method according to claim 4, wherein the method further comprises: After the touch control pen enters the first copying mode and selects content to be copied, if drag operation of a user on the screen is detected, moving the selected content to be copied on the screen based on a track of the drag operation, wherein the drag operation comprises continuous movement of the user on the screen through the touch control pen; In the dragging operation process, if a touch event of a user finger on the screen is detected, and the touch position of the touch event corresponds to an icon or an interface element of a target application program, the target application program is started, a copy buffer area is displayed on the screen through a popup window, and the copy buffer area is used for storing the content to be copied.
- 8. An interaction device with a stylus, characterized in that an outer wall of the stylus is provided with a pressure membrane structure for detecting pressure signals borne by different areas of the outer wall of the stylus, the device comprising: The device comprises a determining module, a touch control module and a display module, wherein the determining module is used for determining a screen false touch area based on the contact point position of the touch control pen and the target holding mode when the touch control pen enters the target holding mode, wherein the false touch area is a screen area which is generated by the fact that a non-pen-holding finger of a user automatically covers or hovers due to holding gesture when the user holds the touch control pen; And the touch pen is switched to the target holding mode when the pressure distribution characteristics born by the touch pen are detected and judged to be in accordance with the pressure distribution characteristics corresponding to the preset target holding mode through the pressure film structure.
- 9. An interaction device with a stylus is characterized by comprising a memory and a processor; The memory stores computer-executable instructions; The processor executing computer-executable instructions stored in the memory, causing the processor to perform the method of any one of claims 1-7.
- 10. A computer-readable storage medium or computer program product comprising, The computer readable storage medium having stored therein computer executable instructions which, when executed by a processor, are adapted to implement the method of any of claims 1-7, or, The computer program product comprising a computer program which, when executed by a processor, implements the method of any of claims 1-7.
Description
Interaction method, device, equipment, medium and program product with touch pen Technical Field The present application relates to the field of touch devices, and in particular, to a method, an apparatus, a device, a medium, and a program product for interacting with a stylus. Background Currently, the main-stream brand touch control pen mostly uses an inductive pressure sensor to identify the writing force of a user, and the principle of the sensor is to realize pressure sensing by detecting pressure change generated when a pen point is contacted with a screen. The interaction mode of the conventional touch control pen is limited by the type of a sensor and the design of hardware, and the diversified requirements of users on interaction experience are difficult to meet. Disclosure of Invention The embodiment of the application provides an interaction method, device, equipment, medium and program product with a touch pen, which are used for achieving the effect of reducing the occupation of the internal space of the touch pen while realizing function expansion. In a first aspect, an embodiment of the present application provides a method for interacting with a stylus, where an outer wall of the stylus is provided with a pressure film structure, and the pressure film structure is configured to detect pressure signals born by different areas of the outer wall of the stylus, where the method includes: When the touch pen enters a target holding mode, determining a screen false touch area based on the contact point position of the touch pen and the target holding mode, wherein the false touch area is a screen area where a user generates unintended contact due to the fact that a finger of the user which does not hold the pen is naturally covered or hovered due to the holding gesture when the user holds the touch pen; When a touch event of a user finger in the false touch area is detected, delaying response or not responding to the touch event; and when the pressure film structure detects and judges that the born pressure distribution characteristics meet the pressure distribution characteristics corresponding to the preset target holding mode, the touch pen is switched to the target holding mode. In one possible embodiment, the method further comprises: Judging whether the touch event is a false touch event or not in a preset delay period; And if the touch event is judged to be a false touch event, not responding to the touch event, otherwise, responding to the touch event after the preset delay period is finished, wherein the duration of the preset delay period is determined according to the communication mode between the touch pen and the terminal equipment provided with the screen. In one possible embodiment, the method further comprises: When the touch pen enters an eraser mode, the screen is switched to a locking state, in the locking state, application switching operation and application exiting operation are forbidden to be executed, and when the touch pen detects and judges that the pressure distribution characteristics born by the tail area of the touch pen accord with the pressure distribution characteristics corresponding to the preset eraser mode through the pressure film structure, the touch pen is switched to the eraser mode. In one possible embodiment, the method further comprises: The touch control pen is in any holding mode, is in contact with the screen, the relative position between the touch control pen and a corresponding contact area of the screen is kept unchanged in a preset time period after the touch control pen is in contact with the screen, and the touch control pen is switched to the first copying mode when the pressure film structure detects and judges that the born pressure meets a preset first pressure condition. In one possible embodiment, the method further comprises: And under the condition that the touch pen is in a first copying mode, if the pressure film structure detects that the pressure born by the touch pen meets a preset third pressure condition and the touch pen is contacted with the screen again from the air, displaying a copying buffer area on the screen, wherein the copying buffer area is used for storing the content to be copied. In one possible embodiment, the method further comprises: And when the touch pen is in any holding mode, the touch pen is not contacted with the screen, and the pressure film structure detects and judges that the born pressure meets the preset second pressure condition, the touch pen is switched to the second copying mode. In one possible embodiment, the method further comprises: After the touch control pen enters the first copying mode and selects content to be copied, if drag operation of a user on the screen is detected, moving the selected content to be copied on the screen based on a track of the drag operation, wherein the drag operation comprises continuous movement of the user on the screen through the touch control pen; In the dra