Configuration method and device of touchpad

By identifying and responding to user touch control operations, automatically configuring the parameters of the touchpad area, solving the problem of low configuration efficiency in the prior art, and achieving a fast response and efficient touch control operation experience.

CN118916111APending Publication Date: 2024-11-08LENOVO (BEIJING) LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411035433.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the prior art, the touchpad area configured to display screens is less efficient, cannot be quickly configured, and cannot quickly respond to users' touch operation needs.

Method used

By identifying the type and conditions of the first touch operation, the target parameters of the touchpad area, including mode, position and size parameters, are automatically configured to adjust according to user operations, and improve configuration efficiency.

Benefits of technology

It realizes rapid configuration of the touchpad area, improves user's convenience and efficiency of operation, adapts to the operating habits of different touch objects, and reduces the user's need for manual configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916111A_ABST
    Figure CN118916111A_ABST
Patent Text Reader

Abstract

The invention discloses a configuration method and device for a touch panel, and the method comprises the steps: responding to a first touch operation, and determining the operation type of the first touch operation; and according to the first touch operation, configuring a target parameter of a touchpad area corresponding to the operation type, wherein the touchpad area is displayed on a display screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of touch panels, and in particular to a configuration method and device for a touch panel. Background Art

[0002] A touchpad (also called a TouchPad or TrackPad) is an input module widely used in various electronic devices, usually in laptops. A touchpad can detect a touch operation of a touch object (such as a user's finger or a stylus) on the touchpad, and based on the touch operation, control the movement of a target object (such as a cursor or pointer) on the display screen of the electronic device, thereby operating the display content of the display screen through the target object.

[0003] Some electronic devices with a touch screen may use a portion of the screen as a touchpad area, and implement a touchpad function according to a touch operation acting on the touchpad area.

[0004] In the related art, when configuring the touchpad area displayed on the screen, the user needs to specify the specific parameters to be configured, and then the electronic device configures the specific parameters. This configuration method is inefficient and cannot quickly configure the touchpad area. Summary of the invention

[0005] To this end, this application discloses the following technical solutions:

[0006] A first aspect of the present application provides a touch panel configuration method, comprising:

[0007] In response to a first touch operation, determining an operation type of the first touch operation;

[0008] A target parameter of a touch panel area corresponding to the operation type is configured according to the first touch operation, and the touch panel area is displayed on a display screen.

[0009] Optionally, the first touch operation includes an operation for triggering display of the touch panel area on a display screen;

[0010] The target parameters include mode parameters of the touch panel area;

[0011] The configuring, according to the first touch operation, a target parameter of the touch panel area corresponding to the operation type comprises:

[0012] In a case where it is determined that the first touch operation satisfies a first condition, determining the first mode as a target mode;

[0013] When it is determined that the first touch operation satisfies a second condition, determining the second mode as a target mode;

[0014] configuring a touchpad area in the target mode on the display screen;

[0015] In different modes, the same touch operation acting on the touch panel area is recognized as different operation instructions.

[0016] Optionally, the first condition includes that the first touch operation is performed by a first touch object;

[0017] In the first mode, a click operation on the lower right side of the touchpad area is recognized as a right-click instruction of a mouse, and a click operation on the lower left side of the touchpad area is recognized as a left-click instruction of a mouse;

[0018] The second condition includes that the first touch operation is performed by a second touch object;

[0019] In the second mode, a click operation on the lower left of the touchpad area is recognized as a right-click instruction of a mouse, and a click operation on the lower right of the touchpad area is recognized as a left-click instruction of a mouse.

[0020] Optionally, the first touch operation corresponds to multiple touch points;

[0021] The determining that the first touch operation satisfies a first condition includes:

[0022] determining, according to coordinate data of a plurality of touch points corresponding to the first touch operation, that the first touch operation satisfies a first condition;

[0023] The determining that the first touch operation satisfies a second condition includes:

[0024] It is determined that the first touch operation satisfies a second condition according to coordinate data of a plurality of touch points corresponding to the first touch operation.

[0025] Optionally, also include:

[0026] A first graphic interface corresponding to the target mode is displayed in the touch panel area, and the first graphic interface indicates that the target mode is the first mode or the second mode.

[0027] Optionally, the first touch operation includes a sliding operation acting on a touch panel area displayed on the display screen;

[0028] The target parameter includes at least one of a position parameter and a size parameter of the touch pad area;

[0029] The configuring, according to the first touch operation, a target parameter of the touch panel area corresponding to the operation type comprises:

[0030] At least one of the position parameter and the size parameter of the touch panel area is updated according to the first touch operation, so that the touch panel area displayed on the display screen is adjusted to follow the track of the first touch operation.

[0031] Optionally, updating at least one of a position parameter and a size parameter of the touch panel area according to the first touch operation includes:

[0032] Determining a sliding parameter corresponding to the first touch operation, where the sliding parameter includes at least one of a sliding direction parameter and a sliding speed parameter of the first touch operation;

[0033] updating the position parameter of the touch panel area according to the correction amount corresponding to the sliding parameter, so that the position of the touch panel area moves along the trajectory of the first touch operation;

[0034] or,

[0035] The size parameter of the touch panel area is updated according to the correction amount corresponding to the sliding parameter, so that the size of the touch panel area extends along the trajectory of the first touch operation.

[0036] Optionally, the first touch operation includes a sliding operation acting on a touch panel area displayed on the display screen;

[0037] The target parameters include size parameters of the touch pad area;

[0038] The configuring, according to the first touch operation, a target parameter of the touch panel area corresponding to the operation type comprises:

[0039] configuring size parameters of the touch panel area according to the first touch operation and gaze data;

[0040] The gaze data indicates that the touch pad area has a first size parameter when the display screen is being gazed at, and the gaze data indicates that the touch pad area has a second size parameter when the display screen is not being gazed at, the second size parameter corresponds to the size parameter of the display screen, and the first size parameter is smaller than the second size parameter.

[0041] Optionally, the gaze data indicates that the touch panel area has a first transparency parameter when the display screen is gazed at;

[0042] The gaze data indicates that the touch panel area has a second transparency parameter when the display screen is not being gazed at;

[0043] The first transparency parameter is smaller than the second transparency parameter.

[0044] A second aspect of the present application provides a touch panel configuration device, comprising:

[0045] a determining unit, configured to determine, in response to a first touch operation, an operation type of the first touch operation;

[0046] A configuration unit is used to configure a target parameter of a touch panel area corresponding to the operation type according to the first touch operation, and the touch panel area is displayed on a display screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0048] Figure 1 is a flow chart of a touch panel configuration method provided in an embodiment of the present application;

