CN115097980B - Small-area overlapping transparent control selection method - Google Patents

Small-area overlapping transparent control selection method Download PDF

Info

Publication number
CN115097980B
CN115097980B CN202211018238.8A CN202211018238A CN115097980B CN 115097980 B CN115097980 B CN 115097980B CN 202211018238 A CN202211018238 A CN 202211018238A CN 115097980 B CN115097980 B CN 115097980B
Authority
CN
China
Prior art keywords
area
control
small
wrapping
outline
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.)
Active
Application number
CN202211018238.8A
Other languages
Chinese (zh)
Other versions
CN115097980A (en
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.)
Chengdu Zhixuan Technology Co ltd
Original Assignee
Chengdu Zhixuan Technology 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 Chengdu Zhixuan Technology Co ltd filed Critical Chengdu Zhixuan Technology Co ltd
Priority to CN202211018238.8A priority Critical patent/CN115097980B/en
Publication of CN115097980A publication Critical patent/CN115097980A/en
Application granted granted Critical
Publication of CN115097980B publication Critical patent/CN115097980B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/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/04842Selection of displayed objects or displayed text elements

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 invention belongs to the technical field of control selection of a display end of electronic equipment, and particularly relates to a small-area overlapping transparent control selection method. The method comprises the following steps: s, identifying overlapping controls in the overlapping area, respectively matching the overlapping controls with the wrapping areas, calculating the area of the wrapping area of the component, and comparing the area of the wrapping area; s2, marking the control with small area of the wrapping area as a small-area control A1, and marking the control with large area of the wrapping area as a large-area control A2; s3, setting a selected associated region of the small-area control A1, wherein the selected associated region is the same as the full wrapping region in shape; and S4, detecting a click area appearing in the overlapping area. When the two controls are mutually overlapped, the click area is detected, whether the intention of the user is to click the small-area control A1 or click the large-area control A2 is judged, and the corresponding click object is matched for the user, so that the accuracy of selecting the controls in the user interface is improved.

Description

