CN110750186A - Method and device for adjusting shielded or mistakenly-touched control - Google Patents

Method and device for adjusting shielded or mistakenly-touched control Download PDF

Info

Publication number
CN110750186A
CN110750186A CN201910822349.6A CN201910822349A CN110750186A CN 110750186 A CN110750186 A CN 110750186A CN 201910822349 A CN201910822349 A CN 201910822349A CN 110750186 A CN110750186 A CN 110750186A
Authority
CN
China
Prior art keywords
touched
control
mistakenly
shielded
screen
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
CN201910822349.6A
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 Device Co Ltd
Original Assignee
Huawei Device 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 Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201910822349.6A priority Critical patent/CN110750186A/en
Publication of CN110750186A publication Critical patent/CN110750186A/en
Priority to PCT/CN2020/102859 priority patent/WO2021042886A1/en
Pending legal-status Critical Current

Links

Images

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/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

The application discloses a method and a device for adjusting a shielded or mistakenly-touched control. In the application, the position and the size of a shielded or mistakenly touched area on a screen and the position and the size of at least one control on an interface are obtained; determining the shielded or mistakenly touched control and the contact ratio of the shielded or mistakenly touched control and the shielded or mistakenly touched area according to the position and the size of the shielded or mistakenly touched area and the position and the size of at least one control; and when the contact ratio is greater than the first contact ratio threshold value, adjusting the position of the shielded or mistakenly touched control. By adopting the scheme of the application, the control can be adjusted by being shielded or touched by mistake, so that the control is not shielded or touched by mistake, and convenience is brought to users.

Description

Method and device for adjusting shielded or mistakenly-touched control
Technical Field
The application relates to the field of intelligent terminals, in particular to a method and a device for adjusting a shielded or mistakenly-touched control.
Background
With the rapid development and the rise of the mobile phone with the full screen, innovations on various screens such as a water drop screen, a Liu Hai screen, a folding screen, a curved screen, a screen lower hole and the like are continuously gushed. In addition to mobile phones, large screen products such as tablet computers, televisions and the like have a trend towards hole digging screens and curved screen products, and more hole digging screens and curved screen products are used by users.
On products with hole digging screens, the position of a hole may shield a function button; in the product of the curved screen, the function buttons on the edge part may be touched by mistake, which may affect the user experience. Specifically, for example, when a full screen of an application is opened using a mobile phone with a hole-digging screen, a function button is just shielded by the position of the hole, which may cause the user to not know how to exit or operate. For example, with a mobile phone using a curved screen, a user opens an application to browse a web page, and a finger inadvertently touches a function button on the edge of the curved surface, which causes the web page being browsed to jump to another page. Both of these conditions negatively impact the user experience.
In order to avoid blocking or prevent accidental touch, equipment manufacturers (mobile phone/tablet/computer/television manufacturers) are required to push third-party application manufacturers to adapt. Such as adjusting the button or control position to prevent occlusion or inadvertent contact. In the Android (Android) ecology, the third party application manufacturers are thousands of, pushing one by one wastes resources, and the processing cycle is also long.
Disclosure of Invention
The application provides a method and a device for adjusting a shielded or mistakenly touched control, so that the control is not shielded or mistakenly touched.
In a first aspect, a method for adjusting an occluded or mis-touched control is provided, where the method includes: acquiring the position and the size of a shielded or mistakenly touched area on a screen and the position and the size of at least one control on an interface; determining the shielded or mistakenly touched control and the contact ratio of the shielded or mistakenly touched control and the shielded or mistakenly touched area according to the position and the size of the shielded or mistakenly touched area and the position and the size of the at least one control; and when the contact ratio is greater than a first contact ratio threshold value, adjusting the position of the shielded or mistakenly-touched control. In the aspect, the control which is shielded or touched by mistake can be adjusted, so that the control is not shielded or touched by mistake, and the use of a user is facilitated.
In one implementation, the sheltered or mis-touched region includes a square where a hole on a hole digging screen is located, and the obtaining of the position and size of the sheltered or mis-touched region on the screen includes: obtaining at least one parameter of the hole, the at least one parameter of the hole comprising: the distance from the leftmost side of the block where the hole is located to the left side of the screen, the distance from the uppermost side of the block where the hole is located to the upper side of the screen, the distance from the rightmost side of the block where the hole is located to the left side of the screen, and the distance from the bottommost side of the block where the hole is located to the upper side of the screen; and calculating the position and size of the square block where the hole is located according to at least one parameter of the hole. In the implementation, the parameters of the hole on the hole digging screen can be obtained by using a public application program interface API provided by a manufacturer, and the position and the size of the hole can be accurately obtained according to the parameters of the hole.
In yet another implementation, the obtaining the position and size of the blocked or mis-touched region on the screen includes: acquiring the radian of the curved screen; and calculating the position and the size of the edge area of the curved screen according to the radian of the curved screen. In this implementation, the radian of the curved screen can be obtained using the API provided by the manufacturer, so that the position and size of the edge area of the curved screen can be accurately obtained.
In yet another implementation, the determining the blocked or mis-touched control according to the position and size of the blocked or mis-touched region and the position and size of the at least one control comprises: and when the position of any control in the at least one control is overlapped with the position of the blocked or mistakenly touched area, determining that the any control is the blocked or mistakenly touched control.
In yet another implementation, the adjusting the position of the occluded or mis-touched control when the overlap ratio is greater than a first overlap ratio threshold includes: when the contact ratio is larger than a first contact ratio threshold value, determining the adjustment quantity of the position of the shielded or mistakenly-touched control corresponding to the contact ratio according to the contact ratio; and adjusting the position of the shielded or mistakenly-touched control according to the adjustment amount of the position of the shielded or mistakenly-touched control. In the implementation, the corresponding relation between the contact ratio and the adjustment amount of the position of the control can be preset, and the corresponding adjustment amount is determined according to the actual contact ratio, so that the implementation is simple.
In yet another implementation, the adjusting the position of the blocked or mis-touched control according to the adjustment amount of the position of the blocked or mis-touched control includes: and when the contact ratio is greater than a first contact ratio threshold value, moving the shielded or mistakenly-touched control to the left side or the right side of the screen according to the adjustment amount.
In a second aspect, an adjusting device for a blocked or mis-touched control is provided, and the device has a function of implementing the method. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible implementation, the apparatus includes: the acquisition unit is used for acquiring the position and the size of a shielded or mistakenly touched area on the screen and the position and the size of at least one control on the interface; the determining unit is used for determining the shielded or mistakenly-touched control and the contact ratio of the shielded or mistakenly-touched control and the shielded or mistakenly-touched area according to the position and the size of the shielded or mistakenly-touched area and the position and the size of the at least one control; and the adjusting unit is used for adjusting the position of the shielded or mistakenly-touched control when the contact ratio is greater than a first contact ratio threshold value.
Optionally, the shielded or mistakenly touched region includes a square where a hole on the hole digging screen is located, and the obtaining unit is configured to: obtaining at least one parameter of the hole, the at least one parameter of the hole comprising: the distance from the leftmost side of the block where the hole is located to the left side of the screen, the distance from the uppermost side of the block where the hole is located to the upper side of the screen, the distance from the rightmost side of the block where the hole is located to the left side of the screen, and the distance from the bottommost side of the block where the hole is located to the upper side of the screen; and calculating the position and size of the square block where the hole is located according to at least one parameter of the hole.
Optionally, the blocked or mis-touched region includes an edge region of the curved screen, and the obtaining unit is configured to: acquiring the radian of the curved screen; and calculating the position and the size of the edge area of the curved screen according to the radian of the curved screen.
Optionally, the determining unit is configured to: and when the position of any control in the at least one control is overlapped with the position of the blocked or mistakenly touched area, determining that the any control is the blocked or mistakenly touched control.
Optionally, the adjusting unit is configured to: when the contact ratio is larger than a first contact ratio threshold value, determining the adjustment quantity of the position of the shielded or mistakenly-touched control corresponding to the contact ratio according to the contact ratio; and adjusting the position of the shielded or mistakenly-touched control according to the adjustment amount of the position of the shielded or mistakenly-touched control.
Optionally, the adjusting unit is configured to: and when the contact ratio is greater than a first contact ratio threshold value, moving the shielded or mistakenly-touched control to the left side or the right side of the screen according to the adjustment amount.
In another possible implementation manner, the apparatus includes: an input device, an output device, a memory, and a processor; wherein the memory stores a set of program codes therein, and the processor is configured to call the program codes stored in the memory to perform the following operations: acquiring the position and the size of a shielded or mistakenly touched area on a screen and the position and the size of at least one control on an interface; determining the shielded or mistakenly touched control and the contact ratio of the shielded or mistakenly touched control and the shielded or mistakenly touched area according to the position and the size of the shielded or mistakenly touched area and the position and the size of the at least one control; and when the contact ratio is greater than a first contact ratio threshold value, adjusting the position of the shielded or mistakenly-touched control.
Optionally, the blocked or mis-touched region includes a square where a hole on the hole digging screen is located, and the processor performs the step of obtaining the position and size of the blocked or mis-touched region on the screen, including: obtaining at least one parameter of the hole, the at least one parameter of the hole comprising: the distance from the leftmost side of the block where the hole is located to the left side of the screen, the distance from the uppermost side of the block where the hole is located to the upper side of the screen, the distance from the rightmost side of the block where the hole is located to the left side of the screen, and the distance from the bottommost side of the block where the hole is located to the upper side of the screen; and calculating the position and size of the square block where the hole is located according to at least one parameter of the hole.
In yet another implementation, the occluded or mis-touched region includes an edge region of a curved screen, and the processor performs the step of obtaining a location and a size of the occluded or mis-touched region on the screen, including: acquiring the radian of the curved screen; and calculating the position and the size of the edge area of the curved screen according to the radian of the curved screen.
In yet another implementation, the processor performs the step of determining the occluded or mis-touched control according to the position and size of the occluded or mis-touched region and the position and size of the at least one control, including: and when the position of any control in the at least one control is overlapped with the position of the blocked or mistakenly touched area, determining that the any control is the blocked or mistakenly touched control.
In yet another implementation, the processor performs the step of adjusting the position of the occluded or mis-touched control when the degree of overlap is greater than a first degree of overlap threshold, including: when the contact ratio is larger than a first contact ratio threshold value, determining the adjustment quantity of the position of the shielded or mistakenly-touched control corresponding to the contact ratio according to the contact ratio; and adjusting the position of the shielded or mistakenly-touched control according to the adjustment amount of the position of the shielded or mistakenly-touched control.
In yet another implementation, the processor performs the step of adjusting the position of the occluded or mis-touched control according to the adjustment amount of the position of the occluded or mis-touched control, including: and when the contact ratio is greater than a first contact ratio threshold value, moving the shielded or mistakenly-touched control to the left side or the right side of the screen according to the adjustment amount.
Based on the same application concept, as the principle and the beneficial effects of the device for solving the problems can be referred to the method implementation of each possible device and the brought beneficial effects, the implementation of the device can be referred to the implementation of the method, and repeated details are not repeated.
In a third aspect, there is provided a computer-readable storage medium having stored therein instructions, which, when run on a computer, cause the computer to perform the method of any of the first or second aspects described above.
In a fourth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect or any of the first aspects described above.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
Fig. 1 is a schematic flowchart illustrating a method for adjusting a blocked or erroneously touched control according to a first embodiment of the present application;
fig. 2 is a schematic flowchart of a method for adjusting an occluded control according to a second embodiment of the present application;
FIG. 3 is a schematic view of the parameters of the acquisition well;
FIG. 4 is a schematic diagram of an example full screen play video interface "back" button being occluded;
FIG. 5 is a schematic diagram of an example full screen play video interface "menu" button being occluded;
fig. 6 is a flowchart illustrating a method for adjusting a mistakenly touched control according to a third embodiment of the present disclosure;
FIG. 7 is a diagram illustrating an example control displayed at an edge of a curved screen causing a false touch;
fig. 8 is a schematic structural diagram of an adjusting apparatus of a mis-touched control according to a fourth embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an adjusting device of a control touched by mistake according to a fifth embodiment of the present application.
Detailed Description
The embodiments of the present application will be described below with reference to the drawings.
Referring to fig. 1, a flow chart of a method for adjusting a blocked or mis-touched control according to a first embodiment of the present application is shown, where the method includes the following steps:
s101, acquiring the position and the size of a blocked or mistakenly touched area on a screen and the position and the size of at least one control on an interface.
If a gap part exists on the screen, for example, a hole on the screen is dug, the control on the software interface of the terminal equipment can be shielded; for a curved screen, the edge part is also made into a screen, and the control displayed by the edge part may be touched by the user by mistake, which all affect the experience of the user.
Therefore, the position and size of the blocked or mis-touched region on the screen can be acquired. The terminal equipment manufacturer may provide the location and size of the occluded or mis-touched area. The position and size of the occluded or mis-touched region may be obtained through a common application interface (application interface) provided by the vendor. In general, the occluded position may be one or more.
And one or more controls exist on the software interface of the terminal equipment at the position of the blocked or mistakenly touched area or close to the position of the blocked or mistakenly touched area. Accordingly, the position and size of one or more controls on the current interface are obtained. The position and size of one or more controls on the current interface may be obtained through an API provided by the third party application platform. The control comprises all layout elements on the software interface, such as a function button and the like.
S102, determining the shielded or mistakenly touched control and the contact ratio of the shielded or mistakenly touched control and the shielded or mistakenly touched area according to the position and the size of the shielded or mistakenly touched area and the position and the size of the at least one control.
Having obtained the location and size of the occluded or mis-touched region and the location and size of the one or more controls on the current interface, the one or more controls that are occluded or mis-touched in the current interface may be determined.
If the determined one or more controls are blocked or touched by mistake, the blocked or touched one or more controls have a certain overlap ratio with the blocked or touched region. The contact degree of the blocked or touched control and the blocked or touched region can be determined according to the determined position and size of the blocked or touched region and the determined position and size of the blocked or touched region.
S103, when the contact ratio is larger than a first contact ratio threshold value, adjusting the position of the shielded or mistakenly-touched control.
When the contact ratio is greater than the first contact ratio threshold value, it is described that the use of the user is affected by the fact that the control is blocked or the contact error area is large, and therefore the position of the blocked or contact error control can be adjusted. The first contact ratio threshold may be preset according to a user usage. Specifically, the blocked or mis-touched control may be moved such that the degree of overlap of the blocked or mis-touched control with the blocked or mis-touched region is smaller or zero.
According to the method for adjusting the shielded or mistakenly-touched control, the shielded or mistakenly-touched control can be adjusted, so that the control is not shielded or mistakenly touched, and the use of a user is facilitated.
Referring to fig. 2, a flowchart of a method for adjusting an occluded control according to a second embodiment of the present application is shown, where the method includes the following steps:
s201, obtaining at least one parameter of the hole, wherein the at least one parameter of the hole comprises: the distance from the leftmost side of the square where the hole is located to the left side of the screen, the distance from the uppermost side of the square where the hole is located to the upper side of the screen, the distance from the rightmost side of the square where the hole is located to the left side of the screen, and the distance from the bottommost side of the square where the hole is located to the upper side of the screen.
The shielded area comprises a square block where the hole is located on the hole digging screen. As shown in fig. 3, the block may be described by four parameters: the distance (left) from the leftmost side of the block where the hole is located to the left side of the screen, the distance (top) from the uppermost side of the block where the hole is located to the top of the screen, the distance (right) from the rightmost side of the block where the hole is located to the left side of the screen, and the distance (bottom) from the lowermost side of the block where the hole is located to the top of the screen. The above parameters of the excavated screen hole can be obtained through a public API provided by the manufacturer.
S202, calculating the position and the size of the square block where the hole is located according to at least one parameter of the hole.
The above four parameters of the hole describe the coordinates of the square in which the hole is located, i.e. the position of the square in which the hole is located.
In addition, the size of the square where the hole is located can be calculated according to the four parameters of the hole. Specifically, the length of the hole (length) ═ bottom-top; width of the hole (right-left).
S203, acquiring the position and the size of at least one control on the interface.
The position and size of one or more controls on the current software interface may be obtained through an API provided by the third party application platform. All controls of the current software interface may be referred to as views.
S204, when the position of any control in the at least one control is overlapped with the position of the shielded area, determining that the any control is shielded.
In one or more controls on the current software interface, if the position of any control overlaps with the position of the occluded area, the control can be determined to be an occluded control. The presence of the overlap may be a full overlap or a partial overlap.
As shown in the diagram of fig. 4 illustrating the example of the full screen play video interface "back" button being blocked, in the left diagram of fig. 4, the control 1 is blocked by the hole 1. The control 1 may be a "back" button. Since the "back" button is blocked by the hole 1, the user cannot operate successfully when he wants to return to the previous interface.
Also as illustrated in the example of fig. 5, where the "menu" button of the full-screen-play video interface is occluded, in the left diagram of fig. 5, the control 2 is occluded by the hole 2. The control 2 may be a "menu" button. Since the "menu" button is blocked by the hole 2, the user cannot operate the "menu" button when the user wants to operate the "menu" button.
The above-mentioned "back" button and the "menu" button are only examples, and other function buttons may also be covered by holes, which is not limited in the embodiment of the present application.
S205, determining the contact ratio of the shielded control and the shielded area.
According to the obtained position and size of the hole and the position and size of the shielded area, the contact degree of the shielded control and the shielded area can be determined. For example, the degree of overlap is 54%.
S206, when the contact ratio is larger than a first contact ratio threshold value, determining the adjustment amount of the position of the shielded control corresponding to the contact ratio according to the contact ratio.
When the contact ratio is greater than the first contact ratio threshold value, it is described that the use of the user is affected by the fact that the control is blocked or the contact error area is large, and therefore the position of the blocked or contact error control can be adjusted. The first contact ratio threshold may be preset according to a user usage.
The correspondence between the degree of overlap and the adjustment amount of the position of the control may be configured in advance, for example, the correspondence is configured as shown in table 1 below:
TABLE 1
Figure BDA0002187917520000051
Figure BDA0002187917520000061
Since the control is generally moved to the left or right of the screen, in table 1, when the contact ratio is greater than 50% and less than 60%, the adjustment amount is one third (width/3) of the width of the square where the hole is located; when the contact ratio is more than 60% and less than 70%, the adjustment amount is width/3; when the contact ratio is more than 70% and less than 80%, the adjustment amount is width/2; when the contact ratio is more than 80% and less than 90%, the adjustment amount is width/2; when the contact ratio is more than 80%, the adjustment amount is width.
Therefore, the adjustment amount can be obtained by looking up the table according to the actually calculated contact ratio. For example, assuming that the calculated degree of overlap is 54%, the adjustment amount of the control is width/3.
And S207, adjusting the position of the shielded control according to the adjustment amount of the position of the shielded control.
Specifically, the control is moved to the left or right of the screen by the adjustment amount.
Still referring to fig. 4, in the right-hand diagram of fig. 4, the "back" button is moved to the right by an adjustment amount, and is not obscured by aperture 1, and can be operated by the user.
Referring again to fig. 5, in the right-hand diagram of fig. 5, the "menu" button is moved to the left by a certain adjustment amount, and the "menu" button is not blocked by the hole 2, and the user can operate the "menu" button.
According to the method for adjusting the shielded control, the shielded control can be adjusted, so that the control is not shielded, and the use of a user is facilitated.
Referring to fig. 6, a flow chart of a method for adjusting a mis-touched control according to a third embodiment of the present application is shown, where the method includes the following steps:
s301, acquiring the radian of the curved screen.
The curvature of the curved screen may be obtained through an API provided by the manufacturer.
S302, calculating the position and the size of the edge area of the curved screen according to the radian of the curved screen.
Wherein, the position of the edge area of the curved screen is the place held by the hand of the user. The size of the edge area of the curved screen is the area occupied by the inclined surfaces at the two sides.
Firstly, calculating the angle of the inclined plane according to the radian of the curved screen, and then calculating the area occupied by the inclined plane according to the angle of the inclined plane, namely obtaining the size of the edge area of the curved screen.
S303, acquiring the position and the size of at least one control on the interface.
The position and size of one or more controls on the current software interface may be obtained through an API provided by the third party application platform.
S304, when the position of any control in the at least one control is overlapped with the position of the mistakenly touched area, determining that the any control is the mistakenly touched control.
In one or more controls on the current software interface, if the position of any control overlaps with the position of a touched region (such as an edge region of a curved screen), the control can be determined to be the touched control. The presence of the overlap may be a full overlap or a partial overlap.
As the control illustrated in fig. 7 is displayed on the edge of the curved screen to cause the false touch, in the left diagram of fig. 7, the software interface includes three short video interfaces: a first short video interface, a second short video interface, and a third short video interface. The first short video interface and the third short video interface both exceed the edge of the curved screen and are controls which can be touched by mistake.
S305, determining the contact ratio of the mistakenly touched control and the mistakenly touched area.
According to the obtained position and size of the mistakenly touched control and the position and size of the mistakenly touched area, the contact degree of the mistakenly touched control and the mistakenly touched area can be determined. For example, the degree of overlap is 54%.
S306, when the contact ratio is larger than a first contact ratio threshold value, determining the adjustment amount of the position of the mistakenly touched control corresponding to the contact ratio according to the contact ratio.
The step S206 of the above embodiment can be referred to for specific implementation of the step.
It should be noted that, referring to table 1, the adjustment amount of the position of the control corresponding to the contact ratio between the erroneously touched control and the erroneously touched region may be set, and the contact ratio between the erroneously touched control and the erroneously touched region is generally set to 10% to 30%, which is not limited in the present application.
And S307, adjusting the position of the mistakenly touched control according to the adjustment amount of the position of the mistakenly touched control.
The step S207 of the above embodiment can be referred to for specific implementation of the step.
Still referring to fig. 7, assuming that the coincidence ratio of the first short video interface with the edge area of the curved screen is 20%, the first short video interface is moved to the right by width/3 as in the right diagram of fig. 7; and assuming that the coincidence degree of the third short video interface and the edge area of the curved screen is also 20%, moving the third short video interface to the left by width/3. And the first short video interface and the third short video interface after adjustment do not exceed the edge of the curved screen, so that the operation of a user is not influenced.
It should be noted that whether the user wants to operate the control may be identified, and the control that is not operated by the user may not be adjusted.
According to the method for adjusting the mistakenly touched control, the mistakenly touched control can be adjusted, so that the control is not mistakenly touched, and the use of a user is facilitated.
The method of the embodiments of the present application is described above, and the apparatus of the embodiments of the present application is described below.
Based on the same concept of the adjustment method of the blocked or erroneously touched control, as shown in fig. 8, an embodiment of the present application further provides an adjustment apparatus 1000 of the blocked or erroneously touched control. The adjusting device 1000 may be a device, or may be a component or a chip in the terminal. The device can be a mobile phone, a television, a tablet, a computer and the like. The adjusting apparatus 1000 may include: an acquisition unit 11, a determination unit 12, and an adjustment unit 13; wherein:
the acquiring unit 11 is used for acquiring the position and the size of a blocked or mistakenly touched area on a screen and the position and the size of at least one control on an interface;
the determining unit 12 is configured to determine, according to the position and the size of the blocked or mis-touched region and the position and the size of the at least one control, a blocked or mis-touched control and a contact ratio of the blocked or mis-touched control and the blocked or mis-touched region;
and the adjusting unit 13 is configured to adjust the position of the blocked or mistakenly-touched control when the contact ratio is greater than a first contact ratio threshold.
In one implementation, the blocked or mis-touched region includes a square of a hole on a hole digging screen, and the obtaining unit 11 is configured to:
obtaining at least one parameter of the hole, the at least one parameter of the hole comprising: the distance from the leftmost side of the block where the hole is located to the left side of the screen, the distance from the uppermost side of the block where the hole is located to the upper side of the screen, the distance from the rightmost side of the block where the hole is located to the left side of the screen, and the distance from the bottommost side of the block where the hole is located to the upper side of the screen;
and calculating the position and the size of the square block where the hole is located according to at least one parameter of the hole.
In yet another implementation, the blocked or mis-touched region includes an edge region of a curved screen, and the obtaining unit 11 is configured to:
acquiring the radian of the curved screen;
and calculating the position and the size of the edge area of the curved screen according to the radian of the curved screen.
In yet another implementation, the determining unit 12 is configured to:
and when the position of any control in the at least one control is overlapped with the position of the blocked or mistakenly touched area, determining that the any control is the blocked or mistakenly touched control.
In yet another implementation, the adjusting unit 13 is configured to:
when the contact ratio is larger than a first contact ratio threshold value, determining the adjustment quantity of the position of the shielded or mistakenly-touched control corresponding to the contact ratio according to the contact ratio;
and adjusting the position of the shielded or mistakenly-touched control according to the adjustment amount of the position of the shielded or mistakenly-touched control.
In yet another implementation, the adjusting unit 13 is configured to:
and when the contact ratio is greater than a first contact ratio threshold value, moving the shielded or mistakenly-touched control to the left side or the right side of the screen according to the adjustment amount.
For specific implementation of the above-mentioned obtaining unit 11, determining unit 12 and adjusting unit 13, reference may be made to the description in the embodiment shown in fig. 1, fig. 2 or fig. 6.
According to the adjusting device of the shielded or mistakenly-touched control, the shielded or mistakenly-touched control can be adjusted, so that the control is not shielded or mistakenly touched, and the use of a user is facilitated.
The embodiment of the application also provides a device for adjusting the shielded or mistakenly-touched control, and the device is used for executing the method for adjusting the shielded or mistakenly-touched control. Part or all of the above methods may be implemented by hardware, and may also be implemented by software.
Alternatively, the apparatus may be a chip or an integrated circuit when embodied.
Optionally, when part or all of the method for adjusting the blocked or erroneously touched control in the foregoing embodiment is implemented by software, the apparatus includes: a memory for storing a program; and a processor, configured to execute a program stored in the memory, and when the program is executed, enable the apparatus to implement the method for adjusting the blocked or mis-touched control provided in the embodiment shown in fig. 1, fig. 2, or fig. 6.
Alternatively, the memory may be a physically separate unit or may be integrated with the processor.
Optionally, when part or all of the adjustment method of the blocked or mis-touched control in the above embodiment is implemented by software, the apparatus may also include only a processor. A memory for storing the program is located outside the device and a processor is connected to the memory by means of circuits/wires for reading and executing the program stored in the memory.
The processor may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
The memory may include volatile memory (volatile memory), such as random-access memory (RAM); the memory may also include a non-volatile memory (non-volatile) such as a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory may also comprise a combination of memories of the kind described above.
Fig. 9 is a schematic structural diagram of a simplified adjustment device for an occluded or mis-touched control. For ease of understanding and illustration, the device is exemplified by a cell phone in fig. 9. As shown in fig. 9, the apparatus includes a processor, a memory, a radio frequency circuit, an antenna, and an input-output device. The processor is mainly used for adjusting the shielded or mistakenly touched control, controlling the device, executing the software program, processing data of the software program and the like. The memory is used primarily for storing software programs and data. The radio frequency circuit is mainly used for converting baseband signals and radio frequency signals and processing the radio frequency signals. The antenna is mainly used for receiving and transmitting radio frequency signals in the form of electromagnetic waves. Input and output devices, such as touch screens, are used primarily for receiving data input by a user and for outputting data to the user.
When data needs to be sent, the processor performs baseband processing on the data to be sent and outputs baseband signals to the radio frequency circuit, and the radio frequency circuit performs radio frequency processing on the baseband signals and sends the radio frequency signals to the outside in the form of electromagnetic waves through the antenna. When data is sent to the device, the radio frequency circuit receives radio frequency signals through the antenna, converts the radio frequency signals into baseband signals and outputs the baseband signals to the processor, and the processor converts the baseband signals into the data and processes the data. For ease of illustration, only one memory and processor are shown in FIG. 9. In an actual device product, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or a storage device, etc. The memory may be provided independently of the processor, or may be integrated with the processor, which is not limited in this embodiment.
In the embodiment of the present application, an antenna and a radio frequency circuit having a transceiving function may be regarded as a receiving unit and a transmitting unit (which may also be collectively referred to as a transceiving unit) of a device, and a processor having a processing function may be regarded as a processing unit of the device. As shown in fig. 9, the apparatus includes a transceiver unit 31 and a processing unit 32. The transceiving unit 31 may also be referred to as a receiver/transmitter (transmitter), receiver/transmitter circuit, etc. The processing unit 32 may also be referred to as a processor, processing board, processing module, processing device, etc.
For example, in one embodiment, processing unit 32 is configured to perform steps S101-S103 in the embodiment shown in FIG. 1.
As another example, in one embodiment, processing unit 32 is configured to perform steps S201-S207 in the embodiment shown in FIG. 2.
For another example, in one embodiment, the processing unit 32 is configured to perform steps S301-S307 in the embodiment shown in FIG. 6.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the division of the unit is only one logical function division, and other division may be implemented in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. The shown or discussed mutual coupling, direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some interfaces, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are wholly or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a read-only memory (ROM), or a Random Access Memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape, a magnetic disk, or an optical medium, such as a Digital Versatile Disk (DVD), or a semiconductor medium, such as a Solid State Disk (SSD).

Claims (13)

1. A method for adjusting an occluded or mis-touched control, the method comprising:
acquiring the position and the size of a shielded or mistakenly touched area on a screen and the position and the size of at least one control on an interface;
determining the shielded or mistakenly touched control and the contact ratio of the shielded or mistakenly touched control and the shielded or mistakenly touched area according to the position and the size of the shielded or mistakenly touched area and the position and the size of the at least one control;
and when the contact ratio is greater than a first contact ratio threshold value, adjusting the position of the shielded or mistakenly-touched control.
2. The method of claim 1, wherein the blocked or mis-touched region comprises a square of a hole on a hole digging screen, and the obtaining the position and size of the blocked or mis-touched region on the screen comprises:
obtaining at least one parameter of the hole, the at least one parameter of the hole comprising: the distance from the leftmost side of the block where the hole is located to the left side of the screen, the distance from the uppermost side of the block where the hole is located to the upper side of the screen, the distance from the rightmost side of the block where the hole is located to the left side of the screen, and the distance from the bottommost side of the block where the hole is located to the upper side of the screen;
and calculating the position and the size of the square block where the hole is located according to at least one parameter of the hole.
3. The method of claim 1, wherein the occluded or mis-touched region comprises an edge region of a curved screen, and wherein the obtaining of the location and size of the occluded or mis-touched region on the screen comprises:
acquiring the radian of the curved screen;
and calculating the position and the size of the edge area of the curved screen according to the radian of the curved screen.
4. The method according to any one of claims 1 to 3, wherein the determining the blocked or mis-touched control according to the position and size of the blocked or mis-touched area and the position and size of the at least one control comprises:
and when the position of any control in the at least one control is overlapped with the position of the blocked or mistakenly touched area, determining that the any control is the blocked or mistakenly touched control.
5. The method according to any one of claims 1 to 4, wherein when the contact ratio is greater than a first contact ratio threshold value, adjusting the position of the blocked or mis-touched control comprises:
when the contact ratio is larger than a first contact ratio threshold value, determining the adjustment quantity of the position of the shielded or mistakenly-touched control corresponding to the contact ratio according to the contact ratio;
and adjusting the position of the shielded or mistakenly-touched control according to the adjustment amount of the position of the shielded or mistakenly-touched control.
6. The method of claim 5, wherein adjusting the position of the occluded or mis-touched control according to the amount of adjustment of the position of the occluded or mis-touched control comprises:
and when the contact ratio is greater than a first contact ratio threshold value, moving the shielded or mistakenly-touched control to the left side or the right side of the screen according to the adjustment amount.
7. An apparatus for adjusting a blocked or mis-touched control, the apparatus comprising:
the acquisition unit is used for acquiring the position and the size of a shielded or mistakenly touched area on the screen and the position and the size of at least one control on the interface;
the determining unit is used for determining the shielded or mistakenly-touched control and the contact ratio of the shielded or mistakenly-touched control and the shielded or mistakenly-touched area according to the position and the size of the shielded or mistakenly-touched area and the position and the size of the at least one control;
and the adjusting unit is used for adjusting the position of the shielded or mistakenly-touched control when the contact ratio is greater than a first contact ratio threshold value.
8. The apparatus of claim 7, wherein the blocked or mis-touched region comprises a square of a hole on a hole-digging screen, and the obtaining unit is configured to:
obtaining at least one parameter of the hole, the at least one parameter of the hole comprising: the distance from the leftmost side of the block where the hole is located to the left side of the screen, the distance from the uppermost side of the block where the hole is located to the upper side of the screen, the distance from the rightmost side of the block where the hole is located to the left side of the screen, and the distance from the bottommost side of the block where the hole is located to the upper side of the screen;
and calculating the position and the size of the square block where the hole is located according to at least one parameter of the hole.
9. The apparatus of claim 7, the occluded or mis-touched region comprising an edge region of a curved screen, the obtaining unit to:
acquiring the radian of the curved screen;
and calculating the position and the size of the edge area of the curved screen according to the radian of the curved screen.
10. The apparatus according to any one of claims 7 to 9, the determining unit being configured to:
and when the position of any control in the at least one control is overlapped with the position of the blocked or mistakenly touched area, determining that the any control is the blocked or mistakenly touched control.
11. The apparatus according to any one of claims 7 to 10, wherein the adjustment unit is configured to:
when the contact ratio is larger than a first contact ratio threshold value, determining the adjustment quantity of the position of the shielded or mistakenly-touched control corresponding to the contact ratio according to the contact ratio;
and adjusting the position of the shielded or mistakenly-touched control according to the adjustment amount of the position of the shielded or mistakenly-touched control.
12. The apparatus of claim 11, the adjustment unit to:
and when the contact ratio is greater than a first contact ratio threshold value, moving the shielded or mistakenly-touched control to the left side or the right side of the screen according to the adjustment amount.
13. An adjustment device for a blocked or mis-touched control, comprising: an input device, an output device, a memory, and a processor; wherein the memory stores a set of program codes and the processor is configured to call the program codes stored in the memory to perform the method according to any one of claims 1 to 6.
CN201910822349.6A 2019-09-02 2019-09-02 Method and device for adjusting shielded or mistakenly-touched control Pending CN110750186A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910822349.6A CN110750186A (en) 2019-09-02 2019-09-02 Method and device for adjusting shielded or mistakenly-touched control
PCT/CN2020/102859 WO2021042886A1 (en) 2019-09-02 2020-07-17 Adjustment method and device for blocked or mistakenly touched control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910822349.6A CN110750186A (en) 2019-09-02 2019-09-02 Method and device for adjusting shielded or mistakenly-touched control

Publications (1)

Publication Number Publication Date
CN110750186A true CN110750186A (en) 2020-02-04

Family

ID=69275971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910822349.6A Pending CN110750186A (en) 2019-09-02 2019-09-02 Method and device for adjusting shielded or mistakenly-touched control

Country Status (2)

Country Link
CN (1) CN110750186A (en)
WO (1) WO2021042886A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162672A (en) * 2020-10-19 2021-01-01 腾讯科技(深圳)有限公司 Information flow display processing method and device, electronic equipment and storage medium
WO2021042886A1 (en) * 2019-09-02 2021-03-11 华为技术有限公司 Adjustment method and device for blocked or mistakenly touched control
CN115097980A (en) * 2022-08-24 2022-09-23 成都智暄科技有限责任公司 Method for selecting small-area overlapped transparent control

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399959A (en) * 2013-08-21 2013-11-20 珠海市魅族科技有限公司 Display method of interactive control of webpage and terminal
CN103995668A (en) * 2014-05-14 2014-08-20 联想(北京)有限公司 Information processing method and electronic device
US20160124516A1 (en) * 2014-10-31 2016-05-05 Hand Held Products, Inc. Adaptable interface for a mobile computing device
US20160378334A1 (en) * 2015-06-25 2016-12-29 Xiaomi Inc. Method and apparatus for controlling display and mobile terminal
CN106681637A (en) * 2016-12-16 2017-05-17 广东欧珀移动通信有限公司 Method and device for touch screen display, and mobile terminal
CN107272956A (en) * 2017-06-23 2017-10-20 维沃移动通信有限公司 A kind of display methods, mobile terminal and computer-readable recording medium
CN107729298A (en) * 2017-10-31 2018-02-23 努比亚技术有限公司 Screen occlusion area processing method, mobile terminal and computer-readable recording medium
JP2018032425A (en) * 2017-10-18 2018-03-01 華為技術有限公司Huawei Technologies Co.,Ltd. Side menu display method, device, and terminal
CN107943551A (en) * 2017-11-14 2018-04-20 维沃移动通信有限公司 A kind of screen display method and mobile terminal
CN108170346A (en) * 2017-12-25 2018-06-15 广东欧珀移动通信有限公司 Electronic device, interface display methods and Related product

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017154114A1 (en) * 2016-03-08 2017-09-14 楽天株式会社 Display control system, display control method, and display control program
CN109857659B (en) * 2019-01-23 2022-03-15 北京云测信息技术有限公司 Control operation method and device
CN110750186A (en) * 2019-09-02 2020-02-04 华为终端有限公司 Method and device for adjusting shielded or mistakenly-touched control

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399959A (en) * 2013-08-21 2013-11-20 珠海市魅族科技有限公司 Display method of interactive control of webpage and terminal
CN103995668A (en) * 2014-05-14 2014-08-20 联想(北京)有限公司 Information processing method and electronic device
US20160124516A1 (en) * 2014-10-31 2016-05-05 Hand Held Products, Inc. Adaptable interface for a mobile computing device
US20160378334A1 (en) * 2015-06-25 2016-12-29 Xiaomi Inc. Method and apparatus for controlling display and mobile terminal
CN106681637A (en) * 2016-12-16 2017-05-17 广东欧珀移动通信有限公司 Method and device for touch screen display, and mobile terminal
CN107272956A (en) * 2017-06-23 2017-10-20 维沃移动通信有限公司 A kind of display methods, mobile terminal and computer-readable recording medium
JP2018032425A (en) * 2017-10-18 2018-03-01 華為技術有限公司Huawei Technologies Co.,Ltd. Side menu display method, device, and terminal
CN107729298A (en) * 2017-10-31 2018-02-23 努比亚技术有限公司 Screen occlusion area processing method, mobile terminal and computer-readable recording medium
CN107943551A (en) * 2017-11-14 2018-04-20 维沃移动通信有限公司 A kind of screen display method and mobile terminal
CN108170346A (en) * 2017-12-25 2018-06-15 广东欧珀移动通信有限公司 Electronic device, interface display methods and Related product

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021042886A1 (en) * 2019-09-02 2021-03-11 华为技术有限公司 Adjustment method and device for blocked or mistakenly touched control
CN112162672A (en) * 2020-10-19 2021-01-01 腾讯科技(深圳)有限公司 Information flow display processing method and device, electronic equipment and storage medium
CN115097980A (en) * 2022-08-24 2022-09-23 成都智暄科技有限责任公司 Method for selecting small-area overlapped transparent control
CN115097980B (en) * 2022-08-24 2022-12-02 成都智暄科技有限责任公司 Small-area overlapping transparent control selection method