[0049] Figure 2 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0050] Figure 3 This is a schematic diagram of the positions of touch points when three fingers of the left hand and the right hand are touching according to an embodiment of the present application;

[0051] Figure 4 This is a schematic diagram of the relationship between the contact points of different fingers during three-finger touch of the left hand and the right hand provided in an embodiment of the present application;

[0052] Figure 5 is a schematic diagram of a first graphical interface provided in an embodiment of the present application;

[0053] Figure 6 is a schematic diagram of a touch panel area moving following a first touch operation provided by an embodiment of the present application;

[0054] Figure 7 is a schematic diagram of a touch panel area size extending following a first touch operation provided by an embodiment of the present application;

[0055] Figure 8 is a schematic diagram of a touch panel area when a display screen is touched but not being looked at, provided by an embodiment of the present application;

[0056] Fig. 9 is a schematic diagram of a touch panel area when a display screen is touched and looked at, provided by an embodiment of the present application;

[0057] Fig.10 It is a structural schematic diagram of a touch panel configuration device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0059] The present application embodiment provides a touch panel configuration method, see Figure 1 , is a flow chart of the method, and the method may include the following steps.

[0060] S101: In response to a first touch operation, determine an operation type of the first touch operation.

[0061] The execution subject of this embodiment may be any electronic device capable of displaying a touch panel area on a display screen.

[0062] Optionally, the method provided in this embodiment can be executed by any processor of the electronic device, which can be a central processing unit (CPU), a system on chip (System on Chip, SoC), or a microcontroller unit (Microcontroller Unit, MCU) specifically used to control the touch panel area displayed on the display screen.

[0063] As an example, see Figure 2 The electronic device may include two display screens, namely a first screen and a second screen. The first screen and the second screen are connected by a connecting structure (such as a hinge structure), and the first screen and the second screen can rotate relative to each other.

[0064] The first screen may be a touch screen with a touch function, and the electronic device may display a touchpad area on the first screen. When a touch operation acting on the touchpad area is obtained, the electronic device may recognize the touch operation as a mouse operation instruction, such as recognizing the operation of clicking the touchpad area as a left or right click instruction of the mouse, and recognizing the sliding operation within the touchpad area as a mouse movement instruction, etc., and then control the content displayed on the second screen based on the mouse operation instruction, such as moving the cursor, object or application icon displayed on the second screen, opening the file or application displayed on the second screen, etc.

[0065] As another example, the electronic device may also be an electronic device including a display screen. In this case, when the electronic device obtains a touch operation acting in the touch pad area, the content displayed outside the touch pad area may be controlled in the aforementioned manner; or the electronic device may be connected to other electronic devices for communication, and then control the content displayed on the display screen of the other electronic device in the aforementioned manner.

[0066] In this embodiment, the first touch operation can be divided into two categories according to different functions. The first category is an operation for triggering the display of a touchpad area on the display screen (referred to as a wake-up operation), and the second category is a sliding operation acting on the touchpad area displayed on the display screen.

[0067] The electronic device may determine the type of the first touch operation according to the number of touch points corresponding to the first touch operation.

[0068] Generally, when a user performs a sliding operation, there are usually less than a predetermined number of touch points on the screen, such as one touch point or two touch points, and the wake-up operation is generally configured as a specific multi-touch operation, such as three touch points or more than three touch points. Therefore, if the electronic device recognizes that the first touch operation corresponds to only one touch point and the touch point is located in the touchpad area, it is determined that the first touch operation belongs to the aforementioned second type of operation; if it is recognized that the first touch operation corresponds to multiple touch points, and the number of contacts is consistent with the number corresponding to the wake-up operation, it is determined that the first touch operation belongs to the aforementioned first type of operation.

[0069] The electronic device can also determine the type of the first touch operation based on whether the touchpad is currently displayed. If the touchpad is not currently displayed, the first touch operation is an operation to invoke the touchpad; if the touchpad is currently displayed, the first touch operation is an operation to configure the touchpad display parameters.

[0070] by Figure 2 For example, the wake-up operation can be configured as an operation of clicking the screen with three fingers at the same time. In this case, the number of touch points corresponding to the wake-up operation is 3. If the electronic device recognizes that the number of touch points corresponding to the first touch operation is also 3, it can be determined that the first touch operation belongs to the first type of operation mentioned above.

[0071] S102: Configuring target parameters of a touch panel area corresponding to the operation type according to the first touch operation, and displaying the touch panel area on a display screen.

[0072] When the electronic device includes two display screens, the display screen displaying the touch panel area in S102 may be Figure 2 The first screen is shown.

[0073] According to different operation types of the first touch operation, the electronic device can configure different types of target parameters for the touch panel area.

[0074] In this embodiment, if the first touch operation belongs to the first category of operations, the electronic device can configure the mode parameters of the touchpad area according to the first touch operation, and the mode parameters are used to control the touchpad area to be in a specific mode. In different modes, the same touch operation acting on the touchpad area can be recognized by the electronic device as different operation instructions.

[0075] If the first touch operation belongs to the second type of operation, the electronic device may configure at least one of a position parameter and a size parameter of the touch panel area according to the first touch operation.

[0076] The position parameter is used to control the position of the touchpad area displayed on the display screen. By configuring the position parameter to different values, the touchpad area displayed on the display screen can be moved from one position to another. In some examples, the position parameter may include the coordinates of the lower left corner vertex of the touchpad area, or may include the coordinates of the center point of the touchpad area.

[0077] The size parameter is used to control the width and height of the touchpad area. By configuring the size parameter to different values, the size of the touchpad area can be changed.

[0078] The beneficial effects of this embodiment are:

[0079] The electronic device can automatically determine which parameters of the touchpad area to configure based on the operation type of the first touch operation without the user specifying the parameters to be configured. Therefore, the electronic device can configure the parameters of the touchpad area more quickly, thereby improving the configuration efficiency of the touchpad area.

[0080] In some optional embodiments, the first touch operation may include an operation for triggering display of a touch panel area on a display screen, and correspondingly, the target parameter configured in S102 may include a mode parameter of the touch panel area.

[0081] When configuring the mode parameters, the electronic device may configure the mode parameters to different values ​​according to different conditions satisfied by the first touch operation, so that the touch panel area is in different modes.

[0082] For example, the electronic device may configure the mode of the touchpad area as follows:

[0083] When it is determined that the first touch operation satisfies the first condition, determining the first mode as the target mode;

[0084] When it is determined that the first touch operation satisfies the second condition, determining the second mode as the target mode;

[0085] configuring the touchpad area in target mode on the display;