Small-area overlapping transparent control selection method
Technical Field
The invention belongs to the technical field of control selection of a display end of electronic equipment, and particularly relates to a small-area overlapped transparent control selection method.
Background
The electronic equipment with the display screen forms a user interface by converting the running logic codes into images which can be understood by a user, so that information transmission and operation interaction between the user and the electronic equipment are carried out.
When the user interface is operated, controls which can be selected by a user are provided in the user interface, the controls provide visual position marks for the user, and after the controls are selected by the user, the controls can be linked to a next display interface or the selected controls can be appointed to move and other required operations according to operation logic endowed to the controls.
In the process of selecting two controls which are different in size and are overlapped with each other, a larger control is easier to select, a smaller control is not easy to select, and when a non-target control is selected, the control needs to be repeatedly cancelled and reselected.
In some user-oriented selectable scenarios, these controls are typically distributed in different areas in order to prevent user misselection from creating a poor use experience. But this general approach limits the way controls are set while avoiding pointing errors.
Disclosure of Invention
In order to solve the above-mentioned prior art problems, the present invention provides a method for selecting a small-area overlapping transparent control, comprising:
s1, identifying an overlapping control in an overlapping area,
respectively matching the overlapping controls with the wrapping areas, calculating the area of the wrapping area of the component, and comparing the area of the wrapping area;
s2, marking the control with small area of the wrapping area as a small-area control A1, and marking the control with large area of the wrapping area as a large-area control A2;
marking a wrapping area for wrapping the small-area control A1 as a full wrapping area;
marking a wrapping area for wrapping the large-area control A2 as a large-area wrapping area;
s3, setting a selected associated region of the small-area control A1, wherein the selected associated region is the same as the full wrapping region in shape; and the number of the first and second electrodes,
the selected association region overlaps the fully wrapped region;
s4, detecting a click area appearing in the overlapping area;
if the click area is partially or completely overlapped with the selected association area, enabling the small-area control A1 to represent selected characteristics;
if the clicked area is overlapped with the large-area control A2 outside the selected association area, and the clicked area is not overlapped with the selected association area, enabling the large-area control A2 to represent the selected characteristics.
Further, the parcel area is determined by a line of sight in the lateral and longitudinal directions, the line of sight in the lateral and longitudinal directions comprising:
identifying end points x1 and x2 at the two transverse ends of the control, and identifying end points Y1 and Y2 at the two longitudinal ends of the control A1;
drawing a longitudinally extending boundary straight line Lx1 through a point x1, and drawing a longitudinally extending boundary straight line Lx2 through a point x2;
drawing a longitudinally extending boundary straight line LY1 through the point Y1, and drawing a longitudinally extending boundary straight line LY2 through the point Y2;
the boundary straight lines Lx1 and Lx2 intersect with the boundary straight lines LY1 and LY2 respectively to form a wrapping area.
Further, a minimum full wrapping area is determined by adopting an intersection angle shortest connecting line method in the circumferential direction of the small-area control A1, wherein the intersection angle shortest connecting line method comprises the following steps:
taking two intersected and adjacent boundary straight lines and adjacent contact points B1 and B2 of the small-area control A1, and drawing shortest connecting lines LB1 and LB2 by taking the B1 and B2 as original points;
wherein LB1 and LB2 intersect; and the number of the first and second electrodes,
LB1 and LB2 are both in contact with the outline of the small-area control A1 and do not intersect the inner area of the outline of the small-area control A1.
Further, the minimum full-wrapping area is determined by continuously adopting an intersection angle shortest connecting line method by taking the critical intersection points of the shortest connecting lines LB1 and LB2 and the outline of the small-area control A1 as the origin until the two intersected shortest connecting lines are parallel or the intersection point is connected with the outline of the small-area control A1.
Further, the small-area control A1 and the large-area control A2 are both visually visible regions.
Further, in S3, setting a selected association region further includes setting a selected extension region;
the selected expansion region has a maximum contour and a minimum contour;
wherein the minimum outline has the same shape as the outline of the selected associated area and is connected with the outline of the selected associated area, and the maximum outline extends along the direction far away from the selected associated area.
Further, the setting form of the selected expansion area is determined according to the area ratio between the small-area control A1 and the large-area control A2.
Further, a minimum large-area parcel area is determined in the circumferential direction of the large-area control A2 by adopting a shortest intersection angle connecting line method, wherein the shortest intersection angle connecting line method comprises the following steps:
taking two intersected and adjacent boundary straight lines and adjacent contact points B1 and B2 of the large-area control A2, and drawing shortest connecting lines LB1 and LB2 by taking B1 and B2 as original points;
wherein LB1 and LB2 intersect; and the number of the first and second electrodes,
both LB1 and LB2 contact the outline of the large area control A2.
Further, the minimum large-area full-wrapping area is determined by continuously adopting an intersection angle shortest connecting line method by taking the critical intersection points of the shortest connecting lines LB1 and LB2 and the outline of the large-area control A2 as the origin until the two intersected shortest connecting lines are parallel or the intersection points are connected with the outline of the large-area control A2.
The invention has the beneficial effect that the method for selecting the small-area overlapped transparent control is provided. When two controls in a user interface of the electronic equipment are overlapped, a click area is detected, whether the intention of a user is to click the small-area control A1 or click the large-area control A2 is judged, and the corresponding click object is matched with the intention, so that the accuracy of selecting the controls in the user interface is improved. And providing a solution for selecting the small-area overlapped control for a control setting mode adopted in the user interface.
Drawings
FIG. 1 is a flow chart provided in example 1 of the present invention;
FIG. 2 is a schematic illustration of the overlap regions provided by the present invention;
FIG. 3 is a schematic diagram of a process of determining a full parcel area by a cross-hatch method for a small-area control A1 of a shape provided in example 2;
FIG. 4 is a schematic diagram of a process of determining a full parcel area by a cross-and-longitudinal line drawing method for a small area control A1 of another shape provided in embodiment 2;
fig. 5 is a schematic diagram provided in embodiment 3, which illustrates determining a minimum full wrapping area by using a shortest intersection angle connection method for the small-area control A1 in fig. 3;
FIG. 6 is a schematic diagram comparing the smallest fully wrapped area with the fully wrapped area of FIG. 5;
FIG. 7 is a schematic view of the minimum full wrap area of FIG. 5;
FIG. 8 is a schematic diagram of a process for continuously rendering a minimum full wrap area for a small area control A1 of a shape;
FIG. 9 is a schematic diagram illustrating a process of continuously rendering a minimum full wrapping area and setting a selected expansion area for a small-area control A1 of a shape;
FIG. 10 is an overlapped schematic view of a large-area control A2 with legs and a small-area control A1 in the embodiment 8;
FIG. 11 is a schematic diagram showing a process of determining a large-area parcel area by cross-hatch and longitudinal line marking for a large-area control A2 of a shape as provided in example 9;
fig. 12 is a schematic process diagram provided in embodiment 10 for determining a minimum large-area parcel area by using an intersection angle shortest connecting line method for the large-area control A2 in fig. 11;
fig. 13 is a schematic view of the smallest large area parcel region of fig. 12.
Reference numerals:
a small-area control A1 and a large-area control A2;
a full wrap area 1, a minimum full wrap area 11;
clicking on an area 2;
selecting an expansion area 3, a maximum outline 31 and a minimum outline 32;
branches 41, voids 42, protruding areas 43;
large area parcel area 5, minimum large area parcel area 51.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
as shown in fig. 1 to 13, the method for selecting a small-area overlapping transparent control includes:
s1, identifying overlapping controls in the overlapping area, respectively matching the overlapping controls with wrapping areas, calculating the area of the wrapping area of the component, and comparing the area of the wrapping area; the overlap region in the present embodiment includes regions where the small-area control A1 and the large-area control A2 are located.
S2, marking the control with small area of the wrapping area as a small-area control A1, and marking the control with large area of the wrapping area as a large-area control A2;
marking a wrapping area for wrapping the small-area control A1 as a full wrapping area;
marking a wrapping area for wrapping the large-area control A2 as a large-area wrapping area;
s3, setting a selected associated region of the small-area control A1, wherein the selected associated region is the same as the shape of the whole wrapping region 1; and the number of the first and second electrodes,
the selected association region overlaps the fully wrapped region;
s4, detecting a click area 2 appearing in the overlapping area;
if the click area 2 is partially or completely overlapped with the selected association area, enabling the small-area control A1 to represent selected characteristics;
if the clicking area 2 is overlapped with the large-area control A2 outside the selected association area, and the clicking area 2 is not overlapped with the selected association area, enabling the large-area control A2 to represent selected characteristics.
In the user interface, the interface controls overlapped up and down are generally displayed in an overlapped manner in a transparent layer, only the displayed part of the transparent control has colors and graphics, and the rest parts are transparent layers. When the transparent control is selected, the control is aimed at being seen by the user through eyes.
Two control pieces with different sizes are overlapped together, in the process of selecting the overlapped area, when the width of a click area 2 formed by a finger or a mouse pointer is larger than the one-way length of a small-area control piece, the small deviation can cause the change of the position of the click area 2, so that the click target of a user is the small-area control piece, the system recognizes that the large-area control piece is the large-area control piece, and finally the deviation occurs. In addition, there is a click deviation in the visual positioning based on human eyes and in the manual click mode, and the selection in a small area space is not accurate.
In this embodiment, at first through matching the parcel region to two controlling parts that overlap together, make the controlling part that overlaps all have clear and definite boundary through the parcel region, calculate the area of controlling part through the parcel region, then compare the area of two parcel regions, the area is little for small area controlling part, and the area is big for large tracts of land controlling part.
The full wrapping area 1 is an area for wrapping all the small-area controls, the click of any position to be performed on the small-area controls is included in the full wrapping area, and the positions of the small-area controls in the overlapping area can be determined through the full wrapping area.
The large-area wrapping area 5 is an area for wrapping all the small-area controls, any position click to be performed on the large-area controls is included in the large-area wrapping area, and the positions of the large-area controls in the overlapping area can be determined through the large-area wrapping area.
The small-area control A1 is clicked by associating the selected association area, the selected association area selects a parcel area, when the click area 2 is associated with the selected area, the intention of the user is considered to be the selection of the small-area control A1, at the moment, even if the click area is not overlapped with the small-area control A1, the small-area control is selected, and the selected characteristics of the part are represented, such as the connection to the next interface or the mobility of the part are linked, and the small-area control is in an operable state.
When the user clicks and selects a large area and a small area, the clicked point is near the small area even if the small area to be clicked is too small and the click accuracy is reduced. If a large-area is selected, a small-area can be avoided easily, instinctively the large-area with more selected drop points falls down, and the probability of clicking on the small-area is very low.
In this embodiment, the small-area control A1 is wrapped by the full wrapping area 1, so that a larger click range for the small-area control A1 can be obtained, and the selected associated area of the small-area control A1 is expanded, so that when the drop point of the click area falls near the small-area control A1, the small-area control A1 can also be selected.
After the small-area control A1 and the large-area control A2 are overlapped, the area of the large-area control A2 outside the small-area control A1 is a candidate area when the user selects the large-area control A2, if the large-area control A2 is provided with a plurality of radioactive branches 41, when the large-area control A2 is selected, a click area easily falls in a gap 42 between the areas of the branches 41, so that the small-area cannot be selected, and the response cannot be made after the large-area control A2 is clicked.
In this embodiment, the large-area parcel region 5 wraps the large-area control A1, and the gaps 42 between the radioactive branches are all wrapped in the large-area parcel region 5, so that the click on the large-area control A2, including the click on the gap 42 between the radioactive branches, is associated with the click on the large-area control A1, and the large-area control A2 can be selected.
It should be noted that the electronic device applied in the present invention includes, but is not limited to, a mobile phone, a computer, a vehicle instrument, a vehicle machine, and other devices, and the control displayed in the electronic device can be selected by using the small-area overlapping transparent control selection method, so as to accurately identify the selection intention of the user and improve the accuracy of the user in selecting the control.
Example 2:
as shown in fig. 3, 4 and 11, the parcel area is further determined by a line of weakness comprising:
identifying endpoints x1 and x2 at the two transverse ends of the control, and identifying endpoints Y1 and Y2 at the two longitudinal ends of the control;
drawing a longitudinally extending boundary straight line Lx1 through a point x1, and drawing a longitudinally extending boundary straight line Lx2 through a point x2;
drawing a longitudinally extending boundary straight line LY1 through the point Y1, and drawing a longitudinally extending boundary straight line LY2 through the point Y2;
the boundary straight lines Lx1 and Lx2 are respectively intersected with the boundary straight lines LY1 and LY2 to form a wrapping area 1.
For some small-area controls A1 with a special shape, the small-area control A1 with a plurality of radioactive branches 41 as shown in (1) position in fig. 8 or a line shape as shown in (1) position in fig. 9 occupies a small area, and when the small-area control A1 is selected, the clicked area is easily out of the range of the small-area control A1, and the selection is difficult.
The method comprises the steps of obtaining a rectangular full wrapping area 1 by respectively taking end points at two ends of a small-area control piece transversely and longitudinally and scribing according to the end points, and wrapping the small-area control piece A1 in any shape in the full wrapping area 1.
The method comprises the steps that a small-area control A1 is drawn into a full-wrapping area 1 by a transverse and longitudinal line drawing method, a plurality of radioactive branches 41 or linear small-area controls A1 are placed in the full-wrapping area 1, and when a clicking area falls near the small-area controls A1, the small-area controls A1 can fall into the range of the full-wrapping area 1, and are selected.
In some embodiments, the end points x1, x2 and Y1, Y2 are identified, continuous drawing may be performed in the transverse direction and the longitudinal direction of the small-area control A1, the directions of the lines are parallel to the longitudinal direction and the transverse direction, then whether the drawn lines intersect with the graph of the small-area control A1 is detected, the drawn lines intersect with the graph of the small-area control A1, and the contact points on the lines where the adjacent lines intersect with the graph of the small-area control A1 are the end points x1, x2 and Y1, Y2.
Example 3:
as shown in fig. 5 and 8, further, for the circumferential direction of the small-area control A1, an intersection angle shortest line method is used to determine the minimum fully-wrapped area 11, where the intersection angle shortest line method includes:
taking two intersected and adjacent boundary straight lines and adjacent contact points B1 and B2 of the small-area control A1, and drawing shortest connecting lines LB1 and LB2 by taking the B1 and B2 as original points;
wherein LB1 and LB2 intersect; and LB1 and LB2 are both contacted with the outline of the small-area control A1 and are not intersected with the inner area of the outline of the small-area control A1.
The small-area control A1 can be wrapped by the scheme in embodiment 2 to obtain a full wrapping area, but for the small-area control A1 with a relatively protruding shape in one direction, as shown by (1) positions in fig. 5 and fig. 8, the small-area control A1 is in an inclined line shape or has a relatively long protruding branch 41, after wrapping the small-area control A1, a relatively large protruding area 43 exists between the outline of the small-area control A1 and the outline of the rectangular full wrapping area, the protruding areas 43 are not located between the radioactive branches 41, and there is no visual range, which implies that when a user selects the small-area control, the user does not consider that the protruding area 43 between the outline of the small-area control A1 and the outline of the rectangular full wrapping area is the range of the small-area control A1, and at this time, when the user needs to select the large-area control A2, if clicking on the protruding area 43 causes selection of the small-area control A1, excessive association of the small-area control A1 is caused.
In this embodiment, the adjacent small-area controls A1 are connected by using the shortest intersection angle connection method, and the protruding region 43 is eliminated, so that the user can directly select the large-area control A2 when clicking the large-area control A2 according to the visual habit, as shown in the position (2) in fig. 8.
The shortest connecting lines LB1 and LB2 pass through the adjacent contacts B1 and B2, respectively, and are connected to the profile of the small-area control A1 in the protruding region 43 without extending into the profile of the small-area control A1, so that all the small-area controls are wrapped.
Example 4:
as shown in fig. 6 and 7, further, the minimum all-wrapped region 11 is determined by continuously adopting the intersection angle shortest connecting line method with the critical intersection point of the shortest connecting lines LB1 and LB2 and the outline of the small-area control A1 as the origin until the two intersecting shortest connecting lines are parallel or the intersection point is connected with the outline of the small-area control A1.
It should be noted that the critical intersection in this embodiment is a point on the outline of the small-area control A1, which extends from the shortest connecting line to the original points at both ends and is first contacted with the shortest connecting line, such as the point C shown in fig. 6.
After the primary intersection angle shortest connecting line method is adopted to eliminate the protruding area 43, if the protruding area 43 still exists in the area, the shortest connecting line method is used again to eliminate the protruding area 43, and finally the minimum all-wrapped area 11 is obtained.
The parallel or intersection of the shortest connecting lines with the outline of the small area control A1 can completely eliminate the protruding area 43.
Example 5:
further, the small-area control A1 and the large-area control A2 are both visually visible regions.
The user clicks and selects the small-area control A1 and the large-area control A2 based on the visual image seen by eyes, in the embodiment, the visual visible area is an area with color display on the control, when the small-area control A1 and the large-area control A2 are marked, the visual visible area of the user is marked, when the full-wrapping area is configured, the visual visible area is only fully wrapped, so that the area of the user ready for clicking falls into the full-wrapping area, and the non-visual visible area is excluded.
In this embodiment, when the visual visible region further includes a control partially overlapping with the port of the display screen, the region displayed on the screen is used as the visual visible region, and the matching of the parcel region is performed based on the region being matched with the parcel region. The area calculation difference caused by the inconsistency of the wrapping area and the visible area of naked eyes is avoided.
Example 6:
as shown in fig. 9, further, in S3, setting the selected association region further includes setting the selected extension region 3;
the selected extension area 3 has a maximum profile 31 and a minimum profile 32;
wherein the minimum contour 32 has the same shape as the contour of the selected associated region and meets the contour of the selected associated region, and the maximum contour 31 extends in a direction away from the selected associated region.
When the area of the small-area control A1 is too small and the unidirectional size is small, the clicking area is difficult to accurately fall on the small-area control A1, and after the small-area control A1 is wrapped by the full wrapping area, the clicking area still falls on the outer side of the full wrapping area, so that a selection error is caused, as shown in (2) position in fig. 9.
In this embodiment, by setting the selection expansion area 3, the selected association area of the small-area control A1 is expanded, and the click area that falls near the small-area control can be identified, as shown by the position (3) in fig. 9.
Example 7:
further, the setting form of the selected expansion area 3 is determined according to the area ratio between the small-area control A1 and the large-area control A2.
Whether the selected expansion area 3 is set depends on the area occupied by the small-area control A1 on the large-area control A2, and if the small-area control A1 is smaller than the large-area control A2, the selected expansion area 3 needs to be set to increase the selected association area of the small-area control A1.
In some embodiments, when the area ratio between the small-area control A1 and the large-area control A2 is less than 1.
Example 8:
as shown in fig. 10 to 12, further, a minimum large-area parcel area 51 is determined for the circumferential direction of the large-area control A2 by using a shortest intersection angle connection method, where the shortest intersection angle connection method includes:
taking two intersected and adjacent boundary straight lines and adjacent contact points B1 and B2 of the large-area control A2, and drawing shortest connecting lines LB1 and LB2 by taking the B1 and B2 as original points;
wherein LB1 and LB2 intersect; and LB1 and LB2 are both in contact with the outline of the large area control A2.
The large-area control A2 can be wrapped by the scheme in embodiment 2 to obtain the large-area wrapping region 5, but for the large-area control A2 with a more prominent radioactive branch, as shown in fig. 10, the large-area control A2 has a longer prominent branch, after wrapping the large-area control A2, a larger prominent region 43 exists between the outline of the large-area control A2 and the outline of the rectangular full wrapping region, and these prominent regions 43 are not between the radioactive branches, and there is no visual scope hint, when the user selects the small-area control, the user cannot consider that the prominent region 43 between the outline of the large-area control A2 and the outline of the rectangular full wrapping region is the scope of the large-area control A2, at this time, when the user selects another control near the large-area control A2, the other control is covered by the prominent region 43, and if the user clicks on the prominent region 43, the large-area control A2 is selected, and the air pressure control that needs to be selected cannot be selected, so that the large-area control A2 is excessively associated.
In this embodiment, the adjacent large-area controls A2 are connected by using the intersection angle shortest connection method, and the protruding area 43 is eliminated, so that the user cannot select the large-area control A2 when selecting other controls near the large-area control A2.
The shortest connecting lines LB1 and LB2 respectively pass through the adjacent contact points B1 and B2 and are connected with the outline of the large-area control A2 in the protruding area 43 without extending into the outline of the large-area control A2, so that the large-area control A2 is completely wrapped in the protruding area, and the interference of the protruding area 43 is reduced.
Example 9:
further, the minimum large-area full-wrapping area is determined by continuously adopting an intersection angle shortest connecting line method by taking the critical intersection points of the shortest connecting lines LB1 and LB2 and the outline of the large-area control A2 as the origin until the two intersected shortest connecting lines are parallel or the intersection points are connected with the outline of the large-area control A2. Referring to fig. 5 and 6, the small-area control A1 is determined by continuously using a cross-angle shortest connecting line method to determine a minimum large-area full-wrapping area.
The critical intersection point in this embodiment is a point on the contour of the large-area control A2, which extends from the shortest connecting line to the original points at both ends and is in contact with the shortest connecting line first, as shown by point C in fig. 6.
After the protruding area 43 is eliminated by the first intersection angle shortest connecting line method, if the protruding area 43 still exists in the area, the shortest connecting line method is used again to eliminate the protruding area 43, and finally the smallest large-area wrapping area 51 is obtained.
The parallel or intersection of the shortest connecting lines with the outline of the large-area control A2 can completely eliminate the protruding area 43.
It should be noted that the small-area control A1 and the large-area control A2 in the present invention may be any shape and form of graphics (text, geometric figure, etc.), and the shapes proposed in the drawings of the present invention are only used to exemplify the technical solution of the present invention, and do not limit the shapes of the small-area control A1 and the large-area control A2.
In the description of the embodiments of the present invention, it should be understood that the terms "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "center", "top", "bottom", "inner", "outer", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, only for the purpose of describing the present invention and simplifying the description, but do not indicate or imply that the device or element referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus should not be construed as limiting the present invention. Where "interior" refers to an interior or enclosed area or space. "periphery" refers to an area around a particular component or a particular area.
In the description of the embodiments of the invention, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the embodiments of the present invention, it should be understood that "-" and "-" represent ranges of two numerical values, and the ranges include endpoints. For example, "A-B" means a range greater than or equal to A and less than or equal to B. "A to B" represents a range of A or more and B or less.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. A small-area overlapping transparent control selection method is characterized by comprising the following steps:
s1, identifying overlapping controls in the overlapping area, respectively matching the overlapping controls with wrapping areas, calculating the area of the wrapping area of the component, and comparing the area of the wrapping area;
s2, marking the control with small area of the wrapping area as a small-area control A1, and marking the control with large area of the wrapping area as a large-area control A2;
marking a wrapping area for wrapping the small-area control A1 as a full wrapping area;
marking a wrapping area for wrapping the large-area control A2 as a large-area wrapping area;
s3, setting a selected associated region of the small-area control A1, wherein the selected associated region is the same as the full wrapping region in shape; and the number of the first and second electrodes,
the selected association area overlaps the full wrap area;
s4, detecting a click area appearing in the overlapping area;
if the click area is partially or completely overlapped with the selected association area, enabling the small-area control A1 to represent selected characteristics;
if the clicking area is overlapped with the large-area control A2 outside the selected association area and the clicking area is not overlapped with the selected association area, enabling the large-area control A2 to represent selected characteristics;
determining a parcel area by a line marking method, the line marking method comprising:
identifying end points x1 and x2 at the two transverse ends of the control, and identifying end points Y1 and Y2 at the two longitudinal ends of the control;
drawing a longitudinally extending boundary straight line Lx1 through a point x1, and drawing a longitudinally extending boundary straight line Lx2 through a point x2;
drawing a longitudinally extending boundary straight line LY1 through the point Y1, and drawing a longitudinally extending boundary straight line LY2 through the point Y2;
the boundary straight lines Lx1 and Lx2 are respectively intersected with the boundary straight lines LY1 and LY2 to form a wrapping area;
determining a minimum full wrapping area by adopting an intersection angle shortest connecting line method in the circumferential direction of the small-area control A1, wherein the intersection angle shortest connecting line method comprises the following steps:
taking two intersected and adjacent boundary straight lines and adjacent contact points B1 and B2 of the small-area control A1, and drawing shortest connecting lines LB1 and LB2 by taking the B1 and B2 as original points;
wherein LB1 and LB2 intersect; and the number of the first and second groups is,
the LB1 and the LB2 are both contacted with the outline of the small-area control A1 and are not intersected with the internal area of the outline of the small-area control A1;
determining the minimum large-area parcel area by adopting a shortest intersection angle connecting line method in the circumferential direction of the large-area control A2, wherein the shortest intersection angle connecting line method comprises the following steps:
taking two intersected and adjacent boundary straight lines and adjacent contact points B1 and B2 of the large-area control A2, and drawing shortest connecting lines LB1 and LB2 by taking the B1 and B2 as original points;
wherein LB1 and LB2 intersect; and the number of the first and second electrodes,
both LB1 and LB2 are in contact with the outline of the large area control A2.
2. The small-area overlapping transparent control selection method according to claim 1, wherein:
and determining the minimum full wrapping area by continuously adopting an intersection angle shortest connecting line method by taking the critical intersection points of the shortest connecting lines LB1 and LB2 and the outline of the small-area control A1 as the origin until the two intersected shortest connecting lines are parallel or the intersection point is connected with the outline of the small-area control A1.
3. The small-area overlapping transparent control selection method according to any one of claims 1 or 2, characterized in that:
the small-area control A1 and the large-area control A2 are both visual visible areas.
4. The small-area overlapping transparent control selection method according to any one of claims 1 or 2, characterized in that:
in S3, setting a selected association region further comprises setting a selected expansion region;
the selected expansion region has a maximum contour and a minimum contour;
wherein the minimum outline has the same shape as the outline of the selected associated area and is connected with the outline of the selected associated area, and the maximum outline extends along the direction far away from the selected associated area.
5. The small-area overlapping transparent control selection method according to claim 4, wherein:
and determining the setting form of the selected expansion area according to the area ratio between the small-area control A1 and the large-area control A2.
6. The small-area overlapping transparent control selection method according to claim 1, characterized in that:
and determining the minimum large-area full-wrapping area by continuously adopting an intersection angle shortest connecting line method by taking the critical intersection points of the shortest connecting lines LB1 and LB2 and the outline of the large-area control A2 as the origin until the two intersected shortest connecting lines are parallel or the intersection points are connected with the outline of the large-area control A2.
CN202211018238.8A 2022-08-24 2022-08-24 Small-area overlapping transparent control selection method Active CN115097980B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211018238.8A CN115097980B (en) 2022-08-24 2022-08-24 Small-area overlapping transparent control selection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211018238.8A CN115097980B (en) 2022-08-24 2022-08-24 Small-area overlapping transparent control selection method

Publications (2)

Publication Number Publication Date
CN115097980A CN115097980A (en) 2022-09-23
CN115097980B true CN115097980B (en) 2022-12-02

Family

ID=83300940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211018238.8A Active CN115097980B (en) 2022-08-24 2022-08-24 Small-area overlapping transparent control selection method

Country Status (1)

Country Link
CN (1) CN115097980B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207918A (en) * 2013-04-26 2013-07-17 珠海金山办公软件有限公司 Method, system and device for managing animation effect of presentation files
CN103793137A (en) * 2014-01-23 2014-05-14 联想(北京)有限公司 Display method and electronic device
CN107092434A (en) * 2017-04-19 2017-08-25 网易(杭州)网络有限公司 Overlay target system of selection and device, storage medium, electronic equipment
CN107102802A (en) * 2017-04-19 2017-08-29 网易(杭州)网络有限公司 Overlay target system of selection and device, storage medium, electronic equipment
CN110489033A (en) * 2019-08-22 2019-11-22 珠海格力电器股份有限公司 The method of custom feature priority
CN110750186A (en) * 2019-09-02 2020-02-04 华为终端有限公司 Method and device for adjusting shielded or mistakenly-touched control
CN113126866A (en) * 2021-04-27 2021-07-16 北京百度网讯科技有限公司 Object determination method and device, electronic equipment and storage medium
US11182136B1 (en) * 2020-08-20 2021-11-23 Ebay Inc. Control bar for element activation
CN114168046A (en) * 2021-11-05 2022-03-11 荣耀终端有限公司 Click operation processing method, device, storage medium and computer program product

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8334847B2 (en) * 2007-10-19 2012-12-18 Qnx Software Systems Limited System having user interface using object selection and gestures
US20130014057A1 (en) * 2011-07-07 2013-01-10 Thermal Matrix USA, Inc. Composite control for a graphical user interface
CN105224215A (en) * 2015-08-28 2016-01-06 小米科技有限责任公司 Terminal control method and device
US10289300B2 (en) * 2016-12-28 2019-05-14 Amazon Technologies, Inc. Feedback animation for touch-based interactions

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207918A (en) * 2013-04-26 2013-07-17 珠海金山办公软件有限公司 Method, system and device for managing animation effect of presentation files
CN103793137A (en) * 2014-01-23 2014-05-14 联想(北京)有限公司 Display method and electronic device
CN107092434A (en) * 2017-04-19 2017-08-25 网易(杭州)网络有限公司 Overlay target system of selection and device, storage medium, electronic equipment
CN107102802A (en) * 2017-04-19 2017-08-29 网易(杭州)网络有限公司 Overlay target system of selection and device, storage medium, electronic equipment
CN110489033A (en) * 2019-08-22 2019-11-22 珠海格力电器股份有限公司 The method of custom feature priority
CN110750186A (en) * 2019-09-02 2020-02-04 华为终端有限公司 Method and device for adjusting shielded or mistakenly-touched control
US11182136B1 (en) * 2020-08-20 2021-11-23 Ebay Inc. Control bar for element activation
CN113126866A (en) * 2021-04-27 2021-07-16 北京百度网讯科技有限公司 Object determination method and device, electronic equipment and storage medium
CN114168046A (en) * 2021-11-05 2022-03-11 荣耀终端有限公司 Click operation processing method, device, storage medium and computer program product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
三维控件系统的设计与实现;来远远;《中国优秀硕士学位论文全文数据库 (信息科技辑)》;20130715;I138-323 *

