CN112667105A - Touch screen control method, device, equipment and storage medium - Google Patents
Touch screen control method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN112667105A CN112667105A CN202011606478.0A CN202011606478A CN112667105A CN 112667105 A CN112667105 A CN 112667105A CN 202011606478 A CN202011606478 A CN 202011606478A CN 112667105 A CN112667105 A CN 112667105A
- Authority
- CN
- China
- Prior art keywords
- touch
- fingers
- sliding
- preset
- touch operation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000003860 storage Methods 0.000 title claims abstract description 16
- 241000203475 Neopanax arboreus Species 0.000 claims abstract description 38
- 238000004590 computer program Methods 0.000 claims description 22
- 230000006870 function Effects 0.000 claims description 14
- 238000004140 cleaning Methods 0.000 claims description 4
- 210000003811 finger Anatomy 0.000 description 138
- 238000010586 diagram Methods 0.000 description 10
- 210000003813 thumb Anatomy 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 230000006872 improvement Effects 0.000 description 6
- 210000004932 little finger Anatomy 0.000 description 5
- 230000009471 action Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 210000001015 abdomen Anatomy 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 208000018747 cerebellar ataxia with neuropathy and bilateral vestibular areflexia syndrome Diseases 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a touch screen control method, which comprises the following steps: responding to touch operation of a touch screen, and judging whether contact areas of the touch object and the touch screen are all within a preset size range; if so, judging that the touch operation is the touch operation generated by finger touch; if not, judging that the touch operation is the touch operation generated by non-finger touch; when the touch operation is judged to be the touch operation generated by finger touch and the number of the current touch objects is 5, judging whether the distance between the five fingers is within a preset distance range; if so, executing corresponding page control operation according to the touch operation of the five fingers; if not, executing corresponding writing or erasing operation according to the touch operation of the five fingers. The invention also discloses a touch screen control device, equipment and a computer readable storage medium. By adopting the embodiment of the invention, the five-finger touch control is fully utilized to carry out touch control operation, the gesture application scenes can be enriched, and the user touch control experience is improved.
Description
Technical Field
The invention relates to the technical field of touch screen control, in particular to a touch screen control method, a touch screen control device, touch screen control equipment and a storage medium.
Background
In the field of touch interaction smart tablets, along with the upsizing of screens, the size of touch screens in touch interaction is larger and larger, and more abundant gesture operations can be performed in large-size equipment. In an electronic whiteboard, most of adopted gestures during touch operation are operations such as zooming, rotating and displacing based on two fingers, the operation habit is the operation experience of mobile phone touch, when a touch screen with a larger size is used, the two-finger operation is limited, the touch gesture cannot be fully utilized, and the touch experience of a user is poor.
Disclosure of Invention
The embodiment of the invention aims to provide a touch screen control method, device, equipment and storage medium, which can make full use of five-finger touch to perform touch operation, enrich gesture application scenes and improve user touch experience.
In order to achieve the above object, an embodiment of the present invention provides a touch screen control method, including:
responding to touch operation of a touch screen, and judging whether contact areas of the touch object and the touch screen are all within a preset size range;
if so, judging that the touch operation is the touch operation generated by finger touch; if not, judging that the touch operation is the touch operation generated by non-finger touch;
when the touch operation is judged to be the touch operation generated by finger touch and the number of the current touch objects is 5, judging whether the distance between the five fingers is within a preset distance range;
if so, executing corresponding page control operation according to the touch operation of the five fingers; if not, executing corresponding writing or erasing operation according to the touch operation of the five fingers.
As an improvement of the above scheme, the executing a corresponding page control operation according to a five-finger touch operation includes:
when the touch control operation of the five fingers is a left sliding operation, and the sliding distances of the five fingers are larger than a preset left sliding distance threshold value, executing a page left switching operation;
and when the touch control operation of the five fingers is a right sliding operation and the sliding distances of the five fingers are larger than a preset right sliding distance threshold value, executing a page right switching operation.
As an improvement of the above scheme, the executing a corresponding page control operation according to a five-finger touch operation includes:
when the touch control operation of the five fingers is an upward sliding operation, and the sliding distances of the five fingers are larger than a preset upward sliding distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode;
and when the touch operation of the five fingers is a downslide operation and the sliding distances of the five fingers are larger than a preset downslide distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode.
As an improvement of the above scheme, the executing a corresponding page control operation according to a five-finger touch operation includes:
and when the touch operation of the five fingers is the grabbing operation towards the center of the five fingers, and the sliding distances of the five fingers are larger than a preset grabbing distance threshold value, the current page is contracted and folded, and the screen cleaning operation is executed.
As an improvement of the above scheme, the executing a corresponding page control operation according to a five-finger touch operation includes:
when the touch control operation of the five fingers is long press operation and the contact time of the five fingers and the touch screen is greater than a preset long press time threshold, judging the touch control type of the touch control operation of the five fingers; the touch type comprises a left-hand touch operation and a right-hand touch operation;
when the touch operation of the five fingers is left-hand touch operation, popping up a function menu corresponding to the left-hand touch operation on a current page;
and when the touch control operation of the five fingers is right-hand touch control operation, popping up a function menu corresponding to the right-hand touch control operation in the current page.
In order to achieve the above object, an embodiment of the present invention further provides a touch screen control device, including:
the first judgment module is used for responding to touch operation of the touch screen and judging whether the contact area of the touch object and the touch screen is within a preset size range or not; if so, judging that the touch operation is the touch operation generated by finger touch; if not, judging that the touch operation is the touch operation generated by non-finger touch;
the second judging module is used for judging whether the distance between the five fingers is within a preset distance range or not when the touch operation is judged to be the touch operation generated by finger touch and the number of the current touch objects is 5;
the touch operation module is used for executing corresponding page control operation according to the touch operation of the five fingers when the distance between the five fingers is judged to be within the preset distance range; and when the distance between the five fingers is not within the preset distance range, executing corresponding writing or erasing operation according to the touch operation of the five fingers.
As an improvement of the above solution, the touch operation module is configured to:
when the touch control operation of the five fingers is a left sliding operation, and the sliding distances of the five fingers are larger than a preset left sliding distance threshold value, executing a page left switching operation;
and when the touch control operation of the five fingers is a right sliding operation and the sliding distances of the five fingers are larger than a preset right sliding distance threshold value, executing a page right switching operation.
As an improvement of the above solution, the touch operation module is configured to:
when the touch control operation of the five fingers is an upward sliding operation, and the sliding distances of the five fingers are larger than a preset upward sliding distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode;
and when the touch operation of the five fingers is a downslide operation and the sliding distances of the five fingers are larger than a preset downslide distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode.
In order to achieve the above object, an embodiment of the present invention further provides a touch screen control device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the touch screen control device implements the touch screen control method according to any one of the above embodiments.
In order to achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the touch screen control method according to any one of the above embodiments.
Compared with the prior art, the touch screen control method, the device, the equipment and the storage medium provided by the embodiment of the invention firstly judge whether the current touch object is the finger of the user according to the contact area between the touch object and the touch screen, and because the contact area between the finger of the user and the touch screen is usually larger than that between the writing pen and the touch screen, whether the current touch object is the finger can be accurately determined by judging the contact area between the touch object and the touch screen. When the touch objects are fingers, the number of the touch objects is further determined, when the number of the touch objects is 5, the current touch operation can be determined to be a five-finger touch operation, a corresponding control instruction is executed according to the five-finger touch operation, the five-finger touch operation is fully utilized for touch operation, gesture application scenes can be enriched, and user touch experience is improved.
Drawings
Fig. 1 is a flowchart of a touch screen control method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another touch screen control method provided by the embodiment of the invention;
FIG. 3 is a flowchart of a five-finger type determination according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a five-finger sliding operation according to an embodiment of the present invention;
FIG. 5 is a schematic view of a finger sliding angle provided by an embodiment of the present invention;
FIG. 6 is a schematic view of the five-finger up-down sliding operation provided by the embodiment of the present invention;
FIG. 7 is a schematic diagram of a five-finger grabbing operation according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a right-hand touch point of a five-finger provided by an embodiment of the present invention;
FIG. 9 is a schematic diagram of a five-finger left-hand touch point provided by an embodiment of the present invention;
FIG. 10 is another schematic diagram of a five-finger left-hand touch point provided by an embodiment of the present invention;
fig. 11 is a block diagram of a touch screen control device according to an embodiment of the present invention;
fig. 12 is a block diagram of a touch screen control device according to an embodiment of the present invention.
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.
Referring to fig. 1, fig. 1 is a flowchart of a touch screen control method provided in an embodiment of the present invention, where the touch screen control method includes:
s1, responding to touch operation of the touch screen, and judging whether the contact areas of the touch object and the touch screen are all within a preset size range;
s2, if yes, determining that the touch operation is the touch operation generated by finger touch; if not, judging that the touch operation is the touch operation generated by non-finger touch;
s3, when the touch operation is judged to be the touch operation generated by finger touch and the number of the current touch objects is 5, judging whether the distance between the five fingers is within a preset distance range;
s4, if yes, executing corresponding page control operation according to the touch operation of the five fingers; if not, executing corresponding writing or erasing operation according to the touch operation of the five fingers.
Specifically, in steps S1 to S2, the electronic whiteboard system defines a size of the touch object of 5 to 15mm (i.e., the preset size range) as a finger by default according to a size of a contact area when the touch object touches the touch screen as a reference, and the system supports the user to check the parameter value according to the size of the finger of the user.
Specifically, in steps S3 to S4, when the user touches the screen with his or her fingers, if the number of touch objects is five, the distance between the five fingers is determined, and since the five fingers are touching the screen in a more natural touch posture when the five fingers are touching the screen, the distance between the five fingers is not too far apart, therefore, if the distance between the five fingers is within the preset distance range, the current five-finger touch operation is determined as the page control operation, and if the distance between the five fingers is not within the preset distance range, the current five-finger touch operation is determined as the writing or erasing control operation, so as to avoid the conflict between the writing intent of the user and the gesture intent.
It is noted that, the process of the above steps S1-S4 can refer to fig. 2. Further, when it is determined that the current five-finger touch operation is the page control operation, the type of the five-finger gesture needs to be further determined, and at this time, reference may be made to fig. 3. The determination is made according to the specific touch time and the moving distance, and the determination is made in the following order: sliding left and right → pushing and pulling up and down → grabbing → left and right hand judgment. And as long as one condition is met, immediately exiting the gesture judgment and returning the gesture result.
Optionally, in step S4, the performing of the corresponding page control operation according to the five-finger touch operation includes S41 to S42:
when the touch control operation of the five fingers is a left sliding operation, and the sliding distances of the five fingers are larger than a preset left sliding distance threshold value, executing a page left switching operation;
and when the touch control operation of the five fingers is a right sliding operation and the sliding distances of the five fingers are larger than a preset right sliding distance threshold value, executing a page right switching operation.
Specifically, referring to fig. 4, after it is determined that the five fingers slide left and right, a full-screen content switching service and animation are performed. When the touch control operation of the five fingers is a left sliding operation, the sliding distances of the five fingers are required to be larger than a preset left sliding distance threshold within a preset sliding time threshold (300ms), and the requirement that the moving distance of each finger X coordinate belongs to a left sliding angle range is also required to be met, wherein the left sliding distance threshold is 10mm, and the left sliding angle range is 6 degrees. Similarly, when the touch control operation of the five fingers is a right sliding operation, the sliding distances of the five fingers within a sliding time threshold (300ms) are all larger than a preset right sliding distance threshold, and the requirement that the moving distance of each finger X coordinate belongs to a right sliding angle range is also met, wherein the right sliding distance threshold is 10mm, and the right sliding angle range is 6 degrees
For example, all system screen coordinates in the existing market are from the top left corner, so that the following can be defined: the end X coordinate-start X coordinate is a sliding distance, and right sliding is defined as a sliding distance being positive, and left sliding is defined as a sliding distance being negative. Angle amount calculation logic: acquiring an X coordinate of a finger touch starting coordinate to be taken as an extension line parallel to an X axis, and taking a straight line between the moved coordinate and the starting coordinate; calculating an included angle between the two straight lines; if the angular offset is within 6 deg., the X-axis movable range is satisfied. As shown in fig. 5, the reason why the moving point a satisfies the condition and the moving point B does not satisfy the condition is that the angle exceeds 6 °, and the linear movement is impossible during the five-finger sliding and a partial deviation always occurs, so that the redundancy of 6 ° is increased.
Optionally, in step S4, the performing of the corresponding page control operation according to the five-finger touch operation includes S43 to S44:
s43, when the touch operation of the five fingers is an upward sliding operation and the sliding distances of the five fingers are larger than a preset upward sliding distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode;
and S44, when the touch operation of the five fingers is a downslide operation and the sliding distances of the five fingers are larger than a preset downslide distance threshold value, zooming the current page and displaying the current page and other pages together in a shop window mode.
Specifically, referring to fig. 6, after the five fingers slide up and down, the electronic whiteboard responds to the push-pull gesture to zoom the current canvas and display the contents of the other canvases together in a show window mode, so that the user can conveniently and quickly preview the page jump. When the touch operation of the five fingers is an upward sliding operation, the sliding distance of the five fingers within a preset sliding time threshold (300ms) needs to be greater than a preset upward sliding distance threshold, and the moving distance of each finger Y coordinate needs to be within an upward sliding angle range, wherein the upward sliding distance threshold is 10mm, and the upward sliding angle range is 6 °. Similarly, when the touch operation of the five fingers is a downslide operation, the requirement that the sliding distances of the five fingers are all larger than a preset downslide distance threshold within a sliding time threshold (300ms) is met, and the requirement that the moving distance of each finger Y coordinate belongs to a downslide angle range is also met, wherein the downslide distance threshold is 10mm, and the downslide angle range is 6 degrees
By way of example, one may define: end Y coordinate-start Y coordinate is the sliding distance. The positive number is the case of sliding from top to bottom, namely, the sliding distance is the positive number and the sliding is expressed as downward sliding; the negative number is the case of sliding from bottom to top, i.e. the sliding distance is a negative number and is indicated as sliding upwards. Angle amount calculation logic: acquiring a Y coordinate of a finger touch starting coordinate to serve as an extension line parallel to a Y axis, and making a straight line between the moved coordinate and the starting coordinate; calculating an included angle between the two straight lines; if the angular offset is within 6 deg., the Y-axis movable range is satisfied.
Optionally, in step S4, the performing a corresponding page control operation according to the five-finger touch operation includes S46:
and S46, when the touch operation of the five fingers is a grabbing operation towards the center of the five fingers, and the sliding distances of the five fingers are all larger than a preset grabbing distance threshold value, shrinking and folding the current page, and executing a screen cleaning operation.
Specifically, after the current gesture operation is judged to be a five-finger grabbing action, the current canvas content of the electronic whiteboard is contracted and folded, and the clearing animation is executed to realize the rapid screen clearing operation. Referring to fig. 7, when the touch operation of the five fingers is a grabbing operation toward the center of the five fingers, and the sliding distances of the five fingers are greater than a preset grabbing distance threshold within a preset sliding time threshold (300ms), the current page is contracted and folded, and a screen clearing operation is performed.
Illustratively, the distance decision formula is: (N-O)/(R-O) ═ V; and according to the initial coordinate position (R) of the five fingers on the plane, drawing an irregular geometric figure by connecting the five points, and calculating the central point of the geometric figure to obtain the central point coordinate (O). And calculating by using the new coordinate (N) after the movement to obtain a V value. The value of V is the distance ratio of the start coordinate to the end coordinate. V <0.7 represents that the finger grab action is currently performed. And if the condition is not met, the gesture-related business and operation are not executed.
Optionally, in step S4, the performing of the corresponding page control operation according to the five-finger touch operation includes S47 to S49:
s47, when the touch operation of the five fingers is long press operation and the contact time of the five fingers and the touch screen is larger than a preset long press time threshold, judging the touch type of the touch operation of the five fingers; the touch type comprises a left-hand touch operation and a right-hand touch operation;
s48, when the touch operation of the five fingers is left-hand touch operation, popping up a function menu corresponding to the left-hand touch operation in the current page;
and S49, when the touch control operation of the five fingers is a right-hand touch control operation, popping up a function menu corresponding to the right-hand touch control operation in the current page.
Specifically, in the five-finger touch mode, whether the left-hand long-press touch operation or the right-hand long-press touch operation is determined by the touch event length and the start coordinate end coordinate movement distance. Judging the conditions of left-hand and right-hand touch: the long press time is larger than the long press time threshold value by 300ms, the distance between the start coordinate (X, Y) and the end coordinate (X, Y) cannot be smaller than 5mm, and misjudgment caused by the shake of the finger abdomen pressing area in the pressing process of a user is avoided. And judging whether the current touch is a left hand or a right hand according to the length of the five-finger link line. As shown in fig. 8 and fig. 9, when the left hand and the right hand touch the touch screen, the distribution positions of the fingers are obviously different.
Illustratively, the link determination logic satisfies: the current coordinate point and the other four coordinate points are made into straight lines and added to obtain the link length of each coordinate point, which is respectively defined as A1, A2, A3, A4 and A5 (in the five fingers, a single finger and the other fingers are respectively made into straight lines and the distances between the single finger and the other fingers are added to obtain the sum of the links of the five fingers respectively). Acquiring the finger corresponding to the maximum link length as a thumb, wherein the link sum of the thumb is greater than the link sum of other four fingers, namely: a1> A2> A3> A4> A5, and A1 can be determined to be the thumb. The longest straight line in the total 10 line segments between the point and the point is the distance from the thumb to the little finger, and the coordinates of the little finger can be obtained under the condition that the thumb is known. Then, the longest straight line is rotated 180 ° clockwise, and as shown in fig. 10, it is calculated whether the other four coordinate points are within an angle, and if so, it is described as a left hand, and if it is within an angle of 180 ° counterclockwise, it is described as a right hand. Or, the orientation between the thumb and the little finger is used for distinguishing, and when the little finger is on the left side of the thumb, the left hand is indicated, and when the little finger is on the right side of the thumb, the right hand is indicated.
Compared with the prior art, the touch screen control method provided by the embodiment of the invention firstly judges whether the current touch object is the finger of the user according to the contact area between the touch object and the touch screen, and the contact area between the finger of the user and the touch screen is usually larger than that between the writing pen and the touch screen, so that whether the current touch object is the finger can be accurately determined by judging the contact area between the touch object and the touch screen. When the touch objects are fingers, the number of the touch objects is further determined, when the number of the touch objects is 5, the current touch operation can be determined to be a five-finger touch operation, a corresponding control instruction is executed according to the five-finger touch operation, the five-finger touch operation is fully utilized for touch operation, gesture application scenes can be enriched, and user touch experience is improved.
Referring to fig. 11, fig. 11 is a block diagram of a touch screen control device 10 according to an embodiment of the present invention, where the touch screen control device 10 includes:
the first judging module 11 is configured to respond to a touch operation of a touch screen, and judge whether a contact area between the touch object and the touch screen is within a preset size range; if so, judging that the touch operation is the touch operation generated by finger touch; if not, judging that the touch operation is the touch operation generated by non-finger touch;
the second judging module 12 is configured to, when it is judged that the touch operation is generated by finger touch and the number of current touch objects is 5, judge whether the distance between the five fingers is within a preset distance range;
the touch operation module 13 is configured to execute a corresponding page control operation according to the touch operation of the five fingers when it is determined that the distance between the five fingers is within the preset distance range; and when the distance between the five fingers is not within the preset distance range, executing corresponding writing or erasing operation according to the touch operation of the five fingers.
Optionally, the touch operation module is configured to 13:
when the touch control operation of the five fingers is a left sliding operation, and the sliding distances of the five fingers are larger than a preset left sliding distance threshold value, executing a page left switching operation;
and when the touch control operation of the five fingers is a right sliding operation and the sliding distances of the five fingers are larger than a preset right sliding distance threshold value, executing a page right switching operation.
Optionally, the touch operation module is configured to 13:
when the touch control operation of the five fingers is an upward sliding operation, and the sliding distances of the five fingers are larger than a preset upward sliding distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode;
and when the touch operation of the five fingers is a downslide operation and the sliding distances of the five fingers are larger than a preset downslide distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode.
Optionally, the touch operation module is configured to 13:
and when the touch operation of the five fingers is the grabbing operation towards the center of the five fingers, and the sliding distances of the five fingers are larger than a preset grabbing distance threshold value, the current page is contracted and folded, and the screen cleaning operation is executed.
Optionally, the touch operation module is configured to 13:
when the touch control operation of the five fingers is long press operation and the contact time of the five fingers and the touch screen is greater than a preset long press time threshold, judging the touch control type of the touch control operation of the five fingers; the touch type comprises a left-hand touch operation and a right-hand touch operation;
when the touch operation of the five fingers is left-hand touch operation, popping up a function menu corresponding to the left-hand touch operation on a current page;
and when the touch control operation of the five fingers is right-hand touch control operation, popping up a function menu corresponding to the right-hand touch control operation in the current page.
It should be noted that please refer to the working process of the touch screen control method in the foregoing embodiment for the specific working process of each module in the touch screen control device 10, which is not described herein again.
Compared with the prior art, the touch screen control device 10 provided in the embodiment of the present invention first determines whether the current touch object is a user finger according to the contact area between the touch object and the touch screen, and since the contact area between the user finger and the touch screen is usually larger than the contact area between the writing pen and the touch screen, it can be accurately determined whether the current touch object is a finger by determining the contact area between the touch object and the touch screen. When the touch objects are fingers, the number of the touch objects is further determined, when the number of the touch objects is 5, the current touch operation can be determined to be a five-finger touch operation, a corresponding control instruction is executed according to the five-finger touch operation, the five-finger touch operation is fully utilized for touch operation, gesture application scenes can be enriched, and user touch experience is improved.
Referring to fig. 12, fig. 12 is a block diagram of a touch screen control device 20 according to an embodiment of the present invention, where the touch screen control device 20 includes a processor 21, a memory 22, and a computer program, such as a driving control program, stored in the memory and executable on the processor. The processor 21, when executing the computer program, implements the steps in the above-described touch screen control method embodiment, such as steps S1-S3 shown in fig. 1. Alternatively, the processor implements the functions of the modules in the above device embodiments when executing the computer program.
Illustratively, the computer program may be divided into one or more modules, which are stored in the memory 22 and executed by the processor 21 to accomplish the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the touch screen control device 20. For example, the computer program may be divided into a first determination module 11, a second determination module 12, and a touch operation module 13. For the specific working process of each module, reference may be made to the working process of the touch screen control device 10 described in the foregoing embodiment, and details are not described here again.
The touch screen control device 20 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The touch screen control device 20 may include, but is not limited to, a processor 21, a memory 22. It will be appreciated by those skilled in the art that the schematic diagram is merely an example of an image enhancement device and does not constitute a limitation of the touch screen control device 20 and may include more or less components than those shown, or combine certain components, or different components, for example, the touch screen control device 20 may also include an input output device, a network access device, a bus, etc.
The Processor 21 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor 21 is a control center of the touch screen control device 20 and connects various parts of the entire touch screen control device 20 by using various interfaces and lines.
The memory 22 may be used for storing the computer programs and/or modules, and the processor 21 implements various functions of the touch screen control device 20 by running or executing the computer programs and/or modules stored in the memory 22 and calling data stored in the memory 22. The memory 22 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 22 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the integrated module of the touch screen control device 20 can be stored in a computer readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
Claims (10)
1. A touch screen control method, comprising:
responding to touch operation of a touch screen, and judging whether contact areas of the touch object and the touch screen are all within a preset size range;
if so, judging that the touch operation is the touch operation generated by finger touch; if not, judging that the touch operation is the touch operation generated by non-finger touch;
when the touch operation is judged to be the touch operation generated by finger touch and the number of the current touch objects is 5, judging whether the distance between the five fingers is within a preset distance range;
if so, executing corresponding page control operation according to the touch operation of the five fingers; if not, executing corresponding writing or erasing operation according to the touch operation of the five fingers.
2. The touch screen control method of claim 1, wherein the executing the corresponding page control operation according to the five-finger touch operation comprises:
when the touch control operation of the five fingers is a left sliding operation, and the sliding distances of the five fingers are larger than a preset left sliding distance threshold value, executing a page left switching operation;
and when the touch control operation of the five fingers is a right sliding operation and the sliding distances of the five fingers are larger than a preset right sliding distance threshold value, executing a page right switching operation.
3. The touch screen control method of claim 1, wherein the executing the corresponding page control operation according to the five-finger touch operation comprises:
when the touch control operation of the five fingers is an upward sliding operation, and the sliding distances of the five fingers are larger than a preset upward sliding distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode;
and when the touch operation of the five fingers is a downslide operation and the sliding distances of the five fingers are larger than a preset downslide distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode.
4. The touch screen control method of claim 1, wherein the executing the corresponding page control operation according to the five-finger touch operation comprises:
and when the touch operation of the five fingers is the grabbing operation towards the center of the five fingers, and the sliding distances of the five fingers are larger than a preset grabbing distance threshold value, the current page is contracted and folded, and the screen cleaning operation is executed.
5. The touch screen control method of claim 1, wherein the executing the corresponding page control operation according to the five-finger touch operation comprises:
when the touch control operation of the five fingers is long press operation and the contact time of the five fingers and the touch screen is greater than a preset long press time threshold, judging the touch control type of the touch control operation of the five fingers; the touch type comprises a left-hand touch operation and a right-hand touch operation;
when the touch operation of the five fingers is left-hand touch operation, popping up a function menu corresponding to the left-hand touch operation on a current page;
and when the touch control operation of the five fingers is right-hand touch control operation, popping up a function menu corresponding to the right-hand touch control operation in the current page.
6. A touch screen control device, comprising:
the first judgment module is used for responding to touch operation of the touch screen and judging whether the contact area of the touch object and the touch screen is within a preset size range or not; if so, judging that the touch operation is the touch operation generated by finger touch; if not, judging that the touch operation is the touch operation generated by non-finger touch;
the second judging module is used for judging whether the distance between the five fingers is within a preset distance range or not when the touch operation is judged to be the touch operation generated by finger touch and the number of the current touch objects is 5;
the touch operation module is used for executing corresponding page control operation according to the touch operation of the five fingers when the distance between the five fingers is judged to be within the preset distance range; and when the distance between the five fingers is not within the preset distance range, executing corresponding writing or erasing operation according to the touch operation of the five fingers.
7. The touch screen control device of claim 6, wherein the touch operation module is configured to:
when the touch control operation of the five fingers is a left sliding operation, and the sliding distances of the five fingers are larger than a preset left sliding distance threshold value, executing a page left switching operation;
and when the touch control operation of the five fingers is a right sliding operation and the sliding distances of the five fingers are larger than a preset right sliding distance threshold value, executing a page right switching operation.
8. The touch screen control device of claim 6, wherein the touch operation module is configured to:
when the touch control operation of the five fingers is an upward sliding operation, and the sliding distances of the five fingers are larger than a preset upward sliding distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode;
and when the touch operation of the five fingers is a downslide operation and the sliding distances of the five fingers are larger than a preset downslide distance threshold value, zooming the current page and displaying the current page and other pages together in a show window mode.
9. A touch screen control device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the touch screen control method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the touch screen control method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011606478.0A CN112667105A (en) | 2020-12-28 | 2020-12-28 | Touch screen control method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011606478.0A CN112667105A (en) | 2020-12-28 | 2020-12-28 | Touch screen control method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112667105A true CN112667105A (en) | 2021-04-16 |
Family
ID=75410754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011606478.0A Pending CN112667105A (en) | 2020-12-28 | 2020-12-28 | Touch screen control method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112667105A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113311981A (en) * | 2021-05-12 | 2021-08-27 | 深圳市宝视达光电有限公司 | Erasing method and device, intelligent terminal and computer readable storage medium |
CN114185477A (en) * | 2021-12-14 | 2022-03-15 | 深圳市闪联信息技术有限公司 | Method and device for recognizing gesture distinguishing operation under writing function of electronic whiteboard |
CN114237417A (en) * | 2021-11-16 | 2022-03-25 | 杭州迈杰教育科技有限公司 | Handwriting erasing method, system, device and medium for electronic whiteboard |
CN114647359A (en) * | 2022-02-28 | 2022-06-21 | 合肥讯飞读写科技有限公司 | State switching method, device, equipment and storage medium |
CN114706515A (en) * | 2022-04-26 | 2022-07-05 | 长沙朗源电子科技有限公司 | Figure three-finger rotation method and device based on electronic whiteboard |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375761A (en) * | 2014-11-07 | 2015-02-25 | 惠州Tcl移动通信有限公司 | Method and system for preventing misoperation of touch screen mobile phone |
CN110633041A (en) * | 2018-06-25 | 2019-12-31 | 鸿合科技股份有限公司 | Method and device for switching writing, selecting and erasing modes by utilizing gestures |
-
2020
- 2020-12-28 CN CN202011606478.0A patent/CN112667105A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104375761A (en) * | 2014-11-07 | 2015-02-25 | 惠州Tcl移动通信有限公司 | Method and system for preventing misoperation of touch screen mobile phone |
CN110633041A (en) * | 2018-06-25 | 2019-12-31 | 鸿合科技股份有限公司 | Method and device for switching writing, selecting and erasing modes by utilizing gestures |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113311981A (en) * | 2021-05-12 | 2021-08-27 | 深圳市宝视达光电有限公司 | Erasing method and device, intelligent terminal and computer readable storage medium |
CN114237417A (en) * | 2021-11-16 | 2022-03-25 | 杭州迈杰教育科技有限公司 | Handwriting erasing method, system, device and medium for electronic whiteboard |
CN114185477A (en) * | 2021-12-14 | 2022-03-15 | 深圳市闪联信息技术有限公司 | Method and device for recognizing gesture distinguishing operation under writing function of electronic whiteboard |
CN114647359A (en) * | 2022-02-28 | 2022-06-21 | 合肥讯飞读写科技有限公司 | State switching method, device, equipment and storage medium |
CN114706515A (en) * | 2022-04-26 | 2022-07-05 | 长沙朗源电子科技有限公司 | Figure three-finger rotation method and device based on electronic whiteboard |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112667105A (en) | Touch screen control method, device, equipment and storage medium | |
US9069386B2 (en) | Gesture recognition device, method, program, and computer-readable medium upon which program is stored | |
US9594432B2 (en) | Electronic device, control setting method and program | |
CN102760026B (en) | A kind of touch screen interface display packing, display device and a kind of touch panel device | |
WO2022001472A1 (en) | Display method and apparatus, electronic device, and storage medium | |
CN107247538B (en) | Touch operation processing method and terminal device | |
US11693544B2 (en) | Mobile terminal display picture control method, apparatus, and device and storage medium | |
US20110134047A1 (en) | Multi-modal interaction on multi-touch display | |
EP3002664A1 (en) | Text processing method and touchscreen device | |
US20100097337A1 (en) | Method for operating page and electronic device | |
CN102023797A (en) | Mobile device and method for controlling pictures browsing | |
CN103513878A (en) | Touch input method and device | |
US20130321350A1 (en) | Virtual ruler for stylus input | |
JP6613338B2 (en) | Information processing apparatus, information processing program, and information processing method | |
WO2017059734A1 (en) | Image zoom in/out method and electronic device | |
CN112558851B (en) | Object processing method, device, equipment and readable storage medium | |
CN112817376A (en) | Information display method and device, electronic equipment and storage medium | |
CN112764613A (en) | Icon arranging method and device, electronic equipment and readable storage medium | |
CN114518820A (en) | Icon sorting method and device and electronic equipment | |
US20220263929A1 (en) | Mobile terminal and control method therefor | |
WO2023169499A1 (en) | Single-hand control method and control apparatus for touch screen, electronic device, and storage medium | |
EP2669783A1 (en) | Virtual ruler for stylus input | |
JP6584876B2 (en) | Information processing apparatus, information processing program, and information processing method | |
CN113238694A (en) | Interface comparison method and device and mobile terminal | |
US20230409187A1 (en) | Automatic browsing method, terminal, and computer-readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210416 |
|
RJ01 | Rejection of invention patent application after publication |