CN118051133A - Gesture touch control method and electronic equipment - Google Patents

Gesture touch control method and electronic equipment Download PDF

Info

Publication number
CN118051133A
CN118051133A CN202211429756.9A CN202211429756A CN118051133A CN 118051133 A CN118051133 A CN 118051133A CN 202211429756 A CN202211429756 A CN 202211429756A CN 118051133 A CN118051133 A CN 118051133A
Authority
CN
China
Prior art keywords
touch
hot zone
application
target
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211429756.9A
Other languages
Chinese (zh)
Inventor
乐毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202211429756.9A priority Critical patent/CN118051133A/en
Priority to PCT/CN2023/128743 priority patent/WO2024104161A1/en
Publication of CN118051133A publication Critical patent/CN118051133A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A gesture touch method and electronic equipment relate to the technical field of terminals, and can enable allocation of conflict touch hotspots to be more flexible, so that functions of system software corresponding to gesture triggering events and functions of application software corresponding to gesture triggering events can be realized. In the method, a target page of target application software is displayed; when the system touch hot zone of the system software and the application touch hot zone of the target page have conflict touch hot zones, the conflict touch hot zones are redistributed to determine the target system hot zone of the system software and the target application hot zone of the target page; executing a first function in system software corresponding to a gesture touch event under the condition that the gesture input position of the gesture touch event is detected and belongs to a target system hot zone; and under the condition that the gesture input position of the gesture touch event is detected and belongs to the target application hot zone, the electronic equipment executes a second function in target application software corresponding to the gesture touch event.

Description