Also Published As

Publication number Publication date
CN115097980A (en) 2022-09-23

Similar Documents

Publication Publication Date Title
US20130222207A1 (en) Flexible terminal and method for providing a continuous screen of flexible display using the same
US20100110078A1 (en) Method and computer program product for plotting distribution area of data points in scatter diagram
US20100061622A1 (en) Method for aligning objects
US11068624B2 (en) Three-dimensional model generating method, three-dimensional model generating system, and three-dimensional model generating program
CN114266871B (en) Robot, map quality evaluation method, and storage medium
CN104517092A (en) Method and system for detecting QR (quick response) code correction graphics
CN105869512A (en) Multi-information mixed measurement mapping method and device
KR101532581B1 (en) Method for correcting touch input location error and apparatus for the same
CN115097980B (en) Small-area overlapping transparent control selection method
CN115374747A (en) Method, system, storage medium and electronic device for constructing air bridge graph
EP2787422B1 (en) Information processing device
CN107992607B (en) Typhoon forecast picture drawing method and device, computer equipment and storage medium
JP6049511B2 (en) Inspection support device, inspection support method and program
WO2024037336A1 (en) Method and system for constructing pad pattern of chip, and storage medium and electronic device
EP2012275A1 (en) Design support system, method and program
CN110717207A (en) Labeling method, system and storage medium for pipeline design
CN114492582B (en) Method, device and equipment for fusing fragmented road data and storage medium
CN112132927B (en) Drawing system and method for generating two-dimensional and three-dimensional models on webpage interface
CN109767994B (en) OLED substrate and pattern deviation detection method and device thereof
CN114581292A (en) Three-dimensional labeling method and device for two-dimensional image
JP6238435B2 (en) Sealer application requirement check device, sealer application requirement check program, and storage medium
CN115183773A (en) Method, device, equipment, storage medium and product for acquiring ship driving track
CN114119794A (en) Method and device for adjusting image shadow effect and cloud server
JP5299349B2 (en) INPUT CONTROL DEVICE, INPUT CONTROL METHOD, AND INPUT CONTROL PROGRAM
CN111435397A (en) Product evaluation result display system

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
GR01 Patent grant
GR01 Patent grant