[0086] In different modes, the same touch operation on the touchpad area is recognized as different operation instructions.

[0087] That is, if the first touch operation satisfies the first condition, the electronic device can configure a touch panel area in the first mode on the display screen by configuring the mode parameters, and then when the electronic device obtains a touch operation acting on the touch panel area, the touch operation can be identified based on the first mode;

[0088] If the first touch operation satisfies the second condition, the electronic device can configure a touchpad area in the second mode on the display screen by configuring mode parameters. When the electronic device obtains a touch operation acting on the touchpad area, it can identify the touch operation based on the second mode.

[0089] In some embodiments, the first condition may include that the first touch operation is performed by a first touch object, and the second condition may include that the first touch operation is performed by a second touch object.

[0090] That is to say, if the electronic device recognizes that the first touch operation is a touch operation performed by the user through the first touch object, it is determined that the first touch operation meets the first condition; if it recognizes that the first touch operation is a touch operation performed by the user through the first touch object, it is determined that the first touch operation meets the second condition.

[0091] The first touch object and the second touch object may be different parts of the user's body. For example, the first touch object may be the user's right elbow, and the second touch object may be the user's left elbow; the first touch object may be the user's right foot, and the second touch object may be the user's left foot; the first touch object may be the user's right hand, and the second touch object may be the user's left hand.

[0092] When the first touch operation is performed by the first touch object, the touch panel area in the first mode configured by the electronic device may be the following touch panel area:

[0093] In the touchpad area in the first mode, a click operation applied to the lower right of the touchpad area may be identified as a right-click instruction, and a click operation applied to the lower left of the touchpad area may be identified as a left-click instruction.

[0094] For example, see Figure 5 (1) For the touchpad area in the first mode, if the user clicks the lower right corner of the touchpad area, that is, clicks Figure 5The electronic device obtains a right-click instruction based on the touch operation recognition, and then performs the operation corresponding to the right-click instruction, such as popping up a shortcut operation menu; if the user clicks the lower left corner of the touchpad area, that is, clicks Figure 5 In (1), the electronic device identifies the left-button click instruction based on the touch operation, and then performs the operation corresponding to the left-button click instruction, such as selecting an application or file, or opening the selected application or file.

[0095] When the first touch operation is performed by the second touch object, the touch panel area in the first mode configured by the electronic device may be the following touch panel area:

[0096] In the touchpad area in the second mode, a click operation applied to the lower left of the touchpad area is recognized as a right-click instruction, and a click operation applied to the lower right of the touchpad area is recognized as a left-click instruction.

[0097] For example, see Figure 5 (2) For the touchpad area in the first mode, if the user clicks the lower right corner of the touchpad area, that is, clicks Figure 5 In (2), the electronic device identifies the left-button click instruction based on the touch operation, and then performs the operation corresponding to the left-button click instruction, such as selecting an application or file, or opening the selected application or file; if the user clicks the lower left corner of the touchpad area, that is, clicks Figure 5 In (2), the electronic device identifies the right-click instruction based on the touch operation, and then performs the operation corresponding to the right-click instruction, such as popping up a shortcut operation menu.

[0098] The beneficial effects of this embodiment are:

[0099] Configuring touchpad areas in different modes according to the touch object used by the user when performing the first touch operation can make the operation logic of the touchpad area more consistent with the user's operation habits when using a specific touch object, thereby improving the convenience of the user when performing touch operations in the touchpad area.

[0100] The electronic device may determine whether the first touch operation satisfies the first condition or the second condition in a variety of ways.

[0101] As an embodiment, the electronic device can use a built-in image acquisition module or an external image acquisition module to capture the process of the user performing the first touch operation, and then identify from the captured video whether the object used to perform the first touch operation is the first touch object or the second touch object, thereby determining whether the first touch operation satisfies the first condition or the second condition.

[0102] As another embodiment, when the first touch operation corresponds to multiple touch points, the electronic device can obtain coordinate data of the multiple touch points, and then can determine that the first touch operation satisfies the first condition based on the coordinate data of the multiple touch points corresponding to the first touch operation, or determine that the first touch operation satisfies the second condition based on the coordinate data of the multiple touch points corresponding to the first touch operation.

[0103] The coordinate data of the touch point may include the X coordinate value and the Y coordinate value of the touch point, where Figure 5 As shown in (1), the Y axis can be the coordinate axis in the screen height direction, and the X axis can be the coordinate axis in the screen width direction.

[0104] See also Figure 3 , Figure 3 (1) is a schematic diagram of the positions of pixels on the screen that are in contact with the fingers when the user performs a three-finger click operation using the ring finger, middle finger, and index finger of the left hand, wherein the black squares represent the pixels that are in contact with the fingers, corresponding to the ring finger, middle finger, and index finger of the left hand from left to right;

[0105] Figure 3 (2) is a schematic diagram of the positions of pixels contacted by the fingers when the user performs a three-finger click operation using the ring finger, middle finger and index finger of the right hand, corresponding to the index finger, middle finger and ring finger of the left hand from left to right;

[0106] Figure 3 (3) is a schematic diagram of the positions of pixels contacted by the little finger, ring finger and middle finger of the user's left hand when performing a three-finger click operation, which corresponds to the little finger, ring finger and middle finger of the left hand from left to right;

[0107] Figure 3 (4) is a schematic diagram of the positions of pixels contacted by the fingers when the user performs a three-finger click operation using the little finger, ring finger and middle finger of the right hand, which correspond to the middle finger, ring finger and little finger of the right hand from left to right.

[0108] from Figure 3 It can be seen that for the three-finger click operation, if the contact points of the three fingers touching the screen are recorded as contact point 1, contact point 2 and contact point 3 in order from left to right, then there is the following relationship between the coordinate data of the three contact points and the hand performing the three-finger click operation:

[0109] When performing a three-finger click operation using the ring finger, middle finger, and index finger of the left hand, the coordinate data of the three touch points generally meet Figure 4 The relationship shown in (1) is that in the Y-axis direction, the distance Y12 from contact 1 to contact 2 is smaller than the distance Y23 from contact 2 to contact 3;

[0110] When performing a three-finger click operation using the ring finger, middle finger, and index finger of the right hand, the coordinate data of the three touch points generally meet the requirements. Figure 4 The relationship shown in (2) is that in the Y-axis direction, the distance Y12 from contact 1 to contact 2 is greater than the distance Y23 from contact 2 to contact 3;

[0111] When performing a three-finger click operation using the pinky finger, ring finger, and middle finger of the left hand, the coordinate data of these three touch points generally meet Figure 4 The relationship shown in (3) is that in the Y-axis direction, the distance Y12 from contact 1 to contact 2 is greater than the distance Y23 from contact 2 to contact 3;