Gesture touch control method and electronic equipment
Technical Field
The application relates to the technical field of terminals, in particular to a gesture touch method and electronic equipment.
Background
Generally, electronic devices (including a touch screen) such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device and the like trigger system software or application software for controlling the electronic devices through gesture touch operation received by the touch screen. Because of the limited size of the touch screen, the touch hot areas of the system software or the application software are in conflict. When the electronic device detects a gesture trigger event of the conflict touch control hot zone, if a user wants to use the system software, the electronic device injects the gesture trigger event into the system software to execute.
Disclosure of Invention
The embodiment of the application provides a gesture touch method and electronic equipment, wherein if a system touch hot zone of system software and an application touch hot zone of a target page of application software have conflict touch hot zones, the conflict touch hot zones are redistributed; and distributing the gesture triggering event to the operating system or the current application program according to the reassignment result of the conflict touch control hot zone, so as to realize the function corresponding to the gesture touch control event in the operating system or the application program.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical scheme:
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, an electronic device displays a target page of target application software. Then, when a conflict touch control hot zone exists between the system touch control hot zone of the system software and the application touch control hot zone of the target page, the electronic equipment reallocates the conflict touch control hot zone to determine the target system hot zone of the system software and the target application hot zone of the target page, and then, when the gesture input position of the gesture touch control event is detected, the electronic equipment executes a first function in the system software corresponding to the gesture touch control event under the condition that the gesture input position belongs to the target system hot zone. Or next, under the condition that the gesture input position of the gesture touch event is detected and belongs to the target application hot zone, the electronic equipment executes a second function in target application software corresponding to the gesture touch event.
It should be appreciated that the electronic device reassigns conflicting touch zones, generating temporary target system zones and target application zones. In the case of displaying a target page, the electronic device determines whether to assign a gesture trigger event to system software or application software according to the target system hot zone and the target application hot zone.
In the present application, the electronic device reassigns the conflicting touch zones, including: the conflict touch zones are all divided into system touch zones, the conflict touch zones are all divided into application touch zones, or one part of the conflict touch zones is divided into system touch zones, and the other part of the conflict touch zones is divided into application touch zones.
Therefore, the conflict touch hot zone is a part of the system touch hot zone (application touch hot zone), the conflict touch hot zone is redistributed, more screen space is not required to be occupied, and the utilization rate of the screen space is improved through multiplexing the conflict touch hot zone. According to the reassignment result of the reassignment conflict touch hotspots, judging whether the gesture input position of the gesture touch event belongs to the target system hotspots or the target application hotspots, and assigning the gesture touch event to the system software or the application software instead of fixedly assigning the gesture touch event to the system software, so that the assignment of the conflict touch hotspots is more flexible, the functions of the system software corresponding to the gesture touch event and the functions of the application software corresponding to the gesture touch event can be realized. In addition, the conflict touch hot zone is a part of the system touch hot zone (application touch hot zone), and a user does not need to memorize an additional touch hot zone, so that misoperation can be avoided, and the function corresponding to a gesture touch event can be realized.
In an implementation manner of the first aspect, after displaying the target page of the target application software, the gesture touch method further includes: and when the first preset condition is met, the electronic equipment determines whether a conflict touch control hot zone exists between the system touch control hot zone of the system software and the application touch control hot zone of the target page according to the hot zone configuration file corresponding to the target application software. And when the first preset condition is not met, the electronic equipment determines whether a conflict touch control hot zone exists between the system touch control hot zone of the system software and the application touch control hot zone of the target page according to whether the superposition hot zone exists in the screen display area corresponding to the application touch control hot zone or not.
The first preset condition comprises: the preset software list comprises target application software or conflict identification corresponding to the target application software is a preset identification; the preset software list is used for storing application software which has a coincident hot zone with a system touch hot zone of system software; the method comprises the steps of presetting application software for marking a coincident hot zone existing between a system touch hot zone of system software and the application software.
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 that the electronic equipment judges whether the first preset condition is met or not, the electronic equipment judges whether the preset software list comprises target application software or not.
The preset software list may be selected from application software with a front ranking (e.g., the front 10) according to ranking criteria such as the number of downloads, the duration of use, the number of searches, or the user evaluation, where compared with the application touch hotspots of the system software, the application software with a conflict touch hotspots exists. The ranking basis can be obtained by counting all users in a certain area, can be obtained by counting the use condition of application software in a certain time period, can be obtained by counting all users in a certain specific age range, and is not limited in the method for acquiring the preset software list in the embodiment of the application.
In the application, the electronic equipment can load the preset software list from the cloud server or generate conflict identification when installing the application software in the preset software list. Wherein the conflict identifier is used for identifying whether the application software is stored in the preset software list.
In this way, the application software with the coincident hot zone with the system touch hot zone is marked through a preset software list or a preset identifier, and whether the conflict touch hot zone exists between the system touch hot zone of the system software and the application touch hot zone of the target page is determined by adopting different judging modes through 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. If the judging mode according to the hot zone configuration file corresponding to the target application software is adopted, the judging speed of the target application software can be improved, and if the judging mode according to whether the system touch hot zone and the application touch hot zone exist or not is adopted, the determining result of whether the conflict touch hot zone exists or not is obtained through judging, and the judging accuracy of the target page can be improved.
In an implementation manner of the first aspect, the determining, by the electronic device, whether a conflict touch area exists between a system touch area of the system software and an application touch area of the target page according to the hot area configuration file corresponding to the target application software may also be implemented in the following manner. Firstly, the electronic equipment acquires a hot zone configuration file corresponding to target application software. When the hot zone configuration file comprises hot zone configuration parameters corresponding to the target page, the electronic equipment determines that a conflict touch zone exists between a system touch zone of the system software and an application touch zone of the target page.
The hot zone configuration parameter is used for indicating a reassignment mode of the conflict touch hot zone.
Therefore, whether the conflict touch control hot zone exists between the system touch control hot zone of the system software and the application touch control hot zone of the target page or not is determined by searching whether the hot zone configuration file comprises the hot zone configuration parameters corresponding to the target page or not, and the judging speed of the target application software can be improved.
In an implementation manner of the first aspect, before the electronic device obtains the hot zone configuration file corresponding to the application software, the gesture touch method further includes: and receiving a 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 position of the system software.
The hot zone configuration file corresponding to the target application software is used for storing hot zone configuration parameters corresponding to at least one conflict page; each conflict page in the at least one conflict page is: in each page of the target application software, a corresponding page with an overlapping hot zone exists between the application touch hot zone and the system touch hot zone; the target application software comprises target pages in each page.
Therefore, the server stores the hot zone configuration files of the plurality of application software, and sends the hot zone configuration files corresponding to the target application software to the electronic equipment for installing the target application software, namely, the electronic equipment only needs to store the hot zone configuration files corresponding to the target application software, so that the data quantity required to be stored by the electronic equipment can be reduced, and the system resources are saved.
In an implementation manner of the first aspect, the electronic device reallocates the conflict touch hotspots to determine a target system hotspot of the system software and a target application hotspot of the target page, which may be further implemented by the following ways: and reallocating the conflict touch control hot zone according to the hot zone configuration parameters corresponding to the target page in the hot zone configuration file so as to determine a target system hot zone of the system software and a target application hot zone of the target page.
The hot zone configuration parameters corresponding to the target page comprise a target system hot zone of system software and a target application hot zone of the target page. The generation of the hot zone configuration parameters corresponding to the target page comprises at least one of the following: the system comprises a system touch control hot zone, key touch control hot zones in the system touch control hot zone, system historical use information of system software, application touch control hot zone and application historical use information in a target page. The key touch control hot zone is used for guaranteeing that system software can normally operate, and belongs to the target system hot zone of system software.
Wherein, the historical usage information of the system software may include at least one of the following: the system function triggering times of the system software and the system triggering frequency of the system software. The historical usage information of the target page may include at least one of: the application function triggering times and the application triggering frequency of the target page.
It should be noted that, the electronic device stores the hot zone configuration parameters in the form of xml, and the hot zone configuration file is a markup language xml file.
Thus, various allocation results of reassigning conflicting touch zones are provided for various possible situations in the target page, taking into account the system touch zones, key touch zones in the system touch zones, system historical usage information of system software, application touch zones and application historical usage information in the target page. Because the conflict touch hot zone is a part of the area of the system touch hot zone (application touch hot zone), the conflict touch hot zone is redistributed, more screen space is not required to be occupied, the multiplexing of the conflict touch hot zone is realized, and the utilization rate of the screen space is improved. According to the key touch control hot zone and the historical use information of the system software and the historical use information of the application software, the conflict touch control hot zone is directly redistributed, or after a hot zone configuration file is generated, the conflict touch control hot zone is redistributed, so that target software for executing a gesture trigger event can be attached to the actual requirement of a user, and the function of the system software (application software) corresponding to the gesture trigger event is realized.
In an implementation manner of the first aspect, the hot zone configuration parameters corresponding to the target page in the present application include any one of the following: the target system hot zone includes: overlapping the key hot areas and the touch hot areas except the conflict touch hot areas in the system touch hot areas; the target application hot zone includes: the method comprises the steps of overlapping touch control hot areas outside a key hot area in the conflict touch control hot areas and applying the touch control hot areas outside the conflict touch control hot areas in the touch control hot areas; the coincident key hot zone is the coincident hot zone of the key touch hot zone and the conflict touch hot zone. Or the target system hot zone is a system touch hot zone, and the target application hot zone is a touch hot zone except a conflict touch hot zone in the application touch hot zone. Or the target system hot zone is a touch hot zone except a conflict touch hot zone in the system touch hot zone, and the target application hot zone is an application touch hot zone. Or the target system hot zone comprises: the method comprises the steps of enabling a touch hot zone outside a conflict touch hot zone in a system touch hot zone and enabling a first touch hot zone in the conflict touch hot zone; the target application hot zone includes: and applying the touch hot areas except the conflict touch hot area in the touch hot areas and the second touch hot area in the conflict touch hot area.
The allocation ratio of the first touch control hot zone to the second touch control hot zone may correspond to the ratio of the first times to the second times, and may also correspond to the ratio of the first input probability to the second input probability.
It should be noted that, in the process of dividing the conflict touch hot areas by the electronic device, the touch hot areas closer to the system touch hot area may be divided into the first touch hot areas and the touch hot areas closer to the application touch hot area may be divided into the second touch hot areas according to the distribution proportion according to the proximity principle.
Therefore, after the conflict touch control hot areas are redistributed according to the hot area configuration files, visual feeling of a user can be met to the greatest extent, false touch is not easy to occur to control a progress bar by the user, and the function of controlling the progress bar pair can be achieved in the target application hot area of the application software. According to the method that the server pushes the hot zone configuration file, the target system hot zone and the target application hot zone are automatically adjusted according to the superposition condition of the application touch control hot zone and the system touch control hot zone of the target page, the hot zone configuration file can be prevented from being modified in a high coupling mode, and the development period of application software is saved. Meanwhile, the gesture touch event received by the electronic equipment can be ensured, and according to the gesture input position of the gesture touch event, the first function in the system software can be executed, and the second function in the application software can be executed.
In an implementation manner of the first aspect, the electronic device determines, according to a screen display area corresponding to the system touch hot zone, whether a coincident hot zone exists in the screen display area corresponding to the application touch hot zone, whether a conflict touch hot zone exists between the system touch hot zone of the system software and the application touch hot zone of the target page, or may be implemented in the following manner. Firstly, the electronic equipment receives an application touch control hot zone of a target page reported by target application software through a preset application programming interface. And then, when the screen display area corresponding to the system touch control hot area has a superposition hot area corresponding to the screen display area corresponding to the application touch control hot area, determining that the conflict touch control hot area exists between the system touch control hot area of the system software and the application touch control hot area of the target page.
The preset application programming interface refers to an interface reserved in the system software for an application touch control hot zone of the application software reporting target page.
In this way, a preset application programming interface is set in the system software for the application touch area of the target page reported by the target software, so that the system software can acquire the application touch area in time, and further whether a conflict touch area exists between the system touch area of the system software and the application touch area of the target software is determined in time, so that after a gesture touch event is received, the gesture touch event can be distributed to the system software or the application software in time.
In an implementation manner of the first aspect, the electronic device reallocates the conflict touch hotspots to determine a target system hotspot of the system software and a target application hotspot of the target page, which may also be implemented in the following manner. When the second preset condition is met, determining the target system hot zone includes: overlapping the key hot areas and the touch hot areas except the conflict touch hot areas in the system touch hot areas; determining that the target application hot zone includes a touch hot zone outside of the coincident key hot zone in the conflict touch hot zone and a touch hot zone outside of the conflict touch hot zone in the application touch hot zone. And when the second preset condition is not met, reallocating the conflict touch control hot zone according to the system history use information of the system software and the application history use information of the target page so as to determine a target system hot zone of the system software and a target application hot zone of the target page.
Wherein the second preset condition includes: the application touch hot zone comprises a key touch hot zone, and the key touch hot zone and the conflict touch hot zone are overlapped; the key touch control hot zone is used for guaranteeing that system software can normally operate.
It can be understood that, in the process of reassigning the conflict touch zones by the electronic device according to the key touch zones of the system software, the electronic device may temporarily give up the non-key touch zones in the conflict touch zones to the application software for use, and the key touch zones in the conflict touch zones cannot be given up to the application software for use. That is, if there is a coincidence zone between the critical touch zone and the conflicting touch zone, the coincidence zone between the critical touch zone and the conflicting touch zone is determined as the target system zone in the process of allocating the conflicting touch zone.
It should be noted that, in order to ensure that the system software can normally operate, a key touch hot zone is set in the system touch hot zone, and the key touch hot zone is a reserved touch hot zone of the system software. If the critical touch zones and the conflict touch zones do not exist, the electronic device reallocates the conflict touch zones according to the following conditions.
Therefore, when the application touch hot zone comprises the key touch hot zone and the conflict touch hot zone are overlapped, the conflict touch hot zone is redistributed, so that on one hand, the normal operation of the system software can be ensured, on the other hand, the gesture triggering event can be distributed to the system software or the application software, and instead of the gesture triggering event being fixedly distributed to the system software, the distribution of the conflict touch hot zone is more flexible, and not only the function of the system software corresponding to the gesture triggering event, but also the function of the application software corresponding to the gesture triggering event can be realized.
In an implementation manner of the first aspect, the system history usage information includes at least one of: the system function triggering times of the system software and the system triggering frequency of the system software; the application history use information includes at least one of: the application function triggering times of the target page and the application triggering frequency of the target page. The electronic device reallocates the conflict touch control hot zone according to the system history use information of the system software and the application history use information of the target page so as to determine the target system hot zone of the system software and the target application hot zone of the target page, and the conflict touch control hot zone can be realized in the following mode. When the third preset condition is met or the fourth preset condition is met, the electronic device determines that the target system hot zone is a system touch hot zone, and the electronic device determines that the target application hot zone is a touch hot zone except a conflict touch hot zone in the application touch hot zones. And when the fifth preset condition is met or the sixth preset condition is met, the electronic equipment determines that the target system hot zone is the touch hot zone except the conflict touch hot zone in the system touch hot zone, and the electronic equipment determines that the target application hot zone is the application touch hot zone.
The third preset condition is as follows: the difference between the triggering times of the system function and the triggering times of the application function is larger than a first preset value. The fourth preset condition is: the difference between the system trigger frequency and the application trigger frequency is greater than a third preset value. The fifth preset condition is: the difference between the triggering times of the application function and the triggering times of the system function is larger than a second preset value. The sixth preset condition is: the difference between the application trigger frequency and the system trigger frequency is greater than a fourth preset value.
Thus, various allocation results of reassigning conflicting touch zones are provided for various possible situations in the target page, taking into account the system touch zones, key touch zones in the system touch zones, system historical usage information of system software, application touch zones and application historical usage information in the target page. Because the conflict touch hot zone is a part of the area of the system touch hot zone (application touch hot zone), the conflict touch hot zone is redistributed, more screen space is not required to be occupied, the multiplexing of the conflict touch hot zone is realized, and the utilization rate of the screen space is improved. According to the key touch control hot area and the historical use information of the system software and the historical use information of the application software, the conflict touch control hot area is directly redistributed, so that target software for executing the gesture trigger event can be attached to the actual demand of a user, and the function of the system software (application software) corresponding to the gesture trigger event is realized.
In an implementation manner of the first aspect, the electronic device reallocates the conflict touch control hot zone according to the system historical usage information of the system software and the application historical usage information of the target page to determine a target system hot zone of the system software and a target application hot zone of the target page, and may also be implemented in the following manner. When the third preset condition is not satisfied, the fourth preset condition is not satisfied, the fifth preset condition is not satisfied, and the sixth preset condition is not satisfied, determining, by the electronic device, that the target system hot zone includes: the determining, by the computing device, the target application hot zone includes: and applying the touch hot areas except the conflict touch hot area in the touch hot areas and the second touch hot area in the conflict touch hot area.
Therefore, the problems that the related functions of the application software page are difficult to respond and false touch is easy to occur under the condition that the conflict touch control hot area exists can be solved, and the page functions of the application software and the basic functions of the system software can be realized.
In an implementation manner of the first aspect, the electronic device reallocates the conflict touch hotspots to determine a target system hotspot of the system software and a target application hotspot of the target page, which may also be implemented in the following manner. Firstly, the electronic device prompts a system touch control hot zone, an application touch control hot zone and a conflict touch control hot zone on a target page. The electronic device then receives a user-entered hotbox setting operation. Next, the electronic device reassigns the conflicting touch hotspots in response to the hotspot setting operation to determine a target system hotspot of the system software and a target application hotspot of the target page.
Wherein the hotspot setting operation is used for user-defined setting of the target system hotspot and the target application hotspot by a user.
Therefore, the allocation of the conflict touch control hot areas is more flexible, and the functions of the system software corresponding to the gesture triggering event and the functions of the application software corresponding to the gesture triggering event can be realized.
In an implementation manner of the first aspect, before the electronic device receives the hot zone setting operation input by the user, the electronic device prompts the key touch hot zone on the target page.
The key touch control hot zone is used for guaranteeing that system software can normally run, and belongs to a target system hot zone of the system software.
Therefore, the key touch hot areas are included in the prompt application touch hot areas, so that under the condition that the key touch hot areas and the conflict touch hot areas are overlapped, the conflict touch hot areas are redistributed, on one hand, the normal operation of system software can be guaranteed, on the other hand, the conflict touch hot areas can be distributed more flexibly, the functions of the system software corresponding to gesture triggering events can be realized, and the functions of the application software corresponding to the gesture triggering events can be realized.
In a second aspect, another gesture touch apparatus is provided, the apparatus including: the device comprises a display unit, a determining unit and an executing unit. And the display unit is used for displaying a target page of the target application software. And the determining unit is used for reallocating the conflict touch control hot zone when the conflict touch control hot zone exists between the system touch control hot zone of the system software and the application touch control hot zone of the target page so as to determine the target system hot zone of the system software and the target application hot zone of the target page. The execution unit is used for executing a first function in system software corresponding to the gesture touch event when the gesture input position of the gesture touch event is detected and belongs to a target system hot zone; the execution unit is further configured to execute a second function in the target application software corresponding to the gesture touch event when the gesture input position of the gesture touch event is detected and belongs to the target application hot zone.
In a third aspect, an electronic device is provided, comprising: a memory, one or more processors; the memory is coupled to the processor; the memory stores computer program code, the computer program code including computer instructions that, when executed by the processor, cause the electronic device to perform the gesture touch method of any one of the first aspects.
In a fourth aspect, a computer readable storage medium is provided, comprising computer instructions that, when run on an electronic device, cause the electronic device to perform the gesture touch method of any of the first aspects above.
In a fifth aspect, a computer program product is provided, which, when run on a computer, causes the computer to perform the gesture touch method according to any of the first aspects above.
It will be appreciated that the advantages achieved by the electronic device according to the third aspect, the computer readable storage medium according to the fourth aspect, and the computer program product according to the fifth aspect provided above may refer to the advantages of any one of the first aspect, the second aspect, and any one of the possible designs thereof, which are not described herein.
Drawings
FIG. 1 is a schematic diagram of a gesture touch effect in the related art;
fig. 2 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic software structure of an electronic device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a gesture touch method according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of a gesture touch method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a gesture touch effect for system software according to an embodiment of the present application;
FIG. 7 is a second flow chart of a gesture touch method according to the embodiment of the application;
FIG. 8 is a schematic diagram of a gesture touch effect for application software according to an embodiment of the present application;
FIG. 9 is a schematic diagram showing a touch effect comparison of system software and application software according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a hot zone allocation and corresponding gesture touch effect according to an embodiment of the present application;
FIG. 11 is a third flow chart of a gesture touch method according to the embodiment of the application;
FIG. 12 is a second schematic diagram of a gesture touch effect for application software according to an embodiment of the present application;
FIG. 13 is a diagram illustrating a second example of a hot zone allocation and corresponding gesture touch effect according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a gesture touch device according to an embodiment of the present application;
Fig. 15 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Wherein, in the description of the present application, "/" means that the related objects are in a "or" relationship, unless otherwise specified, for example, a/B may mean a or B; the "and/or" in the present application is merely an association relationship describing the association object, and indicates that three relationships may exist, for example, a and/or B may indicate: there are three cases, a alone, a and B together, and B alone, wherein a, B may be singular or plural. Also, in the description of the present application, unless otherwise indicated, "a plurality" means two or more than two. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural. In addition, in order to facilitate the clear description of the technical solution of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ. Meanwhile, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion that may be readily understood.
In the scene of the conflict of the touch control hot areas, if the electronic equipment detects that the gesture input position of the gesture touch control operation belongs to the conflict touch control hot area and the system software and the application software are provided with functions corresponding to the gesture touch control operation, whether the gesture touch control operation is executed according to the system logic corresponding to the system software or the gesture touch control operation is executed according to the application logic corresponding to the application software is required to be judged. The touch hotspots of the system software of the electronic device are in a full-screen range, and the touch hotspots of the video playing pages in the application software (such as the video playing software) are also in a full-screen range, that is, the video playing pages of the system software and the application software conform to the scene of the touch hotspots conflict. If the gesture touch operation (left sliding operation) received by the electronic device, according to the system logic corresponding to the system software, realizing the function corresponding to the left sliding operation: the method comprises the steps of 'backing back' to a previous page, and realizing a function corresponding to left-hand sliding operation according to application logic corresponding to video playing software: the last video is played. When the electronic device triggers a gesture triggering event (receives a gesture touch operation of the conflict touch hotzone), the gesture triggering event is distributed to system software, and functions corresponding to the gesture touch event in the application software cannot be realized.
In the first related art, the electronic device may execute the system gesture navigation logic set by the user under the condition that the preset full-screen edge position threshold is met according to the starting position of the gesture input, otherwise execute the gesture logic currently applied. If the triggering area of the currently applied target function is located at the full screen edge, then only the target gesture input received by the electronic device (gesture input starting from the full screen edge) can trigger the target function. However, with the above-mentioned related art, for the target gesture for triggering the target function, the electronic device determines that the target gesture input meets the preset overall screen edge position threshold condition through judgment, executes the system gesture navigation logic set by the user, cannot execute the gesture logic of the current application, and still cannot realize the target function corresponding to the target gesture input in the current application.
In the second related technology, aiming at two display states of the same page of the application software interface, if a conflict touch control hot area exists, the electronic equipment can set a control identification area on the software interface of the top layer application of the touch screen equipment as a virtual touch pad; and optionally executing a first control instruction corresponding to the top-layer application or a second operation instruction corresponding to the virtual touch pad according to the current touch input position on the touch screen. That is, a fixed, large enough area is drawn on the screen to accommodate different touch inputs for the case where the same touch input corresponds to different functions. Therefore, different functions are realized by the same touch input in the application software interface, the user does not need to exit the current editing state of the application state, misoperation can be avoided, the use is convenient, and the user experience degree is improved.
Illustratively, as shown in FIG. 1, assume that the top-level application software is a PPT presentation application, and the current edit status of the PPT presentation application is to edit the first page. Under the condition that a first page of the PPT demonstration application is displayed, fingers slide from right to left in the range of the virtual touch pad and turn to a second page of the PPT demonstration application, and the backward page turning function can be realized without receiving an operation of exiting the current editing state.
In the second related art, by setting the operation process of the application software internal program such as the operation recognition area, executing the first operation control instruction, executing the second operation control instruction, etc., different functions corresponding to the gesture input in the application software are realized, and functions corresponding to the gesture input in the system software are not involved. In combination with the second related technology, the virtual touch pad and the touch screen are respectively corresponding to the system software and the application software, so that the problem that the same touch input can realize functions corresponding to the application software and the functions corresponding to the system software is solved. However, since the touch screen of many electronic devices (such as mobile phones and smart watches) has a limited size, it is difficult to divide a fixed position for the virtual touch pad on the screen without affecting the normal functions of the top application, which is not beneficial 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 touch pads are required to be drawn according to the second related technology, the user needs to memorize the functions corresponding to the virtual touch pads, so that the possibility of misoperation is increased, and the functions corresponding to gesture touch control are not facilitated to be realized.
In order to avoid the problem that functions corresponding to gesture touch events in system software or application software cannot be realized due to the fact that the size of a touch screen of electronic equipment is limited, the embodiment of the application provides a gesture touch method. In the method, firstly, whether a conflict touch hot zone exists between a system touch hot zone of system software and an application touch hot zone of a target page of application software is determined, and if so, the conflict touch hot zone is redistributed to determine the target system hot zone of the system software and the target application hot zone of the target page. Then, a gesture touch event is received, if the gesture input position of the gesture touch event belongs to a target system hot zone, the gesture touch event is distributed to system software, and a first function corresponding to the system software is executed. If the gesture input position of the gesture touch event belongs to the target application hot zone, the gesture touch event is distributed to the application software, and a second function corresponding to the application software is executed.
In the embodiment of the application, under the condition that the preset software list comprises the software identifier corresponding to the application software, determining that at least one page in the system software and the application software has a conflict hot zone, and then acquiring a hot zone configuration file corresponding to the application software; and under the condition that the configuration file comprises the hot zone configuration parameters corresponding to the target page, determining that a conflict touch zone exists between the system touch zone of the system software and the application touch zone of the target page. Acquiring a system touch control hot zone of system software and an application touch control hot zone of a target page under the condition that a software identifier corresponding to application software is not included in a preset software list; and under the condition that the overlapping hot zone exists in the screen display area corresponding to the system touch hot zone and the screen display area corresponding to the application touch hot zone of the target page, determining that the conflict touch hot zone exists in the system touch hot zone of the system software and the application touch hot zone of the target page.
In the embodiment of the application, the electronic device reallocates the conflict touch control hot zone to generate a temporary target system hot zone and a target application hot zone. In the case of displaying a target page, the electronic device determines whether to assign a gesture trigger event to system software or application software according to the target system hot zone and the target application hot zone.
In an embodiment of the present application, the reassigning the conflicting touch zones by the electronic device includes: the conflict touch zones are all divided into system touch zones, the conflict touch zones are all divided into application touch zones, or one part of the conflict touch zones is divided into system touch zones, and the other part of the conflict touch zones is divided into application touch zones. That is, the target system hot zone of the system software and the target application hot zone of the target page may be any of the following cases.
In the first case, the target system hot zone is a system touch hot zone, and the target application hot zone is a touch hot zone other than the conflicting touch hot zone in the application touch hot zone.
In the second case, the target system hot zone is a touch hot zone other than the conflicting touch hot zone in the system touch hot zone, and the target application hot zone is an application touch hot zone.
In a third case, the target system hot zone comprises: the touch hot areas outside the conflict touch hot areas in the system touch hot areas and the first touch hot area in the conflict touch hot areas belong to the system touch hot areas. The target application hot zone includes: and applying the touch hot areas except the conflict touch hot area in the touch hot areas and the second touch hot area in the conflict touch hot area.
It should be noted that, if the conflicting touch zones may be divided into the first touch zone and the second touch zone, in the embodiment of the present application, the allocation ratio of the first touch zone and the second touch zone is not limited.
According to the gesture touch method provided by the embodiment of the application, the conflict touch hot zone is a part of the system touch hot zone (application touch hot zone), so that the conflict touch hot zone is redistributed, more screen space is not required to be occupied, and the utilization rate of the screen space is improved through multiplexing the conflict touch hot zone. According to the reassignment result of the reassignment conflict touch hotspots, judging whether the gesture input position of the gesture touch event belongs to the target system hotspots or the target application hotspots, and assigning the gesture touch event to the system software or the application software instead of fixedly assigning the gesture touch event to the system software, so that the assignment of the conflict touch hotspots is more flexible, the functions of the system software corresponding to the gesture touch event and the functions of the application software corresponding to the gesture touch event can be realized. In addition, the conflict touch hot zone is a part of the system touch hot zone (application touch hot zone), and a user does not need to memorize an additional touch hot zone, so that misoperation can be avoided, and the function corresponding to a gesture touch event can be realized.
The electronic device may 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), or the like, which is not limited in the specific type of the electronic device according to the embodiments of the present application.
The gesture touch method provided by the embodiment of the application can be applied to an electronic device, please refer to fig. 2, which shows a schematic hardware structure of the electronic device 100.
As shown in fig. 2, the electronic device 100 may 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 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the 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 is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), miniled, microLed, micro-oLed, a quantum dot LIGHT EMITTING diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, 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.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the invention, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated. Fig. 3 is a schematic software structure of the electronic device 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun rows (Android run times) and system libraries, and a kernel layer.
The application layer may include a series of application packages.
As shown in fig. 3, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc. The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications. Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
When the gesture touch method in the embodiment of the present application is implemented based on the electronic device 100 shown in fig. 2 and 3, the workflow of the software and hardware of the electronic device 100 is illustrated in the scene of the touch hot zone conflict. The electronic device 100 loads an installation file of the application software through one or more of the external memory interface 120, the internal memory 121, the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, and the SIM card interface. The electronic device 100 runs system software and application software at the application layer. The electronic device 100 obtains a system touch hot zone of the system software and an application touch hot zone of the application software through the application framework layer. The processor 110 in the electronic device 100 determines, through Android run time, whether a system touch hotspot of the system software is compared with an application touch hotspot of a target page of the application software, and if so, reallocates the conflict touch hotspot to determine a target system hotspot of the system software and a target application hotspot of the target page. The electronic device 100 receives a gesture touch event through the application framework layer. Under the condition that the gesture input position of the gesture touch event belongs to the target system hot zone, the processor 110 in the electronic device 100 distributes the gesture touch event to the system software through Android run time, and executes a first function corresponding to the system software. And under the condition that the gesture input position of the gesture touch event belongs to the target application hot zone, the processor 110 in the electronic device 100 distributes the gesture touch event to the application software through Android run time, and executes a second function corresponding to the application software. The display 194 in the electronic device 100 is configured to display a function page of a first function corresponding to system software or a function page of a second function corresponding to application software.
In combination with the software structure of the electronic device shown in fig. 3, as shown in fig. 4, the gesture touch method in the embodiment of the application is implemented by a cloud server and the electronic device. The electronic device includes an application layer and an application framework layer of system software.
The application layer of the electronic device installs application 1, application 2 and application 3 belonging to the preset software list, and the application layer of the electronic device 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 system software of the electronic equipment, and is used for storing application software with a coincident hot zone existing in a system touch hot zone of the system software of the electronic equipment.
For application software belonging to the preset software list, application 1 is taken as an example. Under the condition that the electronic equipment starts the page of the first page in the application 1, firstly searching whether the hot zone configuration file contains the first page, and if the hot zone configuration file contains the first page, reallocating the conflict touch control hot zone according to the hot zone configuration file.
The hot zone configuration file is used for storing hot zone configuration parameters corresponding to conflict pages, wherein the conflict pages are pages with overlapping hot zones corresponding to application touch hot zones and system touch hot zones in each page of the application software.
Wherein it is looked up if the hot zone profile contains a first page, i.e. it is determined if the first page is a conflicting page. If the first page is a conflicting page, then the conflicting touch zones of the first page need to be reconfigured.
It should be noted that, during the process of installing the application 1 or updating the application 1, the electronic device stores the hot zone configuration file in the application program framework layer in the system software of the electronic device. The hot zone configuration file may be generated by the cloud server according to the touch hot zone of the system software and the application software, or may be stored in an installation file or an update file by the developer of the application 1, and in the embodiment of the present application, the source of the hot zone configuration file is not limited.
It should be further noted that, after the cloud server generates the update hot zone configuration file, or receives the update hot zone configuration file sent by the developer of the application 1, the cloud server may push the update configuration file to the electronic device without updating the application 1, so that the hot zone configuration file stored by the electronic device can be updated in time.
It can be appreciated that the gesture touch method of the embodiment of the present application may also be implemented by the server, and the application layer and the application framework layer of the system software of the electronic device. The server is similar to a cloud server for generating a hotspot configuration file, generating an update hotspot configuration file, receiving the update hotspot configuration file, and pushing the update configuration file.
For application software not belonging to the preset software list, application 4 is taken as an example. Under the condition that the electronic equipment starts the second page in the application 4, the electronic equipment acquires an application touch control hot zone of the second page, judges whether a conflict touch control hot zone exists in the application touch control hot zone of the second page compared with a system touch control hot zone of system software, and if the conflict touch control hot zone exists, adaptively reconfigures the conflict touch control hot zone.
It should be noted that, the application 4 of the electronic device may report the application touch control hot area of the second page to the system software through a preset application program interface, and the system software of the electronic device may further obtain the application touch control hot area of the second page through the preset application program interface after detecting that the application 4 is started.
It should also be noted that the configuration basis of adaptively reconfiguring the conflicting touch zones may include: historical use information of the application touch hotspots of the second page, historical use information of the system touch hotspots of the system software, key touch hotspots of the system software and user operations received through a human-computer interaction interface.
The gesture touch method provided by the embodiment of the application will be described below by taking an electronic device as an example of a mobile phone and combining with the attached drawings. Because more and more functions are realized by means of gesture touch operation on the mobile phone, and the mobile phone has limited gesture which can be recognized, a certain function in the system software and a certain function in the application software can be triggered by a certain same gesture touch operation. Moreover, because the size of the touch screen of the mobile phone is limited, a system touch hot zone of a certain function in the system software and an application touch hot zone of a certain function in the application software may be in conflict (partially overlap).
For example, both the system software and the application software can respond to the left sliding operation, the system touch control hot zone is arranged on the side of the touch control screen of the electronic device, the application touch control hot zone is also arranged on the side of the touch control screen of the electronic device, and the system software and the application software touch control hot zone conflict, so that under the condition that 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 sliding operation.
In order to consider the conflicting touch zones of the application software and the system software that the electronic device is running, so that the electronic device can distinguish between gesture touch operations received in response to the conflicting touch zones, as shown in fig. 5, the method may include the following steps S501-S504.
S501, the electronic equipment starts a target page of target application software.
S502, when a conflict touch control hot zone exists between a system touch control hot zone of the system software and an application touch control hot zone of the target page, the electronic equipment reallocates the conflict touch control hot zone to determine a target system hot zone of the system software and a target application hot zone of the target page.
S503, executing a first function in system software corresponding to the gesture touch event by the electronic equipment under the condition that the gesture input position of the detected gesture touch event belongs to a target system hot zone.
S504, under the condition that the gesture input position of the detected gesture touch event belongs to the target application hot zone, the electronic equipment executes a second function in target application software corresponding to the gesture touch event.
In the embodiment of the application, the electronic equipment can receive the user operation and start the target page of the target application software. After the target page of the target application software is started, the electronic device can start to judge whether a conflict touch control hot zone exists in the system touch control hot zone and the application touch control hot zone of the target page. The electronic device may also begin to determine whether a conflicting touch zone exists in the system touch zone compared to an application touch zone of the target page after displaying the target page. In the embodiment of the application, the time for judging whether the conflict touch control hot zone exists is not limited.
In the embodiment of the application, the electronic device reallocates the conflict touch control hot zone to generate a temporary target system hot zone and a target application hot zone. In the case of displaying a target page, the electronic device determines whether to assign a gesture trigger event to system software or application software according to the target system hot zone and the target application hot zone. And the electronic equipment displays other pages of the target application software or deletes the hot zone allocation information of the target system hot zone and the target application hot zone after exiting the target application software. If the target page is started again, the electronic device re-executes the above step S502.
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.
In the embodiment of the application, the electronic equipment can realize the functions of positioning, photographing, instant communication, video playing and the like by installing the system software and the application software.
The system software is used for controlling and coordinating the system and external equipment, supporting the development and running of application software, is a set of various programs without user intervention, and has the main functions of scheduling, monitoring and maintaining a computer system; is responsible for managing the various independent hardware in the computer system so that they can work in concert. The system software allows computer users and other software to treat the computer as a whole without regard to how each underlying piece of hardware works.
The application software corresponds to the system software, and is a set of various programming languages which can be used by a user and application programs compiled by the various programming languages. The application software may be instant messaging software, shopping software, video playing software, office software, etc., and in the embodiment of the present application, the type of the application software is not limited.
In the embodiment of the present application, as shown in (a 1) in fig. 6, the electronic device displays a first desktop page, and displays a plurality of application software on the first desktop. The electronic device receives a single-finger 'drag down' gesture touch operation, i.e., triggers a first gesture touch event. As shown in (a 2) of fig. 6, the system touch hot zone of the system software includes a top region of the touch screen of the electronic device. The gesture input position of the electronic device, where the electronic device detects the first gesture touch event, belongs to the top area. As shown in (b 1) of fig. 6, the electronic device executes a function (displays a shortcut setting menu) in the system software corresponding to the first gesture touch event. As shown in (b 2) of fig. 6, in the case where the electronic device displays the shortcut menu, the system touch pad of the system software includes a top area of the touch screen of the electronic device.
The gesture operation corresponding to the gesture touch event may be performed by a finger gesture method such as a single-finger gesture method, a double-finger gesture method, or a multi-finger gesture method, or a finger joint gesture method, such as a flick gesture, a light-point gesture, a double-light-point gesture, a zooming gesture, a pressing gesture, or a dragging gesture.
In the embodiment of the application, in general, the touch screen of the electronic device displays a system desktop of the system software, and an application start icon of the application software is displayed on the system desktop. After clicking the application start icon, the touch screen of the electronic device displays the page of the application software. If the electronic device displays a page in the electronic device while the application is displayed, the application is the top-level application of the electronic device, i.e., the running application.
It can be understood that after the electronic device displays the target page, the gesture touch event received by the electronic device may implement a function corresponding to the application software, and may also implement a function corresponding to the system software.
In some embodiments, since the application touch zones of the application pages of different application software may be different, the electronic device needs to re-determine whether there is a conflicting touch zone between the system touch zone of the system software and the application touch zone of the target page after each start of the application software.
It should be noted that, before the target application software is started, the running state of the target application software may be a suspended state or an un-running state. The purpose of launching the target application software is to cause the top-level window of the electronic device to display the target application software.
It should be further noted that the target application software may include a plurality of pages, and the application touch areas of each of the plurality of pages may be the same or different, and may not be the same, so the electronic device determines whether there is a conflicting touch area between the application touch area of each of the plurality of pages and the system touch area of the system software. The target page is any one of the pages of the target application software.
In the embodiment of the application, when the electronic device meets the first preset condition, determining whether a conflict touch control hot zone exists between a system touch control hot zone of the system software and an application touch control hot zone of the target page according to the hot zone configuration file corresponding to the target application software. If the electronic equipment does not meet the first preset condition, determining whether a conflict touch control hot zone exists between the system touch control hot zone of the system software and the application touch control hot zone of the target page according to whether the screen display area corresponding to the system touch control hot zone exists or not;
the first preset condition comprises: the preset software list comprises target application software or conflict identification corresponding to the target application software is a preset identification; the preset software list is used for storing application software which has hot zone conflict with a system touch hot zone of system software; the preset mark is used for marking the application software which has hot zone conflict with the system touch hot zone of the system software.
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 that the electronic equipment judges whether the first preset condition is met or not, the electronic equipment judges whether the preset software list comprises target application software or not.
The preset software list may be selected from application software with a front ranking (e.g., the front 10) according to ranking criteria such as the number of downloads, the duration of use, the number of searches, or the user evaluation, where compared with the application touch hotspots of the system software, the application software with a conflict touch hotspots exists. The ranking basis can be obtained by counting all users in a certain area, can be obtained by counting the use condition of application software in a certain time period, can be obtained by counting all users in a certain specific age range, and is not limited in the method for acquiring the preset software list in the embodiment of the application.
In the embodiment of the application, the electronic device can load the preset software list from the cloud server or generate the conflict identification when the application software in the preset software list is installed. Wherein the conflict identifier is used for identifying whether the application software is stored in the preset software list.
In some embodiments, if the cloud server updates the preset software list, the electronic device may employ the preset software list that received the update, or the electronic device may generate a conflict identification when updating the application software in the preset software list.
In this way, the application software with the coincident hot zone with the system touch hot zone is marked through a preset software list or a preset identifier, and whether the conflict touch hot zone exists between the system touch hot zone of the system software and the application touch hot zone of the target page is determined by adopting different judging modes through 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. If the judging mode according to the hot zone configuration file corresponding to the target application software is adopted, the judging speed of the target application software can be improved, and if the judging mode according to whether the system touch hot zone and the application touch hot zone exist or not is adopted, the determining result of whether the conflict touch hot zone exists or not is obtained through judging, and the judging accuracy of the target page can be improved.
In the embodiment of the application, under the condition that the electronic equipment comprises a software identifier corresponding to application software in a preset software list, determining that at least one page in system software and application software has a conflict touch control hot zone, and then acquiring a hot zone configuration file corresponding to target application software; under the condition that the hot zone configuration file comprises hot zone configuration parameters corresponding to the target page, determining that a conflict touch zone exists between a system touch zone of system software and an application touch zone of the target page. Therefore, whether the conflict touch control hot zone exists between the system touch control hot zone of the system software and the application touch control hot zone of the target page or not is determined by searching whether the hot zone configuration file comprises the hot zone configuration parameters corresponding to the target page or not, and the judging speed of the target application software can be improved.
In the embodiment of the application, under the condition that a preset software list does not comprise a software identifier corresponding to stored application software, acquiring a system touch control hot zone of system software and an application touch control hot zone of a target page; and under the condition that the screen display area corresponding to the system touch control hot area has a superposition area compared with the screen display area corresponding to the application touch control hot area of the target page, determining that the system touch control hot area of the system software has a conflict touch control hot area compared with the application touch control hot area of the target page.
In some embodiments, if the software identifier corresponding to the application software is stored in the preset software list, but the hot zone configuration parameter corresponding to the target page is not stored in the configuration file corresponding to the target application software, the electronic device determines that the system touch hot zone of the system software does not have a conflict touch hot zone compared with the application touch hot zone of the target page.
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 zone does not have a coincident area compared with the screen area corresponding to the application touch hot zone of the target page, the electronic device determines that the system touch hot zone of the system software does not have a conflict touch hot zone compared with the application touch hot zone of the target page.
In some embodiments, when a system touch hot zone of the system software and an application touch hot zone of the target page do not have a conflict touch hot zone, the electronic device judges whether a gesture touch event is received, and when the detected gesture input position of the gesture touch event belongs to the system touch hot zone, the electronic device executes a first function in the system software corresponding to the gesture touch event; and under the condition that the gesture input position of the detected gesture touch event belongs to the application touch hot zone, the electronic equipment executes a second function in the application software corresponding to the gesture touch event.
In other embodiments, when the system touch hot zone of the system software and the application touch hot zone of the target page have conflicting touch hot zones, the electronic device may acquire hot zone configuration parameters corresponding to the target page stored in the configuration file, and then reallocate the conflicting touch hot zones according to the hot zone configuration parameters corresponding to the target page to determine the target system hot zone and the target application hot zone of the system software. And then, the electronic equipment judges whether a gesture touch event is received or not, and responds to the function corresponding to the gesture touch event according to the gesture input position of the gesture touch event.
In some embodiments, the electronic device installs the application software for the first time or updates the installation application software, and if the application software belongs to a preset software list corresponding to the system software, the electronic device may load and store a hot zone configuration file of the application software.
Specifically, the electronic equipment receives a hot zone configuration file corresponding to target application software sent by a server; and storing a hot zone configuration file corresponding to the target application software in a file storage position of the system software. The hot zone configuration file corresponding to the target application software is used for storing hot zone configuration parameters corresponding to at least one conflict page; each conflict page in the at least one conflict page is: in each page of the target application software, a corresponding page with an overlapping hot zone exists between the application touch hot zone and the system touch hot zone; the target application software comprises target pages in each page.
Therefore, the server stores the hot zone configuration files of the plurality of application software, and sends the hot zone configuration files corresponding to the target application software to the electronic equipment for installing the target application software, namely, the electronic equipment only needs to store the hot zone configuration files corresponding to the target application software, so that the data quantity required to be stored by the electronic equipment can be reduced, and the system resources are saved.
In other embodiments, after generating the update hotspot configuration file or receiving the 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 by the electronic device can be updated in time.
In still other embodiments, the electronic device periodically sends a hotspot configuration acquisition request to the cloud server, and the server sends an updated hotspot configuration file of the application software to the electronic device in response to the hotspot configuration acquisition request. The hot zone configuration acquisition request is used for requesting to acquire an updated hot zone configuration file of the application software.
Under the condition that the application software is stored in the preset software list, as shown in fig. 7, the electronic device reads a hot zone configuration file corresponding to the application software, and if the hot zone configuration file includes hot zone configuration parameters corresponding to the target page, the conflict touch hot zone is redistributed according to the hot zone configuration parameters corresponding to the target page, so as to determine a target system hot zone and a target application hot zone of the system software. And under the condition that the gesture input position of the detected gesture touch event belongs to the hot zone of the target system, the electronic equipment distributes the gesture touch event to the system software and executes a first function in the system software corresponding to the gesture touch event. And under the condition that the gesture input position of the detected gesture touch event belongs to the target application hot zone, the electronic equipment distributes the gesture touch event to the application software and executes a second function in the application software corresponding to the gesture touch event.
In some embodiments, if the hotspot configuration file does not include the hotspot configuration parameter corresponding to the target page, the electronic device determines that the system touch hotspot of the system software does not have a conflicting touch hotspot compared with the application touch hotspot of the target page. The electronic equipment judges whether a gesture touch event is received or not, and executes a first function in system software corresponding to the gesture touch event under the condition that the gesture input position of the detected gesture touch event belongs to a system touch hot zone; and under the condition that the gesture input position of the detected gesture touch event belongs to the application touch hot zone, the electronic equipment executes a second function in the application software corresponding to the gesture touch event.
In some embodiments, the electronic device reassigns the conflicting touch hotspots to determine a target system hotspot of the system software and a target application hotspot of the target page, comprising: and reallocating the conflict touch control hot zone according to the hot zone configuration parameters corresponding to the target page in the hot zone configuration file so as to determine a target system hot zone of the system software and a target application hot zone of the target page.
The hot zone configuration parameters corresponding to the target page comprise a target system hot zone of system software and a target application hot zone of the target page; the generation of the hot zone configuration parameters corresponding to the target page comprises at least one of the following: the system comprises a system touch control hot zone, key touch control hot zones in the system touch control hot zone, system history use information of system software, application history use information in an application touch control hot zone and a target page; the key touch control hot zone is used for guaranteeing that system software can normally operate, and belongs to the target system hot zone of system software.
The hot zone allocation parameters corresponding to the target pages may further include page identifiers, which are used to mark the hot zone allocation parameters corresponding to the target pages in the hot zone configuration file. The page identification type may be a page name, a page path or a random number, and in the embodiment of the present application, the page identification type of the conflict page is not limited.
It should be noted that, the electronic device stores the hot zone configuration parameters in the form of xml, and the hot zone configuration file is a markup language xml file.
In some embodiments, the electronic device or the cloud server may randomly allocate the conflicting touch hotspots, and determine the hotspot allocation parameters according to the random allocation result. The electronic device or the cloud server may further allocate the conflict touch hotspots according to a preset allocation rule, and determine the hotspot allocation parameters according to the allocation result.
Wherein, the historical usage information of the system software may include at least one of the following: the system function triggering times of the system software and the system triggering frequency of the system software. The historical usage information of the target page may include at least one of: the application function triggering times and the application triggering frequency of the target page.
The electronic device periodically counts the historical usage information of the system software and the historical usage information of the conflict page according to the preset time interval and the running condition of the system software and the application software on the electronic device, and redetermines the hot zone distribution parameters.
The cloud server performs data summarization according to the two kinds of historical use information reported by a plurality of electronic devices, obtains summarized historical use information of the system software and summarized historical use information of the conflict page according to a mathematical statistical method such as mean value, variance, standard deviation, normal distribution and the like, and then determines hot zone allocation parameters of the conflict page according to the summarized historical use information of the system software and the summarized historical use information of the conflict page.
In the embodiment of the application, the hot zone configuration parameters corresponding to the target page comprise any one of the following: the target system hot zone includes: overlapping the key hot areas and the touch hot areas except the conflict touch hot areas in the system touch hot areas; the target application hot zone includes: the method comprises the steps of overlapping touch control hot areas outside a key hot area in the conflict touch control hot areas and applying the touch control hot areas outside the conflict touch control hot areas in the touch control hot areas; the overlapped key hot zone is an overlapped hot zone of the key touch hot zone and the conflict touch hot zone; or the target system hot zone is a system touch hot zone, and the target application hot zone is a touch hot zone except a conflict touch hot zone in the application touch hot zone; or the target system hot zone is a touch hot zone except a conflict touch hot zone in the system touch hot zone, and the target application hot zone is an application touch hot zone; or the target system hot zone comprises: the method comprises the steps of enabling a touch hot zone outside a conflict touch hot zone in a system touch hot zone and enabling a first touch hot zone in the conflict touch hot zone; the target application hot zone includes: and applying the touch hot areas except the conflict touch hot area in the touch hot areas and the second touch hot area in the conflict touch hot area.
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 that the target system hot zone is a system touch hot zone, and determines that the target application hot zone is a touch hot zone other than the conflict touch hot zone in the application touch hot zone. If the difference value between the triggering times of the application function and the triggering times of the system function is larger than a second preset value, determining that the target system hot zone is a touch hot zone except a conflict touch hot zone in the system touch hot zone, and determining that the target application hot zone is an application touch hot zone.
In the second case, if the first case is not satisfied, if the difference between the system trigger frequency and the application trigger frequency is greater than a third preset value, determining that the target system hot zone is a system touch hot zone, and determining that the target application hot zone is a touch hot zone other than the conflict touch hot zone in the application touch hot zone. If the difference between the application trigger frequency and the system trigger frequency is larger than a fourth preset value, determining that the target system hot zone is a touch hot zone except a conflict touch hot zone in the system touch hot zone, and determining that the target application hot zone is an application touch hot zone.
In a third case, if the first or second case is not satisfied, the electronic device determining the target system hot zone includes: the method comprises the steps of enabling a touch hot zone outside a conflict touch hot zone in a system touch hot zone and enabling a first touch hot zone in the conflict touch hot zone; determining the target application hot zone includes: and applying the touch hot areas except the conflict touch hot area in the touch hot areas and the second touch hot area in the conflict touch hot area.
The allocation ratio of the first touch control hot zone to the second touch control hot zone may correspond to the ratio of the first times to the second times, and may also correspond to the ratio of the first input probability to the second input probability. It is noted that neither the preceding nor the following in the allocation ratio is 0. In the process of dividing the conflict touch hot areas by the electronic equipment, the touch hot areas which are close to the system touch hot areas can be divided into a first touch hot area and a second touch hot area according to the distribution proportion according to the approaching principle. 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 zone and the application touch hot zone are identical, the third situation is directly adopted to allocate the first touch hot zone and the second touch hot zone in the conflict touch hot zone.
It should be further noted that the system touch hotspots, the application touch hotspots, the conflict touch hotspots, the target system hotspots, and the target application hotspots are not displayed on the touch screen of the electronic device. And under the condition that the gesture touch event is received, determining a touch zone to which a gesture input position of the gesture touch event belongs, and executing functions in system software or application software corresponding to the gesture touch event according to response logic corresponding to different touch zones.
It can be understood that the system touch hot zone and the application touch hot zone divided on the touch screen of the electronic device, the electronic device can be determined according to the size of the touch screen of the electronic device, can be set to a fixed size, can be determined according to the page display content, and is not limited in the embodiment of the application. The conflict touch control hot zone, the target system hot zone and the target application hot zone are correspondingly determined according to the sizes of the areas of the system touch control hot zone and the application touch control hot zone.
Thus, various allocation results of reassigning conflicting touch zones are provided for various possible situations in the target page, taking into account the system touch zones, key touch zones in the system touch zones, system historical usage information of system software, application touch zones and application historical usage information in the target page. Because the conflict touch hot zone is a part of the area of the system touch hot zone (application touch hot zone), the conflict touch hot zone is redistributed, more screen space is not required to be occupied, the multiplexing of the conflict touch hot zone is realized, and the utilization rate of the screen space is improved. According to the key touch control hot zone and the historical use information of the system software and the historical use information of the application software, the conflict touch control hot zone is directly redistributed, or after a hot zone configuration file is generated, the conflict touch control hot zone is redistributed, so that target software for executing a gesture trigger event can be attached to the actual requirement of a user, and the function of the system software (application software) corresponding to the gesture trigger event is realized.
For example, on the basis of (a 1) in fig. 6, as shown in (a 1) in fig. 8, the electronic device displays a first desktop page, displays an application start icon of "a certain video" of the application software on the first desktop, receives a click operation input by a user, and clicks the application start icon of "a certain video" of the application software. Corresponding to the first desktop page shown in fig. 8 (a 1), as shown in fig. 8 (a 2), the system touch hotspots of the system software include a left side hotspot and a right side hotspot of the touch screen of the electronic device. As shown in (b 1) of fig. 8, the electronic device starts a "focus" page (target page) displaying the application software "certain video" in response to the click operation. Corresponding to the "attention" page shown in (b 1) of fig. 8, as shown in (b 2) of fig. 8, a display area corresponding to a progress bar on a touch screen of the electronic device is: the touch control hot zone of the attention page can realize the function of adjusting the playing progress in the attention page. It should be noted that, for the electronic device, the system touch area of the system software of the electronic device is the same regardless of whether the first desktop page is currently displayed or the "focus" page (target page) is displayed.
If the electronic device does not execute the gesture touch method provided by the application, on the basis of the "focus" page displayed in (b 1) in fig. 8, as shown in (a 1) in fig. 9, in the process of playing the "motion" video on the "focus" page, the electronic device receives a gesture touch operation of "dragging left" of a single finger, that is, triggers a second gesture touch event. As shown in (a 2) of fig. 9, the gesture input position of the second gesture touch event belongs to the system touch hotzone. In response to the second gesture touch event, as shown in (a 3) in fig. 9, the electronic device executes a function (display of an application start icon of application software with a higher frequency of use) in the system software corresponding to the second gesture touch event. As shown in (b 1) of fig. 9, during the process of playing the "motion" video on the "focus" page, the electronic device receives a single-finger "drag left" gesture touch operation, that is, triggers a third gesture touch event. As shown in (b 2) of fig. 9, the gesture input position of the third gesture touch event belongs to the application touch hotzone. The electronic device may respond to the third gesture touch event input by the user, as shown in (b 3) in fig. 9, and the electronic device executes a function (adjusts the video playing progress) in the application software corresponding to the third gesture touch event.
If the electronic device executes the gesture touch method provided by the application, on the basis of the "focus" page displayed in (b 1) in fig. 8, as shown in (a 1) in fig. 10, the electronic device receives the gesture touch operation of "dragging left" of a single finger, that is, triggers a fourth gesture touch event, under the condition that the conflict touch hot zone is not redistributed in the process of playing the "motion" video on the "focus" page. As shown in (a 2) of fig. 10, the gesture input position of the fourth gesture touch event may belong to the system touch hotzone and may also belong to the application touch hotzone. As shown in (a 3) of fig. 10, the electronic device plays the "motion" video, and at the same time, displays indication information for indicating that the gesture touch event is not responded to temporarily, for example, the gesture cannot be responded to, and the gesture is re-input later, etc.
After reassigning the conflicting touch zones, as shown in fig. 10 (b 1), the "sports" video continues to be played on the "attention" page. Comparing the system touch zones shown in (a 2) in fig. 8 with the application touch zones shown in (b 2) in fig. 8, as shown in (b 2) in fig. 10, the electronic device compares the system touch zones with the application touch zones of the "attention" page, and determines that there is a conflict touch zone, specifically, a portion of the left side touch zones and a portion of the right side touch zones, which are coincident with each other, in the system touch zones are conflict touch zones.
As shown in (c 1) of fig. 10, during the process of playing the "motion" video on the "focus" page, the electronic device receives a single-finger "drag left" gesture touch operation, that is, triggers a fifth gesture touch event. The electronic device obtains the configuration parameters of the hot zone corresponding to the "focus" page according to the hot zone configuration file corresponding to the "certain video" of the application software, redistributes the conflict touch hot zone, and determines that the target system hot zone is the touch hot zone except the conflict touch hot zone in the left side hot zone and the right side hot zone, as shown in (c 2) in fig. 10, the gesture input position of the fifth gesture touch event belongs to the target system hot zone. The electronic device may respond to the fifth gesture touch event input by the user, as shown in (c 3) in fig. 10, the electronic device performs a function in the fifth gesture touch event system software (display an application start icon of the application software with a higher frequency of use).
As shown in (d 1) of fig. 10, during the playing of the "motion" video on the "focus" page, the electronic device receives a single-finger "drag left" gesture touch operation, i.e., triggers a sixth gesture touch event. According to the hot zone configuration file corresponding to a certain video of the application software, the electronic device acquires hot zone configuration parameters corresponding to a focused page, redistributes conflict touch control hot zones, and determines that a target application hot zone is a display area corresponding to a progress bar on a touch control screen of the electronic device, as shown in (d 2) in fig. 10, a gesture input position of a sixth gesture touch control event belongs to the application touch control hot zone. The electronic device may respond to the sixth gesture touch event input by the user, as shown in (d 3) in fig. 10, and the electronic device executes a function (adjusts the video playing progress) in the application software corresponding to the sixth gesture touch event.
Therefore, after the conflict touch control hot areas are redistributed according to the hot area configuration files, visual feeling of a user can be met to the greatest extent, false touch is not easy to occur to control a progress bar by the user, and the function of controlling the progress bar pair can be achieved in the target application hot area of the application software. According to the method that the server pushes the hot zone configuration file, the target system hot zone and the target application hot zone are automatically adjusted according to the superposition condition of the application touch control hot zone and the system touch control hot zone of the target page, the hot zone configuration file can be prevented from being modified in a high coupling mode, and the development period of application software is saved. Meanwhile, the gesture touch event received by the electronic equipment can be ensured, and according to the gesture input position of the gesture touch event, the first function in the system software can be executed, and the second function in the application software can be executed.
In the case that the application software does not belong to the preset software list, as shown in fig. 11, first, the electronic device receives, through a preset application programming interface (which is an interface provided by the system software), an application touch-control hot area of a target page reported by the target application software. And then, the electronic equipment acquires a system touch control hot zone of the system software, judges whether a screen display area corresponding to the system touch control hot zone and a screen display area corresponding to an application touch control hot zone of the target page have a superposition hot zone, and determines whether the system touch control hot zone of the system software and the application touch control hot zone of the target software have a conflict touch control hot zone. In this way, a preset application programming interface is set in the system software for the application touch area of the target page reported by the target software, so that the system software can acquire the application touch area in time, and further whether a conflict touch area exists between the system touch area of the system software and the application touch area of the target software is determined in time, so that after a gesture touch event is received, the gesture touch event can be distributed to the system software or the application software in time.
If the conflict touch hot zone does not exist, the original system touch hot zone and the original application touch hot zone of the target page are maintained unchanged. And distributing the gesture touch event to system software or application software according to the gesture input position corresponding to the gesture touch event belonging to the system touch hot zone or the application touch hot zone.
And if the conflict touch hot zone exists, the conflict touch hot zone is redistributed according to the key touch hot zone of the system software, and the target system hot zone and the target application hot zone of the system software are determined. And under the condition that the target page is displayed, the electronic equipment distributes the gesture touch event to system software or application software according to the target system hot zone and the target application hot zone.
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 zone and the original application touch hot zone of the target page, and then obtains the application touch hot zones of the other pages through a preset system interface, and reallocates the conflict touch hot zones again. If the electronic equipment exits the application software, the electronic equipment restores the original system touch control hot zone and the original application touch control hot zone of the target page.
In the embodiment of the present application, whether the allocation manner of the target system hot zone and the target application hot zone is allocated in advance by adopting the hot zone configuration file or the manner of immediately allocating the conflict touch hot zone according to the system touch hot zone and the application touch hot zone is similar, the principle of reallocating the conflict touch hot zone can be similar, and how to reallocate the conflict touch hot zone according to the key touch hot zone of the system software can be understood by referring to the specific description of determining the hot zone allocation parameters, so as to determine the target system hot zone and the target application hot zone of the system software.
It can be understood that, because of the many application scenarios corresponding to the application software, it is difficult to determine the conflict touch zones one by one for the application touch zones of all pages of the application software, and determine the zone configuration file. Therefore, in the process of running the application program, the electronic device determines the currently displayed page as a target page, and the electronic device judges whether a conflict touch control hot zone exists between the system touch control hot zone and the application touch control hot zone of the target page every time the target page is displayed.
In the embodiment of the present application, when the second preset condition is satisfied, determining, by the electronic device, the target system hot zone includes: overlapping the key hot areas and the touch hot areas except the conflict touch hot areas in the system touch hot areas; determining that the target application hot zone includes a touch hot zone outside of the coincident key hot zone in the conflict touch hot zone and a touch hot zone outside of the conflict touch hot zone in the application touch hot zone. And when the second preset condition is not met, the electronic equipment reallocates the conflict touch control hot zone according to the system history use information of the system software and the application history use information of the target page so as to determine a target system hot zone of the system software and a target application hot zone of the target page.
Wherein the second preset condition includes: the application touch hot zone comprises a key touch hot zone, and the key touch hot zone and the conflict touch hot zone are overlapped; the key touch control hot zone is used for guaranteeing that system software can normally operate.
It can be understood that, in the process of reassigning the conflict touch zones by the electronic device according to the key touch zones of the system software, the electronic device may temporarily give up the non-key touch zones in the conflict touch zones to the application software for use, and the key touch zones in the conflict touch zones cannot be given up to the application software for use. That is, if there is a coincidence zone between the critical touch zone and the conflicting touch zone, the coincidence zone between the critical touch zone and the conflicting touch zone is determined as the target system zone in the process of allocating the conflicting touch zone.
The electronic device periodically counts historical usage information of the system software and historical usage information of the conflict page according to preset time intervals and running conditions of the system software and the application software on the electronic device.
It should be noted that, in order to ensure that the system software can normally operate, a key touch hot zone is set in the system touch hot zone, and the key touch hot zone is a reserved touch hot zone of the system software. If the critical touch zones and the conflict touch zones do not exist, the electronic device reallocates the conflict touch zones according to the following conditions. If the key touch hot zone and the conflict touch hot zone exist in a superposition hot zone, in the process of distributing the conflict touch hot zone, determining the superposition hot zone of the key touch hot zone and the conflict touch hot zone as a target system hot zone, and then, reallocating the non-key touch hot zone in the conflict touch hot zone according to the following conditions.
Therefore, when the application touch hot zone comprises the key touch hot zone and the conflict touch hot zone are overlapped, the conflict touch hot zone is redistributed, so that on one hand, the normal operation of the system software can be ensured, on the other hand, the gesture triggering event can be distributed to the system software or the application software, and instead of the gesture triggering event being fixedly distributed to the system software, the distribution of the conflict touch hot zone is more flexible, and not only the function of the system software corresponding to the gesture triggering event, but also the function of the application software corresponding to the gesture triggering event can be realized.
And if the second preset condition is not met, the electronic equipment reallocates the conflict touch control hot zone according to the system history use information of the system software and the application history use information of the target page so as to determine a target system hot zone of the system software and a target application hot zone of the target page. The following cases may be included:
Wherein, the historical usage information of the system software may include at least one of the following: the system function triggering times of the system software and the system triggering frequency of the system software. The historical usage information of the target page may include at least one of: the application function triggering times and the application triggering frequency of the target page.
It can be understood that the number of triggering times of the system function refers to the number of times that the function corresponding to the system software is triggered in the case of displaying the target page. The system triggering frequency refers to the frequency at which the function corresponding to the system software is triggered in a unit time under the condition that the target page is displayed. Similarly, the number of triggering of the application function refers to the number of triggering of the function corresponding to the application software in the case of displaying the target page. The application trigger frequency refers to a frequency at which a function corresponding to application software is triggered in a unit time under the condition that a target page is displayed.
In the first case, when the third preset condition is met or the fourth preset condition is met, the electronic device determines that the target system hot zone is a system touch hot zone, and the electronic device determines that the target application hot zone is a touch hot zone other than the conflict touch hot zone in the application touch hot zone. The third preset condition is: the difference between the triggering times of the system function and the triggering times of the application function is larger 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.
In the second case, when the fifth preset condition is met or the sixth preset condition is met, determining that the target system hot zone is a touch hot zone except the conflict touch hot zone in the system touch hot zone, and determining that the target application hot zone is an application touch hot zone. The fifth preset condition is: the difference between the triggering times of the application function and the triggering times of the system function is larger than a 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 a fourth preset value.
In the third case, when the third preset condition is not satisfied, the fourth preset condition is not satisfied, the fifth preset condition is not satisfied, and the sixth preset condition is not satisfied, determining that the target system hot zone includes: the determining, by the computing device, the target application hot zone includes: and applying the touch hot areas except the conflict touch hot area in the touch hot areas and the second touch hot area in the conflict touch hot area.
The allocation ratio of the first touch control hot zone to the second touch control hot zone may correspond to the ratio of the first times to the second times, and may also correspond to the ratio of the first input probability to the second input probability. It is noted that neither the preceding nor the following in the allocation ratio is 0. In the process of dividing the conflict touch hot areas by the electronic equipment, the touch hot areas which are close to the system touch hot areas can be divided into a first touch hot area and a second touch hot area according to the distribution proportion according to the approaching principle.
For example, if the electronic device executes the gesture touch method provided by the present application, on the basis of (a 1) in fig. 6, as shown in (a 1) in fig. 12, the electronic device displays a first desktop page, displays an application start icon of the application software "resource message" on the first desktop, receives a click operation input by the user, and clicks the application start icon for clicking the application software "resource message". Corresponding to the first desktop page shown in fig. 12 (a 1), as shown in fig. 12 (a 2), the system touch hotspots of the system software include a left side hotspot and a right side hotspot of the touch screen of the electronic device. As shown in (b 1) of fig. 12, the electronic device displays a "home" page (target page) of the application software "resource message" showing virtual resource information. Corresponding to the "home" page shown in (b 1) of fig. 12, as shown in (b 2) of fig. 12, the application touch hotspots of the home "page are: the display content of the top window of the 'home page' page can be switched in the top window area of the current page.
If the electronic device executes the gesture touch method provided by the application, virtual resource information is displayed on the "home" page as shown in (a 1) in fig. 13 on the basis of (b 1) in fig. 12. Comparing the system touch zones shown in (a 2) in fig. 12 with the application touch zones shown in (b 2) in fig. 12, as shown in (a 2) in fig. 13, the electronic device compares the system touch zones with the application touch zones of the "home page" page, and determines that there is a conflict touch zone, specifically, a portion of the left side touch zones and a portion of the right side touch zones, which are coincident with each other, in the application touch zones are conflict touch zones.
As shown in (b 1) of fig. 13, in the process of displaying virtual resource information on the "home page", the electronic device receives a single-finger "drag left" gesture touch operation, that is, triggers a seventh gesture touch event. The electronic device reallocates the conflict touch zones according to the key touch zones of the system software, determines that the target system zone is a touch zone other than the conflict touch zone in the left side zone and the right side zone, as shown in (b 2) in fig. 13, where the gesture input position of the seventh gesture touch event belongs to the target system zone. The electronic device may respond to the seventh gesture touch event input by the user, as shown in (b 3) in fig. 13, the electronic device performs a function in the seventh gesture touch event system software (displays an application start icon of the application software with a higher frequency of use).
As shown in (c 1) of fig. 13, in the process of displaying virtual resource information on the "home page", the electronic device receives a single-finger "drag left" gesture touch operation, that is, triggers an eighth gesture touch event. The electronic device reallocates the conflict touch hotspots according to the key touch hotspots of the system software, determines that the target application hotspots are top window areas of the current page displayed by the touch screen of the electronic device, and as shown in (c 2) in fig. 13, gesture input positions of eighth gesture touch events belong to the application touch hotspots. The electronic device may respond to the eighth gesture touch event input by the user, as shown in (c 3) in fig. 13, and the electronic device executes a function (switches display content of a top window of the "top page") in the application software corresponding to the eighth gesture touch event.
Therefore, the problems that the related functions of the application software page are difficult to respond and false touch is easy to occur under the condition that the conflict touch control hot area exists can be solved, and the page functions of the application software and the basic functions of the system software can be realized.
In some embodiments, in the case that the application software does not belong to the preset software list, the electronic device may also prompt the system touch hotspots, the application touch hotspots, and the conflict touch hotspots on the target page; receiving a hot zone setting operation input by a user; in response to the hotspot setting operation, the conflicting touch hotspots are reassigned to determine a target system hotspot of the system software and a target application hotspot of the target page. Wherein the hotspot setting operation is used for user-defined setting of the target system hotspot and the target application hotspot by a user.
Therefore, the allocation of the conflict touch control hot areas is more flexible, and the functions of the system software corresponding to the gesture triggering event and the functions of the application software corresponding to the gesture triggering event can be realized.
In other embodiments, on the target page, a key touch hot zone is prompted, where the key touch hot zone is used to ensure that the system software can operate normally, and the key touch hot zone belongs to a target system hot zone of the system software.
Therefore, the key touch hot areas are included in the prompt application touch hot areas, so that under the condition that the key touch hot areas and the conflict touch hot areas are overlapped, the conflict touch hot areas are redistributed, on one hand, the normal operation of system software can be guaranteed, on the other hand, the conflict touch hot areas can be distributed more flexibly, the functions of the system software corresponding to gesture triggering events can be realized, and the functions of the application software corresponding to the gesture triggering events can be realized.
In the embodiment of the present application, regardless of whether the application software belongs to the preset software list, in general, the conflict touch zones are reassigned, that is, the conflict touch zones are all divided into system touch zones, the conflict touch zones are all divided into application touch zones, or one part of the conflict touch zones is divided into system touch zones, and the other part of the conflict touch zones is divided into application touch zones.
According to the gesture touch method provided by the embodiment of the application, the conflict touch hot zone is a part of the system touch hot zone (application touch hot zone), so that the conflict touch hot zone is redistributed, more screen space is not required to be occupied, the multiplexing of the conflict touch hot zone is realized, and the utilization rate of the screen space is improved. According to the reassignment result of the reassignment conflict touch hotspots, judging whether the gesture input position of the gesture touch event belongs to the target system hotspots or the target application hotspots, and assigning the gesture touch event to the system software or the application software instead of fixedly assigning the gesture touch event to the system software, so that the assignment of the conflict touch hotspots is more flexible, the functions of the system software corresponding to the gesture touch event and the functions of the application software corresponding to the gesture touch event can be realized. And according to the key touch control hot zone and the historical use information of the system software and the historical use information of the application software, the conflict touch control hot zone is directly redistributed, or after a hot zone configuration file is generated, the conflict touch control hot zone is redistributed, so that the target software for executing the gesture trigger event can be attached to the actual requirement of a user, and the function of the system software (application software) corresponding to the gesture trigger event is realized. In addition, the conflict touch hot zone is a part of the system touch hot zone (application touch hot zone), and a user does not need to memorize an additional touch hot zone, so that misoperation can be avoided, and the function corresponding to a gesture touch event can be realized.
The embodiments in the respective scenarios described above may be arbitrarily combined without contradiction between schemes themselves.
The embodiment of the application also provides a gesture touch device, referring to fig. 14, the first device includes a starting unit 1401, a determining unit 1402 and an executing unit 1403;
Wherein, the starting unit 1401 is used for starting the target page of the application software. For example, step S501 in the foregoing embodiment is performed.
The determining unit 1402 is configured to reallocate the conflict touch hotspots when there is a conflict touch hotspots between the system touch hotspots of the system software and the application touch hotspots of the target page, so as to determine the target system hotspots of the system software and the target application hotspots of the target page. For example, step S502 in the foregoing embodiment is performed.
The execution unit 1403 is configured to execute a first function in 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 zone. For example, step S503 in the foregoing embodiment is performed.
The execution unit 1403 is further configured to execute a second function in the target application software corresponding to the gesture touch event when the gesture input position of the detected gesture touch event belongs to the target application hot zone. For example, step S504 in the foregoing embodiment is performed.
It will be appreciated that in order to achieve the above-described functionality, the electronic device comprises corresponding hardware and/or software modules that perform the respective functionality. The present application can be implemented in hardware or a combination of hardware and computer software, in conjunction with the example algorithm steps described in connection with the embodiments disclosed herein. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The present embodiment may divide the functional modules of the electronic device according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules described above may be implemented in hardware. It should be noted that, in this embodiment, the division of the modules is schematic, only one logic function is divided, and another division manner may be implemented in actual implementation.
Embodiments of the present application also provide an electronic device, as shown in fig. 15, which may include one or more processors 1001, memory 1002, and a communication interface 1003.
Wherein a memory 1002, a communication interface 1003, and a processor 1001 are coupled. For example, the memory 1002, the communication interface 1003, and the processor 1001 may be coupled together by a bus 1004.
Wherein the communication interface 1003 is used for data transmission with other devices. The memory 1002 has stored therein computer program code. The computer program code comprises computer instructions which, when executed by the processor 1001, cause the electronic device to perform the method of screening in an embodiment of the application.
The Processor 1001 may be a Processor or a controller, for example, a central processing unit (Central Processing Unit, CPU), a general purpose Processor, a digital signal Processor (DIGITAL SIGNAL Processor, DSP), an Application-specific integrated Circuit (ASIC), a field programmable gate array (Field Programmable GATE ARRAY, FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor may also be a combination that performs the function of a computation, e.g., a combination comprising one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
The bus 1004 may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus 1004 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 15, but not only one bus or one type of bus.
The embodiment of the application also provides a computer readable storage medium, in which a computer program code is stored, which when executed by the above-mentioned processor, causes the electronic device to perform the relevant method steps in the above-mentioned method embodiments.
The present application also provides a computer program product which, when run on a computer, causes the computer to perform the relevant method steps of the method embodiments described above.
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, and therefore, the advantages achieved by the present application may refer to the advantages in the corresponding method provided above, and will not be described herein.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application, or a contributing part or all or part of the technical solution, may be embodied in the form of a software product, where the software product is stored in a storage medium, and includes several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A gesture touch method, the method comprising:
displaying a target page of target application software;
when a conflict touch control hot zone exists between a system touch control hot zone of system software and an application touch control hot zone of the target page, the conflict touch control hot zone is redistributed to determine a target system hot zone of the system software and a target application hot zone of the target page;
executing a first function in the system software corresponding to the gesture touch event under the condition that the gesture input position of the gesture touch event is detected and belongs to the target system hot zone;
And executing a second function in the target application software corresponding to the gesture touch event under the condition that the gesture input position of the gesture touch event is detected and belongs to the target application hot zone.
2. The method of claim 1, wherein after the displaying the target page of the target application software, the method further comprises:
when a first preset condition is met, determining whether a system touch control hot zone of the system software and an application touch control hot zone of the target page exist or not according to a hot zone configuration file corresponding to the target application software;
When the first preset condition is not met, determining whether a conflict touch control hot zone exists between the system touch control hot zone of the system software and the application touch control hot zone of the target page according to whether the screen display area corresponding to the system touch control hot zone exists or not;
Wherein the first preset condition includes: the preset software list comprises the target application software or conflict identification corresponding to the target application software is a preset identification; the preset software list is used for storing application software with a coincident hot zone with a system touch hot zone of the system software; and the preset mark is used for marking the application software with a coincident hot zone with the system touch hot zone of the system software.
3. The method of claim 2, wherein the determining whether the conflict touch zones exist in the system touch zones of the system software and the application touch zones of the target page according to the hot zone configuration file corresponding to the target application software includes:
acquiring a hot zone configuration file corresponding to the target application software;
When the hot zone configuration file comprises hot zone configuration parameters corresponding to the target page, determining that a system touch hot zone of the system software and an application touch hot zone of the target page have the conflict touch hot zone;
the hot zone configuration parameter is used for indicating a reassignment mode of the conflict touch hot zone.
4. The method of claim 3, wherein before the obtaining the hot zone configuration file corresponding to the application software, the method further comprises:
receiving a hot zone configuration file corresponding to the target application software sent by a server;
storing a hot zone configuration file corresponding to the target application software in a file storage position of the system software;
The hot zone configuration file corresponding to the target application software is used for storing hot zone configuration parameters corresponding to at least one conflict page; each conflict page in the at least one conflict page is: among the pages of the target application software, the corresponding application touch hot zone and the system touch hot zone are the pages with the coincident hot zones; and each page of the target application software comprises the target page.
5. The method of claim 4, wherein the reassigning the conflicting touch zones to determine a target system zone of the system software and a target application zone of the target page comprises:
according to the hot zone configuration parameters corresponding to the target page in the hot zone configuration file, the conflict touch control hot zone is redistributed to determine a target system hot zone of the system software and a target application hot zone of the target page;
The hot zone configuration parameters corresponding to the target page comprise a target system hot zone of the system software and a target application hot zone of the target page;
The generation of the hot zone configuration parameters corresponding to the target page comprises at least one of the following steps: the system touch control hot zone, the key touch control hot zone in the system touch control hot zone, the system history use information of the system software, the application history use information in the application touch control hot zone and the target page;
the key touch control hot zone is used for guaranteeing that the system software can normally operate, and belongs to a target system hot zone of the system software.
6. The method according to claim 5, wherein the hot zone configuration parameters corresponding to the target page include any one of the following:
The target system hot zone comprises: overlapping the key hot areas and the touch hot areas outside the conflict touch hot areas in the system touch hot areas; the target application hot zone includes: the touch control hot areas outside the coincident key hot areas in the conflict touch control hot areas and the touch control hot areas outside the conflict touch control hot areas in the application touch control hot areas; the coincident key hot zone is a coincident hot zone of the key touch hot zone and the conflict touch hot zone;
or the target system hot zone is the system touch hot zone, and the target application hot zone is a touch hot zone outside the conflict touch hot zone in the application touch hot zone;
Or the target system hot zone is a touch hot zone outside the conflict touch hot zone in the system touch hot zone, and the target application hot zone is the application touch hot zone;
Or the target system hot zone comprises: the system comprises a touch control hot zone outside the conflict touch control hot zone and a first touch control hot zone in the conflict touch control hot zone; the target application hot zone includes: and the application touch hot zone is a touch hot zone other than the conflict touch hot zone, and the application touch hot zone is a second touch hot zone in the conflict touch hot zone.
7. The method according to claim 2, wherein the determining whether the conflict touch zone exists between the system touch zone of the system software and the application touch zone of the target page according to the screen display area corresponding to the system touch zone, including:
Receiving an application touch control hot zone of the target page reported by the target application software through a preset application programming interface;
When the screen display area corresponding to the system touch control hot area has a superposition hot area corresponding to the screen display area corresponding to the application touch control hot area, determining that the conflict touch control hot area exists between the system touch control hot area of the system software and the application touch control hot area of the target page.
8. The method of claim 2 or 7, wherein the reassigning the conflicting touch zones to determine a target system zone of the system software and a target application zone of the target page comprises:
When a second preset condition is met, determining the target system hot zone includes: overlapping the key hot areas and the touch hot areas outside the conflict touch hot areas in the system touch hot areas; determining that the target application hot zone comprises a touch hot zone outside the coincident key hot zone in the conflict touch hot zone and a touch hot zone outside the conflict touch hot zone in the application touch hot zone;
When the second preset condition is not met, the conflict touch control hot zone is redistributed according to the system history use information of the system software and the application history use information of the target page so as to determine a target system hot zone of the system software and a target application hot zone of the target page;
Wherein the second preset condition includes: the application touch hot zone comprises a key touch hot zone, and the key touch hot zone and the conflict touch hot zone are overlapped with each other; the key touch control hot zone is used for guaranteeing that the system software can normally run.
9. The method of claim 8, wherein the system history usage information comprises at least one of: the system function triggering times of the system software and the system triggering frequency of the system software; the application history use information includes at least one of: the application function triggering times of the target page and the application triggering frequency of the target page;
the reassigning the conflict touch hotspots according to the system history use information of the system software and the application history use information of the target page to determine a target system hotspot of the system software and a target application hotspot of the target page comprises the following steps:
When a third preset condition is met or a fourth preset condition is met, determining that the target system hot zone is the system touch hot zone, determining that the target application hot zone is a touch hot zone other than the conflict touch hot zone in the application touch hot zones, wherein the third preset condition is as follows: the difference between the triggering times of the system function and the triggering times of the application function is larger than a first preset value, and the fourth preset condition is that: the difference value between the system trigger frequency and the application trigger frequency is larger than a third preset value;
When a fifth preset condition is met or a sixth preset condition is met, determining that the target system hot zone is a touch hot zone other than the conflict touch hot zone in the system touch hot zones, determining that the target application hot zone is the application touch hot zone, wherein the fifth preset condition is as follows: the difference between the triggering times of the application function and the triggering times of the system function is larger than a 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 a fourth preset value.
10. The method of claim 9, wherein reassigning the conflicting touch zones based on system historical usage information of the system software and application historical usage information of the target page to determine a target system zone of the system software and a target application zone of the target page further comprises:
when the third preset condition is not satisfied, the fourth preset condition is not satisfied, the fifth preset condition is not satisfied, and the sixth preset condition is not satisfied, determining that the target system hot zone includes: the determining, by the system, the touch zones other than the conflicting touch zone and the first touch zone of the conflicting touch zones includes: and the application touch hot zone is a touch hot zone other than the conflict touch hot zone, and the application touch hot zone is a second touch hot zone in the conflict touch hot zone.
11. The method of claim 1, wherein the reassigning the conflicting touch zones to determine a target system zone of the system software and a target application zone of the target page comprises:
Prompting the system touch control hot zone, the application touch control hot zone and the conflict touch control hot zone on the target page;
receiving a hot zone setting operation input by a user;
and reallocating the conflict touch control hot zone in response to the hot zone setting operation so as to determine a target system hot zone of the system software and a target application hot zone of the target page.
12. The method of claim 11, wherein prior to the receiving user input hot zone setting operation, the method further comprises:
and prompting a key touch control hot zone on the target page, wherein the key touch control hot zone is used for guaranteeing that the system software can normally operate, and belongs to a target system hot zone of the system software.
13. An electronic device, comprising: a memory, one or more processors; the memory is coupled with the processor; wherein the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the gesture touch method of any of claims 1-12.
14. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the gesture touch method of any of claims 1-12.
15. A computer program product, characterized in that the computer program product, when run on a computer, causes the computer to perform the gesture touch method according to any of claims 1-12.
CN202211429756.9A 2022-11-15 2022-11-15 Gesture touch control method and electronic equipment Pending CN118051133A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211429756.9A CN118051133A (en) 2022-11-15 2022-11-15 Gesture touch control method and electronic equipment
PCT/CN2023/128743 WO2024104161A1 (en) 2022-11-15 2023-10-31 Gesture touch method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211429756.9A CN118051133A (en) 2022-11-15 2022-11-15 Gesture touch control method and electronic equipment

Publications (1)

Publication Number Publication Date
CN118051133A true CN118051133A (en) 2024-05-17

Family

ID=91047120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211429756.9A Pending CN118051133A (en) 2022-11-15 2022-11-15 Gesture touch control method and electronic equipment

Country Status (2)

Country Link
CN (1) CN118051133A (en)
WO (1) WO2024104161A1 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445376B (en) * 2016-08-30 2020-03-03 北京小米移动软件有限公司 Webpage operation method and device
CN113821128B (en) * 2020-06-18 2024-09-20 花瓣云科技有限公司 Terminal equipment, gesture operation method thereof and medium
CN115145447A (en) * 2021-03-30 2022-10-04 华为技术有限公司 Window is displayed on method and related apparatus
CN112905296A (en) * 2021-03-31 2021-06-04 读书郎教育科技有限公司 System and method for solving conflict between full-screen gesture navigation and application logic
CN113608610B (en) * 2021-07-14 2022-11-11 荣耀终端有限公司 Interaction control method, electronic equipment and system
CN114201075A (en) * 2021-12-14 2022-03-18 深圳市闪联信息技术有限公司 Touch screen equipment and method for solving same touch input function conflict

Also Published As

Publication number Publication date
WO2024104161A1 (en) 2024-05-23

Similar Documents

Publication Publication Date Title
CN111225108A (en) Communication terminal and card display method of negative screen interface
CN115348350B (en) Information display method and electronic equipment
CN111124219A (en) Communication terminal and card display method of negative screen interface
CN116089096B (en) Load resource scheduling method and electronic equipment
CN118051133A (en) Gesture touch control method and electronic equipment
CN114201103B (en) Data input method and terminal equipment
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN116360657A (en) Cross-device object moving method, electronic device and system
CN115220851B (en) Operation guidance method, electronic device and readable storage medium
CN116700944B (en) Memory recycling method and device and electronic equipment
CN116048357B (en) Mobile terminal control method and mobile terminal
CN116661670B (en) Method for managing gesture navigation window, electronic device and storage medium
CN115061758B (en) Application display method, terminal, electronic device and storage medium
CN116700813B (en) Method for loading widget, electronic device and readable storage medium
WO2024193277A1 (en) Position selection method, electronic device, and computer-readable storage medium
WO2024037346A1 (en) Page management method and electronic device
CN117707718A (en) Process management method, electronic device and readable storage medium
CN118260034A (en) Operation method and electronic equipment
CN113901255A (en) Image processing terminal and method
CN117633774A (en) Visualization method and device for application icons
CN114675762A (en) Terminal device, function searching method and storage medium
CN117668350A (en) Application recommendation method and related device
CN117707719A (en) Process management method, electronic device and readable storage medium
CN116069224A (en) Input control method and electronic equipment
CN116974434A (en) Display method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination