CN110602313A - Control method of touch screen, terminal and storage medium - Google Patents

Control method of touch screen, terminal and storage medium Download PDF

Info

Publication number
CN110602313A
CN110602313A CN201910802451.XA CN201910802451A CN110602313A CN 110602313 A CN110602313 A CN 110602313A CN 201910802451 A CN201910802451 A CN 201910802451A CN 110602313 A CN110602313 A CN 110602313A
Authority
CN
China
Prior art keywords
touch screen
touch
detection value
screen
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910802451.XA
Other languages
Chinese (zh)
Inventor
冯帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910802451.XA priority Critical patent/CN110602313A/en
Publication of CN110602313A publication Critical patent/CN110602313A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • 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
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a control method of a touch screen, a terminal and a storage medium, wherein the control method of the touch screen comprises the following steps: determining a touch control parameter of the touch screen according to image information acquired by the camera, a detection value of the acceleration sensor or a detection value of the distance sensor; or determining touch control parameters of the touch screen according to at least two items of a display mode of the touch screen, the orientation of the touch screen, image information acquired by the camera, a detection value of the acceleration sensor and a detection value of the distance sensor; and according to the touch control parameters of the touch screen, starting or closing the touch function of the touch screen. The control method of the embodiment of the invention can be suitable for the terminals with at least two touch screens, can prevent the problem of misoperation when a user performs touch operation on the at least two touch screens, and can improve the utilization of user resources of the multi-screen terminal, thereby improving the experience of the user.

Description