[0112] When performing a three-finger click operation using the pinky finger, ring finger, and middle finger of the right hand, the coordinate data of these three touch points generally meet Figure 4 The relationship shown in (4) is that in the Y-axis direction, the distance Y12 from contact 1 to contact 2 is smaller than the distance Y23 from contact 2 to contact 3;

[0113] Furthermore, when a three-finger click operation is performed using the ring finger, middle finger, and index finger, the Y coordinate value of touch point 2 is greater than the Y coordinate values ​​of the other two touch points; when a three-finger click operation is performed using the little finger, ring finger, and middle finger, the Y coordinate value of touch point 1 or touch point 3 is the largest among the three touch points, and the Y coordinate value of touch point 2 is the second largest Y coordinate value among the three touch points, that is, the Y coordinate value of touch point 2 is greater than the Y coordinate value of touch point 1 and less than the Y coordinate value of touch point 3, or the Y coordinate value of touch point 2 is less than the Y coordinate value of touch point 1 and greater than the Y coordinate value of touch point 3.

[0114] According to the above analysis, if the three-finger sliding operation is set as the wake-up operation, and the first touch object is the right hand and the second touch object is the left hand, then the electronic device can process the coordinate data of the touch point corresponding to the first touch operation in the following manner to determine whether the first touch operation is performed by the right hand or the left hand.

[0115] First, determine whether the touch point with the largest Y coordinate value among touch point 1, touch point 2 and touch point 3 is touch point 2. If it is touch point 2, that is, the Y coordinate value of touch point 2 is greater than the Y coordinate values ​​of touch points 1 and 3, then determine that the first touch operation is performed by the ring finger, middle finger and index finger; if it is not touch point 2, then it can be determined that the first touch operation is performed by the little finger, ring finger and middle finger;

[0116] When it is determined that the first touch operation is performed by the ring finger, the middle finger, and the index finger, the distance Y12 between the touch point 1 and the touch point 2 on the Y axis, and the distance Y23 between the touch point 2 and the touch point 3 on the Y axis can be determined according to the coordinate data of the three touch points. If Y12 is less than Y23, it can be determined that the first touch operation is performed by the left hand. If Y12 is greater than Y23, it can be determined that the first touch operation is performed by the right hand.

[0117] When it is determined that the first touch operation is performed by the little finger, ring finger and middle finger, the distance Y12 between touch point 1 and touch point 2 on the Y axis and the distance Y23 between touch point 2 and touch point 3 on the Y axis can be determined based on the coordinate data of the three touch points. If Y12 is greater than Y23, it can be determined that the first touch operation is performed by the left hand. If Y12 is less than Y23, it can be determined that the first touch operation is performed by the right hand.

[0118] The beneficial effect of this embodiment is that, according to the coordinate data of each contact point when the user performs the waking operation, it is identified whether the user performs the waking operation with the left hand or the right hand, and then the touchpad area in different modes is configured according to the different hands performing the waking operation. The touchpad area can be automatically configured to a mode suitable for left-hand or right-hand operation without the user performing an operation specifically for configuring mode parameters, which can not only efficiently configure the operation of the touchpad area, but also improve the user's convenience of use.

[0119] In some optional embodiments, after configuring the touchpad area in the target mode, the electronic device may further display a first graphical interface corresponding to the target mode in the touchpad area, so as to indicate through the first graphical interface whether the target mode is the first mode or the second mode.

[0120] The first graphical interface can have various forms.

[0121] As an example, when the target mode of the touch panel area is the first mode, the electronic device may display Figure 5 The first graphical interface shown in (1) includes two rectangular boxes located on the left and right sides below the touchpad area. The text "left button" is displayed in the left rectangular box, indicating that the click operation in the rectangular box will be recognized as a left-button click instruction of the mouse; the text "right button" is displayed in the right rectangular box, indicating that the click operation in the rectangular box will be recognized as a right-button click instruction of the mouse.

[0122] When the target mode of the touch panel area is the second mode, the electronic device can display the Figure 5The first graphical interface shown in (2) is a first graphical interface in which the text "right button" is displayed in the rectangular box on the left, indicating that the click operation within the rectangular box will be recognized as a right-button click instruction of the mouse; the text "left button" is displayed in the rectangular box on the right, indicating that the click operation within the rectangular box will be recognized as a left-button click instruction of the mouse.

[0123] As another example, when the target mode of the touchpad area is the first mode, the electronic device may also display two rectangular boxes located on the left and right sides below the touchpad area, respectively, and a pattern representing the left mouse button is displayed in the rectangular box on the left, indicating that a click operation within the rectangular box will be recognized as a left mouse button click instruction; and a pattern representing the right mouse button is displayed in the rectangular box on the right, indicating that a click operation within the rectangular box will be recognized as a right mouse button click instruction.

[0124] When the target mode of the touchpad area is the second mode, the electronic device can also display two rectangular boxes located on the left and right sides below the touchpad area, respectively. A pattern representing the right button of the mouse is displayed in the rectangular box on the left, indicating that the click operation within the rectangular box will be recognized as a right-button click instruction of the mouse; a pattern representing the left button of the mouse is displayed in the rectangular box on the right, indicating that the click operation within the rectangular box will be recognized as a left-button click instruction of the mouse.

[0125] By displaying the first graphic interface, the mode of the current touch panel area can be indicated to the user, thereby avoiding erroneous operations.

[0126] In some optional embodiments, the first touch operation may include a sliding operation on a touch panel area displayed on the display screen, and the method of configuring the target parameter in S102 may be:

[0127] At least one of the position parameter and the size parameter of the touch panel area is updated according to the first touch operation, so that the touch panel area displayed on the display screen is adjusted to follow the track of the first touch operation.

[0128] After determining that the first touch operation is a sliding operation on the touchpad area displayed on the display screen, the electronic device may directly execute step S102 to adjust the touchpad area according to the trajectory of the first touch operation. Alternatively, the electronic device may adjust the touchpad area according to the trajectory of the first touch operation only after determining that the first touch operation is a sliding operation on the touchpad area displayed on the display screen and determining that the first touch operation meets specific adjustment conditions. If the first touch operation does not meet the specific adjustment conditions, the touchpad area may not be adjusted. If no adjustment is made, the display screen of the electronic device may display the touchpad area according to the original size parameters and position parameters before responding to the first touch operation.

[0129] The adjustment condition may be that the distance between the current contact point of the first touch operation and the edge of the touchpad area is less than or equal to a certain distance threshold. The distance threshold can be set as needed, for example, it can be set to 1 cm, 2 cm, 50 mm, etc., without limitation.

[0130] For example, when the user performs a sliding operation at the center of the touchpad area, the electronic device may not adjust the touchpad area according to the trajectory of the first touch operation. When the user slides toward the edge of the touchpad area until the distance from the contact point of the finger (or other touch object) with the screen to the edge is less than 50 mm, the electronic device starts to adjust the touchpad area according to the trajectory of the first touch operation.

[0131] The adjustment condition may also be that the track of the first touch operation crosses the edge of the touchpad area. Based on the adjustment condition, after determining that the first touch operation is a sliding operation acting in the touchpad area, the electronic device can detect the contact point of the sliding operation in real time, and when it is detected that the contact point moves from inside the touchpad area to outside the touchpad area, it is determined that the track of the first touch operation crosses the edge of the touchpad area. At this time, the edge of the touchpad area that is closest to the contact point can be regarded as the edge crossed by the first touch operation.

[0132] The adjustment condition may also be that the sliding speed of the first touch operation is greater than a certain speed threshold, which may be 5 millimeters per second (mm / s) or other values.

[0133] Taking 5mm / s as an example, if it is detected that the user is sliding slowly in the touchpad area at a speed less than 5mm / s, the electronic device may not adjust the touchpad area according to the trajectory of the first touch operation. If it is detected that the user is sliding quickly in the touchpad area at a speed greater than or equal to 5mm / s, no matter where the current contact point is located in the touchpad area, the electronic device can start adjusting the touchpad area according to the trajectory of the first touch operation.

[0134] The electronic device can detect in real time whether the above-mentioned adjustment conditions are met during the user's first touch operation. Once it is detected that the adjustment conditions are met, the touchpad area is adjusted by configuring parameters. That is to say, during the user's first touch operation in real time, the electronic device can configure the position parameters and / or size parameters of any touchpad area according to actual conditions.

[0135] In S102, the electronic device may first determine a sliding parameter corresponding to the first touch operation, where the sliding parameter includes at least one of a sliding direction parameter and a sliding speed parameter of the first touch operation.

[0136] The sliding direction parameter may be any one of sliding to the left, sliding to the right, sliding up, sliding down, sliding to the upper left, sliding to the lower left, sliding to the upper right, and sliding to the lower right.

[0137] If the first touch operation has crossed the edge of the touchpad area when the adjustment begins, the sliding direction parameter can be determined based on the position of the edge crossed by the first touch operation. For example, if the first touch operation crosses the left edge of the touchpad area, the sliding direction parameter is sliding to the left; if the first touch operation crosses the upper edge of the touchpad area, the sliding direction parameter is sliding upward.

[0138] If the first touch operation has not crossed the edge of the touchpad area when the adjustment starts, the vector pointing from the starting point of the first touch operation to the current touch point can be determined, and the sliding direction parameter is determined based on the vector. For example, if the angle between the vector and the horizontal direction is small and it points to the left side of the touchpad area, the sliding direction parameter is determined to be sliding to the left; if the angle between the vector and the horizontal direction is close to 45 degrees and it points to the lower right corner of the touchpad area, the sliding direction parameter is determined to be sliding to the lower right.

[0139] The sliding speed parameter can be expressed by the ratio of the distance the touch point moves on the screen to the time. For example, the sliding speed parameter can be 4 mm / s, 6 mm / s, or 11 mm / s.

[0140] The sliding speed parameter can be determined according to the distance between any two points on the trajectory of the first touch operation and the time when the touch object contacts the two points, which will not be described in detail.

[0141] After determining the sliding parameters, the electronic device can update the position parameters of the touchpad area according to the following update method 1, or update the size parameters of the touchpad area according to the following update method 2, or can apply the following two methods at the same time to update the position parameters and size parameters of the touchpad area at the same time.

[0142] Update method 1: updating the position parameter of the touch panel area according to the correction amount corresponding to the sliding parameter, so that the position of the touch panel area moves along the trajectory of the first touch operation.

[0143] In update method one, the electronic device can first determine the corresponding correction amount based on the sliding speed parameter. The electronic device can determine the correction amount corresponding to the sliding speed parameter in a variety of ways, as long as the condition that the greater the sliding speed, the greater the correction amount, and the smaller the sliding speed, the smaller the correction amount is met.

[0144] As an example, one way to determine the correction amount may be to determine whether the sliding speed is greater than or equal to a correction threshold, and if it is greater than the correction threshold, a larger correction amount is determined, and if it is less than the correction threshold, a smaller correction amount may be determined. Taking the correction threshold as 10 mm / s as an example, if the sliding speed is greater than or equal to 10 mm / s, the correction amount d=4 centimeters (cm) may be determined, and if the sliding speed is less than 10 mm / s, the correction amount d=2 cm may be determined.

[0145] After the correction amount is determined, the position parameters of the touchpad area can be configured according to the correction amount and the sliding direction parameter, so that the position of the touchpad area on the screen moves along the sliding direction by a distance corresponding to the correction amount.

[0146] Exemplarily, the position parameters of the touch pad area may include an X-axis coordinate value of the left edge Left, an X-axis coordinate value of the right edge Right, a Y-axis coordinate value of the upper edge Top, and a Y-axis coordinate value of the lower edge Bottom.

[0147] Assuming that the determined sliding direction parameter is sliding to the left, after determining the correction amount d, the electronic device can adjust the position parameters to Left1=Left0-d, Right1=Right0-d, Top1=Top0, Bottom1=Bottom0, where the parameter with subscript 0 represents the position parameter before adjustment, and the position parameter with subscript 1 represents the position parameter after adjustment according to the correction amount and the sliding direction. After adjusting the position parameters in this way, the touchpad area is translated to the left by dcm on the display screen.

[0148] Optionally, if the sliding direction parameter includes two directions, for example, the sliding direction parameter is sliding to the upper right, the above correction amount can be used to adjust the position parameters in the two directions at the same time, so that the touchpad area moves in two directions at the same time. Taking the sliding direction parameter as sliding to the upper right as an example, the electronic device can adjust the position parameters to Left1=Left0+d, Right1=Right0+d, Top1=Top0+d, Bottom1=Bottom0+d.

[0149] In some optional embodiments, if the sliding direction parameter includes two directions, the electronic device can determine the sliding speeds in the two directions respectively, determine different correction amounts according to the different sliding speeds in the two directions, and adjust the position parameters of the corresponding directions according to the different correction amounts. For example, when the sliding direction of the first touch operation is to slide to the upper right, the electronic device determines the upward sliding speed and the rightward sliding speed respectively. If the upward sliding speed is slower and the rightward sliding speed is faster, a smaller first correction amount in the Y-axis direction can be determined, and the Y-axis coordinate values ​​of the upper and lower edges of the touchpad area are adjusted according to the first correction amount, so that the touchpad area moves upward by the first correction amount, and a larger second correction amount in the X-axis direction is determined, and the X-axis coordinate values ​​of the left and right edges of the touchpad area are adjusted according to the second correction amount, so that the touchpad area moves rightward by the second correction amount.

