Touch optimization method and device, electronic equipment and computer readable medium
By identifying the application type and operation area of the target application, determining the area touch type and optimizing the touch strategy, the problem that the global adjustment method in the existing technology cannot meet the specific application needs, and a more reasonable touch response is achieved.
Patent Information
- Application Number
- CN202311433325.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2025-05-02
AI Technical Summary
When adjusting touch screen touch parameters, the prior art adopts global adjustment method, and cannot perform local optimization based on specific application programs and operation areas, resulting in unreasonable responses.
By identifying the application type and preset operation area of the target application on the touch screen of the electronic device, determining the area touch type, and determining the touch optimization strategy based on the touch type of the target operation area to optimize the touch area.
Targeted touch optimization is achieved according to application type and operation area, improving the adaptability and user experience of touch response.
Smart Images

Figure CN119917008A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of touch screen technology, and more specifically, to a touch optimization method, device, electronic device and computer-readable medium. Background Art
[0002] With the development of electronic technology, the functions of electronic devices are becoming more and more abundant. For example, electronic devices are equipped with touch screens. Users can control electronic devices by performing touch events on the touch screen, including press (down) events, lift (up) events, and slide (move) events.
[0003] At present, some applications can allow users to adjust the touch parameters of the touch screen when the application is running, so as to adjust the touch response in the interface of the application. However, the current adjustment method is global adjustment, that is, the touch parameters of the entire interface are adjusted together, which makes the adjustment method unreasonable. Summary of the invention
[0004] The present application proposes a touch optimization method, device, electronic device and computer-readable medium to improve the above-mentioned defects.
[0005] In a first aspect, an embodiment of the present application provides a touch optimization method, which is applied to a touch screen of an electronic device, and the method includes: when the electronic device displays a target interface of a target application through the touch screen, obtaining an application type of the target application; identifying a preset operation area of the target interface; based on the application type, determining an area touch type corresponding to the preset operation area; obtaining a preset operation area corresponding to an operation position of a target touch operation acting on the target interface as a target operation area; based on a target area touch type of the target operation area, determining a touch optimization strategy corresponding to the target touch operation, the touch optimization strategy being used to optimize the touch area of the target touch operation, wherein the target area touch type is an area touch type corresponding to the target operation area.
[0006] In the second aspect, the embodiment of the present application also provides a touch optimization device, which is applied to the touch screen of an electronic device, and the device includes: a first acquisition unit, an identification unit, a determination unit, a second acquisition unit and a setting unit. The first acquisition unit is used to obtain the application type of the target application when the electronic device displays the target interface of the target application through the touch screen. The identification unit is used to identify the preset operation area of the target interface. The determination unit is used to determine the regional touch type corresponding to the preset operation area based on the application type. The second acquisition unit is used to obtain the preset operation area corresponding to the operation position of the target touch operation acting on the target interface, and obtain the target operation area corresponding to the target touch operation acting on the target interface as the target operation area. The setting unit is used to determine the touch optimization strategy corresponding to the target touch operation based on the target area touch type of the target operation area, and the touch optimization strategy is used to optimize the touch area of the target touch operation, wherein the target area touch type is the regional touch type corresponding to the target operation area.
[0007] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: one or more processors; a memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the above method.
[0008] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the readable storage medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the above method.
[0009] The touch optimization method, device, electronic device and computer-readable medium provided in the present application, when the electronic device displays the target interface of the target application through the touch screen, obtains the application type of the target application, identifies the preset operation area of the target interface; based on the application type, determines the regional touch type corresponding to the preset operation area; obtains the preset operation area corresponding to the operation position of the target touch operation acting on the target interface as the target operation area; based on the target area touch type of the target operation area, determines the touch optimization strategy corresponding to the target touch operation, and the touch optimization strategy is used to optimize the touch area of the target touch operation. Therefore, when the target application is running, the touch optimization strategy is set for the area of the touch point instead of the entire target interface, and the touch optimization strategy for the target touch operation will be based on the target operation area and application type corresponding to the target touch operation, so that the touch optimization strategy can better adapt to the touch needs and habits of the user when using the target application.
[0010] Other features and advantages of the embodiments of the present application will be described in the subsequent description, and partly become apparent from the description, or can be understood by practicing the embodiments of the present application. The purposes and other advantages of the embodiments of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0012] Figure 1 A method flow chart of a touch optimization method provided by an embodiment of the present application is shown;
[0013] Figure 2 A schematic diagram showing an operation area provided by an embodiment of the present application;
[0014] Figure 3 A schematic diagram showing a key recognized by a detection model provided in an embodiment of the present application is shown;
[0015] Figure 4 A schematic diagram showing the effect of filtering and de-jittering provided by an embodiment of the present application is shown;
[0016] Figure 5 A method flow chart of a touch optimization method provided by another embodiment of the present application is shown;
[0017] Figure 6 A schematic diagram of determining an application type provided by an embodiment of the present application is shown;
[0018] Figure 7 A schematic diagram showing a regional touch type for determining an operation area provided by an embodiment of the present application is shown;
[0019] Figure 8 A schematic diagram of determining a touch operation attribute corresponding to a target touch operation provided by an embodiment of the present application is shown;
[0020] Fig. 9 A schematic diagram showing the effect of improving touch response provided by an embodiment of the present application is shown;
[0021] Fig.10 A schematic diagram of determining a touch operation attribute corresponding to a target touch operation provided by another embodiment of the present application is shown;
[0022] Fig.11A module block diagram of a touch optimization device provided by an embodiment of the present application is shown;
[0023] Fig.12 A structural block diagram of an electronic device provided in an embodiment of the present application is shown;
[0024] Fig.13 A storage unit for storing or carrying program codes for implementing the touch optimization method according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0025] In order to make those skilled in the art better understand the present application scheme, the technical scheme in the present application embodiment will be clearly and completely described below in conjunction with the drawings in the present application embodiment. Obviously, the described embodiment is only a part of the present application embodiment, rather than all the embodiments. The components of the present application embodiment usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the present application for protection, but merely represents the selected embodiment of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0026] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0027] With the development of electronic technology, electronic devices with touch panels (TP) such as mobile phones and tablet computers have become widely popular, and the development of touch technology has undergone great changes. Various touch scenarios such as games and various touch scenarios have made users more and more demanding on touch. Related technologies meet users' usage needs by increasing the reporting speed, but there is a problem of poor reporting stability and jitter in the picture displayed to users on the touch screen.
[0028] The user controls the electronic device by executing touch events on the touch screen, including press (down) events, lift (up) events, and slide (move) events.
[0029] Usually, applications such as game applications need to set certain operation keys to implement corresponding functions. When the user clicks the touch screen, different function keys will trigger different responses. Common key areas are roughly divided into: click area, slide area, and shake area according to different functions. Different areas have different sensitivities in games. Some require high smoothness, some require low click latency, and some require high precision, etc.
[0030] The inventors found in their research that, currently, some applications allow users to adjust the touch parameters of the touch screen while the application is running, thereby adjusting the touch response within the interface of the application. However, the current adjustment method is global adjustment, that is, the touch parameters of the entire interface are adjusted together, making this adjustment method unreasonable. Taking game applications as an example, most games currently usually provide a touch parameter adjustment interface in the game engine interface, allowing users to adjust the touch and chirality and sensitivity in the game, but because it is a global adjustment, it will cause all controllable areas in the current game interface to have the same touch response parameters, and local adjustment cannot be achieved.
[0031] Therefore, in order to overcome the above defects, the embodiment of the present application provides a touch optimization method, which sets a corresponding touch optimization strategy for the touch point by combining the application type and the touch area. Figure 1 , Figure 1 A touch optimization method provided in an embodiment of the present application is shown, which is applied to an electronic device having a touch screen. The method includes: S101 to S105.
[0032] S101: Acquire an application type of a target application when the electronic device displays a target interface of the target application via the touch screen.
[0033] It is understandable that the target application is installed in the electronic device, and the target application runs in the foreground of the electronic device, and the target interface of the target application is displayed on the touch screen of the electronic device. The target application has a touch area in the target interface displayed on the touch screen of the electronic device, that is, the user can input a touch gesture through the touch screen when the target interface is displayed on the touch screen, and the touch gesture touches the target application to perform the operation corresponding to the touch gesture. Among them, the target interface can be an interface with high requirements for touch operation among the multiple interfaces corresponding to the target application, or it can be a pre-selected interface. For example, the interface of a specified type corresponding to the target application can be used as the target interface, and the specified type can be a frequent operation type. The interface of the specified type can be pre-defined by the user or the developer of the target application, which is not limited here. Taking the game application as an example, the target interface can be the game scene interface of the game application. Since the user needs to operate the role in the game scene in the game scene interface, there is a high requirement for touch operation, so the touch response for the game scene interface can be optimized. Of course, the target interface can also be the current interface of the target application, which is not limited here.
[0034] The target application may be an application that matches an application in a preset whitelist, and the application in the whitelist may be a user-defined whitelist or a whitelist predefined by the developer of the electronic device, and after a user of the electronic device updates the whitelist, the server of the electronic device can synchronize the whitelist to other electronic devices. Usually, the application functions in the whitelist belong to applications that are frequently touched by users, which is not limited here. In an embodiment of the present application, the target application may be a game application.
[0035] It should be noted that the type of application can be a type defined based on the function of the application. For example, the function may include video playback, audio playback, games, search engines, etc. In addition, the application type can also be divided based on the touch operation method of the target interface of the application. For example, according to whether the target interface of each application supports a certain touch operation method, the application is divided into a type that supports the touch operation method and a type that does not support the touch operation method. Or, according to whether a certain area of the target interface of each application supports a certain touch operation method, the application is divided into two different types. In the embodiment of the present application, the method of dividing the application type of the application is not limited and can be arbitrarily set based on actual usage requirements.
[0036] S102: Identify and obtain a preset operation area of the target interface.
[0037] It should be noted that there are operation areas in the target interface. Exemplarily, the target interface can be divided into different preset operation areas based on various operation controls on the target interface.
[0038] As an implementation method, taking the target application as a game application as an example, the target interface of the target application is the game scene interface of the game application, and the operation controls existing in the target interface include a steering wheel key, a steering assist key, a skill button, a skill assist button, a mini-map control, a toolbox control, a field of view control, etc., then the corresponding operation areas are the steering wheel area, the steering assist area, the skill area, the skill assist area, the mini-map area, the toolbox area, and the field of view area. It should be noted that the operation area obtained by the operation control may correspond to an area control type, and the area control type represents the type of operation control in the operation area. For example, the steering wheel area, the steering assist area, the skill area, the skill assist area, the mini-map area, the toolbox area, and the field of view area, etc., all belong to the area control type.
[0039] In addition, it should be noted that the area outside the various operation controls on the target interface can also realize the change of field of view. This area can be named a smooth hot zone. Although both the smooth hot zone and the field of view area can change the field of view, their operation methods are often different. The field of view area corresponds to the field of view control, and its operation method is often a click operation, while the operation method of the smooth hot zone is often a sliding operation.
[0040] For example, Figure 2As shown, the user can operate the game character 300 in the game scene interface. The operation area in the interface includes a direction wheel area 201, a direction auxiliary area 202, a skill area 203, a skill auxiliary area 204, a toolbox area 205, a field of view area 206, a small map area 207 and a smooth hotspot 208. The direction auxiliary key corresponding to the direction auxiliary area 202 can be the touch position of the user's finger, that is, the user touches the direction auxiliary key and slides the direction auxiliary key in the direction wheel area 201 to control the game character 300 to move in the game scene. The user can trigger the game character to perform the operation corresponding to the button by clicking the buttons in the skill area 203, the skill auxiliary area 204, the toolbox area 205 and the field of view area 206. For example, the skill button in the skill area 203 is used to control the game character 300 to release the skill corresponding to the skill button when it is triggered, and the skill auxiliary area 204 is used to update the skills in the skill area corresponding to the skill auxiliary area 204, for example, to upgrade the skills. The various toolbox controls in the toolbox area 205 are used to provide auxiliary functions, which are usually unrelated to the game character 300 and belong to the general functions provided by the target interface, such as sending voice, downloading the content of the target interface, etc., so they are not considered skill keys.
[0041] The smooth hot zone 208 displays a game scene screen. Relative to the controls in the game scene, the game scene screen can be understood as a background screen, wherein the controls refer to the aforementioned buttons and the display frame of the small map. It should be noted that Figure 2 The smooth hot zone 208 shown in the figure is only a part of all the smooth hot zones, and the size of the smooth hot zone is not limited.
[0042] As an implementation mode, for a target interface, images in different operation areas of the target interface are usually different, such as Figure 2 As shown, the graphics of the buttons or the displayed contents in each area are different from each other. Therefore, by recognizing the images of each area, multiple operation areas in the target image can be determined. Of course, each operation area can also be determined by identifying each button in the target image. Therefore, due to the differences in the images or buttons of each operation area, multiple operation areas in the target image can be identified by image recognition. Of course, multiple operation areas in the target image can also be determined by pre-defining the position range of each operation area in the target interface. For example, the click area is pre-determined to be the lower right corner of the target interface, so the lower right area in the target image is used as the click area.
[0043] As an implementation, the electronic device may determine the operation area corresponding to each control on the target interface. For example, a detection model may be pre-trained, and the detection model may be capable of identifying controls in each interface. For example, a sample set may be pre-acquired, and the sample set includes images corresponding to each interface, and the controls in the images are annotated. The detection model may be trained with the sample set so that it has the ability to identify each control in the image. Figure 3 As shown, the controls on the target interface may include a game mini-map control, a game wheel control, and other designated action keys. The game mini-map control is used to display the mini-map content corresponding to the current game scene of the target interface, the game wheel control is used to control the movement of the game character, and the designated action key is used to control the character to perform actions other than movement, such as releasing skills and using props. For example, the various controls in the target interface and the operation area corresponding to each control may be determined by a YOLO (You Only Look Once) model.
[0044] After the target interface of the target application is displayed on the touch screen of the electronic device, it is necessary to first obtain the key area on the target interface. It should be noted that, as mentioned above, the target interface corresponds to an operation area, and the key area can be at least one area among all the operation areas within the target interface. For example, the key area can be the operation area that the user or the current scene focuses on.
[0045] As an implementation method, taking the target application as an example, the region information of the key region can be obtained through a structure, and the structure can be:
[0046]
[0047] The boundary information may be:
[0048]
[0049] The game type is the application type, the area type is the aforementioned area control type, and the location interval area control type of the operation area in the target interface can be known through the area information of the operation area.
[0050] S103: Determine the area touch type corresponding to the preset operation area based on the application type.
[0051] The area touch type corresponding to the preset operation area can reflect the touch characteristics of the preset operation area.
[0052] As an implementation mode, there may be multiple operation areas on the target interface, and the preset operation area of the target interface may be at least part of the multiple operation areas. In the embodiment of the present application, the preset operation area may be named a key area. It can be understood that the key area may be an operation area that the embodiment of the present application pays more attention to among all the operation areas of the target interface.
[0053] The implementation method of identifying and obtaining the preset operation area of the target interface may be to identify the target interface, obtain all operation areas corresponding to the target interface, and determine the key area, that is, the preset operation area, from all the operation areas.
[0054] As mentioned above, the key area can be regarded as the operation area that users and applications pay more attention to. If the key area is a part of the multiple operation areas, the key area is determined by the user determining the area to be optimized from the multiple operation areas as the key area. For example, a selection interface can be displayed on the target interface. For example, for the multiple operation areas corresponding to the game scene interface of a game application, the key area can be a small map area and a game wheel area.
[0055] As an implementation method, different types of applications may all have target interfaces. For example, different types of game applications may all have game scene interfaces, and the types of operating controls in the target interfaces of different types of applications may not differ much. However, different types of applications may have different touch methods or expected optimization methods for each operating control. Therefore, different area touch types can be set in advance for each operating area of different types of applications. As mentioned above, the area touch type corresponds to different touch characteristics. The touch characteristics can not only reflect the touch operation method of the area, but also reflect the optimization strategy that the target application expects for the operating area, because different operating methods usually correspond to different touch optimization requirements.
[0056] S104: Acquire a preset operation area corresponding to the operation position of the target touch operation acting on the target interface as the target operation area.
[0057] Exemplarily, it is detected whether there is a target touch operation acting on the target interface, and after detecting the target touch operation acting on the target interface, the target touch position of the target touch operation within the target interface is determined; in each preset operation area, the preset operation area corresponding to the operation position of the target touch operation acting on the target interface is obtained as the target operation area.
[0058] S105: Determine a touch optimization strategy corresponding to the target touch operation based on the target area touch type of the target operation area, wherein the touch optimization strategy is used to optimize the touch area of the target touch operation.
[0059] As an implementation method, the regional touch types corresponding to each operation area on the target interface of each application type and the touch optimization strategy corresponding to each regional touch type can be pre-set, so that after detecting the presence of a target touch operation and determining the target operation area corresponding to the target touch operation, the regional touch type corresponding to the target operation area is determined, wherein the target regional touch type is the regional touch type corresponding to the target operation area, that is, the area where the target touch operation acts in each operation area on the target interface of the application is taken as the target operation area, and the regional touch type corresponding to the target operation area is taken as the target regional touch type. Then, based on the correspondence between different regional touch types and each touch optimization strategy, the touch optimization strategy corresponding to the target operation area can be determined.
[0060] It should be noted that the touch optimization strategy corresponds to the target touch operation, which is used to optimize the touch area of the target touch operation. That is to say, all touch points or touch areas triggered by the target touch operation can be optimized by the touch optimization strategy corresponding to the target touch operation. Exemplarily, after the electronic device detects the target touch operation, a corresponding identity identifier is set for the target touch operation, and the identity identifier of the target touch operation is the finger ID corresponding to the target touch operation, that is, the target finger ID. The identity information of the touch operation can be called a finger ID, and the touch screen usually uses multi-touch technology to realize the recognition and tracking of multiple fingers. When multiple fingers touch the touch screen at the same time, each finger will be assigned a unique finger ID so that the system can distinguish and track their positions. In most cases, the identification and tracking of finger IDs are completed by the operating system or device driver, and the application does not need to directly process the finger ID. Different operating systems may provide different finger ID identification methods. For the Android system, the Android operating system usually detects and tracks finger touch events through MotionEvent objects. In each touch event, the getPointerId(int pointerIndex) method can be used to obtain the unique ID of the finger. The pointerIndex parameter of this method represents the index of the finger, 0 represents the first finger, 1 represents the second finger, and so on.
[0061] In the embodiment of the present application, the touch optimization strategies that may be used may include adjusting touch response parameters, filtering and de-jittering, and improving hand tracking performance.
[0062] As an implementation method, the touch response parameter may include all parameters that can affect the recognition effect of touch gestures, such as touch sensitivity, touch reporting rate and input response time, which are not limited here. Among them, the touch sensitivity of the touch screen refers to the degree to which the touch screen can sense and respond to the user's touch input. In other words, the possibility that the touch signal input by the user can be recognized as a useful signal is related to the touch threshold corresponding to the useful signal. The lower the threshold, the higher the sensitivity, but the easier it is to touch by mistake. Common touch screens include resistive touch screens and capacitive touch screens. Among them, the resistive touch screen adopts a contact method between two layers of conductive film. When the user touches the screen with a finger or other object, a current is formed between the two layers of conductive film, and the screen determines the touch position according to the change of the current. The capacitive touch screen detects the touch position by sensing the change of the human body charge. Therefore, the touch sensitivity of the touch area can be adjusted by adjusting the touch threshold of the touch area.
[0063] The reporting rate of a touch screen refers to the number of valid reporting data that the touch screen can provide per unit time, which characterizes the response speed of the touch screen to touch events and improves the response rate of the touch screen. The higher the reporting rate, the faster the response speed (i.e., the better the hand-following property). The reporting rate can directly affect the response speed of the click operation and the smoothness of the sliding operation, i.e., the hand-following property. Generally, the smoothness of the sliding gesture of a touch screen refers to the touch screen being able to provide smooth, coherent, and non-obvious touch feedback when the user uses his finger to slide on the screen. It is very important for the user experience, because a sliding gesture with high smoothness can make the user feel that the operation is natural, smooth, and more comfortable. The smoothness of the sliding gesture is affected by the reporting rate of the touch screen. By setting the reporting rate, the touch screen provides a higher sampling rate, thereby increasing the smoothness of the sliding gesture.
[0064] It should be noted that, when the reporting rate increases, the collected sliding points can be made smoother. For example, taking uniform sliding as an example, assuming that there are multiple screen refresh operations, if there are 2 reporting points between the first screen refresh operation and the second screen refresh operation, the coordinates of the most recent touch point before the first screen refresh operation are 100, and the coordinates of the most recent touch point before the second screen refresh operation are 200, then it means that the starting position between the first screen refresh operation and the second screen refresh operation is 100, and the end position is 200. Note that the coordinates here omit the coordinates corresponding to another coordinate axis, and it is pre-assumed that the coordinate axis of all sliding points is the same, that is, only one coordinate axis has changed, that is, between the first screen refresh operation and the second screen refresh operation, the touch coordinates range from 100 to 200, and there are 3 reporting points between the second screen refresh operation and the third screen refresh operation, with coordinates from 200 to 350, so the difference between the two coordinates is 50. Then, after increasing the reporting rate, if there are 4 reporting points between the first screen refresh operation and the second screen refresh operation, the coordinates are still 100 to 200, and there are 5 reporting points between the second screen refresh operation and the third screen refresh operation, the coordinates are 200 to 325, and the difference between the two coordinates is only 25. It can be seen that the increase in the reporting rate will make the sliding gesture smoother, and the user's subjective feeling is that the sliding is smoother.
[0065] The input response time of a touch screen refers to the time it takes for the screen to quickly sense the touch input and make corresponding actions after the user touches the screen. A lower response time can provide faster and more immediate touch feedback, thereby improving the user experience. It should be noted that the aforementioned reporting rate and touch sensitivity can affect the input response time. Taking the input response time as a control parameter alone, the input response time can be adjusted in the following ways, including: (1) reducing the number of applications running in the background: closing unnecessary background applications and processes to free up system resources; (2) updating the touch screen driver; (3) reducing animations and special effects. The animations and special effects of certain operating systems or applications may cause the touch screen to respond more slowly. It should be noted that the input response time corresponds to the response rate, which is used to characterize the time from the time the hand touches to the time the point can be reported. There is a negative correlation between the input response time and the response rate. A lower input response time is usually accompanied by a higher response rate.
[0066] Filter debouncing refers to removing interference points generated during the target touch operation. That is to say, the filter debouncing of the sliding gesture is to reduce or eliminate the noise and instability in the gesture input, so that the gesture recognition is more accurate and smooth. Usually, the effect of the filter debouncing can be achieved through some filtering algorithms, such as Exponential Moving Average or Kalman Filter. In the embodiment of the present application, an IIR (Infinite Impulse Response) filter can be used to achieve the filter debouncing effect. Through the IIR filter, the current coordinate obtained = the last coordinate + coefficient * (this coordinate - last coordinate), where the coefficient determines the filter debouncing strength. The higher the coefficient, the greater the filter debouncing strength, and the lower the coefficient, the lower the filter debouncing strength.
[0067] Chirality refers to the fact that when a user slides the screen, the screen can respond according to the user's sliding angle. The higher the chirality, the smoother the picture will be, and the screen response will be more timely. Therefore, chirality emphasizes the consistency between the user's hand movements and the picture, that is, how the user's fingers move, the controlled character moves. As mentioned earlier, chirality can be improved by adjusting the touch screen's reporting rate. Of course, for sliding gestures, chirality can also be set by adjusting the filter system. As mentioned earlier, the function of the filter is to smooth the sliding operation, so that the sliding trajectory of the sliding operation input by the user is smoother. Correspondingly, chirality may be lost, because the corrected trajectory point may be different from the actual trajectory point. Therefore, by reducing the filter's filtering de-jitter strength, chirality can also be improved, while performance can be properly taken into account.
[0068] Therefore, by presetting the touch optimization strategies corresponding to different operation areas of different application types, each touch point of the target touch operation can be optimized by at least one of the above adjustment methods.
[0069] Therefore, when the target application is running, the embodiment of the present application sets a touch optimization strategy for the area of the touch point rather than the entire target interface, and the touch optimization strategy for the target touch operation will be based on the target operation area and application type corresponding to the target touch operation, so that the touch optimization strategy can better adapt to the user's touch needs and habits when using the target application.
[0070] See also Figure 5 , Figure 5 A touch optimization method provided in an embodiment of the present application is shown, which is applied to an electronic device having a touch screen. The method includes: S501 to S506.
[0071] S501: When the electronic device displays a target interface of a target application via the touch screen, obtaining an application type of the target application.
[0072] S502: Identify and obtain a preset operation area of the target interface.
[0073] S503: Determine the area touch type corresponding to the preset operation area based on the application type.
[0074] S504: Acquire a preset operation area corresponding to the operation position of the target touch operation acting on the target interface as the target operation area.
[0075] S505: Determine a touch operation attribute corresponding to the target touch operation based on the target area touch type of the target operation area.
[0076] S506: According to the touch operation attributes corresponding to the target touch operation, set the touch optimization strategy of the target touch operation. Regional touch type As an implementation method, each operation area in the target interface corresponds to a type, and a regional touch type can be set for each key area. Each regional touch type has corresponding touch operation attributes, and the touch operation attributes can determine the touch optimization strategy of the touch operation acting on the area. It should be noted that the action in the area mentioned in the embodiment of the present application refers to the area where the starting touch of the target touch operation is located after the target touch operation acting on the target interface is detected. Among them, the key area is the aforementioned preset operation area, which will not be repeated here.
[0077] It is understandable that even if the same type of operation control is used in applications of different application types, the corresponding touch operation attributes may be different. Therefore, in an embodiment of the present application, after detecting that the target interface of the target application is displayed on the touch screen, the target interface can be scanned first to determine the touch operation attributes corresponding to each key area.
[0078] Exemplarily, after the target interface is obtained, the type of the application may be determined according to the first information reported by the application, wherein the first information contains content that can characterize the application type. Exemplarily, the first information may include:
[0079]
[0080] In the embodiments of the present application, in order to illustrate the technical effects of the methods provided in the embodiments of the present application, each embodiment of the present application can be illustrated only from the first type of game and the second type of game. The first type of game and the second type of game have the same type of operation controls, for example, both include a small map control, but the operation area of the same type of operation control may have different touch operation properties in the first type of game and the second type of game.
[0081] See also Figure 6 , can be Figure 6 Determine the type of the target application in this way. First, obtain the application type of the target application through gameType. It should be noted that the gameType information can be actively reported when the target application is started. If the gameType is GAME_MODE_HONOR_OF_KINGS, determine that the application type of the target application is the first type of game. If the gameType is not GAME_MODE_HONOR_OF_KINGS, then determine whether the gameType is GAME_MODE_PEACE_ELITE. If the gameType is GAME_MODE_PEACE_ELITE, determine that the application type of the target application is the second type of game. If the gameType is not GAME_MODE_PEACE_ELITE, determine that the current mode is normal, that is, in normal mode, the method provided in this application may not be executed, and other methods may be used to optimize the touch experience of the target interface or not optimize it.
[0082] After determining the application type of the target application, it is necessary to determine the key areas included in the target interface of the target application, that is, to determine the key areas existing in the target interface. For example, all operation controls can be identified in advance, and then the key areas are determined from the operation areas corresponding to the various operation controls. The types of the operation controls may include:
[0083]
[0084]
[0085] The identification method of the operation area of the target interface can refer to the content described in the above embodiments. For example, the operation area corresponding to the preset type of operation control can be found from the operation areas corresponding to the various operation controls as the key area. In the embodiment of the present application, the preset type of operation control can include a small map control and a steering wheel control. Of course, it can also be other types, which is not limited to this. Then, the regional position of each key area can be determined through the regional position information of the obtained operation area.
[0086] Furthermore, in order to facilitate the subsequent setting of a matching touch optimization strategy for the touch operation after detecting that the user acts on each key area, the regional touch type can be set for each key area in the target interface based on the application type of the target application. The regional touch type is used to describe the characteristics of the touch operation of the key area, for example, the touch method.
[0087] Assuming in an embodiment of the present application, the key area can be a mini-map area and a steering wheel area, that is, the operation area whose area control type belongs to the mini-map area and the steering wheel area can be taken as the key area, that is, the preset operation area mentioned in the present application.
[0088] Then, it is necessary to set the regional touch type for the small map area and the direction wheel area of the target interface based on the application type of the currently displayed target interface. Figure 7 As shown, after detecting that the target interface of the target application is displayed on the touch screen of the electronic device, the key area in the target interface is determined, and then the boundary information of the key area in the target interface is obtained. The boundary information includes the type of the target application and the boundary information and area control type of each key area in the target interface. The area control type can be set based on the control in the key area. Figure 7 As shown, it is determined whether the application type is the first game type. If it is the first game type, it is determined whether the key area is a small map area. If it is a small map area, it is determined that the regional touch type of the small map area is a slow sliding area. If it is not a small map area, it is determined whether the key area is a steering wheel area. If it is a steering wheel area, it is determined that the regional touch type of the steering wheel area is a fast sliding area. If the application type is not the first game type but the second game type, it is determined whether the key area is a small map area. If it is a small map area, it is determined that the regional touch type of the small map area is a click area. If it is not a small map area, it is determined whether the key area is a steering wheel area. If it is a steering wheel area, it is determined that the regional touch type of the steering wheel area is a fast sliding area.
[0089] As described above, in the embodiment of the present application, it is assumed that the key area includes a small map area and a direction wheel area. For the application of the first game type, the area touch type of the small map area of the application is a slow sliding area, and for the application of the second game type, the area touch type of the small map area of the application is a click area. Specifically, the small map area of the application of the first game type supports sliding operations, and the small map area of the application of the second game type does not support sliding operations but only supports click operations. That is to say, in some embodiments, the small map area of the application of the second game type only supports clicks but not sliding, while for the application of the first game type, the user can input a sliding operation in its small map area, so that the interface can be slid to display content that is not displayed in the interface.
[0090] It should be noted that the fast sliding area, slow sliding area and click area, as the regional touch types of the key area, can characterize the demand for touch optimization in the key area and the characteristics of the touch operation in the key area. For example, the click area characterizes that the operation method in the area is a click operation, the slow sliding area characterizes that the operation method in the area is a slower sliding, and the fast sliding area characterizes that the operation method in the area is a faster sliding. Therefore, in view of the different operation methods in each key area of different types of applications, the regional touch type is re-set for each key area, that is, the fast sliding area, slow sliding area or click area, so that the touch optimization strategy corresponding to the touch currently acting on the target interface can be conveniently set based on the regional touch type in the future. Figure 8 As shown, after detecting the target touch operation acting on the target interface, the number of target touch operations is determined, that is, the number of current touching fingers is obtained, so that each finger ID can be obtained, and then, the coordinate information of each finger ID is obtained, and the key area where the coordinate information of each finger ID is located is determined. Then, based on the area touch type of each key area, the area touch type of the key area where the coordinate information of each finger ID is located is determined, that is, whether the key area where the coordinate information of each finger ID is located is a fast sliding area, a slow sliding area or a click area. If the target touch operation is located in the slow sliding area, the touch operation attribute of the finger ID is determined to be a slow sliding attribute, that is, GAME_SLOW_SLIDE_SHAKE_TYPE. If the target touch operation is located in the fast sliding area, the touch operation attribute of the finger ID is determined to be a fast sliding attribute, that is, GAME_FAST_SLIDE_CHIRALITY_TYPE. If the target touch operation is located in the click area, the touch operation attribute of the finger ID is determined to be a click attribute, that is, GAME_CLICK_TYPE.
[0091] Therefore, the embodiments of the present application can determine the operation areas corresponding to the various controls on the target interface by scanning the target interface, and can determine the type of operation area based on the type of control, and then determine the regional touch type of each operation area, i.e., the fast sliding area, slow sliding area and click area, in combination with the type of the target application. Then, when the target touch operation is detected, the touch operation attributes corresponding to the target touch operation are determined based on the area where the target touch operation falls.
[0092] In the exemplary embodiment, taking the first game type and the second game type as examples, when the finger touches the small map area of the application of the first game type, the finger is marked as a slow sliding attribute; when the finger touches the roulette area of the application of the first game type or the second game type, the finger is marked as a fast sliding attribute; when the finger touches the small map area of the application of the second game type, the finger is marked as a click attribute.
[0093] S505: Setting a touch optimization strategy for the target touch operation according to a touch operation attribute corresponding to the target touch operation.
[0094] As an implementation method, the touch operation attributes corresponding to each area touch type and the touch optimization strategy corresponding to each touch operation attribute can be predefined, so that after determining the target area touch type corresponding to the target touch operation and determining the touch operation attributes corresponding to the target area touch type, the touch optimization strategy of the target touch operation can be determined. It should be noted that in the embodiment of the present application, the touch optimization strategy set for the target touch operation is not limited to the key area acted on by the target touch operation, but the touch optimization strategy is executed for all touch areas corresponding to the target touch operation. Therefore, by adopting the touch operation attribute method, the target touch operation can be assigned the attribute, which is more convenient to record and easier to distinguish from the touch characteristics of the key area acted on by the target touch operation, because once the touch operation attribute is set for the target touch operation, its touch operation attribute is still maintained after the target touch operation leaves the key area initially acted on.
[0095] It should be noted that the corresponding relationship between the area touch type and the touch operation attribute is that the slow sliding area corresponds to the slow sliding attribute, the click area corresponds to the click attribute, and the fast sliding area corresponds to the fast sliding attribute.
[0096] If the touch operation attribute corresponding to the target touch operation is a slow sliding attribute, the touch optimization strategy for determining the target touch operation is to perform filtering and de-jittering on the sliding trajectory. Among them, the description of filtering and de-jittering can refer to the aforementioned embodiment and will not be repeated here. As mentioned above, if the current finger acts on the small map area of the first game type, the touch optimization strategy assigned to the finger ID is filtering and de-jittering. This is because within the small map, the user can slide the small map to switch the entire game field of view, so a certain degree of anti-shake processing is required.
[0097] If the touch operation attribute corresponding to the target touch operation is a click attribute, the touch optimization strategy for the target touch operation is determined to be to speed up the touch response. For example, the 2000Hz state is entered to speed up the touch response, wherein the 2000Hz state refers to scanning once every 0.5ms. Before entering the 2000Hz state, the default touch response state is used, and in the default touch response state, scanning once every 30ms. Fig. 9 As shown, by speeding up the touch response, that is, shortening the scanning interval, at the same finger pressing moment, fast scanning can achieve a fast response effect. As mentioned above, if the application type is the second game type and the target operation area is the small map area, the touch operation attribute corresponding to the target touch operation is determined to be a click attribute. Since the small map area of the second game type application usually does not have a sliding function and only supports click operations, the touch response to the touching finger ID acting on the small map area can be strengthened, that is, the scanning frequency, that is, shortening the scanning interval.
[0098] If the touch operation attribute corresponding to the target touch operation is a fast sliding attribute, the touch optimization strategy for the target touch operation is determined to be improving sliding chirality. The method for improving the chirality can refer to the previous description and will not be repeated here.
[0099] As an implementation mode, the above-mentioned area touch types and touch operation attributes are only examples. In actual use, they can be divided into more types, and more touch operation attributes and different touch optimization strategies can be set. This application does not limit this.
[0100] For example, the slow sliding area can be further subdivided into the following types according to the different controls or different functions corresponding to the slow sliding area: a: small map slow sliding; b: field of view slow sliding; c: game specific skill button direction slow sliding; d: skill button direction button slow sliding. Different filtering and de-jittering processes are performed for the above-mentioned a, b, c, and d type areas. For example, the filtering and de-jittering of the a type area is the strongest. In this scenario, the main focus of game players is the sufficient stability of the coordinate points. The filtering and de-jittering intensity can be set by adjusting the parameters of the filter. Although the b type is also slow sliding, it requires a certain degree of hand tracking, which not only ensures that the coordinates do not shake but also ensures better hand tracking. Therefore, this type of filtering and de-jittering can be weakened a little, 1 / 5 weaker than a type; the c type needs to improve the hand tracking more than the b type, so the filtering and de-jittering of the c type can be 1 / 5 weaker than the filtering and de-jittering of the b type; the d type is the strongest type of hand tracking in the a, b, c, and d type areas, and can be 2 / 5 weaker than the filtering and de-jittering of any type of a, b, and c.
[0101] For another example, according to the different controls or different functions corresponding to the fast sliding area, the fast sliding area can also be further subdivided into: 1) field of view fast sliding type, 2) game wheel fast sliding type, 3) zoom fast sliding type and 4) aiming and shooting fast sliding type, among which 3) zoom fast sliding type and 4) aiming and shooting fast sliding type correspond to first-person shooter games. The zoom means that the weapon props of the game character have the function of zooming and shooting. When the zoom is turned on, the field of view can be rotated by sliding the zoom area. Similarly, when aiming, the field of view can also be rotated by sliding the aiming area. Different degrees of hand tracking can be set for the above-mentioned different fast sliding areas. For example, 1) the field of view fast sliding type does not need to be particularly hand-tracked but must change smoothly, so that the graphic changes of the field of view will be smooth and stable. Similarly, according to 1), 2), 3) and 4), the chirality processing is added in sequence, and the above-mentioned scenes rely on chirality successively. For example, 1) the tracking degree of the field of view fast slide type is 0.1, 2) the tracking degree of the game wheel fast slide type is 0.2, 3) the tracking degree of the zoom fast slide type is 0.3, and 4) the tracking degree of the gun aiming fast slide type is 0.4.
[0102] It should be noted that in order to avoid abnormal problems caused by the target application switching back and forth between different touch optimizations due to real-time updating of the touch optimization strategy, after determining the touch optimization strategy corresponding to the target touch operation based on the application type and the target operation area, the touch optimization strategy of the target touch operation is kept unchanged while the target touch operation continues to act on the target interface. In other words, when the target touch operation is detected for the first time, the initial position of the target touch operation is determined, and the operation area corresponding to the initial position is determined as the target operation area. After determining the touch optimization strategy corresponding to the target touch operation based on the application type and the target operation area, before the target touch operation disappears, the touch optimization strategy of the target touch operation is kept unchanged regardless of whether the operation area affected by the target touch operation is changed.
[0103] like Fig.10 As shown, when a finger is detected pressing, an identifier is assigned to the finger, that is, a finger ID is obtained, the area where the finger ID acts is determined, and the touch operation attribute corresponding to the finger ID is determined based on the area and the application type. During the existence of the finger ID, the touch operation attribute of the finger ID will not change. That is to say, assuming that the initial position of the finger ID in the target interface of this touch is in the small map area, and the application type of the target application is the first game type, the touch operation attribute corresponding to the finger ID is a slow sliding attribute. After the finger ID moves out of the small map area subsequently, the touch operation attribute corresponding to the finger ID is still a slow sliding attribute, which can avoid interference caused by switching.
[0104] Therefore, in an embodiment of the present application, the regional touch type can be set in advance for each operation area within the target interface of the target application based on the application type of the target application, so that after a touch operation is detected, the touch operation attribute corresponding to the regional touch type of the touch operation is configured for the ID of the touch operation based on the position of the touch operation, and then, based on the touch operation attribute, the touch optimization strategy for the target touch operation is determined.
[0105] See also Fig.11 , which shows a structural block diagram of a touch optimization device 1100 provided in an embodiment of the present application. The device may include: a first acquisition unit 1101, an identification unit 1102, a determination unit 1103, a second acquisition unit 1104 and a setting unit 1105.
[0106] The first acquisition unit 1101 is configured to acquire an application type of a target application when the electronic device displays a target interface of the target application via the touch screen.
[0107] The identification unit 1102 is used to identify a preset operation area of the target interface.
[0108] The determining unit 1103 is configured to determine the area touch type corresponding to the preset operation area based on the application type.
[0109] Furthermore, the determination unit 1103 is also used to determine that the area touch type corresponding to the preset operation area is a slow sliding area if the application type is the first game type and the preset operation area is a small map area, wherein the small map area of the first game type supports sliding operations.
[0110] Furthermore, the determination unit 1103 is also used to determine that the area touch type corresponding to the preset operation area is a click area if the application type is a second game type and the preset operation area is a small map area, wherein the small map area of the second game type does not support sliding operations but supports click operations.
[0111] The second acquisition unit 1104 is used to acquire a preset operation area corresponding to the operation position of the target touch operation acting on the target interface as the target operation area.
[0112] The setting unit 1105 is used to determine a touch optimization strategy corresponding to the target touch operation based on the target area touch type of the target operation area, and the touch optimization strategy is used to optimize the touch area of the target touch operation.
[0113] Furthermore, the setting unit 1105 is further configured to determine, if the target area touch type of the target operation area is a slow sliding area, that the touch optimization strategy for the target touch operation is to perform filtering and de-jittering processing on the sliding trajectory.
[0114] Furthermore, the setting unit 1105 is further configured to determine that the touch optimization strategy for the target touch operation is to speed up the touch response if the target area touch type of the target operation area is a click area.
[0115] Furthermore, the setting unit 1105 is further configured to determine, if the target area touch type of the target operation area is a fast sliding area, that the touch optimization strategy of the target touch operation is to improve sliding tracking performance.
[0116] Furthermore, the setting unit 1105 is also used to determine the touch operation attributes corresponding to the target touch operation based on the target area touch type of the target operation area; and set the touch optimization strategy of the target touch operation according to the touch operation attributes corresponding to the target touch operation.
[0117] Furthermore, the setting unit 1105 is further configured to determine, if the touch operation attribute corresponding to the target touch operation is a slow sliding attribute value, that the touch optimization strategy for the target touch operation is to perform filtering and de-jittering processing on the sliding trajectory.
[0118] Furthermore, the setting unit 1105 is further configured to determine that the touch optimization strategy for the target touch operation is to speed up the touch response if the touch operation attribute corresponding to the target touch operation is a click attribute.
[0119] Furthermore, the setting unit 1105 is further configured to determine, if the touch operation attribute corresponding to the target touch operation is a fast sliding attribute, that the touch optimization strategy for the target touch operation is to improve sliding tracking.
[0120] Furthermore, the setting unit 1105 is further configured to keep the touch optimization strategy of the target touch operation unchanged while the target touch operation continues to act on the target interface.
[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0122] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0123] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0124] Please refer to Fig.12 , which shows a structural block diagram of an electronic device provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0125] The processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 110 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0126] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.
[0127] Please refer to Fig.13 , which shows a structural block diagram of a computer-readable medium provided in an embodiment of the present application. The computer-readable medium 1300 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0128] The computer readable medium 1300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable medium 1300 includes a non-transitory computer-readable storage medium. The computer readable medium 1300 has storage space for program code 1310 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 1310 can be compressed, for example, in an appropriate form.
[0129] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A touch optimization method, characterized in that: A touch screen applied to an electronic device, the method comprising: When the electronic device displays a target interface of a target application through the touch screen, acquiring an application type of the target application; Identify and obtain a preset operation area of the target interface; Based on the application type, determining the area touch type corresponding to the preset operation area; Acquire a preset operation area corresponding to the operation position of the target touch operation acting on the target interface as the target operation area; Based on the target area touch type of the target operation area, a touch optimization strategy corresponding to the target touch operation is determined, and the touch optimization strategy is used to optimize the touch area of the target touch operation, wherein the target area touch type is the area touch type corresponding to the target operation area.
2. The method according to claim 1, characterized in that Determining the area touch type corresponding to the preset operation area based on the application type includes: If the application type is a first game type and the preset operation area is a small map area, it is determined that the area touch type corresponding to the preset operation area is a slow sliding area, wherein the small map area of the first game type supports sliding operations.
3. The method according to claim 2, characterized in that The determining, based on the target area touch type of the target operation area, a touch optimization strategy corresponding to the target touch operation includes: If the target area touch type of the target operation area is a slow sliding area, the touch optimization strategy for the target touch operation is determined to perform filtering and de-jittering processing on the sliding trajectory.
4. The method according to claim 1, characterized in that: Determining the area touch type corresponding to the preset operation area based on the application type includes: If the application type is the second game type and the preset operation area is a small map area, it is determined that the area touch type corresponding to the preset operation area is a click area, wherein the small map area of the second game type does not support sliding operations but supports click operations.
5. The method according to claim 4, characterized in that The determining, based on the target area touch type of the target operation area, a touch optimization strategy corresponding to the target touch operation includes: If the target area touch type of the target operation area is a click area, the touch optimization strategy of the target touch operation is determined to be accelerating touch response.
6. The method according to claim 1, characterized in that The determining, based on the target area touch type of the target operation area, a touch optimization strategy corresponding to the target touch operation includes: If the target area touch type of the target operation area is a fast sliding area, the touch optimization strategy of the target touch operation is determined to improve sliding tracking.
7. The method according to claim 1, characterized in that The determining, based on the target area touch type of the target operation area, a touch optimization strategy corresponding to the target touch operation includes: Determining a touch operation attribute corresponding to the target touch operation based on a target area touch type of the target operation area; A touch optimization strategy for the target touch operation is set according to a touch operation attribute corresponding to the target touch operation.
8. The method according to any one of claims 1 to 7, characterized in that: After determining the touch optimization strategy corresponding to the target touch operation based on the target area touch type of the target operation area, the method further includes: While the target touch operation continues to act on the target interface, the touch optimization strategy of the target touch operation is kept unchanged.
9. A touch optimization device, characterized in that: A touch screen applied to an electronic device, the device comprising: A first acquisition unit, configured to acquire an application type of the target application when the electronic device displays a target interface of the target application through the touch screen; An identification unit, used to identify a preset operation area of the target interface; A determination unit, configured to determine, based on the application type, a regional touch type corresponding to the preset operation area; A second acquisition unit is used to acquire a preset operation area corresponding to an operation position of a target touch operation acting on a target interface as a target operation area; A setting unit is used to determine a touch optimization strategy corresponding to the target touch operation based on a target area touch type of the target operation area, wherein the touch optimization strategy is used to optimize the touch area of the target touch operation, wherein the target area touch type is an area touch type corresponding to the target operation area.
10. An electronic device, characterized in that: include: one or more processors; Memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to execute the method according to any one of claims 1-8.
11. A computer readable medium, characterized in that The computer-readable medium stores a program code executable by a processor, and when the program code is executed by the processor, the processor executes the method according to any one of claims 1 to 8.
Citation Information
Cited By
Dynamic response adjusting method for touch screen
CN120909453A