Also Published As

Publication number Publication date
WO2021042886A1 (en) 2021-03-11

Similar Documents

Publication Publication Date Title
US9652073B2 (en) Antenna device and electronic device having the same
CN115357178B (en) Control method applied to screen-throwing scene and related equipment
CN109891379B (en) False touch prevention method and terminal
CN110750186A (en) Method and device for adjusting shielded or mistakenly-touched control
US10831314B2 (en) Method and electronic device for preventing touch button from being false triggered
CN106681635B (en) Split screen false touch prevention method and device and mobile terminal
KR101199618B1 (en) Apparatus and Method for Screen Split Displaying
US10075203B2 (en) Electronic device
CN112187376B (en) Electromagnetic interference control method and related device
CN107483092B (en) Antenna switching method, device and terminal
CN108874341A (en) Screen prjection method and terminal device
US11138956B2 (en) Method for controlling display of terminal, storage medium, and electronic device
US20150177957A1 (en) Method and apparatus for processing object provided through display
CN106681637A (en) Method and device for touch screen display, and mobile terminal
CN106708409B (en) A kind of response method of popup menu, device and mobile terminal
US20160056535A1 (en) Multiband antenna
KR102324695B1 (en) Printed circuit board
WO2021238928A1 (en) Method, apparatus and device for detecting shielding state of capacitive touch screen
US10996794B2 (en) Method and apparatus for processing edge of touch screen
CN112083837A (en) Touch information processing method and device of touch screen and electronic equipment
CN110795183A (en) Method and terminal for looking up unread information
CN106598461B (en) Touch response method and device of mobile terminal and mobile terminal
CN104777928A (en) Touch panel devices, electronic devices, and virtual input methods thereof
CN107491242A (en) application icon management method, device and user terminal
CN106230693A (en) The method of a kind of information transmission and terminal

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