CN107807755B - Adjust the method and device of touch-control block size on display panel - Google Patents

Adjust the method and device of touch-control block size on display panel Download PDF

Info

Publication number
CN107807755B
CN107807755B CN201711132486.4A CN201711132486A CN107807755B CN 107807755 B CN107807755 B CN 107807755B CN 201711132486 A CN201711132486 A CN 201711132486A CN 107807755 B CN107807755 B CN 107807755B
Authority
CN
China
Prior art keywords
touch
size
display panel
adjusted
block
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
CN201711132486.4A
Other languages
Chinese (zh)
Other versions
CN107807755A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711132486.4A priority Critical patent/CN107807755B/en
Publication of CN107807755A publication Critical patent/CN107807755A/en
Application granted granted Critical
Publication of CN107807755B publication Critical patent/CN107807755B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

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)

Abstract

The present invention provides a kind of method and device for adjusting touch-control block size on display panel, and wherein method includes: that detection is integrated on the display panel of touch function with the presence or absence of touch-control block to be adjusted, and the size of the touch-control block to be adjusted does not meet preset dimension requirement;If it exists, then the size of the touch-control block to be adjusted is adjusted, wherein the size of the touch-control block to be adjusted adjusted meets the preset dimension requirement using the touch-control block on the display panel in addition to the touch-control block to be adjusted.The method and device of touch-control block size on adjustment display panel in through the embodiment of the present invention, can guarantee to be integrated with and not meet the touch-control block of preset dimension requirement there is no size on the display panel of touch function, to guarantee the touch-control performance of display panel.

Description

Method and device for adjusting size of touch control block on display panel
Technical Field
The invention relates to the field of display panels, in particular to a method and a device for adjusting the size of a touch block on a display panel.
Background
At present, a touch screen of a mobile terminal such as a mobile phone or a tablet computer mainly has two implementation modes, the first mode is to separate a touch function and a liquid crystal display function into two panels to respectively manufacture a display panel and a touch panel, and the second mode is to adopt an In-cell method to embed the touch function into a liquid crystal pixel, so that a display panel integrated with the touch function is manufactured without manufacturing a separate touch panel. Since the thickness of the touch screen manufactured by the second method is smaller than that of the touch screen manufactured by the first method, manufacturing the touch screen by the second method gradually becomes one of research and development hotspots of manufacturers.
The display panel integrated with the touch function manufactured by the second method requires that the size of each touch block meets certain requirements so as to ensure the touch effect. However, with the development of the full-screen display, since the edge of the display area of the screen usually has an irregular shape, such as a rounded corner or a concave groove, the display panel manufactured by the second method may have touch blocks with undesirable sizes, such as touch blocks located at the edge of the display area, which affect the touch performance of the display panel, resulting in inaccurate touch.
Based on the above situation, it is necessary to provide a technical solution to solve the problem that the touch performance is affected by the touch block with a size that does not meet the requirement in the display panel integrated with the touch function.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for adjusting a size of a touch block on a display panel, so as to solve a problem that a touch performance is affected by a touch block with a size that does not meet a requirement in a display panel integrated with a touch function.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for adjusting a size of a touch block on a display panel, including:
detecting whether a touch block to be adjusted exists on a display panel integrated with a touch function, wherein the size of the touch block to be adjusted does not meet the requirement of a preset size;
if the touch control block exists, the size of the touch control block to be adjusted is adjusted by using the touch control blocks on the display panel except the touch control block to be adjusted, wherein the adjusted size of the touch control block to be adjusted meets the preset size requirement.
In a second aspect, an embodiment of the present invention provides an apparatus for adjusting a size of a touch block on a display panel, including:
the device comprises a detection module, a display module and a control module, wherein the detection module is used for detecting whether a touch block to be adjusted exists on a display panel integrated with a touch function, and the size of the touch block to be adjusted does not meet the requirement of a preset size;
and if the touch control block exists, adjusting the size of the touch control block to be adjusted by using the touch control blocks on the display panel except the touch control block to be adjusted, wherein the adjusted size of the touch control block to be adjusted meets the preset size requirement.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method for adjusting the size of a touch block on a display panel as described in the first aspect above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for adjusting the size of the touch block on the display panel according to the first aspect.
According to the method and the device for adjusting the size of the touch block on the display panel, after the touch block to be adjusted with the area not meeting the preset size requirement exists on the display panel integrated with the touch function, the size of the touch block to be adjusted is adjusted by using the touch blocks except the touch block to be adjusted on the display panel, wherein the size of the touch block to be adjusted after adjustment meets the preset size requirement. Therefore, by the method and the device for adjusting the size of the touch block on the display panel, the size of the touch block to be adjusted can be adjusted to meet the preset size requirement, so that the touch block with the size not meeting the preset size requirement does not exist on the display panel integrated with the touch function, the touch performance of the display panel is ensured, and the problem that the touch performance is influenced by the touch block with the size not meeting the requirement in the display panel integrated with the touch function is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic view illustrating a display panel integrated with a touch function according to an embodiment of the invention;
fig. 2 is a flowchart illustrating a method for adjusting a size of a touch block on a display panel according to an embodiment of the present invention;
fig. 3 is a schematic view of the display panel after adjusting the size of the touch block provided in fig. 1;
FIG. 4 is a schematic diagram of another display panel with a touch block size adjusted according to the embodiment of FIG. 1;
FIG. 5 is a schematic diagram of the display panel with the touch block size adjusted according to the embodiment of FIG. 1;
FIG. 6 is a schematic diagram of the display panel after adjusting the size of the touch block shown in FIG. 1;
FIG. 7 is a schematic diagram illustrating a module configuration of an apparatus for adjusting a size of a touch block on a display panel according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device implementing a method for adjusting a size of a touch block on a display panel according to various embodiments of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all 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.
Fig. 1 is a schematic diagram of a display panel integrated with a touch function according to an embodiment of the present invention, in which the touch function is embedded in a liquid crystal pixel, and the display panel may be a full-screen display panel, and the upper edge and the lower edge of the display panel have a default shape and a rounded shape. As shown in fig. 1, the display panel includes a plurality of planned touch blocks, and as can be seen from fig. 1, the size of the touch blocks at the upper edge and the rounded portion of the display panel is small, and this portion of the touch blocks may have the problem of non-functional touch or inaccurate touch. To address this problem, embodiments of the present invention provide a method and an apparatus for adjusting a size of a touch block on a display panel, where the method for adjusting the size of the touch block on the display panel can be performed by a specific device or system.
Fig. 2 is a flowchart illustrating a method for adjusting a size of a touch block on a display panel according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step 202, detecting whether a touch block to be adjusted exists on the display panel integrated with the touch function, wherein the size of the touch block to be adjusted does not meet the preset size requirement. The display panel can be obtained by embedding a touch function into a liquid crystal pixel by adopting an In-cell method.
And 204, if the touch block exists, adjusting the size of the touch block to be adjusted by using the touch blocks on the display panel except the touch block to be adjusted, wherein the adjusted size of the touch block to be adjusted meets the preset size requirement.
In the embodiment of the invention, after the touch block to be adjusted with the area not meeting the preset size requirement exists on the display panel integrated with the touch function, the size of the touch block to be adjusted is adjusted by using the touch blocks except the touch block to be adjusted on the display panel, wherein the size of the touch block to be adjusted after adjustment meets the preset size requirement. Therefore, by the method in the embodiment of the invention, the size of the touch block to be adjusted can be adjusted to meet the preset size requirement, so that the touch block with the size not meeting the preset size requirement does not exist on the display panel integrated with the touch function, the touch performance of the display panel is ensured, and the problem that the touch performance is influenced by the touch block with the size not meeting the requirement in the display panel integrated with the touch function is solved.
In this embodiment, the preset size requirement is that the ratio of the actual area of the touch block to the planned area of the touch block is greater than or equal to the preset ratio, so in step 202, it is detected whether a touch block to be adjusted exists on the display panel integrated with the touch function, specifically, whether a touch block exists on the display panel, where the ratio of the actual area of the touch block to the planned area of the touch block is smaller than the preset ratio. Wherein, the preset ratio may be 50%. For example, in fig. 1, when the touch blocks are arranged on the display panel, the plan area of the touch blocks is 2.8mm by 3.2mm, and the actual area of most of the touch blocks in fig. 1 is equal to the plan area. The touch block A is located at the edge of the display panel, and the ratio of the real area of the touch block A to the planned area of the touch block is less than 50%, so that the touch block A is the touch block to be adjusted.
In this embodiment, the preset size requirement is defined as that the ratio of the actual area of the touch block to the planned area of the touch block is greater than or equal to a preset ratio, and the touch block with a smaller area can be detected and adjusted, so that the influence of the too small area of the touch block on the touch performance is avoided.
Since the preset size requirement is that the ratio of the actual area of the touch block to the planned area of the touch block is greater than or equal to the preset ratio, in step 204, the size of the touch block to be adjusted is adjusted by using the touch blocks on the display panel except the touch block to be adjusted, which may be: and combining the area of the touch block to be adjusted and the area of the adjacent touch block to enable the combined touch block to meet the preset size requirement, namely enabling the ratio of the area of the combined touch block to the planned area of the touch block to be larger than or equal to the preset ratio.
Considering that the length and width of the touch block of the display panel integrated with the touch function are not too large, if not more than 5mm, in this embodiment, when the touch block to be adjusted is merged with the adjacent touch block, it is preferable to merge the touch block with the smallest area, if the merged touch block does not meet the preset size requirement, the merged touch block is merged with the adjacent touch block with the smallest area again, and the above steps are repeated until the merged touch block meets the preset size requirement.
Fig. 3 is a schematic diagram of the display panel after the size of the touch block is adjusted, which is provided in fig. 1, and taking fig. 1 and fig. 3 as an example, the size of the touch block B meets the preset size requirement, and is 2.8mm by 3.2mm, the touch block a does not meet the preset size requirement, after the touch block a and the adjacent touch block B are merged, the size of the merged touch block is 2.8mm by 4.77mm, and the ratio of the area of the merged touch block to the planned area of the touch block is greater than the preset ratio, and meets the preset size requirement.
The method for adjusting the size of the touch block by combining the adjacent touch blocks is suitable for the condition that the number of the touch blocks to be adjusted on the display panel is small (if the number of the touch blocks to be adjusted is less than a first number), the touch blocks to be adjusted and the adjacent touch blocks are combined, and the ratio of the area of the combined touch blocks to the planned area of the touch blocks is larger than or equal to a preset ratio, so that the area of the touch blocks to be adjusted can be increased, the adjusted touch blocks meet the preset size requirement, the touch blocks with sizes which do not meet the preset size requirement do not exist on the display panel, and the touch performance of the display panel is ensured.
In another embodiment, in step 204, the adjusting the size of the touch block to be adjusted by using the touch blocks on the display panel except for the touch block to be adjusted may be: resetting the planned size of a touch block on the display panel, and determining a size change step length matched with the reset planned size; and in the preset size change direction of the display panel, resetting the size of each touch block according to the reset planned size and the size change step length so that each touch block on the reset display panel meets the preset size requirement, namely, the ratio of the area of each touch block on the reset display panel to the planned area of the touch block is larger than or equal to the preset ratio.
In one case, the predetermined dimension change direction is a height direction of the display panel, the reset planned dimension is a reset planned line height, and the dimension change step is a line height change step, and in another case, the predetermined dimension change direction is a width direction of the display panel, the reset planned dimension is a reset planned line width, and the dimension change step is a line width change step. In the following, the predetermined dimension changing direction is taken as the height direction of the display panel, the reset planned dimension is the reset planned height, and the dimension changing step is the height changing step.
In this example, the above process specifically includes: resetting the programming line height of a touch block on the display panel, and determining a line height change step length matched with the reset programming line height; and determining the row heights of the touch blocks in multiple rows according to the reset planned row heights and row height change step lengths in the height direction of the display panel, wherein the row heights of the touch blocks in multiple rows are uniformly changed according to the row height change step lengths, and the last determined row height of the touch blocks in multiple rows is used as the row height of the touch blocks on the display panel except the touch blocks in multiple rows, so that the overall height of the display panel is unchanged.
The programming line height of the touch block on the display panel is reset, and the line height change step length matched with the reset programming line height is determined, wherein the programming line height of the touch block on the display panel is increased, the line height change step length is determined to be 0.1mm or other values, and the line height change step length is preferably less than 0.5 mm. In the height direction of the display panel, when determining the row heights of the multi-row touch blocks according to the reset planned row heights and row height change step lengths, the reset planned row heights can be used as the initial, the row height change step lengths are used as increments, the row heights of the multi-row touch blocks are determined in a step-by-step increasing mode, the reset planned row heights can be used as the initial, the row height change step lengths are used as decrements, and the row heights of the multi-row touch blocks are determined in a step-by-step decreasing mode, so that the row heights of the multi-row touch blocks are guaranteed to be uniformly changed according to the. The multi-row touch block can be a plurality of continuous rows or a plurality of discontinuous rows.
It can be understood that the last determined row height in the multi-row touch block is the last row height obtained in the above-mentioned manner of gradually increasing or gradually decreasing. When the row number of the multi-row touch block is determined, the last determined row height of the multi-row touch block is required to be evenly divided by the height of the display panel except the multi-row touch block, so that under the condition that the overall height of the display panel is not changed, when the last determined row height is taken as the row height of the touch block on the display panel except the multi-row touch block, the part of the display panel except the multi-row touch block can be divided into integer rows.
Fig. 4 is a schematic view of another display panel with the touch block size adjusted according to fig. 1, and fig. 4 illustrates an example of a height direction of the display panel. As shown in fig. 1 and 4, when it is detected that there are touch blocks that do not meet the preset size requirement on the display panel, if there are a large number of touch blocks that do not meet the preset size requirement, the programmed row height of the touch blocks is reset, for example, the original programmed row height is 4.5mm, and is reset to 5mm, and the row height change step length matching the reset programmed row height is determined to be 0.1mm, and then according to the reset programmed row height and the row height change step length, the row heights of 7 rows from top to bottom of the display panel are determined to be 5, 4.9, 4.8, …, and 4.4mm, respectively, and since the row heights are defined by 4.4mm, the rest of the display panel can be divided into integer rows under the condition that the overall height of the display panel is not changed, and therefore, 4.4mm is used as the row heights of 7 th and subsequent rows on the display panel, so as to keep the overall height of.
It can be understood that fig. 4 illustrates the height direction of the display panel as an example, and the predetermined dimension changing direction is the width direction of the display panel similarly, and is not described again here.
After the row height of each row of touch blocks or the width of each row of touch blocks on the display panel is subdivided through the method, whether touch blocks which do not meet the preset size requirement exist on the display panel is detected, if the touch blocks exist, the planned size of the touch blocks is reset again, the size change step length corresponding to the reset planned size is determined again, and the above parts are executed again until each touch block on the display panel after being reset meets the preset size requirement, namely the ratio of the area of each touch block on the display panel after being reset to the planned area of the touch block is larger than or equal to the preset ratio.
It should be noted that, when the above process is performed, it is also necessary to pay attention to that the size of each touch block after adjustment is not too large, for example, the length and the width do not exceed 5mm, so as to avoid the touch performance from being reduced.
In this embodiment, the size of each touch block is reset according to the reset planned size and the size change step length in the preset size change direction of the display panel, so that the ratio of the area of each touch block on the reset display panel to the planned area of the touch block is greater than or equal to the preset ratio, the size of the touch block on the display panel can be integrally adjusted under the condition that the number of the touch blocks to be adjusted which do not meet the preset size requirement is large (such as greater than the second number), and the adjustment mode is simple and quick, thereby ensuring that no touch block with the size which does not meet the preset size requirement exists on the display panel, and ensuring the touch performance of the display panel.
In another embodiment, in step 204, the adjusting the size of the touch block to be adjusted by using the touch blocks on the display panel except for the touch block to be adjusted may be: determining a size adjustment area on the display panel, wherein the size adjustment area comprises touch blocks with a preset number of rows and comprises touch blocks to be adjusted; and adjusting the size of the touch block in the size adjustment area according to the preset size adjustment step length, and adjusting the size of the touch block related to the touch block in the size adjustment area, so that the ratio of the area of each touch block on the adjusted display panel to the planned area of the touch block is larger than or equal to the preset ratio.
The predetermined number of lines may be determined according to the total number of lines of the display panel, for example, a predetermined ratio greater than 1 line and less than the total number of lines of the display panel, and the predetermined ratio may be one third or one fifth.
Wherein, according to predetermined size adjustment step length, adjust the size of the touch-control piece in the size adjustment region to and, the size of the touch-control piece that the adjustment is relevant with the touch-control piece in the size adjustment region can be: and according to a preset height adjusting step length, increasing the height of each row of touch blocks in the size adjusting area, and reducing the height of the touch blocks on the display panel except the size adjusting area so as to keep the whole height of the display panel unchanged.
First, a size adjustment area is defined on the display panel, where the size adjustment area includes a touch block to be adjusted, for example, if the touch block to be adjusted is located in a first row of the display panel from top to bottom, the size adjustment area may be determined as n rows of the display panel from top to bottom, where n may be any integer from 2 to 10. Then, according to a preset height adjustment step length, such as 0.2mm, the height of each row of touch blocks in the size adjustment area is increased by 0.2mm, and the heights of other rows on the display panel are reduced at the same time, so that the overall height of the display panel is not changed. After the above steps are performed once, whether the touch block to be adjusted still exists is detected, if yes, the row height of each row of touch blocks in the size adjustment area is continuously increased, and the row heights of other rows on the display panel are continuously reduced until the touch block to be adjusted does not exist on the display panel. In order to ensure the adjustment accuracy, the height adjustment step length may be set to be smaller, such as 0.05mm or other values smaller than 1mm, so as to ensure the adjustment accuracy and minimize the change to the display panel.
Fig. 5 is a schematic diagram of the display panel after the size of the touch block is adjusted according to fig. 1, as shown in fig. 1 and fig. 5, because the touch blocks to be adjusted exist at both the upper edge and the lower edge of the display panel, the size adjustment areas of the upper 6 rows and the lower 6 rows are defined, and the area of the touch block to be adjusted is increased by increasing the row height of each row of touch blocks in the size adjustment area, reducing the row heights of other rows on the display panel, and ensuring that the overall height of the display panel is unchanged, so that the touch block whose size does not meet the preset requirement no longer exists on the display panel.
It should be noted that, when the above process is performed, it is also necessary to pay attention to that the size of each touch block after adjustment is not too large, for example, the length and the width do not exceed 5mm, so as to avoid the touch performance from being reduced.
In the embodiment of the invention, by increasing the row heights of part of rows, reducing the row heights of part of rows and repeatedly executing the steps until no touch block needing to be adjusted exists, the touch blocks which do not meet the preset size requirement can be eliminated under the condition that the planned touch block size of the display panel is changed as little as possible, and the touch performance of the display panel is ensured.
In another mode, the size of the touch block to be adjusted may be adjusted in the following manner, so that the adjusted touch block to be adjusted meets the preset size requirement: and adjusting the step length according to the preset column width, increasing the column width of the column where the touch block to be adjusted is located on the display panel, and reducing the column widths corresponding to other columns, so that the overall width of the display panel is unchanged, and each touch block on the adjusted display panel meets the preset size requirement.
Specifically, the preset column width adjustment step length may be 0.1mm, and the column width of the column where the touch block to be adjusted is located is increased and the column widths corresponding to the other columns are correspondingly reduced, so that the overall width of the display panel is not changed, the column width of the column where the touch block to be adjusted is located is increased once, and after the column widths corresponding to the other columns are correspondingly reduced, whether the touch block to be adjusted meets the preset size requirement is detected once, and if not, the action of increasing and reducing the column width is repeated until each touch block on the adjusted display panel meets the preset size requirement.
In a specific embodiment, whether the touch block to be adjusted is located in an odd column or an even column is judged, if the touch block is located in the odd column, the column width of each odd column is increased, and the column width of each even column is reduced, and if the touch block is located in the even column, the column width of each even column is increased, and the column width of each odd column is reduced, so that the column widths of the odd columns are the same, and the column widths of the even columns are the same, and the touch performance of the display panel is ensured.
By increasing the column width of the column where the touch block to be adjusted is located and correspondingly reducing the column widths corresponding to other columns, the area of the touch block to be adjusted can be increased, the size of each touch block can be adjusted conveniently and quickly, and the touch block which does not meet the preset size requirement does not exist on the display panel.
In another mode, the size of the touch block to be adjusted may be adjusted in the following manner, so that the adjusted touch block to be adjusted meets the preset size requirement: determining a row where the touch blocks to be adjusted are located, reducing the number of the touch blocks contained in the row, and redistributing the width of each touch block in the row according to the reduced number of the touch blocks so that each touch block contained in the row after adjustment meets the preset size requirement, namely, the ratio of the area of each touch block contained in the row after adjustment to the planned area of the touch block is larger than or equal to the preset ratio. The number of touch blocks in the row can be preferably reduced by one, and the width of each touch block can be uniformly distributed.
Fig. 6 is a schematic view of the display panel after adjusting the size of another touch block provided in fig. 1, and as shown in fig. 1 and fig. 6, a first row of a row where the touch block to be adjusted is located is determined, the number of the touch blocks included in the row is determined to be 8, the row is adjusted to include 7 touch blocks, the width of each touch block is redistributed so that the row includes 7 touch blocks, because the number of the touch blocks included in the row is small, the width of the touch block to be adjusted is increased, the area of the touch block to be adjusted is increased, if the touch block to be adjusted still exists after the first adjustment is completed, the number of the touch blocks included in the row is reduced again, and after detection, when the row includes 6 touch blocks, each touch block included in the row meets a preset size requirement, and the adjustment is completed.
In this embodiment, a certain row in the display panel is adjusted, so that the size of the touch block can be quickly adjusted when the touch blocks to be adjusted are concentrated in a row, and the touch control panel has the effect of being simple and quick to adjust.
It should be noted that, when each of the above manners described in this embodiment is performed, it should also be noted that the size of each touch block after adjustment is not too large, for example, the length and the width do not exceed 5mm, so as to avoid the touch performance from being reduced.
In summary, in the embodiments of the present invention, by adjusting the size of the touch block on the display panel integrated with the touch function, the size of each touch block can meet the preset size requirement, and particularly, the size of each touch block in the special-shaped area of the display panel can meet the preset size requirement, so as to ensure the touch effect of the display panel.
Corresponding to the above method embodiment, an embodiment of the present invention further provides an apparatus for adjusting a size of a touch block on a display panel, and fig. 7 is a schematic diagram illustrating a module composition of the apparatus for adjusting a size of a touch block on a display panel according to an embodiment of the present invention, where the apparatus is configured to implement the method, and as shown in fig. 7, the apparatus includes:
the detection module 71 is configured to detect whether a touch block to be adjusted exists on the display panel integrated with the touch function, where the size of the touch block to be adjusted does not meet a preset size requirement;
and an adjusting module 72, configured to adjust the size of the touch block to be adjusted by using the touch blocks on the display panel except for the touch block to be adjusted, if the touch block exists, where the adjusted size of the touch block to be adjusted meets the preset size requirement.
Optionally, the detection module 71 is specifically configured to:
and detecting whether a touch block exists on the display panel, wherein the ratio of the actual area of the touch block to the planned area of the touch block is smaller than a preset ratio.
Optionally, the adjusting module 72 is specifically configured to:
and combining the area of the touch block to be adjusted and the area of the adjacent touch block, so that the ratio of the area of the combined touch block to the planned area of the touch block is greater than or equal to a preset ratio.
Optionally, the adjusting module 72 is specifically configured to:
resetting the planned size of a touch block on the display panel, and determining a size change step length matched with the reset planned size;
and in the preset size change direction of the display panel, resetting the size of each touch block according to the reset planned size and the size change step length, so that the ratio of the area of each touch block on the display panel after resetting to the planned area of the touch block is larger than or equal to a preset ratio.
Optionally, the adjusting module 72 is further specifically configured to:
determining row heights of a plurality of rows of touch blocks according to reset planned row heights and row height change step lengths in the height direction of the display panel, wherein the row heights of the plurality of rows of touch blocks are uniformly changed according to the row height change step lengths;
and taking the last determined row height in the multiple rows of touch blocks as the row height of the touch blocks on the display panel except the multiple rows of touch blocks, so that the overall height of the display panel is unchanged.
Optionally, the adjusting module 72 is specifically configured to:
determining a size adjustment area on the display panel, wherein the size adjustment area comprises a predetermined number of rows of touch blocks and comprises the touch blocks to be adjusted;
according to a preset height adjustment step length, increasing the height of each row of touch blocks in the size adjustment area, and reducing the height of the touch blocks on the display panel except the size adjustment area to enable the overall height of the display panel to be unchanged, wherein the ratio of the area of each touch block on the display panel to the planned area of the touch block after adjustment is larger than or equal to a preset ratio
Optionally, the adjusting module 72 is specifically configured to:
determining a row where the touch block to be adjusted is located, and reducing the number of touch blocks contained in the determined row;
and redistributing the width of each touch block in the determined row according to the reduced number of the touch blocks so that the ratio of the area of each touch block contained in the determined row after adjustment to the planned area of the touch block is larger than a preset ratio.
In the device for adjusting the size of the touch block on the display panel in the embodiment of the invention, after the touch block with the area not meeting the preset size requirement exists on the display panel integrated with the touch function, the size of the touch block to be adjusted is adjusted by using the touch blocks on the display panel except the touch block to be adjusted, wherein the size of the adjusted touch block to be adjusted meets the preset size requirement. Therefore, by the device for adjusting the size of the touch block on the display panel, the size of the touch block to be adjusted can be adjusted to meet the preset size requirement, so that the touch block with the size not meeting the preset size requirement does not exist on the display panel integrated with the touch function, the touch performance of the display panel is ensured, and the problem that the touch performance is influenced by the touch block with the size not meeting the requirement in the display panel integrated with the touch function is solved.
Fig. 8 is a schematic structural diagram of an electronic device for implementing a method for adjusting a size of a touch block on a display panel according to various embodiments of the present invention, where as shown in fig. 8, the electronic device 800 includes: a processor 801, a transceiver 802, a memory 803, a user interface 804 and a bus interface. In this embodiment of the present invention, the network side device 800 further includes: a computer program stored on the memory 803 and executable on the processor 801, which computer program, when executed by the processor 801, performs the steps of:
detecting whether a touch block to be adjusted exists on a display panel integrated with a touch function, wherein the size of the touch block to be adjusted does not meet the requirement of a preset size;
if the touch control block exists, the size of the touch control block to be adjusted is adjusted by using the touch control blocks on the display panel except the touch control block to be adjusted, wherein the adjusted size of the touch control block to be adjusted meets the preset size requirement.
In FIG. 8, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by the processor 801, and various circuits, represented by the memory 803, linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 802 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium. The user interface 804 may also be an interface capable of interfacing with a desired device for different user devices, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 801 is responsible for managing the bus architecture and general processing, and the memory 803 may store data used by the processor 801 in performing operations.
Through the electronic equipment in the embodiment of the invention, the size of the touch block to be adjusted can be adjusted to meet the preset size requirement, so that the touch block with the size not meeting the preset size requirement does not exist on the display panel integrated with the touch function, the touch performance of the display panel is ensured, and the problem that the touch performance is influenced by the touch block with the size not meeting the requirement in the display panel integrated with the touch function is solved.
Optionally, when the computer program is executed by the processor 801, the step of detecting whether a touch block to be adjusted exists on the display panel integrated with the touch function includes:
and detecting whether a touch block exists on the display panel, wherein the ratio of the actual area of the touch block to the planned area of the touch block is smaller than a preset ratio.
Optionally, when the computer program is executed by the processor 801, the step of adjusting the size of the touch block to be adjusted by using the touch block on the display panel except for the touch block to be adjusted includes:
and combining the area of the touch block to be adjusted and the area of the adjacent touch block, so that the ratio of the area of the combined touch block to the planned area of the touch block is greater than or equal to a preset ratio.
Optionally, when the computer program is executed by the processor 801, the step of adjusting the size of the touch block to be adjusted by using the touch block on the display panel except for the touch block to be adjusted includes:
resetting the planned size of a touch block on the display panel, and determining a size change step length matched with the reset planned size;
and in the preset size change direction of the display panel, resetting the size of each touch block according to the reset planned size and the size change step length, so that the ratio of the area of each touch block on the display panel after resetting to the planned area of the touch block is larger than or equal to a preset ratio.
Optionally, when the computer program is executed by the processor 801, the step of resetting the size of each touch block according to the reset planned size and the size change step in the predetermined size change direction of the display panel includes:
determining row heights of a plurality of rows of touch blocks according to reset planned row heights and row height change step lengths in the height direction of the display panel, wherein the row heights of the plurality of rows of touch blocks are uniformly changed according to the row height change step lengths;
and taking the last determined row height in the multiple rows of touch blocks as the row height of the touch blocks on the display panel except the multiple rows of touch blocks, so that the overall height of the display panel is unchanged.
Optionally, when the computer program is executed by the processor 801, the step of adjusting the size of the touch block to be adjusted by using the touch block on the display panel except for the touch block to be adjusted includes:
determining a size adjustment area on the display panel, wherein the size adjustment area comprises a predetermined number of rows of touch blocks and comprises the touch blocks to be adjusted;
and according to a preset height adjustment step length, increasing the height of each row of touch blocks in the size adjustment area, and reducing the height of the touch blocks on the display panel except the size adjustment area, so that the overall height of the display panel is not changed, and the ratio of the area of each touch block on the display panel after adjustment to the planned area of the touch block is larger than or equal to a preset ratio.
Optionally, when the computer program is executed by the processor 801, the step of adjusting the size of the touch block to be adjusted by using the touch block on the display panel except for the touch block to be adjusted includes:
determining a row where the touch block to be adjusted is located, and reducing the number of touch blocks contained in the determined row;
and redistributing the width of each touch block in the determined row according to the reduced number of the touch blocks so that the ratio of the area of each touch block contained in the determined row after adjustment to the planned area of the touch block is larger than a preset ratio.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 801, a memory 803, and a computer program stored in the memory 803 and capable of running on the processor 801, where the computer program, when executed by the processor 801, implements each process of the above method for adjusting the size of the touch block on the display panel, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here.
Further, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above method for adjusting the size of the touch block on the display panel, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. A method for adjusting the size of a touch block on a display panel is disclosed, which comprises:
detecting whether a touch block to be adjusted exists on a display panel integrated with a touch function, wherein the touch block to be adjusted is a touch block of which the ratio of the actual area of the touch block to the planned area of the touch block is smaller than a preset ratio, and the size of the touch block to be adjusted does not meet the preset size requirement;
if the touch block exists, the size of the touch block to be adjusted is adjusted by using the touch blocks on the display panel except the touch block to be adjusted, wherein the adjusted size of the touch block to be adjusted meets the preset size requirement, and the touch block to be adjusted, the touch block except the touch block to be adjusted and the adjusted touch block to be adjusted are all located in the display area of the display panel;
the step of adjusting the size of the touch block to be adjusted by using the touch blocks on the display panel except for the touch block to be adjusted includes:
combining the area of the touch block to be adjusted and the area of the adjacent touch block, so that the ratio of the area of the combined touch block to the planned area of the touch block is greater than or equal to a preset ratio;
or,
resetting the planned size of the touch block on the display panel, and determining the size change step length matched with the reset planned size,
in the preset size change direction of the display panel, resetting the size of each touch block according to the reset planned size and the size change step length, so that the ratio of the area of each touch block on the display panel after resetting to the planned area of the touch block is larger than or equal to a preset ratio;
or,
determining a size adjustment area on the display panel, wherein the size adjustment area comprises a predetermined number of rows of touch blocks and comprises the touch blocks to be adjusted;
according to a preset height adjusting step length, increasing the height of each row of touch blocks in the size adjusting area, and reducing the height of the touch blocks on the display panel except the size adjusting area, so that the overall height of the display panel is unchanged, and the ratio of the area of each touch block on the display panel after adjustment to the planned area of the touch block is larger than or equal to a preset ratio;
or,
determining a row where the touch block to be adjusted is located, and reducing the number of touch blocks contained in the determined row;
and redistributing the width of each touch block in the determined row according to the reduced number of the touch blocks so that the ratio of the area of each touch block contained in the determined row after adjustment to the planned area of the touch block is larger than or equal to a preset ratio.
2. The method according to claim 1, wherein the step of resizing each touch block according to the resized planned size and the size change step in the predetermined size change direction of the display panel comprises:
determining row heights of a plurality of rows of touch blocks according to reset planned row heights and row height change step lengths in the height direction of the display panel, wherein the row heights of the plurality of rows of touch blocks are uniformly changed according to the row height change step lengths;
and taking the last determined row height in the multiple rows of touch blocks as the row height of the touch blocks on the display panel except the multiple rows of touch blocks, so that the overall height of the display panel is unchanged.
3. An apparatus for adjusting a size of a touch block on a display panel, comprising:
the device comprises a detection module, a processing module and a display module, wherein the detection module is used for detecting whether a touch block to be adjusted exists on a display panel integrated with a touch function, the touch block to be adjusted is a touch block of which the ratio of the actual area of the touch block to the planned area of the touch block is smaller than a preset ratio, and the size of the touch block to be adjusted does not meet the preset size requirement;
if the touch control block exists, adjusting the size of the touch control block to be adjusted by using the touch control block on the display panel except the touch control block to be adjusted, wherein the adjusted size of the touch control block to be adjusted meets the preset size requirement, and the touch control block to be adjusted, the touch control block except the touch control block to be adjusted and the adjusted touch control block to be adjusted are all located in the display area of the display panel;
the adjustment module is specifically configured to:
combining the area of the touch block to be adjusted and the area of the adjacent touch block, so that the ratio of the area of the combined touch block to the planned area of the touch block is greater than or equal to a preset ratio;
or,
resetting the planned size of a touch block on the display panel, and determining a size change step length matched with the reset planned size;
in the preset size change direction of the display panel, resetting the size of each touch block according to the reset planned size and the size change step length, so that the ratio of the area of each touch block on the display panel after resetting to the planned area of the touch block is larger than or equal to a preset ratio;
or,
determining a size adjustment area on the display panel, wherein the size adjustment area comprises a predetermined number of rows of touch blocks and comprises the touch blocks to be adjusted;
according to a preset height adjusting step length, increasing the height of each row of touch blocks in the size adjusting area, and reducing the height of the touch blocks on the display panel except the size adjusting area, so that the overall height of the display panel is unchanged, and the ratio of the area of each touch block on the display panel after adjustment to the planned area of the touch block is larger than or equal to a preset ratio;
or,
determining a row where the touch block to be adjusted is located, and reducing the number of touch blocks contained in the determined row;
and redistributing the width of each touch block in the determined row according to the reduced number of the touch blocks so that the ratio of the area of each touch block contained in the determined row after adjustment to the planned area of the touch block is larger than or equal to a preset ratio.
4. The apparatus of claim 3, wherein the adjustment module is further specifically configured to:
determining row heights of a plurality of rows of touch blocks according to reset planned row heights and row height change step lengths in the height direction of the display panel, wherein the row heights of the plurality of rows of touch blocks are uniformly changed according to the row height change step lengths;
and taking the last determined row height in the multiple rows of touch blocks as the row height of the touch blocks on the display panel except the multiple rows of touch blocks, so that the overall height of the display panel is unchanged.
5. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of the method of adjusting the size of a touch block on a display panel as claimed in any one of claims 1 to 2.
6. A computer-readable storage medium, having a computer program stored thereon, which, when being executed by a processor, carries out the steps of the method of adjusting the size of a touch block on a display panel as claimed in any one of claims 1 to 2.
CN201711132486.4A 2017-11-15 2017-11-15 Adjust the method and device of touch-control block size on display panel Active CN107807755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711132486.4A CN107807755B (en) 2017-11-15 2017-11-15 Adjust the method and device of touch-control block size on display panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711132486.4A CN107807755B (en) 2017-11-15 2017-11-15 Adjust the method and device of touch-control block size on display panel

Publications (2)

Publication Number Publication Date
CN107807755A CN107807755A (en) 2018-03-16
CN107807755B true CN107807755B (en) 2019-10-29

Family

ID=61580457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711132486.4A Active CN107807755B (en) 2017-11-15 2017-11-15 Adjust the method and device of touch-control block size on display panel

Country Status (1)

Country Link
CN (1) CN107807755B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023142118A1 (en) * 2022-01-30 2023-08-03 京东方科技集团股份有限公司 Touch-control display substrate and manufacturing method therefor, and display apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI367440B (en) * 2008-06-26 2012-07-01 Qisda Corp Touch panel with touch keys
CN101989158A (en) * 2009-07-30 2011-03-23 友达光电股份有限公司 Capacitive touch panel
KR102119600B1 (en) * 2013-09-16 2020-06-08 엘지이노텍 주식회사 Touch window
CN204155245U (en) * 2014-11-14 2015-02-11 京东方科技集团股份有限公司 Touch-screen, display device
CN107315500B (en) * 2017-06-29 2020-03-20 厦门天马微电子有限公司 Array substrate and touch display panel
CN107153492B (en) * 2017-07-24 2019-11-22 厦门天马微电子有限公司 Array substrate and touch-control display panel

Also Published As

Publication number Publication date
CN107807755A (en) 2018-03-16

Similar Documents

Publication Publication Date Title
CN110837617A (en) Webpage self-adaptive layout method, server and computer readable storage medium
US10282406B2 (en) System for modifying a table
US20170123645A1 (en) Method and apparatus for automatically adjusting interface element
CN107818008B (en) Page loading method and device
CN109753641B (en) Method and device for changing object position, electronic equipment and storage medium
EP3073363A1 (en) Electronic device, control method and control program
CN109542304B (en) Display content loading method, device, equipment and storage medium
US10448879B2 (en) Skin condition detection method and electronic device
CN103473044A (en) Drawing method for application program interface adaptive to mobile terminals with different resolutions
US10216712B2 (en) Web page display method and device
CN104049786A (en) Electronic device, system and correcting method capable of automatically correcting touch position
CN109146783B (en) Picture stitching method and device, electronic equipment and medium
CN109117241B (en) Display direction control method, system and mobile terminal
US20140304580A1 (en) Adjusting layout size of hyperlink
CN112055244A (en) Image acquisition method and device, server and electronic equipment
CN107807755B (en) Adjust the method and device of touch-control block size on display panel
CN110688037A (en) Control display method, storage medium and mobile terminal
CN110989880A (en) Interface element processing method and device and readable storage medium
CN113360120B (en) Screen driving method and apparatus, electronic apparatus, computer-readable storage medium, and computer program product
US20200167052A1 (en) Picture presentation method and device
CN112784551A (en) Method, device and equipment for realizing cell and picture adaptation
CN105487801B (en) Progress bar adjusting method and mobile terminal
CN105278896A (en) Image display method and apparatus, and terminal equipment
CN112784526A (en) Document page adjusting method and device
CN111143012B (en) Method, device, equipment and storage medium for completely displaying display elements

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