Gesture touch method and electronic device
By reallocating touch hot zones, electronic devices can flexibly allocate gesture touch events within a limited screen space, solving the problems of function implementation difficulties and misoperation caused by touch hot zone conflicts, and improving screen space utilization and user experience.
Patent Information
- Application Number
- CN202211429756.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-15
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2042-11-15
AI Technical Summary
Due to the limited size of touchscreens, the touch hotspots of system software or application software may conflict, making it impossible for electronic devices to effectively allocate gesture touch events, resulting in difficulty in implementing functions or misoperation.
Electronic devices redistribute conflicting touch hotspots, generating temporary target system hotspots and target application hotspots. Events are assigned to system software or application software based on the gesture input location, avoiding the occupation of more screen space and improving utilization.
It enables flexible allocation of gesture touch events within limited screen space, avoids accidental operation, improves screen space utilization, and ensures normal function execution.
Smart Images

Figure CN118051133B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of terminal, and particularly relates to a gesture touch method and an electronic device. BACKGROUND
[0002] Generally, electronic devices (including touch screens) such as mobile phones, tablet computers, wearable devices and vehicle-mounted devices receive gesture touch operations through touch screens to trigger system software or application software of the electronic devices. Due to the limited size of the touch screen, the touch hot areas of the system software and the application software conflict with each other. When the electronic device detects a gesture trigger event of the conflicting touch hot areas, if the user wants to use the system software, the electronic device will inject the gesture trigger event into the system software for execution. SUMMARY
[0003] Embodiments of the present application provide a gesture touch method and an electronic device. If a system touch hot area of system software and an application touch hot area of a target page of application software exist a conflicting touch hot area, the conflicting touch hot area is redistributed. According to the redistribution result of the conflicting touch hot area, a gesture trigger event is distributed to an operating system or a current application program, and a function corresponding to the gesture touch event in the operating system or the application program is realized.
[0004] To achieve the above object, embodiments of the present application adopt the following technical solutions:
[0005] In a first aspect, the present application provides a gesture touch method, which can be applied to an electronic device with a touch screen. In the method, first, the electronic device displays a target page of a target application software. Then, when a system touch hot area of system software and an application touch hot area of the target page exist a conflicting touch hot area, the electronic device redistributes the conflicting touch hot area to determine a target system hot area of the system software and a target application hot area of the target page. Next, when a gesture input position of a gesture touch event belongs to the target system hot area, the electronic device executes a first function in the system software corresponding to the gesture touch event. Alternatively, next, when the gesture input position of the gesture touch event belongs to the target application hot area, the electronic device executes a second function in the target application software corresponding to the gesture touch event.
[0006] It should be understood that the electronic device redistributes the conflicting touch hot area to generate a temporary target system hot area and a target application hot area. In the case of displaying the target page, the electronic device determines whether to distribute the gesture trigger event to the system software or the application software according to the target system hot area and the target application hot area.
[0007] In the present application, the electronic device re-allocates the conflict touch hot area, including: dividing all the conflict touch hot area into system touch hot area, dividing all the conflict touch hot area into application touch hot area, or dividing part of the conflict touch hot area into system touch hot area and dividing another part of the conflict touch hot area into application touch hot area.
[0008] Therefore, since the conflict touch hot area is part of the system touch hot area (application touch hot area), the conflict touch hot area is re-allocated without occupying more screen space, and the utilization rate of the screen space is improved by reusing the conflict touch hot area. According to the re-allocation result of re-allocating the conflict touch hot area, it is determined whether the gesture input position of the gesture touch event belongs to the target system hot area or the target application hot area, and the gesture trigger event is allocated to the system software or the application software, instead of being fixedly allocated to the system software, so that the allocation of the conflict touch hot area is more flexible, which can realize the function of the system software corresponding to the gesture trigger event and the function of the application software corresponding to the gesture trigger event. In addition, since the conflict touch hot area is part of the system touch hot area (application touch hot area), the user does not need to remember additional touch hot areas, which can avoid misoperation and is beneficial to realize the function corresponding to the gesture touch event.
[0009] In an implementation manner of the first aspect, after displaying the target page of the target application software, the gesture touch method further includes: when the first preset condition is met, the electronic device determines whether the system touch hot area of the system software and the application touch hot area of the target page exist a conflict touch hot area according to the hot area configuration file corresponding to the target application software; and when the first preset condition is not met, the electronic device determines whether the system touch hot area of the system software and the application touch hot area of the target page exist a conflict touch hot area according to whether the overlapping hot area exists between the screen display area corresponding to the system touch hot area and the screen display area corresponding to the application touch hot area.
[0010] The first preset condition includes that the target application software is included in the preset software list, or the conflict identifier corresponding to the target application software is the preset identifier; and the preset software list is used to store the application software having the overlapping hot area with the system touch hot area of the system software; and the preset identifier is used to mark the application software having the overlapping hot area with the system touch hot area of the system software.
[0011] It should be noted that the electronic device obtains the preset software list from the server and stores the preset software list. In the process of determining whether the first preset condition is met, the electronic device determines whether the target application software is included in the preset software list.
[0012] The preset software list can be obtained according to a download frequency, a use duration, a search frequency, a user evaluation, or the like. The application software that exists in a conflict touch hot area compared with the application touch hot area of the system software is selected from the application software in the top (for example, the top 10) of the ranking.
[0013] In the present application, the electronic device can load the preset software list from the cloud server, or generate a conflict identifier when installing the application software in the preset software list. The conflict identifier is used to identify whether the application software is stored in the preset software list.
[0014] In this way, the application software that exists in a conflict touch hot area compared with the system touch hot area is marked by the preset software list or the preset identifier. Whether the target application software belongs to the preset software list or whether the conflict identifier corresponding to the target software is the preset identifier is used to determine whether the system touch hot area of the system software and the application touch hot area of the target page exist in a conflict touch hot area by using different determination manners. If the determination manner according to the hot area configuration file corresponding to the target application software is used, the determination speed of the target application software can be improved. If the determination manner according to whether the system touch hot area and the application touch hot area exist in a conflict touch hot area is used, the determination result of whether the conflict touch hot area exists is obtained by determination, and the determination accuracy of the target page can be improved.
[0015] In an implementation manner of the first aspect, the electronic device determines whether the system touch hot area of the system software and the application touch hot area of the target page exist in a conflict touch hot area according to the hot area configuration file corresponding to the target application software, and the determination can also be implemented in the following manner. First, the electronic device obtains the hot area configuration file corresponding to the target application software. When the hot area configuration file includes the hot area configuration parameter corresponding to the target page, the electronic device determines that the system touch hot area of the system software and the application touch hot area of the target page exist in a conflict touch hot area.
[0016] The hot area configuration parameter is used to indicate a re-distribution manner of the conflict touch hot area.
[0017] In this way, whether the system touch hot area of the system software and the application touch hot area of the target page exist in a conflict touch hot area is determined by searching whether the hot area configuration file includes the hot area configuration parameter corresponding to the target page, and the determination speed of the target application software can be improved.
[0018] In an implementation form of the first aspect, before the electronic device acquires the hot zone configuration file corresponding to the application software, the gesture touch method further comprises: receiving the hot zone configuration file corresponding to the target application software sent by the server, and storing the hot zone configuration file corresponding to the target application software in a file storage location of the system software.
[0019] The hot zone configuration file corresponding to the target application software is configured to store hot zone configuration parameters corresponding to at least one conflict page, each of the at least one conflict page is a page in which the corresponding application touch hot zone and the system touch hot zone of each page of the target application software have an overlapping hot zone, and each page of the target application software includes the target page.
[0020] In this way, the server stores the hot zone configuration files of multiple application softwares, and sends the hot zone configuration file corresponding to the target application software to the electronic device in which the target application software is installed, that is, the electronic device only needs to store the hot zone configuration file corresponding to the target application software, which can reduce the amount of data required to be stored by the electronic device and save system resources.
[0021] In an implementation form of the first aspect, the electronic device re-allocates the conflict touch hot zone to determine the target system hot zone of the system software and the target application hot zone of the target page, and can also be implemented in the following manner: re-allocating the conflict touch hot zone according to the hot zone configuration parameters corresponding to the target page in the hot zone configuration file to determine the target system hot zone of the system software and the target application hot zone of the target page.
[0022] The hot zone configuration parameters corresponding to the target page include the target system hot zone of the system software and the target application hot zone of the target page. The generation of the hot zone configuration parameters corresponding to the target page is based on at least one of the following: the system touch hot zone, a key touch hot zone in the system touch hot zone, system historical usage information of the system software, application touch hot zones, and application historical usage information in the target page. The key touch hot zone is configured to ensure that the system software can operate normally, and the key touch hot zone belongs to the target system hot zone of the system software.
[0023] The historical usage information of the system software can include at least one of the following: a system function triggering number of the system software, and a system triggering frequency of the system software. The historical usage information of the target page can include at least one of the following: an application function triggering number of the target page, and an application triggering frequency.
[0024] It should be noted that the electronic device saves the hot zone configuration parameters in the form of extensible markup language (XML), and the hot zone configuration file is an XML file.
[0025] Thus, considering the system touch hot area, the key touch hot area in the system touch hot area, the system historical usage information of the system software, the application touch hot area and the application historical usage information in the target page, various possible situations for the target page are provided with various allocation results of the re-allocation of the conflict touch hot area. Since the conflict touch hot area is part of the system touch hot area (application touch hot area), the re-allocation of the conflict touch hot area does not need to occupy more screen space, realizes the reuse of the conflict touch hot area, and improves the utilization rate of the screen space. According to the key touch hot area and the historical usage information of the system software, and the historical usage information of the application software, the conflict touch hot area is directly re-allocated, or the conflict touch hot area is re-allocated after the generation of the hot area configuration file, which can make the target software executing the gesture trigger event conform to the actual needs of the user, thereby realizing the function of the system software (application software) corresponding to the gesture trigger event.
[0026] In an implementation form of the first aspect, the hot area configuration parameters corresponding to the target page in the application include any of the following: the target system hot area includes: the overlapping key hot area, and the touch hot area in the system touch hot area except the conflict touch hot area; the target application hot area includes: the touch hot area in the conflict touch hot area except the overlapping key hot area, and the touch hot area in the application touch hot area except the conflict touch hot area; the overlapping key hot area is the overlapping hot area of the key touch hot area and the conflict touch hot area. Alternatively, the target system hot area is the system touch hot area, and the target application hot area is the touch hot area in the application touch hot area except the conflict touch hot area. Alternatively, the target system hot area is the touch hot area in the system touch hot area except the conflict touch hot area, and the target application hot area is the application touch hot area. Alternatively, the target system hot area includes: the touch hot area in the system touch hot area except the conflict touch hot area, and the first touch hot area in the conflict touch hot area; and the target application hot area includes: the touch hot area in the application touch hot area except the conflict touch hot area, and the second touch hot area in the conflict touch hot area.
[0027] The allocation ratio of the first touch hot area and the second touch hot area can correspond to the ratio of the first number and the second number, and can also correspond to the ratio of the first input probability and the second input probability.
[0028] It is worth noting that in the process of dividing the conflict touch hot area by the electronic device, the first touch hot area can be divided according to the proximity principle and the allocation ratio, and the touch hot area closer to the system touch hot area can be divided into the first touch hot area. The second touch hot area can be divided according to the proximity principle and the allocation ratio, and the touch hot area closer to the application touch hot area can be divided into the second touch hot area.
[0029] Thus, since the hot area configuration file is determined according to the key touch hot area of the system software, the historical application information of the system software, and the historical use information of the application software, after the conflict touch hot area is re-allocated according to the hot area configuration file, the user's intuitive feeling can be maximally met, the user is not easy to make a mistake in controlling the progress bar, and the function of controlling the progress bar can be realized in the target application hot area of the application software. According to the manner of pushing the hot area configuration file by the server, the target system hot area and the target application hot area are automatically adjusted according to the coincidence of the application touch hot area and the system touch hot area of the target page, which can avoid modifying the hot area configuration file in a high coupling manner, save the development cycle of the application software. At the same time, it can also ensure that the gesture touch event received by the electronic device can execute the first function in the system software according to the gesture input position of the gesture touch event, and can also execute the second function in the application software.
[0030] In an implementation form of the first aspect, the electronic device determines whether the system touch hot area of the system software and the application touch hot area of the target page exist the conflict touch hot area according to whether the screen display area corresponding to the system touch hot area and the screen display area corresponding to the application touch hot area exist the overlapping hot area, and the determination can also be realized by the following manner. First, the electronic device receives the application touch hot area of the target page reported by the target application software through the preset application programming interface. Next, when the screen display area corresponding to the system touch hot area and the screen display area corresponding to the application touch hot area exist the overlapping hot area, it is determined that the system touch hot area of the system software and the application touch hot area of the target page exist the conflict touch hot area.
[0031] The preset application programming interface refers to an interface reserved in the system software for the application software to report the application touch hot area of the target page.
[0032] Thus, the preset application programming interface is set in the system software for the target software to report the application touch area of the target page, so that the system software can timely acquire the application touch area, and then timely determine whether the system touch hot area of the system software and the application touch hot area of the target software exist the conflict touch hot area, so as to timely allocate the gesture touch event to the system software or the application software after receiving the gesture touch event.
[0033] In an implementation form of the first aspect, the electronic device reallocates the conflict touch hot area to determine the target system hot area of the system software and the target application hot area of the target page, and the method can be further implemented by the following manner. When the second preset condition is met, the target system hot area is determined to include the overlap key hot area and the touch hot area in the system touch hot area except the conflict touch hot area, and the target application hot area is determined to include the touch hot area in the application touch hot area except the conflict touch hot area and the touch hot area in the conflict touch hot area except the overlap key hot area. When the second preset condition is not met, the conflict touch hot area is reallocated according to the system historical usage information of the system software and the application historical usage information of the target page to determine the target system hot area of the system software and the target application hot area of the target page.
[0034] The second preset condition includes that the application touch hot area includes the key touch hot area, and the key touch hot area has the overlap key hot area with the conflict touch hot area. The key touch hot area is used to ensure that the system software can normally operate.
[0035] It can be understood that, in the process of reallocating the conflict touch hot area according to the key touch hot area of the system software by the electronic device, the electronic device can temporarily transfer the non-key touch hot area in the conflict touch hot area to the application software, and the key touch hot area in the conflict touch hot area cannot be transferred to the application software. That is to say, if the key touch hot area has the overlap hot area with the conflict touch hot area, the overlap hot area of the key touch hot area and the conflict touch hot area is determined as the target system hot area in the process of allocating the conflict touch hot area.
[0036] It should be noted that, in order to ensure that the system software can normally operate, the key touch hot area is set in the system touch hot area. The key touch hot area is a reserved touch hot area of the system software. If the key touch hot area does not have the overlap hot area with the conflict touch hot area, the electronic device reallocates the conflict touch hot area according to the following conditions.
[0037] In this way, in the case that the application touch hot area includes the key touch hot area, and the key touch hot area has the overlap key hot area with the conflict touch hot area, the conflict touch hot area is reallocated, on the one hand, to ensure that the system software can normally operate, and on the other hand, to allocate the gesture trigger event to the system software or the application software, instead of fixedly allocating the gesture trigger event to the system software, so that the allocation of the conflict touch hot area is more flexible, and the function of the system software corresponding to the gesture trigger event can be realized, and the function of the application software corresponding to the gesture trigger event can also be realized.
[0038] In an implementation form of the first aspect, the system historical usage information comprises at least one of: a system function triggering number of the system software, a system triggering frequency of the system software; and the application historical usage information comprises at least one of: an application function triggering number of the target page, an application triggering frequency of the target page. The electronic device re-allocates the conflict touch hot area according to the system historical usage information of the system software and the application historical usage information of the target page to determine the target system hot area of the system software and the target application hot area of the target page. The re-allocating can be further implemented in the following manner. When the third preset condition is met, or the fourth preset condition is met, the electronic device determines the target system hot area as the system touch hot area, and determines the target application hot area as the touch hot area other than the conflict touch hot area in the application touch hot area. When the fifth preset condition is met, or the sixth preset condition is met, the electronic device determines the target system hot area as the touch hot area other than the conflict touch hot area in the system touch hot area, and determines the target application hot area as the application touch hot area.
[0039] The third preset condition is that a difference between the system function triggering number and the application function triggering number is greater than a first preset value. The fourth preset condition is that a difference between the system triggering frequency and the application triggering frequency is greater than a third preset value. The fifth preset condition is that a difference between the application function triggering number and the system function triggering number is greater than a second preset value. The sixth preset condition is that a difference between the application triggering frequency and the system triggering frequency is greater than a fourth preset value.
[0040] In this way, considering the system touch hot area, the key touch hot area in the system touch hot area, the system historical usage information of the system software, the application touch hot area and the application historical usage information in the target page, various allocation results of re-allocating the conflict touch hot area are provided for various possible situations of the target page. Since the conflict touch hot area is a part of the system touch hot area (application touch hot area), re-allocating the conflict touch hot area does not need to occupy more screen space, realizes the reuse of the conflict touch hot area, and improves the utilization rate of the screen space. According to the key touch hot area and the historical usage information of the system software, and the historical usage information of the application software, the conflict touch hot area is directly re-allocated, which can make the target software executing the gesture triggering event more consistent with the actual needs of the user, thereby realizing the function of the system software (application software) corresponding to the gesture triggering event.
[0041] In an implementation form of the first aspect, the electronic device reallocates the conflict touch hot area according to the system history usage information of the system software and the application history usage information of the target page to determine the target system hot area of the system software and the target application hot area of the target page. The target system hot area is determined to include the touch hot areas other than the conflict touch hot area in the system touch hot area and the first touch hot area in the conflict touch hot area, and the target application hot area is determined to include the touch hot areas other than the conflict touch hot area in the application touch hot area and the second touch hot area in the conflict touch hot area, when the third preset condition is not met, the fourth preset condition is not met, the fifth preset condition is not met, and the sixth preset condition is not met.
[0042] In this way, the problem that the related function of the application software page is difficult to respond and is prone to mis-touch in the case of the conflict touch hot area can be solved, and the page function of the application software and the basic function of the system software can be implemented.
[0043] In an implementation form of the first aspect, the electronic device reallocates the conflict touch hot area to determine the target system hot area of the system software and the target application hot area of the target page. The conflict touch hot area can be reallocated in the following way. First, the electronic device prompts the system touch hot area, the application touch hot area and the conflict touch hot area on the target page. Then, the electronic device receives a hot area setting operation input by the user. Next, the electronic device reallocates the conflict touch hot area to determine the target system hot area of the system software and the target application hot area of the target page in response to the hot area setting operation.
[0044] The hot area setting operation is used to set the target system hot area and the target application hot area by the user.
[0045] In this way, the allocation of the conflict touch hot area is more flexible, and the function of the system software corresponding to the gesture trigger event can be implemented, and the function of the application software corresponding to the gesture trigger event can also be implemented.
[0046] In an implementation form of the first aspect, the electronic device prompts the key touch hot area on the target page before the electronic device receives the hot area setting operation input by the user.
[0047] The key touch hot area is used to ensure that the system software can normally run, and the key touch hot area belongs to the target system hot area of the system software.
[0048] Therefore, in the case that the key touch hot area is overlapped with the conflict touch hot area, the conflict touch hot area is re-allocated, so that the system software can be normally run, and the allocation of the conflict touch hot area is more flexible, and the function of the system software corresponding to the gesture trigger event can be realized, and the function of the application software corresponding to the gesture trigger event can be realized.
[0049] In a second aspect, another gesture touch device is provided, which includes a display unit, a determination unit and an execution unit. The display unit is configured to display a target page of a target application software. The determination unit is configured to, when there is a conflict touch hot area between a system touch hot area of a system software and an application touch hot area of the target page, re-allocate the conflict touch hot area to determine a target system hot area of the system software and a target application hot area of the target page. The execution unit is configured to, when the gesture input position of the gesture touch event belongs to the target system hot area, execute a first function in the system software corresponding to the gesture touch event; and the execution unit is further configured to, when the gesture input position of the gesture touch event belongs to the target application hot area, execute a second function in the target application software corresponding to the gesture touch event.
[0050] In a third aspect, an electronic device is provided, which includes a memory and one or more processors; the memory and the processors are coupled; and the memory stores computer program codes including computer instructions, which, when executed by the processors, cause the electronic device to perform the gesture touch method of any one of the first aspect.
[0051] In a fourth aspect, a computer readable storage medium is provided, which includes computer instructions, which, when executed on an electronic device, cause the electronic device to perform the gesture touch method of any one of the first aspect.
[0052] In a fifth aspect, a computer program product is provided, which, when executed on a computer, causes the computer to perform the gesture touch method of any one of the first aspect.
[0053] It can be understood that the electronic device of the third aspect, the computer readable storage medium of the fourth aspect and the computer program product of the fifth aspect can achieve the beneficial effects as described in the first aspect, the second aspect and any possible design manner thereof, which will not be described herein. BRIEF DESCRIPTION OF DRAWINGS
[0054] Figure 1 A gesture touch effect diagram in the related art is shown;
[0055] Figure 2A hardware structure schematic diagram of an electronic device according to an embodiment of the present application;
[0056] Figure 3 A software structure schematic diagram of an electronic device according to an embodiment of the present application;
[0057] Figure 4 A structure schematic diagram of a gesture touch method according to an embodiment of the present application;
[0058] Figure 5 A flowchart of a gesture touch method according to an embodiment of the present application;
[0059] Figure 6 A gesture touch effect schematic diagram for system software according to an embodiment of the present application;
[0060] Figure 7 A flowchart of a gesture touch method according to an embodiment of the present application;
[0061] Figure 8 A gesture touch effect schematic diagram for application software according to an embodiment of the present application;
[0062] Figure 9 A touch effect comparison schematic diagram of system software and application software according to an embodiment of the present application;
[0063] Figure 10 A hot area distribution and corresponding gesture touch effect schematic diagram according to an embodiment of the present application;
[0064] Figure 11 A flowchart of a gesture touch method according to an embodiment of the present application;
[0065] Figure 12 A gesture touch effect schematic diagram for application software according to an embodiment of the present application;
[0066] Figure 13 A hot area distribution and corresponding gesture touch effect schematic diagram according to an embodiment of the present application;
[0067] Figure 14 A structure schematic diagram of a gesture touch device according to an embodiment of the present application;
[0068] Figure 15 A structure schematic diagram of another electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0069] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. In the description of the present application, unless otherwise specified, " / " represents a "or" relationship between the objects before and after the " / ", for example, A / B can represent A or B; in the present application, "and / or" is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. In the description of the present application, unless otherwise specified, "multiple" means two or more than two. "At least one of the following" or the like means any combination of the items, including any combination of single or multiple items. For example, at least one of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, "first", "second", and the like are used to distinguish the same items or similar items with basically the same function and effect. Those skilled in the art can understand that "first", "second", and the like do not limit the quantity and execution order, and "first", "second", and the like do not necessarily mean different. At the same time, in the embodiments of the present application, "exemplary" or "for example" means to represent as an example, illustration or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the use of "exemplary" or "for example" is intended to present the relevant concept in a specific manner, for understanding.
[0070] In the scenario of touch hot area conflict, if the electronic device detects that the gesture input position of the gesture touch operation belongs to the conflict touch hot area, and both the system software and the application software set the function corresponding to the gesture touch operation, it is necessary to determine whether to execute the gesture touch operation according to the system logic corresponding to the system software or the application logic corresponding to the application software. For example, the touch hot area of the system software of the electronic device is the full-screen range, and the touch hot area of the video playing page in the application software (such as video playing software) is also the full-screen range, that is, the system software and the video playing page of the application software meet the scenario of touch hot area conflict. If the electronic device receives the gesture touch operation (left swipe operation), according to the system logic corresponding to the system software, the function corresponding to the left swipe operation is realized: "back" to the previous page, and according to the application logic corresponding to the video playing software, the function corresponding to the left swipe operation is realized: play the previous video. When the electronic device triggers the gesture trigger event (receives the gesture touch operation in the conflict touch hot area), the gesture trigger event is assigned to the system software, and the function corresponding to the gesture touch event in the application software cannot be realized.
[0071] In the first related technology, the electronic device can execute the system gesture navigation logic set by the user according to the start position of the gesture input, if the preset full-screen edge position threshold condition is met, otherwise the gesture logic of the current application is executed. If the trigger area of the target function of the current application is located at the full-screen edge, only the target gesture input (gesture input starting from the full-screen edge) received by the electronic device can trigger the target function. However, through the above related technology, for the target gesture for triggering the target function, the electronic device determines through judgment that the target gesture input meets the preset full-screen edge position threshold condition, executes the system gesture navigation logic set by the user, and cannot execute the gesture logic of the current application, which still causes the target function corresponding to the target gesture input in the current application to be unable to be realized.
[0072] In the second related technology, for the same page of the application software interface, if there is a conflict touch hot area, the electronic device can set a control recognition area on the software interface of the top layer application of the touch screen device as a virtual touchpad; according to the current touch input position on the touch screen, one of the first control instruction corresponding to the top layer application or the second operation instruction corresponding to the virtual touchpad is executed. That is, for the case that the same touch input corresponds to different functions, a fixed and large enough area is drawn on the screen to accept different touch inputs. In this way, the same touch input in the application software interface realizes different functions, the user does not need to exit the current editing state of the application state, the misoperation can be avoided, the use is convenient, and the user experience is improved.
[0073] For example, as Figure 1As shown in FIG. 1, it is assumed that the top-level application software is a PPT presentation application, and the current editing state of the PPT presentation application is editing the first page. In the case where the first page of the PPT presentation application is displayed, the finger is swiped from right to left within the virtual touchpad range, and the second page of the PPT presentation application is turned to. Without receiving an operation for exiting the current editing state, the backward page turning function is realized.
[0074] In the second related technology, the running process of the application software internal program, such as setting the operation recognition area, executing the first operation control instruction, and executing the second operation control instruction, is used to realize different functions corresponding to gesture input in the application software, and the functions corresponding to gesture input in the system software are not involved. In combination with the second related technology, the virtual touchpad and the touch screen are respectively set to correspond to the system software and the application software, so as to solve the problem that the same touch input can realize the functions corresponding to the application software and the functions corresponding to the system software. However, since the size of the touch screen of many electronic devices (such as mobile phones, smart watches, etc.) is limited, it is difficult to divide a fixed position for the virtual touchpad on the screen without affecting the normal function of the top-level application, which is not conducive to realizing the functions corresponding to gesture touch control. Moreover, if the same touch input corresponds to at least three functions, at least two virtual touchpads need to be drawn according to the second related technology, so that the user needs to remember the functions corresponding to the virtual touchpads, which increases the possibility of misoperation and is not conducive to realizing the functions corresponding to gesture touch control.
[0075] In order to avoid the problem that the size of the touch screen of the electronic device is limited, so that the functions corresponding to gesture touch control events in the system software or the application software cannot be realized, a gesture touch control method is provided in the embodiments of the present application. In the method, first, it is determined whether there is a conflict touch hot area between the system touch hot area of the system software and the application touch hot area of the target page of the application software. If there is, the conflict touch hot area is re-allocated to determine the target system hot area of the system software and the target application hot area of the target page. Then, the gesture touch control event is received. If the gesture input position of the gesture touch control event belongs to the target system hot area, the gesture trigger event is allocated to the system software, and the first function corresponding to the system software is executed. If the gesture input position of the gesture touch control event belongs to the target application hot area, the gesture trigger event is allocated to the application software, and the second function corresponding to the application software is executed.
[0076] In the embodiment of the present application, in the case that the preset software list includes the software identifier corresponding to the application software, it is determined that the at least one page of the system software and the application software has a conflict hot area, and then the hot area configuration file corresponding to the application software is acquired; in the case that the configuration file includes the hot area configuration parameter corresponding to the target page, it is determined that the system touch hot area of the system software and the application touch hot area of the target page have a conflict touch hot area. In the case that the preset software list does not include the software identifier corresponding to the application software, the system touch hot area of the system software and the application touch hot area of the target page are acquired; in the case that the screen display area corresponding to the system touch hot area of the system software has an overlapping hot area compared with the screen display area corresponding to the application touch hot area of the target page, it is determined that the system touch hot area of the system software and the application touch hot area of the target page have a conflict touch hot area.
[0077] In the embodiment of the present application, the electronic device reassigns the conflict touch hot area to generate a temporary target system hot area and a target application hot area. In the case that the target page is displayed, the electronic device determines whether to assign the gesture trigger event to the system software or the application software according to the target system hot area and the target application hot area.
[0078] In the embodiment of the present application, the electronic device reassigns the conflict touch hot area, including: dividing all the conflict touch hot areas into system touch hot areas, dividing all the conflict touch hot areas into application touch hot areas, or dividing a part of the conflict touch hot areas into system touch hot areas and dividing another part of the conflict touch hot areas into application touch hot areas. That is, the target system hot area of the system software and the target application hot area of the target page can be any of the following cases.
[0079] In the first case, the target system hot area is a system touch hot area, and the target application hot area is a touch hot area other than the conflict touch hot area in the application touch hot area.
[0080] In the second case, the target system hot area is a touch hot area other than the conflict touch hot area in the system touch hot area, and the target application hot area is an application touch hot area.
[0081] In the third case, the target system hot area includes: a touch hot area other than the conflict touch hot area in the system touch hot area, and a first touch hot area in the conflict touch hot area belongs to the system touch hot area. The target application hot area includes: a touch hot area other than the conflict touch hot area in the application touch hot area, and a second touch hot area in the conflict touch hot area.
[0082] It should be noted that if the conflict touch hot area can be divided into the first touch hot area and the second touch hot area, the allocation ratio of the first touch hot area and the second touch hot area is not limited in the embodiment of the present application.
[0083] The gesture touch method provided by the embodiment of the application is because the conflict touch hot area is a part of the system touch hot area (application touch hot area), the conflict touch hot area is redistributed, more screen space is not occupied, the utilization rate of the screen space is improved by multiplexing the conflict touch hot area. According to the redistribution result of the redistribution of the conflict touch hot area, it is judged whether the gesture input position of the gesture touch event belongs to the target system hot area or the target application hot area, and the gesture trigger event is distributed to the system software or the application software, instead of the gesture trigger event being fixedly distributed to the system software, so that the distribution of the conflict touch hot area is more flexible, the function of the system software corresponding to the gesture trigger event can be realized, and the function of the application software corresponding to the gesture trigger event can be realized. In addition, the conflict touch hot area is a part of the system touch hot area (application touch hot area), the user does not need to remember an additional touch hot area, misoperation can be avoided, and the function corresponding to the gesture touch event can be realized.
[0084] For example, the electronic device can be a mobile terminal such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), and the like. The specific type of the electronic device is not limited in the embodiments of the application.
[0085] The gesture touch method provided by the embodiment of the application can be applied to an electronic device. Please refer to Figure 2 , which shows a schematic diagram of the hardware structure of the electronic device 100.
[0086] As shown in Figure 2 , the electronic device 100 can include a processor 110, an external memory interface 120, an internal memory 121, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a display screen 194, and a subscriber identification module (SIM) card interface 195, and the like.
[0087] It can be understood that the structure shown in the embodiment of the application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, the electronic device 100 can include more or fewer components than the diagram, or combine certain components, or split certain components, or different component arrangements. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0088] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors.
[0089] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to instruction operation codes and timing signals, and complete the control of fetching and executing instructions.
[0090] The memory in the processor 110 can also be configured to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can directly call from the memory. Avoiding repeated access reduces the waiting time of the processor 110, thus improving the efficiency of the system.
[0091] The wireless communication function of the electronic device 100 can be realized through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor, etc.
[0092] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0093] The mobile communication module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the electronic device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform filtering, amplification, etc. on the received electromagnetic waves, and transfer the same to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and radiate the same as electromagnetic waves through the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 can be disposed in the same device as at least part of the modules of the processor 110.
[0094] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the microphone 170B, etc.), or displays an image or a video through the display screen 194. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110, and disposed in the same device as the mobile communication module 150 or other functional modules.
[0095] The wireless communication module 160 can provide a solution for wireless communication including wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, etc. applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives an electromagnetic wave via the antenna 2, frequency-modulates and filters the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 can also receive a signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and radiate it as an electromagnetic wave via the antenna 2.
[0096] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidu navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).
[0097] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.
[0098] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diode (QLED), or the like. In some embodiments, the electronic device 100 can include one or N display screens 194, where N is a positive integer greater than 1.
[0099] The external memory interface 120 can be configured to connect an external memory card, such as a Micro SD card, to extend the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to perform data storage functions. For example, music, video, and the like can be stored in the external memory card.
[0100] The internal memory 121 can be configured to store computer-executable program codes including instructions. The processor 110 performs various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required for a function (such as a sound play function, an image play function, and the like), and the like. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phonebook, and the like), and the like. In addition, the internal memory 121 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one of a magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
[0101] The SIM card interface 195 is configured to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external storage cards. The electronic device 100 interacts with a network through the SIM card to achieve functions such as call and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0102] The software system of the electronic device 100 can use a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. Embodiments of the present application take the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100. Figure 3 FIG. 1 is a schematic diagram of the software structure of the electronic device 100 according to an embodiment of the present application.
[0103] The layered architecture divides software into several layers, each of which has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0104] The application layer can include a series of application packages.
[0105] As shown in FIG. 1, the application packages can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, and the like. Figure 3 The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications of the application layer. The application framework layer includes some pre-defined functions.
[0106] As shown in FIG. 1, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0107] Figure 3 As shown in FIG. 1, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0108] The window manager is used to manage windows programs. The window manager can acquire the display screen size, determine whether there is a status bar, lock the screen, and capture the screen, etc.
[0109] The content provider is used to store and acquire data, and make the data accessible to the application program. The data can include video, image, audio, dialed and received phone, browsing history and bookmark, phone book, etc.
[0110] The view system includes visual controls, such as a control for displaying text, a control for displaying pictures, etc. The view system can be used to build an application program. A display interface can be composed of one or more views. For example, a display interface including a short message notification icon can include a view for displaying text and a view for displaying pictures.
[0111] The phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call state (including connection, hang-up, etc.).
[0112] The resource manager provides various resources for the application program, such as localized strings, icons, pictures, layout files, video files, etc.
[0113] The notification manager makes the application program display notification information in the status bar, which can be used to convey a type of message, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform the completion of the download, message reminder, etc. The notification manager can also be a notification in the form of a chart or a scroll bar text appearing in the top status bar of the system, such as a notification of an application program running in the background, and can also be a notification in the form of a dialogue window appearing on the screen. For example, prompting text information in the status bar, issuing a prompt sound, the electronic device vibrating, the indicator light flashing, etc.
[0114] The Android Runtime includes the core library and the virtual machine. The Android Runtime is responsible for the scheduling and management of the Android system.
[0115] The core library contains two parts: one part is the function function called by the java language, and the other part is the core library of Android.
[0116] The application program layer and the application program framework layer run in the virtual machine. The virtual machine executes the java file of the application program layer and the application program framework layer into a binary file. The virtual machine is used to perform the management of the object life cycle, the management of the stack, the management of the thread, the management of the security and the exception, and the garbage collection, etc.
[0117] The system library can include multiple functional modules. For example: a surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), and 2D graphics engines (e.g., SGL). The surface manager manages the display subsystem and provides fusion of 2D and 3D layers for multiple applications. The media libraries support playback and recording of various common audio and video formats, as well as still image files. The media libraries support various audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG. The 3D graphics processing libraries are used to implement 3D graphics drawing, image rendering, compositing, and layer processing. The 2D graphics engine is the drawing engine for 2D graphics.
[0118] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0119] based on Figure 2 and Figure 3 When the electronic device 100 implements the gesture touch method in the embodiments of this application, the workflow of the software and hardware of the electronic device 100 is exemplarily described in the scenario of touch hotspot conflict. The electronic device 100 loads the installation file of the application software through one or more of the following: external memory interface 120, internal memory 121, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, and SIM card interface. The electronic device 100 runs system software and application software at the application layer. The electronic device 100 obtains the system touch hotspot of the system software and the application touch hotspot of the application software through the application framework layer. The processor 110 in the electronic device 100 determines, through the Android Runtime, whether there is a conflicting touch hotspot between the system touch hotspot of the system software and the application touch hotspot of the target page of the application software. If a conflicting touch hotspot exists, it reallocates the conflicting touch hotspot to determine the target system hotspot of the system software and the target application hotspot of the target page. The electronic device 100 receives gesture touch events through the application framework layer. When the gesture input location of the touch event falls within the target system's hotspot, the processor 110 in the electronic device 100 distributes the gesture trigger event to the system software via the Android Runtime, executing the corresponding first function of the system software. When the gesture input location of the touch event falls within the target application's hotspot, the processor 110 in the electronic device 100 distributes the gesture trigger event to the application software via the Android Runtime, executing the corresponding second function of the application software. The display screen 194 in the electronic device 100 is used to display the function page of the first function corresponding to the system software, or to display the function page of the second function corresponding to the application software.
[0120] In combination Figure 3 The software structure of the electronic device is shown in FIG. 1, and the gesture touch method of the embodiment of the present application is implemented by a cloud server and an electronic device. The electronic device includes an application layer and an application framework layer of system software. Figure 4
[0121] The application layer of the electronic device installs application 1, application 2 and application 3 belonging to a preset software list, and installs application 4, application 5 and application 6 not belonging to the preset software list. The preset software list is a software list corresponding to the system software of the electronic device, and is used to store application software having a coincident hot area with the system touch hot area of the system software of the electronic device.
[0122] For the application software belonging to the preset software list, taking application 1 as an example, in the case that the electronic device starts a first page in application 1, first, it is checked whether the hot area configuration file contains the first page. If the hot area configuration file contains the first page, the conflicting touch hot area is re-allocated according to the hot area configuration file.
[0123] The hot area configuration file is used to store hot area configuration parameters corresponding to a conflicting page, and the conflicting page is a page in which the application touch hot area and the system touch hot area exist in a coincident hot area.
[0124] The first page is determined to be a conflicting page. If the first page is a conflicting page, the conflicting touch hot area of the first page needs to be reconfigured.
[0125] It should be noted that the electronic device stores the hot area configuration file to the application framework layer of the system software of the electronic device in the process of installing or updating application 1. The hot area configuration file can be generated by the cloud server according to the touch hot area of the system software and the application software, or can be stored in the installation file or the update file by the developer of application 1. In the embodiment of the present application, the source of the hot area configuration file is not limited.
[0126] It should be further noted that after the cloud server generates the updated hot area configuration file or receives the updated hot area configuration file sent by the developer of application 1, the cloud server can push the updated configuration file to the electronic device without updating application 1, so that the hot area configuration file stored by the electronic device can be updated in time.
[0127] It can be understood that the gesture touch method of the embodiments of the present application can also be implemented through a server, and an application layer and an application framework layer of system software of an electronic device. The server is similar to a cloud server, and is used to generate a hot area configuration file, generate an updated hot area configuration file, receive the updated hot area configuration file, and push the updated configuration file.
[0128] For application software not belonging to the preset software list, taking application 4 as an example. In the case that the electronic device starts a second page in the application 4, the electronic device acquires the application touch hot area of the second page, judges whether there is a conflict touch hot area compared with the system touch hot area of the system software, and if there is a conflict touch hot area, adaptively reconfigures the conflict touch hot area.
[0129] It should be noted that the application 4 of the electronic device can report the application touch hot area of the second page to the system software through a preset application programming interface, and the system software of the electronic device can also acquire the application touch hot area of the second page through the preset application programming interface after detecting the start of the application 4.
[0130] It should be further noted that the configuration basis for adaptively reconfiguring the conflict touch hot area can include: historical use information of the application touch hot area of the second page, and historical use information of the system touch hot area of the system software, a key touch hot area of the system software, and a user operation received through a human-computer interaction interface.
[0131] In the following, taking a mobile phone as an example, the gesture touch method provided by the embodiments of the present application will be described in combination with the drawings. As the functions implemented by gesture touch operations on the mobile phone are more and more, and the gestures that can be recognized by the mobile phone are limited, a certain function in the system software and a certain function in the application software can be triggered by a same gesture touch operation. Furthermore, due to the limited size of the touch screen of the mobile phone, the system touch hot area of a certain function in the system software and the application touch hot area of a certain function in the application software can also conflict (partially overlap).
[0132] For example, the system software and the application software can both respond to a left swipe operation, the system touch hot area is set on the side of the touch screen of the electronic device, and the application touch hot area is also set on the side of the touch screen of the electronic device. The touch hot areas of the system software and the application software conflict, resulting in that when the electronic device displays the application software, the corresponding function of the conflicting system software or the corresponding function of the application software can be triggered in response to the left swipe operation.
[0133] In order to take into account the conflict touch hot areas of the application software and the system software being run by the electronic device, so that the electronic device can distinguish the gesture touch operations received by the conflict touch hot areas, such as Figure 5As shown, the method can include steps S501-S504.
[0134] S501, the electronic device starts a target page of a target application software.
[0135] S502, when there is a conflict touch hot area between the system touch hot area of the system software and the application touch hot area of the target page, the electronic device reallocates the conflict touch hot area to determine a target system hot area of the system software and a target application hot area of the target page.
[0136] S503, in a case where the gesture input position of the detected gesture touch event belongs to the target system hot area, the electronic device executes a first function in the system software corresponding to the gesture touch event.
[0137] S504, in a case where the gesture input position of the detected gesture touch event belongs to the target application hot area, the electronic device executes a second function in the target application software corresponding to the gesture touch event.
[0138] In the embodiments of the present application, the electronic device can receive a user operation and start a target page of a target application software. The electronic device can start to judge whether there is a conflict touch hot area between the system touch hot area and the application touch hot area of the target page after starting the target page of the target application software. The electronic device can also start to judge whether there is a conflict touch hot area between the system touch hot area and the application touch hot area of the target page after displaying the target page. In the embodiments of the present application, the timing of judging whether there is a conflict touch hot area is not limited.
[0139] In the embodiments of the present application, the electronic device reallocates the conflict touch hot area to generate a temporary target system hot area and a target application hot area. In a case where the target page is displayed, the electronic device determines whether to assign the gesture trigger event to the system software or the application software according to the target system hot area and the target application hot area. The electronic device deletes the hot area allocation information of the target system hot area and the target application hot area after displaying other pages of the target application software or exiting the target application software. If the target page is started again, the electronic device re-executes the step S502.
[0140] It should be noted that the screen display area formed by the target system hot area and the target application hot area is the same as the screen display area formed by the system touch hot area and the application touch hot area.
[0141] In the embodiments of the present application, the electronic device installs the system software and the application software so that the electronic device can realize the functions of positioning, photographing, instant calling, and playing video, etc.
[0142] System software refers to the system that controls and coordinates itself and its external devices, supporting the development and operation of application software. It is a collection of various programs that do not require user intervention. Its main functions are scheduling, monitoring, and maintaining the computer system; it is responsible for managing the various independent hardware components within the computer system, enabling them to work in coordination. System software allows computer users and other software to treat the computer as a whole without needing to consider how each underlying hardware component works.
[0143] In this context, application software, in contrast to system software, refers to a collection of various programming languages available to users, as well as applications developed using those languages. Application software can include instant messaging software, shopping software, video playback software, and office software, etc. In this embodiment, the type of application software is not limited.
[0144] In the embodiments of this application, such as Figure 6 As shown in (a1), the electronic device displays a first desktop page, on which multiple applications are displayed. The electronic device receives a single-finger "drag down" gesture touch operation, that is, triggers a first gesture touch event. For example... Figure 6 As shown in (a2), the system touch hotspot of the system software includes the top area of the electronic device's touchscreen. The gesture input position where the electronic device detects the first gesture touch event belongs to the top area. Figure 6 As shown in (b1), the electronic device executes the function in the system software corresponding to the first gesture touch event (displaying the shortcut settings menu). Figure 6 As shown in (b2), when the electronic device displays a quick settings menu, the system touch hotspot of the system software includes the top area of the electronic device's touchscreen.
[0145] It should be noted that the gesture operation corresponding to the gesture touch event can be performed by single-finger, two-finger, multi-finger, or knuckle gestures, such as swiping, tapping, double tapping, zooming, pressing, and dragging.
[0146] In this embodiment, the touchscreen of the electronic device typically displays the system desktop of the system software, on which an application launch icon is displayed. After clicking the application launch icon, the touchscreen of the electronic device displays the application's page. If the electronic device displays a page from the application, then that application is the top-level application of the electronic device, i.e., the currently running application.
[0147] It is understandable that after an electronic device displays a target page, the gesture touch events received by the electronic device may realize the functions corresponding to the application software, and may also realize the functions corresponding to the system software.
[0148] In some embodiments, the application touch hot area of the application page of the different application software can be different, and therefore, the electronic device needs to re-determine whether the system touch hot area of the system software and the application touch hot area of the target page exist a conflict touch hot area after starting the application software each time.
[0149] It should be noted that before starting the target application software, the running state of the target application software can be a suspended state or an unrunning state. The purpose of starting the target application software is to make the target application software displayed on the top window of the electronic device.
[0150] It should be further noted that the target application software can include multiple pages, and the application touch hot area of each page in the multiple pages can be the same, can not be the same, or can not all be the same. Therefore, the electronic device determines whether the application touch hot area of each page in the multiple pages and the system touch hot area of the system software exist a conflict touch hot area. The target page is any one of the pages of the target application software.
[0151] In the embodiments of the present application, when the electronic device meets the first preset condition, the electronic device determines whether the system touch hot area of the system software and the application touch hot area of the target page exist a conflict touch hot area according to the hot area configuration file corresponding to the target application software. When the electronic device does not meet the first preset condition, the electronic device determines whether the system touch hot area of the system software and the application touch hot area of the target page exist a conflict touch hot area according to whether the overlapping hot area exists between the screen display area corresponding to the system touch hot area and the screen display area corresponding to the application touch hot area.
[0152] The first preset condition includes that the target application software is included in the preset software list, or the conflict identifier corresponding to the target application software is a preset identifier; the preset software list is used to store the application software that exists a hot area conflict with the system touch hot area of the system software; and the preset identifier is used to mark the application software that exists a hot area conflict with the system touch hot area of the system software.
[0153] It should be noted that the electronic device obtains the preset software list from the server and stores the preset software list. In the process of determining whether the first preset condition is met, the electronic device determines whether the target application software is included in the preset software list.
[0154] The preset software list can be obtained according to a download frequency, a use time length, a search frequency, a user evaluation, or the like. In the application software obtained in the top (for example, the top 10) of the ranking, the application software that has a conflict touch hot area compared with the application touch hot area of the system software is screened. The ranking basis can be obtained by counting all users in a certain region, or by counting the use of the application software in a certain time period, or by counting all users in a certain age group. In the embodiments of the present application, the method for obtaining the preset software list is not limited.
[0155] In the embodiments of the present application, the electronic device can load the preset software list from the cloud server, or generate a conflict identifier when installing the application software in the preset software list. The conflict identifier is used to identify whether the application software is stored in the preset software list.
[0156] In some embodiments, if the cloud server updates the preset software list, the electronic device can receive the updated preset software list, or generate a conflict identifier when updating the application software in the preset software list.
[0157] In this way, by using the preset software list or the preset identifier, the application software that has a conflict touch hot area compared with the system touch hot area of the system software is marked, and whether the target application software belongs to the preset software list or whether the conflict identifier corresponding to the target software is the preset identifier is used to determine whether the system touch hot area of the system software and the application touch hot area of the target page have a conflict touch hot area. If the determination method according to the hot area configuration file corresponding to the target application software is used, the determination speed of the target application software can be improved, and if the determination method according to whether the system touch hot area and the application touch hot area have a conflict touch hot area is used, the determination result of whether there is a conflict touch hot area is obtained by determination, and the determination accuracy of the target page can be improved.
[0158] In the embodiments of the present application, the electronic device determines that at least one page of the system software and the application software has a conflict touch hot area in the case that the preset software list includes the software identifier corresponding to the application software, and then obtains the hot area configuration file corresponding to the target application software. In the case that the hot area configuration file includes the hot area configuration parameter corresponding to the target page, it is determined that the system touch hot area of the system software and the application touch hot area of the target page have a conflict touch hot area. In this way, by searching whether the hot area configuration file includes the hot area configuration parameter corresponding to the target page, whether the system touch hot area of the system software and the application touch hot area of the target page have a conflict touch hot area can be determined, and the determination speed of the target application software can be improved.
[0159] In the embodiments of the present application, in the case that the software identifier corresponding to the application software is not stored in the preset software list, the system touch hot area of the system software and the application touch hot area of the target page are acquired; in the case that the screen display area corresponding to the system touch hot area of the system software has an overlapping area compared with the screen display area corresponding to the application touch hot area of the target page, it is determined that the system touch hot area of the system software and the application touch hot area of the target page have a conflict touch hot area.
[0160] In some embodiments, if the software identifier corresponding to the application software is stored in the preset software list, but the hot area configuration parameter corresponding to the target page is not stored in the configuration file of the target application software, the electronic device determines that the system touch hot area of the system software and the application touch hot area of the target page do not have a conflict touch hot area.
[0161] In other embodiments, if the software identifier corresponding to the application software is not stored in the preset software list, and the screen area corresponding to the system touch hot area of the system software does not have an overlapping area compared with the screen area corresponding to the application touch hot area of the target page, the electronic device determines that the system touch hot area of the system software and the application touch hot area of the target page do not have a conflict touch hot area.
[0162] In some embodiments, in the case that the system touch hot area of the system software and the application touch hot area of the target page do not have a conflict touch hot area, the electronic device determines whether a gesture touch event is received, in the case that the gesture input position of the detected gesture touch event belongs to the system touch hot area, the electronic device executes a first function in the system software corresponding to the gesture touch event; in the case that the gesture input position of the detected gesture touch event belongs to the application touch hot area, the electronic device executes a second function in the application software corresponding to the gesture touch event.
[0163] In other embodiments, in the case that the system touch hot area of the system software and the application touch hot area of the target page have a conflict touch hot area, the electronic device can acquire the hot area configuration parameter corresponding to the target page in the configuration file, and then re-allocate the conflict touch hot area according to the hot area configuration parameter corresponding to the target page, to determine the target system hot area of the system software and the target application hot area. Thereafter, the electronic device determines whether a gesture touch event is received, and responds to the function corresponding to the gesture touch event according to the gesture input position of the gesture touch event.
[0164] In some embodiments, the electronic device installs the application software for the first time or updates the installed application software, if the application software belongs to the preset software list corresponding to the system software, the electronic device can load and store the hot area configuration file of the application software.
[0165] Specifically, the electronic device receives a hotspot configuration file corresponding to the target application software sent by the server; the hotspot configuration file corresponding to the target application software is stored in the file storage location of the system software. The hotspot configuration file corresponding to the target application software is used to store hotspot configuration parameters for at least one conflicting page; each conflicting page is a page in the target application software where the corresponding application touch hotspot overlaps with the system touch hotspot; each page in the target application software includes the target page.
[0166] In this way, the server stores hotspot configuration files for multiple application software and sends the hotspot configuration file corresponding to the target application software to the electronic device that has the target application software installed. This means that the electronic device only needs to store the hotspot configuration file corresponding to the target application software, which can reduce the amount of data that the electronic device needs to store and save system resources.
[0167] In other embodiments, after generating or receiving an update hotspot configuration file, the cloud server pushes the update hotspot configuration file to the electronic device so that the update hotspot configuration file stored on the electronic device can be updated in a timely manner.
[0168] In some other embodiments, the electronic device periodically sends a hotspot configuration retrieval request to the cloud server, and the server responds to the hotspot configuration retrieval request by sending an updated hotspot configuration file of the application software to the electronic device. The hotspot configuration retrieval request is used to request the updated hotspot configuration file of the application software.
[0169] When application software is stored in a pre-built software list, such as Figure 7 As shown, the electronic device reads the hotspot configuration file corresponding to the application software. If the hotspot configuration file includes hotspot configuration parameters corresponding to the target page, it reallocates conflicting touch hotspots based on these parameters, thus determining the target system hotspot and target application hotspot for the system software. If the detected gesture input position of a gesture touch event belongs to the target system hotspot, the electronic device distributes the gesture touch event to the system software, executing the first function within the system software corresponding to the gesture touch event. If the detected gesture input position of a gesture touch event belongs to the target application hotspot, the electronic device distributes the gesture touch event to the application software, executing the second function within the application software corresponding to the gesture touch event.
[0170] In some embodiments, if the hot area configuration file does not include the hot area configuration parameter corresponding to the target page, the electronic device determines that there is no conflicting touch hot area between the system touch hot area of the system software and the application touch hot area of the target page. The electronic device determines whether a gesture touch event is received, and in a case where the gesture input position of the detected gesture touch event belongs to the system touch hot area, the electronic device executes a first function in the system software corresponding to the gesture touch event; and in a case where the gesture input position of the detected gesture touch event belongs to the application touch hot area, the electronic device executes a second function in the application software corresponding to the gesture touch event.
[0171] In some embodiments, the electronic device reallocates the conflicting touch hot area to determine the target system hot area of the system software and the target application hot area of the target page, including: reallocating the conflicting touch hot area according to the hot area configuration parameter corresponding to the target page in the hot area configuration file to determine the target system hot area of the system software and the target application hot area of the target page.
[0172] In some embodiments, the hot area configuration parameter corresponding to the target page includes the target system hot area of the system software and the target application hot area of the target page, and the generation basis of the hot area configuration parameter corresponding to the target page includes at least one of the following: the system touch hot area, a key touch hot area in the system touch hot area, system historical use information of the system software, application touch hot area, and application historical use information in the target page; the key touch hot area is used to ensure that the system software can normally run, and the key touch hot area belongs to the target system hot area of the system software.
[0173] In some embodiments, the hot area allocation parameter corresponding to the target page can further include a page identifier for marking the hot area allocation parameter corresponding to the target page in the hot area configuration file. The page identifier type can be a page name, a page path, or a random number, and the page identifier type of the conflict page is not limited in the embodiments of the present application.
[0174] It should be noted that the electronic device saves the hot area configuration parameter in the form of extensible markup language xml, and the hot area configuration file is a markup extension language xml file.
[0175] In some embodiments, the electronic device or the cloud server can randomly allocate the conflicting touch hot area, and determine the hot area allocation parameter according to the random allocation result. The electronic device or the cloud server can also allocate the conflicting touch hot area according to the preset allocation rule, and determine the hot area allocation parameter according to the allocation result.
[0176] In some embodiments, the historical use information of the system software can include at least one of the following: the system function trigger number of the system software, and the system trigger frequency of the system software. The historical use information of the target page can include at least one of the following: the application function trigger number of the target page, and the application trigger frequency.
[0177] Exemplarily, the electronic device periodically collects the historical usage information of the system software and the historical usage information of the conflict page according to a preset time interval and a running condition of the system software and the application software on the electronic device, and re-determines the hot area allocation parameter.
[0178] Exemplarily, the electronic device collects the historical usage information of the system software and the historical usage information of the conflict page, and reports the two kinds of historical usage information to the cloud server. The cloud server collects data according to the two kinds of historical usage information reported by multiple electronic devices, obtains the summary historical usage information of the system software and the summary historical usage information of the conflict page according to mathematical statistics methods such as mean, variance, standard deviation and normal distribution, and then determines the hot area allocation parameter of the conflict page according to the summary historical usage information of the system software and the summary historical usage information of the conflict page.
[0179] In the embodiments of the present application, the hot area configuration parameter corresponding to the target page includes any of the following: the target system hot area includes: the coincident key hot area and the touch hot area other than the conflict touch hot area in the system touch hot area; the target application hot area includes: the touch hot area other than the coincident key hot area in the conflict touch hot area and the touch hot area other than the conflict touch hot area in the application touch hot area; the coincident key hot area is the coincident hot area of the key touch hot area and the conflict touch hot area; or, the target system hot area is the system touch hot area, and the target application hot area is the touch hot area other than the conflict touch hot area in the application touch hot area; or, the target system hot area is the touch hot area other than the conflict touch hot area in the system touch hot area, and the target application hot area is the application touch hot area; or, the target system hot area includes: the touch hot area other than the conflict touch hot area in the system touch hot area and the first touch hot area in the conflict touch hot area; and the target application hot area includes: the touch hot area other than the conflict touch hot area in the application touch hot area and the second touch hot area in the conflict touch hot area.
[0180] In the first case, if the difference between the system function trigger times and the application function trigger times is greater than a first preset value, the electronic device determines the target system hot area as the system touch hot area and the target application hot area as the touch hot area other than the conflict touch hot area in the application touch hot area. If the difference between the application function trigger times and the system function trigger times is greater than a second preset value, the target system hot area is determined as the touch hot area other than the conflict touch hot area in the system touch hot area, and the target application hot area is determined as the application touch hot area.
[0181] In the second case, if the first case is not met, if the difference between the system trigger frequency and the application trigger frequency is greater than a third preset value, the target system hot area is determined as the system touch hot area, and the target application hot area is determined as the touch hot area in the application touch hot area except the conflict touch hot area. If the difference between the application trigger frequency and the system trigger frequency is greater than a fourth preset value, the target system hot area is determined as the touch hot area in the system touch hot area except the conflict touch hot area, and the target application hot area is determined as the application touch hot area.
[0182] In the third case, if the first case or the second case is not met, the electronic device determines that the target system hot area includes the touch hot area in the system touch hot area except the conflict touch hot area, and the first touch hot area in the conflict touch hot area; and determines that the target application hot area includes the touch hot area in the application touch hot area except the conflict touch hot area, and the second touch hot area in the conflict touch hot area.
[0183] The allocation ratio of the first touch hot area and the second touch hot area can correspond to the ratio of the first number and the second number, and can also correspond to the ratio of the first input probability and the second input probability. It should be noted that neither the first term nor the second term in the allocation ratio is 0. In the process of dividing the conflict touch hot area, the electronic device can also divide the touch hot area close to the system touch hot area as the first touch hot area and the touch hot area close to the application touch hot area as the second touch hot area according to the proximity principle and the allocation ratio. It should be noted that in order to ensure that the functions in the system software and the application software can be implemented, in the case that the system touch hot area and the application touch hot area are completely the same, the first touch hot area and the second touch hot area in the conflict touch hot area are directly allocated according to the third case.
[0184] It should be further noted that the system touch hot area, the application touch hot area, the conflict touch hot area, the target system hot area and the target application hot area are not displayed on the touch screen of the electronic device. In the case of receiving a gesture touch event, the touch hot area to which the gesture input position of the gesture touch event belongs is determined, and the function corresponding to the gesture touch event in the system software or the application software is executed according to the response logic corresponding to different touch hot areas.
[0185] It can be understood that the system touch hot area and the application touch hot area divided on the touch screen of the electronic device can be determined by the size of the touch screen of the electronic device, can also be set to a fixed size, and can also be determined according to the page display content, which is not limited in the embodiments of the present application. The conflict touch hot area, the target system hot area and the target application hot area are determined according to the area size of the system touch hot area and the application touch hot area.
[0186] Thus, considering the system touch hot area, the key touch hot area in the system touch hot area, the system historical usage information of the system software, the application touch hot area and the application historical usage information in the target page, various possible situations for the target page are provided with various allocation results of the re-allocation of the conflict touch hot area. Since the conflict touch hot area is part of the system touch hot area (application touch hot area), the re-allocation of the conflict touch hot area does not need to occupy more screen space, realizes the reuse of the conflict touch hot area, and improves the utilization rate of the screen space. According to the key touch hot area and the historical usage information of the system software, and the historical usage information of the application software, the conflict touch hot area is directly re-allocated, or the conflict touch hot area is re-allocated after the generation of the hot area configuration file, which can make the target software that executes the gesture trigger event conform to the actual needs of the user, thereby realizing the function of the system software (application software) corresponding to the gesture trigger event.
[0187] For example, based on (a1) in Figure 6 , as shown in (a1) in Figure 8 , the electronic device displays a first desktop page, displays an application start icon of an application software "some video" on the first desktop, and receives a click operation input by a user, the click operation being used to click the application start icon of the application software "some video". Corresponding to the first desktop page shown in (a1) in Figure 8 , as shown in (a2) in Figure 8 , the system touch hot area of the system software includes the left side edge hot area and the right side edge hot area of the touch screen of the electronic device. As shown in (b1) in Figure 8 , the electronic device starts to display a "focus" page (target page) of the application software "some video" in response to the click operation. Corresponding to the "focus" page shown in (b1) in Figure 8 , as shown in (b2) in Figure 8 , the display area corresponding to the progress bar on the touch screen of the electronic device is the application touch hot area of the "focus" page, which can realize the function of adjusting the playing progress in the "focus" page. It should be noted that for the electronic device, whether the first desktop page is currently displayed or the "focus" page (target page) is displayed, the system touch hot area of the system software of the electronic device is the same.
[0188] If the electronic device does not perform the gesture touch method provided in the present application, based on the "focus" page displayed in (b1) in Figure 9 , as shown in (a1) in Figure 8 , during the playing of the "sports" video in the "focus" page, the electronic device receives a single-finger "leftward dragging" gesture touch operation, that is, a second gesture touch event is triggered. As shown in Figure 9As shown in (a2), the gesture input position of the second gesture touch event belongs to the system's touch hot zone. The electronic device responds to the second gesture touch event as follows: Figure 9 As shown in (a3), the electronic device executes the function in the system software corresponding to the second gesture touch event (displaying the application launch icon of frequently used application software). Figure 9 As shown in (b1), during the playback of a "sports" video on the "Follow" page, the electronic device receives a single-finger "drag to the left" gesture touch operation, that is, triggers a third gesture touch event. Figure 9 As shown in (b2), the gesture input position of the third gesture touch event belongs to the application touch hotspot. The electronic device can respond to the user-input third gesture touch event, such as... Figure 9 As shown in (b3), the electronic device performs the function in the application software corresponding to the third gesture touch event (adjusting the video playback progress).
[0189] If the electronic device performs the gesture touch method provided in this application, Figure 8 Based on the "Follow" page displayed in (b1), such as Figure 10 As shown in (a1), during the playback of a "sports" video on the "Following" page, without reallocating conflicting touch hotspots, the electronic device receives a single-finger "drag to the left" gesture touch operation, i.e., triggers a fourth gesture touch event. For example... Figure 10 As shown in (a2), the gesture input location of the fourth gesture touch event may belong to the system touch hotspot or the application touch hotspot. For example... Figure 10 As shown in (a3), the electronic device plays a "movie" video and displays an instruction message to indicate that it will not respond to gesture touch events temporarily, such as "Unable to respond to gestures, please re-enter the gestures later".
[0190] After redistributing conflicting touch hotspots, such as Figure 10 As shown in b1, the "Following" page continues to play the "Exercise" video. (Comparison) Figure 8 The system touch hotspot shown in (a2) and Figure 8 The application touch hotspot shown in (b2) is as follows: Figure 10 As shown in (b2), the electronic device compares the system touch hotspot with the application touch hotspot of the "Follow" page and determines that there are conflicting touch hotspots. Specifically, a portion of the left side hotspot and a portion of the right side hotspot that overlap with the application touch hotspot and the system touch hotspot are the conflicting touch hotspots.
[0191] like Figure 10As shown in (c1), during the playback of a "sports" video on the "Following" page, the electronic device receives a single-finger "drag to the left" gesture touch operation, i.e., triggers the fifth gesture touch event. The electronic device obtains the heat zone configuration parameters corresponding to the "Following" page based on the heat zone configuration file corresponding to the application software "a certain video," reallocates conflicting touch heat zones, and determines the target system heat zone as the touch heat zone other than the conflicting touch heat zone between the left and right side heat zones, such as... Figure 10 As shown in (c2), the gesture input position of the fifth gesture touch event belongs to the target system's hot zone. Electronic devices can respond to user-inputted fifth gesture touch events, such as... Figure 10 As shown in (c3), the electronic device performs the function in the fifth gesture touch event system software (displaying the application launch icon of the frequently used application software).
[0192] like Figure 10 As shown in (d1), during the playback of a "sports" video on the "Following" page, the electronic device receives a single-finger "drag to the left" gesture touch operation, i.e., triggering the sixth gesture touch event. The electronic device obtains the heat zone configuration parameters corresponding to the "Following" page based on the heat zone configuration file corresponding to the application software "a certain video," reallocates conflicting touch heat zones, and determines the target application heat zone as the display area corresponding to the progress bar on the electronic device's touchscreen, such as... Figure 10 As shown in (d2), the gesture input position of the sixth gesture touch event belongs to the application touch hotspot. Electronic devices can respond to the user-input sixth gesture touch event, such as... Figure 10 As shown in (d3), the electronic device executes the function in the application software corresponding to the sixth gesture touch event (adjusting the video playback progress).
[0193] Thus, since the hotspot configuration file is determined based on the critical touch hotspots of the system software, historical application information of the system software, and historical usage information of the application software, the reallocation of conflicting touch hotspots according to the hotspot configuration file can best match the user's intuitive experience. Users are less likely to accidentally touch the progress bar, and the progress bar can be controlled within the target application hotspot of the application software. Based on the server-pushed hotspot configuration file and the overlap between the application's touch hotspot and the system's touch hotspot, the target system hotspot and target application hotspot are automatically adjusted. This avoids modifying the hotspot configuration file in a highly coupled manner, saving application software development time. Simultaneously, it ensures that the gesture touch events received by the electronic device can execute either the first function in the system software or the second function in the application software, depending on the gesture input position.
[0194] If the application software is not in the pre-installed software list, such as Figure 11As shown, first, the electronic device receives the application touch hot area of the target page reported by the target application software through a preset application programming interface (an interface provided by the system software). Then, the electronic device acquires the system touch hot area of the system software, determines whether there is an overlapping hot area between the screen display area corresponding to the system touch hot area of the system software and the screen display area corresponding to the application touch hot area of the target page, and determines whether there is a conflict touch hot area between the system touch hot area of the system software and the application touch hot area of the target software. In this way, the preset application programming interface is set for the application touch area of the target page reported by the target software in the system software, so that the system software can acquire the application touch area in time, and then determine whether there is a conflict touch hot area between the system touch hot area of the system software and the application touch hot area of the target software in time, so as to timely distribute the gesture touch event to the system software or the application software after receiving the gesture touch event.
[0195] If there is no conflict touch hot area, the original system touch hot area and the original application touch hot area of the target page remain unchanged. According to whether the gesture input position corresponding to the gesture touch event belongs to the system touch hot area or the application touch hot area, the gesture touch event is distributed to the system software or the application software.
[0196] If there is a conflict touch hot area, the conflict touch hot area is redistributed according to the key touch hot area of the system software, and the target system hot area and the target application hot area of the system software are determined. In the case of displaying the target page, the electronic device distributes the gesture touch event to the system software or the application software according to the target system hot area and the target application hot area.
[0197] In some embodiments, after displaying the target page, if the electronic device displays other pages corresponding to the application software, the electronic device restores the original system touch hot area and the original application touch hot area of the target page, and then acquires the application touch hot area of the other pages through the preset system interface and redistributes the conflict touch hot area again. If the electronic device exits the application software, the electronic device restores the original system touch hot area and the original application touch hot area of the target page.
[0198] In the embodiments of the present application, whether the target system hot area and the target application hot area are distributed in advance by using the hot area configuration file or are distributed in real time according to the system touch hot area and the application touch hot area, the principle of redistributing the conflict touch hot area is similar. The specific description of determining the hot area distribution parameter in the foregoing can be referred to to understand how to redistribute the conflict touch hot area according to the key touch hot area of the system software, and determine the target system hot area and the target application hot area of the system software.
[0199] It can be understood that, due to the application software corresponding to the application scene is more, it is difficult to determine the conflict touch hot area one by one for all pages of the application software application touch hot area, and determine the hot area configuration file. Therefore, the electronic device determines the currently displayed page as the target page in the process of running the application program, and the electronic device determines whether the system touch hot area and the application touch hot area of the target page exist the conflict touch hot area every time the target page is displayed.
[0200] In the embodiment of the application, when the second preset condition is met, the electronic device determines that the target system hot area includes the coincident key hot area and the touch hot area in the system touch hot area except the conflict touch hot area, and determines that the target application hot area includes the touch hot area in the conflict touch hot area except the coincident key hot area and the touch hot area in the application touch hot area except the conflict touch hot area. When the second preset condition is not met, the electronic device re-allocates the conflict touch hot area according to the system historical use information of the system software and the application historical use information of the target page, to determine the target system hot area of the system software and the target application hot area of the target page.
[0201] The second preset condition includes that the application touch hot area includes the key touch hot area, and the key touch hot area and the conflict touch hot area exist the coincident key hot area; and the key touch hot area is used to ensure that the system software can normally run.
[0202] It can be understood that, in the process of re-allocating the conflict touch hot area according to the key touch hot area of the system software, the electronic device can temporarily transfer the non-key touch hot area in the conflict touch hot area to the application software, and the key touch hot area in the conflict touch hot area cannot be transferred to the application software. That is to say, if the key touch hot area and the conflict touch hot area exist the coincident hot area, the coincident hot area of the key touch hot area and the conflict touch hot area is determined as the target system hot area in the process of allocating the conflict touch hot area.
[0203] For example, the electronic device periodically counts the historical use information of the system software and the historical use information of the conflict page according to the preset time interval, and the running situation of the system software and the application software on the electronic device.
[0204] It should be noted that, in order to ensure that the system software can normally run, the key touch hot area is set in the system touch hot area, and the key touch hot area is the reserved touch hot area of the system software. If the key touch hot area and the conflict touch hot area do not exist the coincident hot area, the electronic device re-allocates the conflict touch hot area according to the following situation. If the key touch hot area and the conflict touch hot area exist the coincident hot area, the coincident hot area of the key touch hot area and the conflict touch hot area is determined as the target system hot area in the process of allocating the conflict touch hot area, and then the non-key touch hot area in the conflict touch hot area is re-allocated according to the following situation.
[0205] In this way, by including the key touch hot area in the application touch hot area, and in the case that the key touch hot area overlaps with the conflict touch hot area, the conflict touch hot area is reassigned, which on the one hand ensures that the system software can normally run, and on the other hand enables the gesture trigger event to be assigned to the system software or the application software, rather than the gesture trigger event being fixedly assigned to the system software, so that the assignment of the conflict touch hot area is more flexible, and both the function of the system software corresponding to the gesture trigger event and the function of the application software corresponding to the gesture trigger event can be implemented.
[0206] For the case that the second preset condition is not met, the electronic device reassigns the conflict touch hot area according to the system history use information of the system software and the application history use information of the target page, to determine the target system hot area of the system software and the target application hot area of the target page. This can include the following cases:
[0207] The history use information of the system software can include at least one of the following: the system function trigger times of the system software, and the system trigger frequency of the system software. The history use information of the target page can include at least one of the following: the application function trigger times of the target page, and the application trigger frequency.
[0208] It can be understood that the system function trigger times refer to the number of times that the function corresponding to the system software is triggered when the target page is displayed. The system trigger frequency refers to the frequency at which the function corresponding to the system software is triggered in a unit of time when the target page is displayed. Similarly, the application function trigger times refer to the number of times that the function corresponding to the application software is triggered when the target page is displayed. The application trigger frequency refers to the frequency at which the function corresponding to the application software is triggered in a unit of time when the target page is displayed.
[0209] In the first case, when the third preset condition is met, or the fourth preset condition is met, the electronic device determines the target system hot area to be the system touch hot area, and the electronic device determines the target application hot area to be the touch hot area in the application touch hot area other than the conflict touch hot area. The third preset condition is that the difference between the system function trigger times and the application function trigger times is greater than a first preset value, and the fourth preset condition is that the difference between the system trigger frequency and the application trigger frequency is greater than a third preset value.
[0210] In the second case, when the fifth preset condition is met, or the sixth preset condition is met, the target system hot area is determined to be a touch hot area other than the conflict touch hot area in the system touch hot area, and the target application hot area is determined to be the application touch hot area. The fifth preset condition is that the difference between the application function triggering frequency and the system function triggering frequency is greater than the second preset value, and the sixth preset condition is that the difference between the application triggering frequency and the system triggering frequency is greater than the fourth preset value.
[0211] In the third case, when the third preset condition is not met, the fourth preset condition is not met, the fifth preset condition is not met, and the sixth preset condition is not met, the target system hot area is determined to include a touch hot area other than the conflict touch hot area in the system touch hot area, and the first touch hot area in the conflict touch hot area, and the target application hot area is determined to include a touch hot area other than the conflict touch hot area in the application touch hot area, and the second touch hot area in the conflict touch hot area.
[0212] The allocation ratio of the first touch hot area and the second touch hot area can correspond to the ratio of the first number and the second number, and can also correspond to the ratio of the first input probability and the second input probability. It is worth noting that neither the first term nor the second term in the allocation ratio is 0. In the process of dividing the conflict touch hot area by the electronic device, the touch hot area closer to the system touch hot area can be divided into the first touch hot area according to the allocation ratio, and the touch hot area closer to the application touch hot area can be divided into the second touch hot area according to the allocation ratio.
[0213] For example, if the electronic device executes the gesture touch method provided in the present application, based on (a1) in Figure 6 , as shown in (a1) in Figure 12 , the electronic device displays a first desktop page, displays an application start icon of an application software "resource message" on the first desktop, receives a click operation input by a user, and the click operation is used to click the application start icon of the application software "resource message". Corresponding to the first desktop page shown in (a1) in Figure 12 , as shown in (a2) in Figure 12 , the system touch hot area of the system software includes the left side edge hot area and the right side edge hot area of the touch screen of the electronic device. As shown in (b1) in Figure 12 , the electronic device displays a "home page" page (target page) of the application software "resource message" to display virtual resource information. Corresponding to the "home page" page shown in (b1) in Figure 12 , as shown in (b2) in Figure 12 , the application touch hot area of the "home page" page is the top window area of the current page, which can realize switching the display content of the top window of the "home page" page.
[0214] If the electronic device executes the gesture touch method provided in the present application, in Figure 12 (b1), the electronic device displays virtual resource information on the "home page" page, as shown in (a1) of Figure 13 . Comparing the system touch hot area shown in (a2) of Figure 12 and the application touch hot area shown in (b2) of Figure 12 , the electronic device compares the system touch hot area and the application touch hot area of the "home page" page, as shown in (a2) of Figure 13 , to determine that there is a conflict touch hot area. Specifically, a part of the touch hot area in the left side hot area and a part of the touch hot area in the right side hot area that overlap in the application touch hot area and the system touch hot area are the conflict touch hot area.
[0215] As shown in (b1) of Figure 13 , during the process of displaying virtual resource information on the "home page" page, the electronic device receives a single-finger "leftward dragging" gesture touch operation, i.e., triggers a seventh gesture touch event. The electronic device reassigns the conflict touch hot area according to the key touch hot area of the system software, and determines that the target system hot area is the touch hot area outside the conflict touch hot area in the left side hot area and the right side hot area, as shown in (b2) of Figure 13 , the gesture input position of the seventh gesture touch event belongs to the target system hot area. The electronic device can respond to the seventh gesture touch event input by the user, as shown in (b3) of Figure 13 , the electronic device executes the function (displaying the application launch icon of the application software with higher usage frequency) in the seventh gesture touch event system software.
[0216] As shown in (c1) of Figure 13 , during the process of displaying virtual resource information on the "home page" page, the electronic device receives a single-finger "leftward dragging" gesture touch operation, i.e., triggers an eighth gesture touch event. The electronic device reassigns the conflict touch hot area according to the key touch hot area of the system software, and determines that the target application hot area is the top window area of the current page displayed by the touch screen of the electronic device, as shown in (c2) of Figure 13 , the gesture input position of the eighth gesture touch event belongs to the application touch hot area. The electronic device can respond to the eighth gesture touch event input by the user, as shown in (c3) of Figure 13 , the electronic device executes the function (switching the display content of the top window of the "home page" page) in the eighth gesture touch event corresponding application software.
[0217] In this way, the problem that the related function of the application software page is difficult to respond and is prone to mis-touch in the case of conflict touch hot area can be solved, and the page function of the application software and the basic function of the system software can be implemented.
[0218] In some embodiments, in the case that the application software does not belong to the preset software list, the electronic device can further prompt the target page with the system touch hot area, the application touch hot area and the conflict touch hot area; receive a hot area setting operation input by the user; and in response to the hot area setting operation, re-allocate the conflict touch hot area to determine the target system hot area of the system software and the target application hot area of the target page. The hot area setting operation is used to set the target system hot area and the target application hot area by the user.
[0219] In this way, the allocation of the conflict touch hot area is more flexible, and both the function of the system software corresponding to the gesture trigger event and the function of the application software corresponding to the gesture trigger event can be implemented.
[0220] In some other embodiments, the target page is prompted with a key touch hot area, which is used to ensure that the system software can normally run, and the key touch hot area belongs to the target system hot area of the system software.
[0221] In this way, the application touch hot area includes the key touch hot area, so that in the case that the key touch hot area overlaps with the conflict touch hot area, the conflict touch hot area is re-allocated, which can ensure that the system software can normally run, and the allocation of the conflict touch hot area is more flexible, and both the function of the system software corresponding to the gesture trigger event and the function of the application software corresponding to the gesture trigger event can be implemented.
[0222] In the embodiments of the present application, regardless of whether the application software belongs to the preset software list, in general, the conflict touch hot area is re-allocated, that is, the conflict touch hot area is entirely divided into the system touch hot area, the conflict touch hot area is entirely divided into the application touch hot area, or a part of the conflict touch hot area is divided into the system touch hot area and another part of the conflict touch hot area is divided into the application touch hot area.
[0223] The gesture touch method provided by the embodiments of the present application can realize reuse of the conflict touch hot area, improve the utilization of the screen space, and determine whether the gesture input position of the gesture touch event belongs to the target system hot area or the target application hot area according to the re-distribution result of the re-distribution of the conflict touch hot area, and assign the gesture trigger event to the system software or the application software, instead of assigning the gesture trigger event to the system software fixedly, so that the assignment of the conflict touch hot area is more flexible, and the function of the system software corresponding to the gesture trigger event can be realized, and the function of the application software corresponding to the gesture trigger event can also be realized. Moreover, the conflict touch hot area is a part of the system touch hot area (application touch hot area), and the user does not need to remember additional touch hot areas, so that the misoperation can be avoided, and the function corresponding to the gesture trigger event can be realized.
[0224] It should be noted that the embodiments in each of the above scenarios can be combined as long as the schemes themselves are not contradictory.
[0225] In the embodiments of the present application, a gesture touch device is further provided, which is shown in Figure 14 The first device includes a starting unit 1401, a determining unit 1402, and an executing unit 1403.
[0226] The starting unit 1401 is configured to start a target page of an application software. For example, step S501 in the foregoing embodiment is performed.
[0227] The determining unit 1402 is configured to re-distribute a conflict touch hot area when a system touch hot area of a system software and an application touch hot area of the target page exist the conflict touch hot area, so as to determine a target system hot area of the system software and a target application hot area of the target page. For example, step S502 in the foregoing embodiment is performed.
[0228] The executing unit 1403 is configured to execute a first function in the system software corresponding to the gesture touch event when the gesture input position of the detected gesture touch event belongs to the target system hot area. For example, step S503 in the foregoing embodiment is performed.
[0229] The execution unit 1403 is further configured to execute a second function in the target application software corresponding to the gesture touch event in a case where the gesture input position of the detected gesture touch event belongs to the target application hot area. For example, step S504 in the foregoing embodiment is executed.
[0230] It can be understood that, in order to achieve the above functions, the electronic device contains the hardware and / or software modules corresponding to the respective functions. The algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is implemented in hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered beyond the scope of the present application.
[0231] The present embodiment can divide the functional modules of the electronic device according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in the form of hardware. It should be noted that the division of modules in the present embodiment is illustrative and is only a logical functional division. Actual implementation can have another division manner.
[0232] The present embodiment also provides an electronic device. As shown in the figure, the electronic device can include one or more processors 1001, a memory 1002, and a communication interface 1003. Figure 15
[0233] The memory 1002, the communication interface 1003, and the processor 1001 are coupled together. For example, the memory 1002, the communication interface 1003, and the processor 1001 can be coupled together through a bus 1004.
[0234] The communication interface 1003 is configured to perform data transmission with other devices. The memory 1002 stores computer program code. The computer program code includes computer instructions, which, when executed by the processor 1001, cause the electronic device to perform the screen projection method in the embodiments of the present application.
[0235] The processor 1001 can be a processor or controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, transistor logic device, hardware component or any combination thereof. It can implement or execute the various exemplary logical blocks, modules and circuits described in connection with the present disclosure. The processor can also be a combination of implementing computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
[0236] The bus 1004 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 1004 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 15 Only one thick line is used in the figure to represent the bus, but it does not mean that there is only one bus or only one type of bus.
[0237] The embodiment of the present application also provides a computer readable storage medium, which stores computer program codes, when the processor executes the computer program codes, the electronic device executes the related method steps in the method embodiment.
[0238] The embodiment of the present application also provides a computer program product, when the computer program product runs on the computer, it makes the computer execute the related method steps in the method embodiment.
[0239] The electronic device, the computer storage medium or the computer program product provided by the present application are used to execute the corresponding method provided above, so the beneficial effects achieved thereby can refer to the beneficial effects of the corresponding method provided above, which will not be described here.
[0240] Through the description of the above embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0241] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented by other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the modules or units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another apparatus, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some interfaces, apparatuses or units, and can be electrical, mechanical or other forms.
[0242] The units described as separate components can or can not be physically separated, and the components shown as units can be one physical unit or a plurality of physical units, that is, can be located in one place or can be distributed to a plurality of different places. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0243] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present alone, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0244] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product in essence or the part that contributes or the whole or part of the technical solutions. The software product is stored in a storage medium, and includes a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various storage program codes.
[0245] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A gesture touch method, characterized in that, The method comprises: displaying a target page of a target application software; when a system touch hot area of system software and an application touch hot area of the target page exist a conflict touch hot area, re-allocating the conflict touch hot area to determine a target system hot area of the system software and a target application hot area of the target page; in a case where a gesture input position of a gesture touch event belongs to the target system hot area, executing a first function in the system software corresponding to the gesture touch event; in a case where the gesture input position of the gesture touch event belongs to the target application hot area, executing a second function in the target application software corresponding to the gesture touch event.
2. The method of claim 1, wherein, After the target page of the target application software is displayed, the method further comprises: when a first preset condition is met, determining whether the system touch hot area of the system software and the application touch hot area of the target page exist the conflict touch hot area according to a hot area configuration file corresponding to the target application software; when the first preset condition is not met, determining whether the system touch hot area of the system software and the application touch hot area of the target page exist the conflict touch hot area according to whether an overlapping hot area exists between a screen display area corresponding to the system touch hot area and a screen display area corresponding to the application touch hot area; wherein the first preset condition comprises that the target application software is included in a preset software list, or a conflict identifier corresponding to the target application software is a preset identifier; the preset software list is used to store application software that has an overlapping hot area with the system touch hot area of the system software; and the preset identifier is used to mark application software that has an overlapping hot area with the system touch hot area of the system software.
3. The method of claim 2, wherein, The determining whether the system touch hot area of the system software and the application touch hot area of the target page exist the conflict touch hot area according to the hot area configuration file corresponding to the target application software comprises: obtaining the hot area configuration file corresponding to the target application software; when a hot area configuration parameter corresponding to the target page is included in the hot area configuration file, determining that the system touch hot area of the system software and the application touch hot area of the target page exist the conflict touch hot area; wherein the hot area configuration parameter is used to indicate a re-allocation mode of the conflict touch hot area.
4. The method of claim 3, wherein, Before the obtaining the hot area configuration file corresponding to the target application software, the method further comprises: receiving the hot area configuration file corresponding to the target application software sent by a server; storing the hot area configuration file corresponding to the target application software at a file storage location of the system software; wherein the hot area configuration file corresponding to the target application software is used to store hot area configuration parameters corresponding to at least one conflict page; each conflict page in the at least one conflict page is a page in each page of the target application software, for which an application touch hot area corresponding to the page and the system touch hot area exist an overlapping hot area; and each page of the target application software includes the target page.
5. The method of claim 4, wherein, The re-allocation of the conflict touch hot area to determine the target system hot area of the system software and the target application hot area of the target page comprises: According to the hot area configuration parameter corresponding to the target page in the hot area configuration file, re-allocate the conflict touch hot area to determine the target system hot area of the system software and the target application hot area of the target page; Wherein, the hot area configuration parameter corresponding to the target page comprises the target system hot area of the system software and the target application hot area of the target page; The generation of the hot area configuration parameter corresponding to the target page comprises at least one of the following: the system touch hot area, the key touch hot area in the system touch hot area, the system historical use information of the system software, the application touch hot area and the application historical use information in the target page; The key touch hot area is used to ensure that the system software can normally run, and the key touch hot area belongs to the target system hot area of the system software.
6. The method of claim 5, wherein, The hot area configuration parameter corresponding to the target page comprises any one of the following: The target system hot area comprises the coincident key hot area and the touch hot area in the system touch hot area except the conflict touch hot area; the target application hot area comprises the touch hot area in the conflict touch hot area except the coincident key hot area and the touch hot area in the application touch hot area except the conflict touch hot area; the coincident key hot area is the coincident hot area of the key touch hot area and the conflict touch hot area; Or, the target system hot area is the system touch hot area, and the target application hot area is the touch hot area in the application touch hot area except the conflict touch hot area; Or, the target system hot area is the touch hot area in the system touch hot area except the conflict touch hot area, and the target application hot area is the application touch hot area; Or, the target system hot area comprises the touch hot area in the system touch hot area except the conflict touch hot area and the first touch hot area in the conflict touch hot area; the target application hot area comprises the touch hot area in the application touch hot area except the conflict touch hot area and the second touch hot area in the conflict touch hot area.
7. The method of claim 2, wherein, The determination of whether the system touch hot area of the system software and the application touch hot area of the target page exist the conflict touch hot area according to whether the coincident hot area exists between the screen display area corresponding to the system touch hot area and the screen display area corresponding to the application touch hot area comprises: Through a preset application programming interface, the application touch hot area of the target page reported by the target application software is received; When the coincident hot area exists between the screen display area corresponding to the system touch hot area and the screen display area corresponding to the application touch hot area, it is determined that the system touch hot area of the system software and the application touch hot area of the target page exist the conflict touch hot area.
8. The method according to claim 2 or 7, characterized in that, The re-allocation of the conflict touch hot area to determine the target system hot area of the system software and the target application hot area of the target page comprises: determining the target system hot area comprises: coinciding with the key hot area, and the touch hot area in the system touch hot area except the conflict touch hot area; determining the target application hot area comprises the touch hot area in the conflict touch hot area except the key hot area, and the touch hot area in the application touch hot area except the conflict touch hot area; when the second preset condition is not met, re-allocating the conflict touch hot area according to the system historical use information of the system software and the application historical use information of the target page, to determine the target system hot area of the system software and the target application hot area of the target page; wherein, the second preset condition comprises: the application touch hot area includes a key touch hot area, and the key touch hot area and the conflict touch hot area exist the key hot area; the key touch hot area is used to ensure that the system software can normally run.
9. The method of claim 8, wherein, The system historical use information comprises at least one of the following: the system function trigger times of the system software, the system trigger frequency of the system software; the application historical use information comprises at least one of the following: the application function trigger times of the target page, the application trigger frequency of the target page; The re-allocating the conflict touch hot area according to the system historical use information of the system software and the application historical use information of the target page, to determine the target system hot area of the system software and the target application hot area of the target page, comprises: when the third preset condition is met, or the fourth preset condition is met, the target system hot area is determined as the system touch hot area, and the target application hot area is determined as the touch hot area in the application touch hot area except the conflict touch hot area, the third preset condition is that the difference between the system function trigger times and the application function trigger times is greater than the first preset value, and the fourth preset condition is that the difference between the system trigger frequency and the application trigger frequency is greater than the third preset value; when the fifth preset condition is met, or the sixth preset condition is met, the target system hot area is determined as the touch hot area in the system touch hot area except the conflict touch hot area, and the target application hot area is determined as the application touch hot area, the fifth preset condition is that the difference between the application function trigger times and the system function trigger times is greater than the second preset value, and the sixth preset condition is that the difference between the application trigger frequency and the system trigger frequency is greater than the fourth preset value.
10. The method of claim 9, wherein, The re-allocating the conflict touch hot area according to the system historical use information of the system software and the application historical use information of the target page, to determine the target system hot area of the system software and the target application hot area of the target page, further comprises: When the third preset condition is not met, the fourth preset condition is not met, the fifth preset condition is not met, and the sixth preset condition is not met, the target system hot area is determined to include the touch hot area in the system touch hot area except the conflict touch hot area and the first touch hot area in the conflict touch hot area, and the target application hot area is determined to include the touch hot area in the application touch hot area except the conflict touch hot area and the second touch hot area in the conflict touch hot area.
11. The method of claim 1, wherein, The re-distribution of the conflict touch hot area to determine the target system hot area of the system software and the target application hot area of the target page includes: prompting the system touch hot area, the application touch hot area and the conflict touch hot area on the target page; receiving a user input hot area setting operation; in response to the hot area setting operation, re-distributing the conflict touch hot area to determine the target system hot area of the system software and the target application hot area of the target page.
12. The method of claim 11, wherein, Before the receiving a user input hot area setting operation, the method further includes: prompting a key touch hot area on the target page, the key touch hot area is used to ensure that the system software can normally run, and the key touch hot area belongs to the target system hot area of the system software.
13. An electronic device, comprising: comprise: a memory and one or more processors; the memory is coupled with the processor; wherein the memory has computer program code stored therein, the computer program code comprises computer instructions, when the computer instructions are executed by the processor, the electronic device executes the gesture touch method as claimed in any one of claims 1-12.
14. A computer-readable storage medium, characterized in that, comprise computer instructions, when the computer instructions run on an electronic device, the electronic device executes the gesture touch method as claimed in any one of claims 1-12.
15. A computer program product, characterised in that, when the computer program product runs on a computer, the computer executes the gesture touch method as claimed in any one of claims 1-12.
Citation Information
Patent Citations
Method and device for controlling quick floating layer panel
CN104866167A