Control method of touch screen, terminal and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a method, a terminal, and a storage medium for controlling a touch screen.
Background
With the rapid development of computer technologies, most terminals (such as mobile phones, computers, tablets, smart homes, vehicle-mounted devices and the like) can realize touch operation, and the touch operation can greatly improve the rapidness, sensitivity and intelligence of human-computer interaction. However, the terminals are being developed into multiple screens, and a problem that a user is likely to have an erroneous operation when performing a touch operation on the multiple-screen terminal is solved.
Disclosure of Invention
The embodiment of the invention provides a control method of a touch screen, a terminal and a storage medium, which are used for solving the problem of misoperation generated when a multi-screen terminal performs touch operation.
In order to solve the technical problem, the invention is realized as follows: a control method of a touch screen comprises the following steps:
determining a touch control parameter of the touch screen according to image information acquired by the camera, a detection value of the acceleration sensor or a detection value of the distance sensor; or determining touch control parameters of the touch screen according to at least two items of a display mode of the touch screen, the orientation of the touch screen, image information acquired by the camera, a detection value of the acceleration sensor and a detection value of the distance sensor;
and according to the touch control parameters of the touch screen, starting or closing the touch function of the touch screen.
Optionally, the turning on or turning off the touch function of the touch screen according to the touch control parameter of the touch screen includes:
and when the display mode of the touch screen is a horizontal screen mode and the orientation of the touch screen is a first direction, closing the touch function of the touch screen.
Optionally, the turning on or turning off the touch function of the touch screen according to the touch control parameter of the touch screen includes:
and when the display mode of the touch screen is a horizontal screen mode and the orientation of the touch screen is a second direction, starting the touch function of the touch screen.
Optionally, the turning on or turning off the touch function of the touch screen according to the touch control parameter of the touch screen includes:
when the display mode of the touch screen is a vertical screen mode, judging whether a human face is detected in image information acquired by a camera;
and when the human face is not detected in the image information acquired by the camera, closing the touch function of the touch screen.
Optionally, the turning on or turning off the touch function of the touch screen according to the touch control parameter of the touch screen includes:
judging whether the detection value of the distance sensor reaches a distance threshold value;
and when the detection value of the distance sensor reaches a distance threshold value, starting the touch function of the touch screen.
Optionally, the turning on or turning off the touch function of the touch screen according to the touch control parameter of the touch screen further includes:
and when the touch function of the touch screen is in a closed state and the detection value of the acceleration sensor reaches a speed threshold value, starting the touch function of the touch screen.
In a first aspect, an embodiment of the present invention further provides a terminal, including:
the first determining module is used for determining touch control parameters of the touch screen according to image information acquired by the camera, a detection value of the acceleration sensor or a detection value of the distance sensor; or determining touch control parameters of the touch screen according to at least two items of a display mode of the touch screen, the orientation of the touch screen, image information acquired by the camera, a detection value of the acceleration sensor and a detection value of the distance sensor;
and the execution module is used for starting or closing the touch function of the touch screen according to the touch control parameters of the touch screen.
Optionally, the execution module includes:
the first execution unit is used for closing the touch function of the touch screen when the display mode of the touch screen is a horizontal screen mode and the orientation of the touch screen is a first direction.
In a second aspect, an embodiment of the present invention further provides a terminal, including: the touch screen control method comprises a processor, a memory and a program stored on the memory and capable of running on the processor, wherein the program realizes the steps of the touch screen control method when being executed by the processor.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a program is stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the control method for a touch screen are implemented as described above.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the touch control parameter corresponding to the touch screen is determined firstly, and then the touch function of the touch screen is determined according to the touch control parameter. The control method of the embodiment of the invention is suitable for the terminals with at least two touch screens, can prevent the problem of misoperation when a user performs touch operation on the at least two touch screens, and can improve the utilization of user resources of the multi-screen terminal, thereby improving the experience of the user.
Drawings
Fig. 1 is a flowchart illustrating a control method of a touch screen according to an embodiment of the invention;
fig. 2 is a second flowchart of a control method of a touch screen according to an embodiment of the invention;
FIG. 3 is a schematic view of the orientation of a target display screen according to an embodiment of the invention;
fig. 4 is a third flowchart of a control method of a touch screen according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal;
fig. 6 is a fourth flowchart of a control method of a touch screen according to an embodiment of the present invention;
fig. 7 is a fifth flowchart of a control method of a touch screen according to an embodiment of the invention;
FIG. 8 is a second schematic structural diagram of a terminal;
fig. 9 is a sixth flowchart of a control method of a touch screen according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The terms first, second and the like in the description and in the claims of the present invention are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein.
The embodiment of the invention provides a control method of a touch screen, which is suitable for a terminal with at least two touch screens, wherein the terminal can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, wearable equipment and the like. It should be noted that the above description of the terminal types is only an example and not a limitation.
Fig. 1 is a flowchart of a control method of a touch screen according to an embodiment of the present invention, and referring to fig. 1, the control method of the touch screen specifically includes the following steps:
step 11: determining a touch control parameter of the touch screen according to image information acquired by the camera, a detection value of the acceleration sensor or a detection value of the distance sensor; or determining touch control parameters of the touch screen according to at least two items of a display mode of the touch screen, the orientation of the touch screen, image information acquired by the camera, a detection value of the acceleration sensor and a detection value of the distance sensor; in the embodiment of the present invention, the touch control parameter is a parameter for controlling a touch function of the touch screen, and the touch control parameter may be image information acquired by the camera, a detection value of the acceleration sensor, or a detection value of the distance sensor, or the touch control parameter may be at least two items of a display mode of the touch screen, an orientation of the touch screen, the image information acquired by the camera, the detection value of the acceleration sensor, and the detection value of the distance sensor.
In some embodiments, the display mode may include: the horizontal screen mode and the vertical screen mode can determine the display mode of the touch screen according to the relation between the gravity sensor and the touch screen. The orientation of the touch screen can be understood as the display direction of the touch screen, and the orientation of the touch screen includes: the touch screen display device comprises a first direction or a second direction opposite to the first direction, wherein the first direction can be a downward direction, and the second direction can be an upward direction, namely the first direction refers to a side of the touch screen where the display direction faces the ground, and the second direction refers to a side of the touch screen where the display direction faces away from the ground; for example: referring to fig. 3, the orientation of the touch screen is the direction indicated by the arrow, and it can be understood that the orientation of the touch screen is the downward direction. Further, the orientation of the touch screen can be determined according to the detection value of the gyroscope.
In some embodiments, the image information acquired by the camera may be understood as image information acquired by the camera whose shooting direction is consistent with the display direction, and the image information may be information such as a picture or a video.
In some embodiments, the detection value of the acceleration sensor is used to represent an acceleration value of the terminal, and the mode of the touch function may be switched according to the detection value of the acceleration sensor, for example: and when the touch screen is in a state of closing the touch function and the detection value of the acceleration sensor reaches a speed threshold value, starting the touch function of the touch screen.
In some embodiments, the detection value of the distance sensor is used to indicate the distance between the object to be detected in front of the touch screen and the touch screen, and it is understood that the detection value of the distance sensor refers to the detection value corresponding to the distance sensor whose detection direction is consistent with the display direction of the touch screen. When an object to be detected operates on the touch screen, it is required to ensure that the distance between the touch screen and the object to be detected meets a distance threshold, and if the distance between the touch screen and the object to be detected is too large or too small, the above operation is determined as the misoperation. It can be understood that some misoperation can be avoided to a certain extent by judging whether the detection value of the distance sensor reaches a preset distance threshold value.
Step 12: and starting or closing the touch control function of the touch screen according to the touch control parameters of the touch screen.
In the embodiment of the present invention, when the touch function of the touch screen is in the on state, by clicking the graphic button on the touch screen, various programs corresponding to the graphic button can be driven and related touch operations can be executed, which may be referred to as a normal touch mode. When the touch function of the touch screen is in the off state, the touch screen may remain in the on state, but the touch operation cannot be performed, and this may be referred to as a locked touch mode.
In the embodiment of the invention, the touch screen and the touch control parameters corresponding to the touch screen are determined firstly, and then the touch function of the touch screen is determined according to the touch control parameters. The control method of the embodiment of the invention is suitable for the terminals with at least two touch screens, can prevent the problem of misoperation when a user performs touch operation on the at least two touch screens, can improve the utilization of user resources of the multi-screen terminal, and can increase the experience of the user.
In the embodiment of the present invention, the touch control parameter may have various forms, and the step 13 may have various embodiments according to the touch control parameters of different forms. The following embodiments are merely preferred embodiments of the present invention, and the present invention is not limited to the following embodiments.
The first method is as follows: the touch control parameters include: the display mode and the display direction of the touch screen.
In the first mode, referring to fig. 2, step 13 specifically includes the following steps:
step 1301: judging whether the display mode of the touch screen is a horizontal screen mode or not; when the display mode of the touch screen is not the horizontal screen mode, the step 1301 is repeatedly executed; when the display mode of the touch screen is the landscape mode, step 1302 is executed.
Further, the display mode of the touch screen can be determined according to the detection value of the gravity sensor.
Step 1302: when the display mode of the touch screen is a horizontal screen mode, judging whether the orientation of the touch screen is a second direction, wherein the second direction is an upward direction; when the orientation of the touch screen is the second direction, go to step 1303; when the orientation of the touch screen is the first direction and the first direction is the downward direction, step 1304 is executed.
Further, the orientation of the touch screen may be determined according to the detection value of the gyroscope, for example: referring to fig. 3, the touch screen is shown facing downward.
Step 1303: and when the display mode of the touch screen is the horizontal screen mode and the display direction of the touch screen faces the second direction, starting the touch function of the touch screen.
Step 1304: and when the display mode of the touch screen is the horizontal screen mode and the touch screen faces the first direction, closing the touch function of the touch screen.
Such as: the at least two touch screens include: the method comprises the steps that a touch screen A and a touch screen B are arranged, wherein the touch screen A is a target display screen, when the touch screen A is in a horizontal screen mode, the touch screen A is set to be in a locking touch mode when the orientation of the touch screen A is detected to be in a downward direction according to a detection value of a gyroscope, and at the moment, the touch function of the touch screen A is in a closed state; otherwise, the touch screen a is set to the normal touch mode, and the touch function of the touch screen a is in the on state at this time.
In the embodiment of the present invention, according to the display mode and the orientation of the touch screen, the touch function of the touch screen can be controlled, for example: the touch screen is in under the horizontal screen mode, and when the orientation that detects the touch screen through gyroscope intellectual detection system was when downwards, the touch-control function of closing the touch screen can be applicable to and utilize the scene of two at least touch screens simultaneously under the horizontal screen mode, can prevent to cause the maloperation to another touch screen when carrying out the operation on a touch screen.
The second method comprises the following steps: the touch control parameters include: the display mode of the touch screen and the image information obtained by the camera. The camera is a camera with the shooting direction consistent with the display direction of the touch screen.
In the second embodiment, referring to fig. 4, step 13 specifically includes the following steps:
step 1305: when the display mode of the touch screen is a vertical screen mode, judging whether a human face is detected in image information acquired by a camera; when a human face is detected in the image information acquired by the camera, executing step 1306; when the face is not detected in the image information acquired by the camera, step 1307 is executed.
In some embodiments, whether a human face is detected in the image information acquired by the camera may be determined according to a human face recognition technology.
Step 1306: when a human face is detected in the image information acquired by the camera, starting a touch function of the touch screen;
step 1307: and when the human face is not detected in the image information acquired by the camera, closing the touch function of the touch screen.
Such as: referring to fig. 5, at least two touch screens include: the touch screen A and the touch screen B are touch screens. The touch screen A is in a vertical screen mode, a human face is detected in image information acquired by the camera A with the shooting direction consistent with the display direction of the touch screen A, and the touch screen A can be set to be in a normal touch mode to start the touch function of the touch screen A. Meanwhile, the touch screen B is in the vertical screen mode, and a face is detected in image information acquired by the camera B whose shooting direction is the same as the display direction of the touch screen B, so that the touch screen B can be set to the locking touch mode to close the touch function of the touch screen B.
The third method comprises the following steps: the touch control parameters include: a detection value of the distance sensor and a detection value of the acceleration sensor.
In the third embodiment, referring to fig. 6, step 13 specifically includes the following steps:
step 1308: judging whether the detection value of the distance sensor reaches a distance threshold value; when the detection value of the distance sensor reaches the distance threshold, executing step 1309; when the detection value of the distance sensor does not reach the distance threshold, step 1310 is performed.
It should be noted that, the value range of the distance threshold may be set as needed, and the value range of the distance threshold is not specifically limited in the embodiment of the present invention.
Step 1309: starting a touch function of a touch screen;
step 1310: when the detection value of the distance sensor does not reach the distance threshold value, judging whether the detection value of the acceleration sensor reaches a speed threshold value; when the detection value of the acceleration sensor reaches the speed threshold, executing step 1309, and starting the touch function of the touch screen; when the detection value of the acceleration sensor does not reach the speed threshold, step 1311 is executed to close the touch function of the touch screen.
Step 1311: and closing the touch function of the touch screen.
Such as: the at least two touch screens include: the touch screen A and the touch screen B are used, a user configures application programs such as games and scripts on the touch screen A and starts the application programs needing manual operation on the touch screen B, and at the moment, the touch screen A and the touch screen B can be determined as target display screens. And if the detection value of the distance sensor corresponding to the touch screen B reaches the distance threshold, starting the touch function of the touch screen B. And if the detection value of the distance sensor corresponding to the touch screen A does not reach the distance threshold value and the detection value of the acceleration sensor does not reach the speed threshold value, the touch function of the touch screen A is closed.
The method is as follows: the touch control parameters include: the display mode of the touch screen, the image information acquired by the camera, the detection value of the distance sensor and the detection value of the acceleration sensor.
The case shown in the fourth mode is a combination of the cases shown in the second mode and the third mode, and is not described herein again to avoid repetition.
It should be noted that the execution order of step 1305 and step 1308 may be determined according to actual needs, and it is understood that step 1305 to step 1307 may be executed before or after step 1308 to step 1311, and in this embodiment of the present invention, the execution order of step 1305 and step 1308 is not specifically limited.
The fifth mode is as follows: the touch control parameters include: a detection value of the distance sensor and a detection value of the acceleration sensor.
In a fifth mode, referring to fig. 7, step 13 specifically includes the following steps:
step 1312: judging whether the detection value of the acceleration sensor reaches a speed threshold value; when the detection value of the acceleration sensor reaches the speed threshold, executing step 1313, and closing the touch function of the touch screen; when the detected value of the acceleration sensor does not reach the speed threshold, step 1312 is repeatedly performed.
Step 1313: judging whether the touch function of the touch screen is in a closed state; when the touch function of the touch screen is in the off state, go to step 1314 to turn on the touch function of the touch screen; when the touch function of the touch screen is in the on state, step 1315 is executed to turn off the touch function of the touch screen.
Step 1314: starting a touch function of a touch screen;
step 1315: and closing the touch function of the touch screen.
Such as: referring to fig. 8, at least two touch screens include: touch-control screen A and touch-control screen B, touch-control screen A is the touch-control screen. The user can switch the touch function of the touch screen a by shaking the terminal, that is, when the detection value of the acceleration sensor reaches the speed threshold and the touch function of the touch screen a is in the off state, the touch function of the touch screen a is turned on.
The method six: the touch control parameters include: the display mode of the touch screen, the image information acquired by the camera, the detection value of the distance sensor and the detection value of the acceleration sensor.
In a sixth mode, referring to fig. 9, step 13 specifically includes the following steps:
step 1316: judging whether the display mode of the touch screen is a vertical screen mode or not; when the display mode of the touch screen is the vertical screen mode, performing step 1317; when the display mode of the touch screen is not the portrait mode, step 1316 is repeated.
Step 1317: when the display mode of the touch screen is a vertical screen mode, judging whether a human face is detected in image information acquired by a camera with the shooting direction consistent with the display direction of the touch screen; when a human face is detected in the image information acquired by the camera, step 1318 is executed; when the face is not detected in the image information acquired by the camera, step 1319 is executed to close the touch function of the touch screen.
Step 1318: judging whether the detection value of the distance sensor reaches a distance threshold value; when the detection value of the distance sensor reaches the distance threshold value, executing step 1321, and starting the touch function of the touch screen; when the detection value of the distance sensor does not reach the distance threshold, step 1319 is executed to close the touch function of the touch screen.
Step 1319: and closing the touch function of the touch screen.
Step 1320: judging whether the detection value of the acceleration sensor reaches a speed threshold value; when the detection value of the acceleration sensor reaches the speed threshold value, executing step 1321; when the detected value of the acceleration sensor does not reach the speed threshold, step 1320 is repeated.
Step 1321: and starting a touch function of the touch screen.
In order to solve the problem of misoperation generated when the multi-screen terminal performs touch operation, the embodiment of the invention also provides the terminal, the implementation principle of the terminal is similar to that of the control method of the touch screen, and the similar parts are not repeated.
Referring to fig. 10, an embodiment of the present invention further provides a terminal 1000, including:
the first determining module 1001 may be configured to determine a touch control parameter of the touch screen according to image information acquired by the camera, a detection value of the acceleration sensor, or a detection value of the distance sensor; or determining touch control parameters of the touch screen according to at least two items of a display mode of the touch screen, the orientation of the touch screen, image information acquired by the camera, a detection value of the acceleration sensor and a detection value of the distance sensor;
the execution module 1002 may be configured to turn on or turn off a touch function of the touch screen according to a touch control parameter of the touch screen.
Optionally, the executing module 1002 includes:
the first execution unit may be configured to turn off the touch function of the touch screen when the display mode of the touch screen is a landscape mode, the orientation of the touch screen is a first direction, and the first direction is a downward direction.
In the embodiment of the present invention, the first direction is a downward direction, and it can be understood that the first direction is a display direction of the touch screen facing a ground side.
Optionally, the executing module 1002 includes:
the second execution unit may be configured to start a touch function of the touch screen when the display mode of the touch screen is the landscape mode and the orientation of the touch screen is the second direction.
In the embodiment of the present invention, the second direction is an upward direction, and it can be understood that the second direction is a side of the touch screen facing away from the ground.
Optionally, the executing module 1002 includes:
the first judging unit can be used for judging whether the face is detected in the image information acquired by the camera when the display mode of the touch screen is a vertical screen mode;
the third execution unit may be configured to close the touch function of the touch screen when the face is not detected in the image information acquired by the camera.
Optionally, the executing module 1002 includes:
a second determination unit that may be configured to determine whether a detection value of the distance sensor reaches a distance threshold;
the fourth execution unit may be configured to start a touch function of the touch screen when a detection value of the distance sensor reaches a distance threshold.
Optionally, the executing module 1002 includes:
the fifth execution unit may be configured to, when the touch function of the touch screen is in an off state and a detection value of the acceleration sensor reaches a speed threshold, turn on the touch function of the touch screen.
In the embodiment of the present invention, first, the first determining module 1001 determines the touch control parameter corresponding to the touch screen, and then the executing module 1002 determines the touch function of the touch screen according to the touch control parameter. The terminal of the embodiment of the invention is suitable for terminals with at least two touch screens, can prevent the problem of misoperation when a user performs touch operation on the at least two touch screens, and can improve the utilization of user resources of the multi-screen terminal and increase the experience of the user.
The terminal provided by the embodiment of the present invention can implement each process implemented by the terminal in the above method embodiments, and is not described herein again to avoid repetition.
Fig. 11 is a schematic hardware structure diagram of a terminal for implementing various embodiments of the present invention, where the terminal 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, processor 1110, and power supply 1111. Those skilled in the art will appreciate that the terminal structure shown in fig. 11 does not constitute a limitation of the terminal, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 1110 is configured to determine a touch control parameter of the touch screen according to image information obtained by the camera, a detection value of the acceleration sensor, or a detection value of the distance sensor; or determining touch control parameters of the touch screen according to at least two items of a display mode of the touch screen, the orientation of the touch screen, image information acquired by the camera, a detection value of the acceleration sensor and a detection value of the distance sensor; and starting or closing the touch control function of the touch screen according to the touch control parameters of the touch screen.
In the embodiment of the present invention, the processor 1110 first determines the touch control parameter corresponding to the touch screen, and then the processor 1110 determines the touch function of the touch screen according to the touch control parameter. The terminal of the embodiment of the invention is suitable for terminals with at least two touch screens, can prevent the problem of misoperation when a user performs touch operation on the at least two touch screens, and can improve the utilization of user resources of the multi-screen terminal and increase the experience of the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1101 may be configured to receive and transmit signals during a message transmission or a call, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1110; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1101 may also communicate with a network and other devices through a wireless communication system.
The terminal provides the user with wireless broadband internet access via the network module 1102, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 1103 may convert audio data received by the radio frequency unit 1101 or the network module 1102 or stored in the memory 1109 into an audio signal and output as sound. Also, the audio output unit 1103 may also provide audio output related to a specific function performed by the terminal 1100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1104 is used to receive audio or video signals. The input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device, such as a camera, in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1106. The image frames processed by the graphic processor 11041 may be stored in the memory 1109 (or other storage medium) or transmitted via the radio frequency unit 1101 or the network module 1102. The microphone 11042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1101 in case of the phone call mode.
Terminal 1100 can also include at least one sensor 1105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 11061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 11061 and/or a backlight when the terminal 1100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 1105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., and will not be described in detail herein.
The display unit 1106 is used to display information input by a user or information provided to the user. The Display unit 1106 may include a Display panel 11061, and the Display panel 11061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 11071 (e.g., operations by a user on or near the touch panel 11071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 11071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1110, and receives and executes commands sent from the processor 1110. In addition, the touch panel 11071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 1107 may include other input devices 11072 in addition to the touch panel 11071. In particular, the other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 11071 can be overlaid on the display panel 11061, and when the touch panel 11071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1110 to determine the type of the touch event, and then the processor 1110 provides a corresponding visual output on the display panel 11061 according to the type of the touch event. Although the touch panel 11071 and the display panel 11061 are shown in fig. 11 as two separate components to implement the input and output functions of the terminal, in some embodiments, the touch panel 11071 and the display panel 11061 may be integrated to implement the input and output functions of the terminal, and the implementation is not limited herein.
The interface unit 1108 is an interface for connecting an external device to the terminal 1100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Interface unit 1108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within terminal 1100 or may be used to transmit data between terminal 1100 and external devices.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, 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 1109 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 1109 and calling data stored in the memory 1109, thereby integrally monitoring the terminal. Processor 1110 may include one or more processing units; preferably, the processor 1110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The terminal 1100 can also include a power supply 1111 (e.g., a battery) for providing power to various components, and preferably, the power supply 1111 can be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the terminal 1100 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 1110, a memory 1109, and a computer program stored in the memory 1109 and capable of running on the processor 1110, where the computer program, when executed by the processor 1110, implements each process of the above-described embodiment of the control method for a touch screen, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The 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 control method embodiment of the touch screen, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted 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 (10)

1. A control method of a touch screen is suitable for a terminal with at least two touch screens, and is characterized by comprising the following steps:
determining a touch control parameter of the touch screen according to image information acquired by the camera, a detection value of the acceleration sensor or a detection value of the distance sensor; or determining touch control parameters of the touch screen according to at least two items of a display mode of the touch screen, the orientation of the touch screen, image information acquired by the camera, a detection value of the acceleration sensor and a detection value of the distance sensor;
and according to the touch control parameters of the touch screen, starting or closing the touch function of the touch screen.
2. The method according to claim 1, wherein the turning on or off the touch function of the touch screen according to the touch control parameter of the touch screen comprises:
and when the display mode of the touch screen is a horizontal screen mode and the orientation of the touch screen is a first direction, closing the touch function of the touch screen.
3. The method according to claim 2, wherein the turning on or off the touch function of the touch screen according to the touch control parameter of the touch screen comprises:
and when the display mode of the touch screen is a horizontal screen mode and the orientation of the touch screen is a second direction, starting the touch function of the touch screen.
4. The method according to claim 1, wherein the turning on or off the touch function of the touch screen according to the touch control parameter of the touch screen comprises:
when the display mode of the touch screen is a vertical screen mode, judging whether a human face is detected in image information acquired by a camera;
and when the human face is not detected in the image information acquired by the camera, closing the touch function of the touch screen.
5. The method according to claim 1 or 4, wherein the turning on or off the touch function of the touch screen according to the touch control parameter of the touch screen comprises:
judging whether the detection value of the distance sensor reaches a distance threshold value;
and when the detection value of the distance sensor reaches a distance threshold value, starting the touch function of the touch screen.
6. The method according to claim 5, wherein the turning on or off the touch function of the touch screen according to the touch control parameter of the touch screen further comprises:
and when the touch function of the touch screen is in a closed state and the detection value of the acceleration sensor reaches a speed threshold value, starting the touch function of the touch screen.
7. A terminal, comprising:
the first determining module is used for determining touch control parameters of the touch screen according to image information acquired by the camera, a detection value of the acceleration sensor or a detection value of the distance sensor; or determining touch control parameters of the touch screen according to at least two items of a display mode of the touch screen, the orientation of the touch screen, image information acquired by the camera, a detection value of the acceleration sensor and a detection value of the distance sensor;
and the execution module is used for starting or closing the touch function of the touch screen according to the touch control parameters of the touch screen.
8. The terminal of claim 7, wherein the execution module comprises:
the first execution unit is used for closing the touch function of the touch screen when the display mode of the touch screen is a horizontal screen mode and the orientation of the touch screen is a first direction.
9. A terminal, characterized by comprising a processor, a memory and a program stored on the memory and executable on the processor, the program implementing the steps of the control method of a touch screen according to any one of claims 1 to 6 when executed by the processor.
10. A computer-readable storage medium, on which a program is stored, which, when being executed by a processor, carries out the steps of the method of controlling a touch screen according to any one of claims 1 to 6.
CN201910802451.XA 2019-08-28 2019-08-28 Control method of touch screen, terminal and storage medium Pending CN110602313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910802451.XA CN110602313A (en) 2019-08-28 2019-08-28 Control method of touch screen, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910802451.XA CN110602313A (en) 2019-08-28 2019-08-28 Control method of touch screen, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN110602313A true CN110602313A (en) 2019-12-20

Family

ID=68856090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910802451.XA Pending CN110602313A (en) 2019-08-28 2019-08-28 Control method of touch screen, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110602313A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032219A (en) * 2021-03-29 2021-06-25 联想(北京)有限公司 Data processing method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957801A (en) * 2012-11-14 2013-03-06 深圳市金立通信设备有限公司 Method and device for switching screens of symmetrical double-screen mobile terminal
WO2015154386A1 (en) * 2014-08-13 2015-10-15 中兴通讯股份有限公司 Processing method and device for incoming call answering
CN105242870A (en) * 2015-10-30 2016-01-13 小米科技有限责任公司 False touch method and device of terminal with touch screen
CN105630352A (en) * 2015-12-24 2016-06-01 天脉聚源(北京)科技有限公司 Mistaken touch prevention method and device
CN106101309A (en) * 2016-06-29 2016-11-09 努比亚技术有限公司 A kind of double-sided screen switching device and method, mobile terminal
CN108737640A (en) * 2018-04-11 2018-11-02 Oppo广东移动通信有限公司 False-touch prevention method, apparatus, mobile terminal and storage medium
CN109144386A (en) * 2018-08-01 2019-01-04 Oppo(重庆)智能科技有限公司 Touch screen control method, apparatus, storage medium, mobile terminal and end fitting
CN109240541A (en) * 2018-09-26 2019-01-18 Oppo广东移动通信有限公司 The screen false-touch prevention method, apparatus and electronic equipment of electronic equipment
CN110138966A (en) * 2019-04-23 2019-08-16 珠海格力电器股份有限公司 Message prompt display method of folding screen terminal and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957801A (en) * 2012-11-14 2013-03-06 深圳市金立通信设备有限公司 Method and device for switching screens of symmetrical double-screen mobile terminal
WO2015154386A1 (en) * 2014-08-13 2015-10-15 中兴通讯股份有限公司 Processing method and device for incoming call answering
CN105242870A (en) * 2015-10-30 2016-01-13 小米科技有限责任公司 False touch method and device of terminal with touch screen
CN105630352A (en) * 2015-12-24 2016-06-01 天脉聚源(北京)科技有限公司 Mistaken touch prevention method and device
CN106101309A (en) * 2016-06-29 2016-11-09 努比亚技术有限公司 A kind of double-sided screen switching device and method, mobile terminal
CN108737640A (en) * 2018-04-11 2018-11-02 Oppo广东移动通信有限公司 False-touch prevention method, apparatus, mobile terminal and storage medium
CN109144386A (en) * 2018-08-01 2019-01-04 Oppo(重庆)智能科技有限公司 Touch screen control method, apparatus, storage medium, mobile terminal and end fitting
CN109240541A (en) * 2018-09-26 2019-01-18 Oppo广东移动通信有限公司 The screen false-touch prevention method, apparatus and electronic equipment of electronic equipment
CN110138966A (en) * 2019-04-23 2019-08-16 珠海格力电器股份有限公司 Message prompt display method of folding screen terminal and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032219A (en) * 2021-03-29 2021-06-25 联想(北京)有限公司 Data processing method and device and electronic equipment
CN113032219B (en) * 2021-03-29 2024-04-19 联想(北京)有限公司 Data processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN108459797B (en) Control method of folding screen and mobile terminal
CN109407921B (en) Application processing method and terminal device
CN108628565B (en) Mobile terminal operation method and mobile terminal
CN111142991A (en) Application function page display method and electronic equipment
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN109710349B (en) Screen capturing method and mobile terminal
CN108848256B (en) Key control method of double-screen terminal and double-screen terminal
CN107728923B (en) Operation processing method and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN109257505B (en) Screen control method and mobile terminal
CN109407949B (en) Display control method and terminal
CN109523253B (en) Payment method and device
CN109857495A (en) A kind of display control method and terminal device
CN110825295B (en) Application program control method and electronic equipment
CN110096203B (en) Screenshot method and mobile terminal
CN109710130B (en) Display method and terminal
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN111061404A (en) Control method and first electronic device
CN109240575A (en) A kind of screen control method and electronic equipment
CN109597546B (en) Icon processing method and terminal equipment
CN108021315B (en) Control method and mobile terminal
CN108540642B (en) Mobile terminal and operation method thereof
CN108089935B (en) Application program management method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220

RJ01 Rejection of invention patent application after publication