[0150] As an example, see Figure 6 . Assume that the user's finger clicks on Figure 6 The finger is positioned at any position within the touchpad area shown in (1), and then the finger starts to slide from here toward the upper right of the touchpad area. The electronic device then detects the sliding operation acting within the touchpad area and starts to execute S102 to adjust the position parameters of the touchpad area according to update method one.

[0151] Since the sliding direction is to the upper right, the electronic device determines the upward sliding speed and the right sliding speed respectively. Since the upward sliding speed is smaller and the right sliding speed is larger, a smaller first correction amount upward is determined, for example, the first correction amount is 1 cm, and a larger second correction amount rightward is determined, for example, the second correction amount is 5 cm. Then the electronic device adjusts the Y-axis coordinate values ​​of the upper and lower edges of the touchpad area according to the first correction amount, and adjusts the X-axis coordinate values ​​of the left and right edges of the touchpad area according to the second correction amount, so that the touchpad area moves 1 cm upward and 5 cm to the right, that is, moves to Figure 6 The position shown in (2).

[0152] Figure 6 The dotted rectangular box in (2) indicates the position of the touchpad area before adjusting the position parameters, and the dotted track starting from the black dot indicates the track of the first touch operation. It can be seen that if the position parameters of the touchpad area are not adjusted, the user's finger will slide out of the touchpad area when performing the first touch operation, resulting in the electronic device being unable to execute the corresponding control instruction according to the first touch operation, for example, being unable to move the cursor or application icon displayed on the screen according to the first touch operation. By moving the touchpad area according to the method of this embodiment, it can be determined that the track of the first touch operation always falls within the touchpad area, thus solving the problem of the finger sliding out of the touchpad area and being unable to execute the corresponding control instruction.

[0153] The second updating method is to update the size parameter of the touch panel area according to the correction amount corresponding to the sliding parameter, so that the size of the touch panel area extends along the track of the first touch operation.

[0154] In the second updating method, the electronic device may first determine the corresponding correction amount according to the sliding speed parameter. The determination method may refer to the aforementioned updating method one.

[0155] After determining the correction amount, the electronic device may adjust the size parameter of the touch panel area in the sliding direction according to the correction amount, so that the size of the touch panel area extends along the track of the first touch operation.

[0156] For example, if the sliding direction is to the right, the electronic device may increase the size of the touchpad area in the X-axis direction by a correction amount to the right, so that the right edge of the touchpad area extends to the right by a corresponding distance.

[0157] Optionally, when the sliding direction parameter includes two directions, for example, including sliding to the upper right, the electronic device can also extend the boundary of the touchpad area in two directions simultaneously according to the aforementioned update method one, and the extension amount in the two directions can be related to the sliding speed in the corresponding direction.

[0158] As an example, see Figure 7 . Assume that the user's finger moves from Figure 7 The touch panel area starts to slide upward from the position shown in (1), and the upward sliding speed is small, and the rightward sliding speed is large. Therefore, the electronic device can extend the size of the touch panel area upward by a small distance and rightward by a large distance according to the second updating method, so that Figure 7 The touch pad area shown in (1) is extended Figure 7 The touch pad area shown in (2).

[0159] The beneficial effects of this embodiment are:

[0160] When a user performs a sliding operation in the touchpad area to control the movement of a cursor, application icon or other object, the touch object (such as a finger or a stylus) used to perform the sliding operation may slide outside the touchpad area, which will cause the operation of controlling the movement of the object to be interrupted, and the electronic device cannot continue to control the movement of the above object according to the sliding operation;

[0161] This embodiment adjusts the position parameters and size parameters of the touch pad area according to the sliding parameters of the sliding operation, so that the touch pad area moves or extends along the sliding trajectory of the sliding operation, thereby avoiding operation interruption caused by the touch object sliding out of the touch pad area and improving the continuity of the sliding operation acting on the touch pad area.

[0162] In some optional embodiments, when the electronic device executes S102, it may further configure the size parameters of the touch panel area according to the first touch operation and the gaze data.

[0163] The gaze data can be obtained through a built-in or external camera module of the electronic device.

[0164] The gaze data is used to indicate whether the display screen displaying the touchpad area is being gazed at by the user. As an example, when the electronic device includes a first screen and a second screen, and the touchpad area is displayed on the first screen, the gaze data may indicate whether the screen currently being gazed at is the first screen or the second screen.

[0165] The electronic device can configure the size parameters in the following ways:

[0166] When a first touch operation acting on the touchpad area is detected, gaze data at this time is obtained and, based on the gaze data, it is determined whether the display screen (e.g., the first screen of the electronic device) where the touchpad area is located when the first touch operation is detected is gazed by the user;

[0167] If it is determined that the display screen where the touch panel area is located is being stared at by the user when the first touch operation is detected, the electronic device may configure a touch panel area with a smaller first size parameter on the display screen;

[0168] If it is determined that the display screen where the touch panel area is located is not being looked at by the user when the first touch operation is detected, the electronic device may configure a touch panel area with a larger second size parameter on the display screen.

[0169] That is, when the gaze data indicates that the display screen to which the touchpad area belongs is being gazed at, the touchpad area has a first size parameter; when the gaze data indicates that the display screen to which the touchpad area belongs is not being gazed at, the touchpad area has a second size parameter, the second size parameter corresponds to the size parameter of the display screen, and the first size parameter is smaller than the second size parameter.

[0170] Optionally, if the electronic device includes a second screen and a first screen for displaying a touchpad area, then when configuring the size parameters according to the gaze data, the electronic device may configure the size parameters of the touchpad area to be the first size parameters when the gaze data indicates that the first screen is being gazed at, and configure the size parameters of the touchpad area to be the second size parameters when the gaze data indicates that the second screen is being gazed at; when the gaze data indicates that both the first screen and the second screen are not being gazed at, the touchpad area may not be displayed on the first screen, or a touchpad area of ​​a default size may be directly displayed on the first screen.

[0171] The first size parameter and the second size parameter can be set as needed without limitation.

[0172] As an example, the second size parameter may be a size parameter close to or equal to the entire display area of ​​the display screen, that is, the touch panel area with the second size parameter may cover the entire or most of the display area of ​​the display screen. Figure 8 In (1), when the user performs a first touch operation on the touch panel area on the first screen, the gaze data indicates that the area gazed by the user is on the second screen, that is, the second screen is gazed by the user, so the electronic device configures the following on the first screen: Figure 8 The touch panel area shown in (2) covers most of the display area of ​​the first screen (i.e., the gray rectangular box in the figure).

[0173] As an example, the first size parameter may be significantly smaller than the size parameter of the display area, for example, may be 1 / 2 or 1 / 3 of the size parameter of the display area. Fig. 9 In (1), when the user performs a first touch operation on the touch panel area on the first screen, the gaze data indicates that the area gazed by the user at this time is on the first screen, that is, the first screen is gazed by the user, so the electronic device configures the following on the first screen: Fig. 9 (2) shows a touchpad area (i.e., the gray rectangular box in the figure) that is obviously smaller than the display area. It can be seen that the width of the touchpad area is close to 1 / 3 of the width of the first screen, and the height of the touchpad area is close to 1 / 2 of the height of the first screen.

[0174] Optionally, during the execution of the first touch operation, the object that the user is gazing at may change. For example, according to the gaze data during the execution of the first touch operation, the electronic device may find that the user first gazes at the second screen and then at the first screen, or first gazes at the first screen and then at the second screen.

[0175] For the situation where the user first looks at the second screen and then at the first screen, as long as the first touch operation has not ended, that is, the touch object is still in contact with the touchpad area of ​​the first screen, the electronic device can continue to display the touchpad area with the second size parameters on the first screen after the user changes to looking at the first screen; after the first touch operation ends, the size of the touchpad area can be changed to the first size parameters based on the situation where the user looks at the first screen.

[0176] When the user looks at the first screen first and then the second screen, the electronic device can immediately change the touchpad area of ​​the first size parameter previously displayed on the first screen to the touchpad area of ​​the second size parameter when detecting that the user changes to looking at the second screen.

[0177] The beneficial effect of this embodiment is that when the user is not looking at the display screen where the touchpad area is located, the sliding operation acting on the touchpad area is likely to go over the edge of the touchpad area and slide outside the touchpad area, causing the aforementioned operation interruption problem. When the user is not looking at the display screen where the touchpad area is located, this embodiment configures a larger touchpad area to reduce the probability of sliding outside the touchpad area, thereby reducing the number of operation interruptions. Moreover, when the user is looking at the display screen where the touchpad area is located, a smaller touchpad area is configured to avoid the touchpad area being too large and affecting the user's viewing of other content displayed on the first screen.

[0178] Among them, the second size parameter can be consistent with the size of the display area of ​​the display screen. In this case, the boundary of the touchpad area is equivalent to the physical boundary of the display screen. Therefore, the user does not need to look at the display screen where the touchpad area is located, but can perceive the boundary of the touchpad area through the physical boundary of the display screen, thereby minimizing the occurrence of operation interruptions.

[0179] Optionally, the electronic device may further configure transparency parameters of the touchpad area according to different gaze data. After the transparency parameters are configured, the gaze data indicates that the touchpad area has a first transparency parameter when the display screen is being gazed at; and the gaze data indicates that the touchpad area has a second transparency parameter when the display screen is not being gazed at.

[0180] For example, when the gaze data indicates that the display screen where the touchpad area is located is being gazed at, a first transparency parameter may be configured for the touchpad area, and when the gaze data indicates that the display screen where the touchpad area is located is not being gazed at, a second transparency parameter may be configured for the touchpad area, the first transparency parameter being less than the second transparency parameter, for example, the first transparency parameter may be 0%, and the second transparency parameter may be 50%, and the touchpad area having the first transparency parameter may be presented as follows Fig. 9 In the fully opaque state shown in (2), the touch panel area with the second transparency parameter may appear as follows Figure 8 The partially transparent state shown in (2).

[0181] The benefits of configuring the transparency parameters of the touchpad area in the above manner are:

[0182] When the display screen where the touchpad area is located is being looked at, the size of the touchpad area is small and generally does not block other content displayed on the display screen, so a lower transparency can be set so that the user can accurately identify the boundary of the touchpad area;

[0183] When the display screen where the touchpad area is located is not being looked at, the touchpad area is larger, for example, Figure 8In (2), the display screen is almost completely covered. At this time, other contents displayed on the display screen are almost completely blocked by the touchpad area, which causes inconvenience to the user to temporarily view other contents on the display screen. Therefore, a higher transparency can be set so that the user can see other contents displayed on the display screen through the touchpad area.

[0184] The present application also provides a touch panel configuration device, see Fig.10 , the device may include the following units.

[0185] A determining unit 1001, configured to determine an operation type of the first touch operation in response to the first touch operation;

[0186] The configuration unit 1002 is used to configure target parameters of a touch panel area corresponding to the operation type according to the first touch operation, and the touch panel area is displayed on the display screen.

[0187] Optionally, the first touch operation includes an operation for triggering display of a touch panel area on the display screen;

[0188] The target parameters include pattern parameters of the touch pad area;

[0189] The configuration unit 1002 configures target parameters of the touch panel area corresponding to the operation type according to the first touch operation, including:

[0190] When it is determined that the first touch operation satisfies the first condition, determining the first mode as the target mode;

[0191] When it is determined that the first touch operation satisfies the second condition, determining the second mode as the target mode;

[0192] configuring the touchpad area in target mode on the display;

[0193] In different modes, the same touch operation on the touchpad area is recognized as different operation instructions.

[0194] Optionally, the first condition includes that the first touch operation is performed by a first touch object;

[0195] In the first mode, a click operation on the lower right side of the touchpad area is recognized as a right-click instruction, and a click operation on the lower left side of the touchpad area is recognized as a left-click instruction;

[0196] The second condition includes that the first touch operation is performed by the second touch object;

[0197] In the second mode, a click operation on the lower left side of the touchpad area is recognized as a right-click instruction of the mouse, and a click operation on the lower right side of the touchpad area is recognized as a left-click instruction of the mouse.

[0198] Optionally, the first touch operation corresponds to multiple touch points;

[0199] The configuration unit 1002 determines that the first touch operation satisfies the first condition, including:

[0200] determining, according to coordinate data of a plurality of touch points corresponding to the first touch operation, that the first touch operation satisfies a first condition;

[0201] The configuration unit 1002 determines that the first touch operation satisfies the second condition, including:

[0202] It is determined that the first touch operation satisfies the second condition according to the coordinate data of the plurality of touch points corresponding to the first touch operation.

[0203] Optionally, the configuration unit 1002 is further configured to:

[0204] A first graphic interface corresponding to the target mode is displayed in the touch panel area, and the first graphic interface indicates that the target mode is the first mode or the second mode.

[0205] Optionally, the first touch operation includes a sliding operation acting on a touch panel area displayed on the display screen;

[0206] The target parameter includes at least one of a position parameter and a size parameter of the touch pad area;

[0207] The configuration unit 1002 configures target parameters of the touch panel area corresponding to the operation type according to the first touch operation, including:

[0208] At least one of the position parameter and the size parameter of the touch panel area is updated according to the first touch operation, so that the touch panel area displayed on the display screen is adjusted to follow the track of the first touch operation.

[0209] Optionally, the configuration unit 1002 updates at least one of a position parameter and a size parameter of the touch panel area according to the first touch operation, including:

[0210] Determine a sliding parameter corresponding to the first touch operation, where the sliding parameter includes at least one of a sliding direction parameter and a sliding speed parameter of the first touch operation;

[0211] updating the position parameter of the touch panel area according to the correction amount corresponding to the sliding parameter, so that the position of the touch panel area moves along the trajectory of the first touch operation;

[0212] or,

[0213] The size parameter of the touch panel area is updated according to the correction amount corresponding to the sliding parameter, so that the size of the touch panel area extends along the track of the first touch operation.

[0214] Optionally, the first touch operation includes a sliding operation acting on a touch panel area displayed on the display screen;

[0215] The target parameters include the size parameters of the touch pad area;

[0216] The configuration unit 1002 configures target parameters of the touch panel area corresponding to the operation type according to the first touch operation, including:

[0217] configuring size parameters of the touch panel area according to the first touch operation and the gaze data;

[0218] The gaze data indicates that the touchpad area has a first size parameter when the display screen is being gazed at, and the gaze data indicates that the touchpad area has a second size parameter when the display screen is not being gazed at, the second size parameter corresponds to the size parameter of the display screen, and the first size parameter is smaller than the second size parameter.

[0219] Optionally, the gaze data indicates that the touch panel area has a first transparency parameter when the display screen is gazed at;

[0220] The gaze data indicates that the touch pad area has a second transparency parameter when the display screen is not being gazed at;

[0221] The first transparency parameter is less than the second transparency parameter.

[0222] The working principle of the touch panel configuration device provided in this embodiment can refer to the relevant steps of the touch panel configuration method of any embodiment of the present application, and will not be repeated here.

[0223] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0224] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0225] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the relevant technology in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0226] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0227] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A touch panel configuration method, comprising: In response to a first touch operation, determining an operation type of the first touch operation; Target parameters of a touch panel area corresponding to the operation type are configured according to the first touch operation, and the touch panel area is displayed on a display screen.

2. The method according to claim 1, wherein the first touch operation comprises an operation for triggering display of the touch panel area on a display screen; The target parameters include mode parameters of the touch panel area; The configuring, according to the first touch operation, a target parameter of the touch panel area corresponding to the operation type includes: If it is determined that the first touch operation satisfies a first condition, determining the first mode as a target mode; If it is determined that the first touch operation satisfies a second condition, determining the second mode as the target mode; configuring a touchpad area in the target mode on the display screen; In different modes, the same touch operation applied to the touch panel area is recognized as different operation instructions.

3. The method according to claim 2, wherein the first condition comprises that the first touch operation is performed by a first touch object; In the first mode, a click operation on the lower right side of the touchpad area is recognized as a right-click instruction, and a click operation on the lower left side of the touchpad area is recognized as a left-click instruction; The second condition includes that the first touch operation is performed by a second touch object; In the second mode, a click operation on the lower left of the touchpad area is recognized as a right-click instruction of a mouse, and a click operation on the lower right of the touchpad area is recognized as a left-click instruction of a mouse.

4. The method according to claim 3, wherein the first touch operation corresponds to multiple touch points; The determining that the first touch operation satisfies a first condition includes: determining, based on coordinate data of a plurality of touch points corresponding to the first touch operation, that the first touch operation satisfies a first condition; The determining that the first touch operation satisfies the second condition includes: It is determined that the first touch operation satisfies a second condition according to coordinate data of multiple touch points corresponding to the first touch operation.

5. The method according to claim 2, further comprising: A first graphic interface corresponding to the target mode is displayed in the touch panel area, and the first graphic interface indicates that the target mode is the first mode or the second mode.

6. The method according to claim 1, wherein the first touch operation comprises a sliding operation on a touch panel area displayed on the display screen; The target parameter includes at least one of a position parameter and a size parameter of the touch pad area; The configuring, according to the first touch operation, a target parameter of the touch panel area corresponding to the operation type includes: At least one of a position parameter and a size parameter of the touch panel area is updated according to the first touch operation, so that the touch panel area displayed on the display screen is adjusted to follow the trajectory of the first touch operation.

7. The method according to claim 6, wherein updating at least one of a position parameter and a size parameter of the touchpad area according to the first touch operation comprises: determining a sliding parameter corresponding to the first touch operation, where the sliding parameter includes at least one of a sliding direction parameter and a sliding speed parameter of the first touch operation; updating the position parameter of the touchpad area according to the correction amount corresponding to the sliding parameter, so that the position of the touchpad area moves along the trajectory of the first touch operation; or, The size parameter of the touch panel area is updated according to the correction amount corresponding to the sliding parameter, so that the size of the touch panel area extends along the trajectory of the first touch operation.

8. The method according to claim 1, wherein the first touch operation comprises a sliding operation on a touch panel area displayed on the display screen; The target parameters include size parameters of the touch panel area; The configuring, according to the first touch operation, a target parameter of the touch panel area corresponding to the operation type includes: configuring size parameters of the touchpad area according to the first touch operation and gaze data; The gaze data indicates that the touchpad area has a first size parameter when the display screen is being gazed at, and the gaze data indicates that the touchpad area has a second size parameter when the display screen is not being gazed at, the second size parameter corresponds to the size parameter of the display screen, and the first size parameter is smaller than the second size parameter.

9. The method of claim 8, wherein the gaze data indicates that the touch panel area has a first transparency parameter when the display screen is gazed at; The gaze data indicates that the touch panel area has a second transparency parameter when the display screen is not being gazed at; The first transparency parameter is smaller than the second transparency parameter.

10. A touch panel configuration device, comprising: a determining unit, configured to determine, in response to a first touch operation, a target parameter of a touch panel area displayed on the display screen corresponding to an operation type of the first touch operation; A configuration unit is configured to configure target parameters of a touch panel area corresponding to the operation type according to the first touch operation.

Citation Information

Cited By

  • Variable-size touchpad device and control method

    CN121255043A