CN107515694B - Terminal control method and device and terminal - Google Patents

Terminal control method and device and terminal Download PDF

Info

Publication number
CN107515694B
CN107515694B CN201710755881.1A CN201710755881A CN107515694B CN 107515694 B CN107515694 B CN 107515694B CN 201710755881 A CN201710755881 A CN 201710755881A CN 107515694 B CN107515694 B CN 107515694B
Authority
CN
China
Prior art keywords
signal
determining
terminal
screen
continuous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710755881.1A
Other languages
Chinese (zh)
Other versions
CN107515694A (en
Inventor
唐矩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710755881.1A priority Critical patent/CN107515694B/en
Publication of CN107515694A publication Critical patent/CN107515694A/en
Application granted granted Critical
Publication of CN107515694B publication Critical patent/CN107515694B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a terminal control method and device and a terminal. The terminal control method comprises the following steps: when a setting signal for a terminal screen is detected, determining parameters of the setting signal; and controlling the terminal to close the screen when the parameters meet the set conditions. The technical scheme can solve the problem that the screen is inconvenient to close through the power key in the related technology, especially the screen is inconvenient to close by one hand for a large-screen terminal, the operation is simple and convenient, the screen can be closed by one hand, and the user experience is optimized.

Description

Terminal control method and device and terminal
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a terminal control method, an apparatus, and a terminal.
Background
When the terminal such as a mobile phone and a tablet computer is designed to have an external shape, the power key is usually hidden, for example, at the top, bottom, or side of the terminal, for aesthetic reasons. Since the development trend of the terminal is large screen and size, these positions are not easily touched by the user, and many functions of the terminal need to be realized by touching the power key, such as screen-off operation and screen-off operation, which causes inconvenience in use for the user.
Disclosure of Invention
In order to solve the problems in the related art, embodiments of the present disclosure provide a terminal control method, an apparatus, and a terminal, so as to solve the problem in the related art that the screen is turned off through a power key, which is inconvenient to operate, and the screen can be turned off with one hand.
According to a first aspect of the embodiments of the present disclosure, there is provided a terminal control method, including:
when a setting signal for a terminal screen is detected, determining parameters of the setting signal;
and controlling the terminal to close the screen when the parameters meet the set conditions.
In an embodiment, the detecting a setting signal for a terminal screen includes:
detecting any one of a pressure signal, an inductance signal, a capacitance signal and a resistance signal aiming at a terminal screen;
the determining the parameter of the setting signal comprises:
and determining the signal size of the detected setting signal and the signal position on the terminal screen.
In one embodiment, the parameter satisfies a set condition, including:
and when the signal size is larger than a first set threshold and the screen area proportion corresponding to a plurality of signals with continuous signal positions exceeds a second set threshold, determining that the set condition is met.
In one embodiment, the parameter satisfies a set condition, including:
determining a signal with a signal size exceeding the first set threshold and a maximum signal size as a first reference signal in the detected signals;
determining at least one first continuous signal which is continuous in signal position with the first reference signal and has a signal size larger than the first set threshold;
determining the nth reference signal and the nth continuous signal as an n +1 th reference signal;
determining an n +1 th continuous signal which is continuous in position with the n +1 th reference signal and has a signal size larger than the first set threshold, wherein n ≧ 1;
when the n +1 th continuous signal does not exist, calculating the set unit number corresponding to the n reference signal and the n continuous signal;
and when the set unit quantity exceeds a second set threshold value, determining that the parameter meets a set condition.
In an embodiment, the detecting a setting signal for a terminal screen includes:
detecting an induction signal of the terminal screen approaching an object;
the determining the parameter of the setting signal comprises:
determining a set unit number corresponding to the sensing signal capable of sensing the object;
the parameters meet set conditions, including:
determining whether the set unit number is greater than a fourth set threshold;
when the set unit quantity is larger than the fourth set threshold, determining the distance between the terminal screen and the object;
and when the distance is smaller than a fifth set threshold value, determining that the parameter meets a set condition.
In one embodiment, the set unit number includes a number of pixels.
According to a second aspect of the embodiments of the present disclosure, there is provided a terminal control apparatus including:
the terminal comprises a determining module, a judging module and a judging module, wherein the determining module is configured to determine parameters of a setting signal when the setting signal for a terminal screen is detected;
and the control module is configured to control the terminal to turn off the screen when the parameters meet set conditions.
In one embodiment, the determining module comprises:
a first detection submodule configured to detect any one of a pressure signal, an inductance signal, a capacitance signal, and a resistance signal for a terminal screen;
a first determination sub-module configured to determine a signal magnitude of the detected setting signal and a signal position on the terminal screen.
In one embodiment, the control module comprises:
and the second determining submodule is configured to determine that the set condition is met when the signal size is larger than the first set threshold and the screen area proportion corresponding to the plurality of signals with continuous signal positions exceeds a second set threshold.
In one embodiment, the control module comprises:
a third determining submodule configured to determine, as the first reference signal, a signal of which the signal magnitude exceeds the first set threshold and of which the signal magnitude is the largest, among the detected signals;
a fourth determination submodule configured to determine at least one first continuous signal that is continuous in signal position with the first reference signal and has a signal magnitude greater than the first set threshold;
a fifth determination submodule configured to determine the nth reference signal and the nth continuous signal as an n +1 th reference signal;
a sixth determining sub-module configured to determine an n +1 th continuous signal which is continuous in position with the n +1 th reference signal and has a signal size greater than the first set threshold, wherein n ≧ 1;
a first calculation sub-module configured to calculate a set unit number corresponding to the nth reference signal and the nth continuous signal when the (n + 1) th continuous signal is not present;
a seventh determination submodule configured to determine that the parameter satisfies a setting condition when the set unit number exceeds a second set threshold.
In one embodiment, the determining module comprises:
the second detection submodule is configured to detect an induction signal of the terminal screen approaching to an object;
an eighth determining submodule configured to determine a set unit number corresponding to the sensing signal capable of sensing the object;
the control module includes:
a ninth determination sub-module configured to determine whether the set unit number is greater than a fourth set threshold;
a tenth determination submodule configured to determine a distance between the terminal screen and the object when the set unit number is greater than the fourth set threshold;
an eleventh determination submodule configured to determine that the parameter satisfies a set condition when the distance is smaller than a fifth set threshold.
In one embodiment, the set unit number includes a number of pixels.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a setting signal for a terminal screen is detected, determining parameters of the setting signal;
and controlling the terminal to close the screen when the parameters meet the set conditions.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
when a setting signal for a terminal screen is detected, determining parameters of the setting signal;
and controlling the terminal to close the screen when the parameters meet the set conditions.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the setting signal can be generated through the setting operation aiming at the terminal screen, and the terminal screen is controlled to be turned off when the parameter of the setting signal meets the setting condition, so that the problem that the screen is turned off inconveniently through a power key in the related technology, especially for a large-screen terminal, the screen is turned off inconveniently by one hand, the operation is simple and convenient, the screen can be turned off by one hand, and the user experience is optimized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1A is a flow chart illustrating a terminal control method according to an example embodiment.
Fig. 1B is a diagram illustrating a scenario of a terminal control method according to an exemplary embodiment.
Fig. 2A is a flowchart illustrating another terminal control method according to an example embodiment.
Fig. 2B is a scene diagram illustrating another terminal control method according to an example embodiment.
Fig. 3 is a flowchart illustrating another terminal control method according to an example embodiment.
Fig. 4 is a flowchart illustrating another terminal control method according to an example embodiment.
Fig. 5 is a block diagram illustrating a terminal control apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating another terminal control device according to an example embodiment.
Fig. 7 is a block diagram illustrating another terminal control device according to an example embodiment.
Fig. 8 is a block diagram illustrating another terminal control device according to an example embodiment.
Fig. 9 is a block diagram illustrating another terminal control device according to an example embodiment.
Fig. 10 is a block diagram illustrating a suitable terminal control device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1A is a flowchart illustrating a terminal control method according to an exemplary embodiment, and fig. 1B is a scene diagram illustrating a terminal control method according to an exemplary embodiment; the terminal control method can be applied to a terminal, and the terminal in the disclosure can be any intelligent terminal with an internet access function, for example, a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and the like can be embodied.
The terminal can access the router through the wireless local area network and access the server on the public network through the router. As shown in fig. 1A, the terminal control method includes the following steps 101-102:
in step 101, when a setting signal for a terminal screen is detected, parameters of the setting signal are determined.
In one embodiment, the setting signal for the terminal screen may be understood as a setting signal generated by a setting operation for the terminal. For example, a touch operation for the terminal screen, or an operation for bringing the terminal screen close to a certain blocking object. Correspondingly, for the touch operation, the setting signal may be one or more of a pressure signal, an inductance signal, a capacitance signal and a resistance signal. For an operation close to a blocking object, the setting signal may be a sensing signal.
In step 102, when the parameter meets the set condition, the terminal is controlled to close the screen.
In an embodiment, the parameter satisfying the setting condition may be that a ratio of an area of the terminal screen, where the setting signal is detected, to an entire screen area exceeds a set area ratio, for example, when an operation of the palm shielding the terminal screen or touching the terminal screen is detected, a ratio of the shielded area or the touched area to the entire screen area exceeds the set area ratio.
In an exemplary scenario, as shown in fig. 1B, taking an example of touching the terminal screen with a palm as an example for illustration, in the scenario shown in fig. 1B, the method includes: a smart phone as a terminal. The method comprises the steps that a pressure sensor on the smart phone detects pressure signals generated by touch operation on a terminal screen, the size and the position of the pressure signals are determined, the pressure signals which are continuous in position and larger than a first set threshold value are determined based on the size of the pressure signals, whether the areas of the pressure signals exceed a set area threshold value or not is determined, when the areas of the pressure signals exceed the set area threshold value, it is determined that set conditions are met, and the terminal is controlled to close the screen.
Please refer to the following embodiments for details of how to control the terminal.
Therefore, the method provided by the embodiment of the disclosure can generate the setting signal through the setting operation for the terminal screen, and control the terminal to turn off the screen when the parameter of the setting signal meets the setting condition, so as to solve the problem that the screen turning off operation is inconvenient through the power key in the related art, and especially for a large-screen terminal, the screen turning off operation is inconvenient with one hand, and the operation is simple and convenient, and the screen turning off operation can be executed with one hand.
The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
Fig. 2A is a flow chart illustrating another method of terminal control according to an example embodiment; in this embodiment, by using the method provided by the embodiment of the present disclosure, an example of how to determine that the parameter satisfies the setting condition is described with reference to fig. 2B, as shown in fig. 2A, the method includes the following steps 201 and 203:
in step 201, any one of a pressure signal, an inductance signal, a capacitance signal, and a resistance signal for a terminal screen is detected.
In one embodiment, the setting signal may include a pressure signal for the screen, which may be acquired by a pressure sensor disposed below the screen; the setting signal may further include an inductance signal, which may be acquired by an inductance sensor disposed below the screen; the setting signal may further include a capacitance signal, which may be acquired by a capacitance sensor disposed below the screen; the setting signal may further include a resistance signal, which may be acquired by a resistance sensor disposed under the screen.
In step 202, the signal size of the detected setting signal and the signal position on the terminal screen are determined.
In step 203, it is determined that the setting condition is satisfied when the signal magnitude is greater than the first setting threshold and the screen area ratio corresponding to the plurality of signals having consecutive signal positions exceeds the second setting threshold.
In one embodiment, the first set threshold is a threshold set based on the signal magnitude, and the threshold may be a pressure value generated when the user touches the terminal screen based on a smaller force.
In one embodiment, units may be set on the terminal screen, for example, four pixels as a unit, two pixels as a unit, or even one pixel as a unit, and the signal positions may be continuous, for example, in the set units. For example, when one pixel is used as a unit, other pixels in four directions of the upper, lower, left, and right of the pixel are continuous with the pixel.
In an embodiment, the second set threshold may be, for example, 30%, 50%, or the like, that is, the signal size is greater than the first set threshold, and the ratio of the screen area corresponding to a plurality of signals with consecutive signal positions exceeds the second set threshold, and it may be determined that the palm touches the screen, so as to determine that the set condition is satisfied.
In an exemplary scenario, as shown in fig. 2B, each square represents a signal value detected at each pixel, where a first set threshold may be set to 100, so as to determine a signal with a signal size greater than 100, and further determine a signal that is continuous in position in the signal greater than 100, so that a portion encircled by the line in fig. 2B is a portion satisfying a set condition, and if the area ratio of the portion to the terminal screen exceeds a second set threshold, the terminal may control to turn off the screen.
In this embodiment, through the above step 201 and 203, whether the set condition is met is determined according to whether the signal size is greater than the first set threshold and the screen area ratio corresponding to the multiple signals with consecutive signal positions exceeds the second set threshold, so that it is ensured that the screen can be closed by touching the screen with a large area by a palm, the operation of the user is simplified and facilitated, and the user experience is optimized.
Fig. 3 is a flowchart illustrating yet another terminal control method according to an exemplary embodiment; in this embodiment, an exemplary description is given by taking how to determine whether the parameter satisfies the setting condition as an example by using the method provided by the embodiment of the present disclosure, as shown in fig. 3, including the following steps 301-308:
in step 301, any one of a pressure signal, an inductance signal, a capacitance signal, and a resistance signal for a terminal screen is detected.
In step 302, the signal size of the setting signal and the signal position on the terminal screen are determined.
In one embodiment, the signal magnitude may be a corresponding pressure magnitude, inductance magnitude, capacitance magnitude, resistance magnitude, and the like. The signal position may be a position of a set unit corresponding to the signal, for example, a position of a corresponding pixel.
In step 303, among the detected signals, a signal whose signal magnitude exceeds a first set threshold and whose signal magnitude is the largest is determined as a first reference signal.
In one embodiment, the terminal may detect a plurality of signals, and the terminal may directly determine whether the signal with the largest signal magnitude exceeds a first set threshold, thereby determining the first reference signal.
In step 304, at least one first continuous signal that is continuous with the first reference signal in signal position and has a signal magnitude greater than a first set threshold is determined.
In one embodiment, a setting unit is set in the whole area on the terminal screen, and for example, one pixel may be used as one unit, or four pixels may be used as one unit. The first continuous signal is continuous with the first reference signal, that is, the setting unit corresponding to the first continuous signal is continuous with the setting unit corresponding to the first reference signal, for example, when the setting unit is one pixel, the signal in the up, down, left and right directions of the first reference signal is used as the first continuous signal as long as the magnitude exceeds the first setting threshold.
In step 305, the nth reference signal and the nth continuous signal are determined as the n +1 th reference signal.
In one embodiment, the 1 st reference signal and the 1 st continuous signal are determined as the 2 nd reference signal, that is, the 1 st reference signal and the 1 st continuous signal are taken as a whole to determine the 2 nd continuous signal. By analogy, the nth reference signal and the nth continuous signal are determined as the n +1 th reference signal.
In step 306, an n +1 th continuous signal which is continuous in position with the n +1 th reference signal and has a signal size larger than a first set threshold is determined, wherein n ≧ 1.
In one embodiment, the determination of the n +1 th continuous signal is continued after the determination of the n-th reference signal.
In step 307, when the (n + 1) th continuous signal is not present, the set unit number corresponding to the nth reference signal and the nth continuous signal is calculated.
In one embodiment, if there is no (n + 1) th continuous signal, that is, if the magnitude of the signal adjacent to the nth reference signal position is not greater than the first set threshold, the set unit number corresponding to the nth reference signal and the nth continuous signal is calculated.
In step 308, when the set unit number exceeds a second set threshold, it is determined that the parameter satisfies the set condition.
In an embodiment, the second set threshold is also the number of the set units, which represents the ratio of the area of the touch screen to the total area of the screen, and when the number of the set units exceeds the second set threshold, the parameter is determined to satisfy the condition.
In this embodiment, through the steps 301-308, all the signals that are continuous on the screen and have a size larger than the first set threshold can be determined by determining the reference signal and the continuous signal, so as to determine the set unit number corresponding to the signals, and determine whether the parameter satisfies the condition based on the set unit number, so that the user can control the screen to be turned off by touching the screen conveniently.
Fig. 4 is a flow chart illustrating another terminal control method according to an example embodiment; in this embodiment, an exemplary description is given by taking how to determine whether the parameter satisfies the setting condition as an example by using the method provided by the embodiment of the present disclosure, as shown in fig. 4, including the following steps 401 and 405:
in step 401, a sensing signal that the terminal screen approaches an object is detected.
In step 402, a set number of units corresponding to the sensing signal capable of sensing an object is determined.
In one embodiment, the proximity sensor disposed on the terminal can detect that the screen of the terminal approaches to an object, and determine the set unit number corresponding to the sensing signal.
In step 403, it is determined whether the set unit number is greater than a fourth set threshold.
In one embodiment, the fourth set threshold may be set to be half, one third, etc. of the total number of units on the screen.
In step 404, when the set unit number is greater than the fourth set threshold, determining the distance between the terminal screen and the object.
In step 405, when the distance is smaller than a fifth set threshold, it is determined that the parameter satisfies a set condition.
In one embodiment, the fifth set threshold may be set to a shorter distance. For example, if it is detected that the set unit number corresponding to the sensing signal is greater than half of the total unit number, and the distance between the terminal screen and the sensed object is less than a fifth set threshold, it is determined that the set condition is satisfied.
In this embodiment, through the above-mentioned step 401 and 405, it can be determined whether the parameter meets the condition by determining the number of the setting units corresponding to the sensing signal and the distance between the sensed object and the terminal screen, so that the user can control the screen to be closed by approaching the terminal screen to an object, for example, placing the terminal screen toward a desktop.
Fig. 5 is a block diagram illustrating a terminal control apparatus according to an exemplary embodiment, and as shown in fig. 5, the terminal control apparatus may include: a determination module 510 and a control module 520.
A determining module 510 configured to determine a parameter of a setting signal for a terminal screen when the setting signal is detected;
and a control module 520 configured to control the terminal to turn off the screen when the parameter determined by the determination module 510 satisfies a set condition.
Fig. 6 is a block diagram of another terminal control device according to an exemplary embodiment, and as shown in fig. 6, on the basis of the above embodiment shown in fig. 5, in an embodiment, the determining module 510 may include: a first detection submodule 511 and a first determination submodule 512.
A first detection sub-module 511 configured to detect any one of a pressure signal, an inductance signal, a capacitance signal, and a resistance signal with respect to a terminal screen;
a first determining sub-module 512 configured to determine a signal size of the setting signal detected by the first detecting sub-module 511, and a signal position on the terminal screen.
Fig. 7 is a block diagram of another terminal control device according to an exemplary embodiment, as shown in fig. 7, based on the above embodiment shown in fig. 6, in an embodiment, the control module 520 may include: a second determination submodule 521.
And the second determining submodule 521 is configured to determine that the setting condition is satisfied when the signal size is greater than the first set threshold and the screen area ratio corresponding to the plurality of signals with continuous signal positions exceeds a second set threshold.
Fig. 8 is a block diagram of another terminal control device according to an exemplary embodiment, and as shown in fig. 8, on the basis of the above embodiment shown in fig. 6, in an embodiment, the control module 520 may include: a third determination submodule 522, a fourth determination submodule 523, a fifth determination submodule 524, a sixth determination submodule 525, a first calculation submodule 526 and a seventh determination submodule 527.
A third determining submodule 522 configured to determine, as the first reference signal, a signal whose signal magnitude exceeds the first set threshold and whose signal magnitude is the largest, among the detected signals;
a fourth determination submodule 523 configured to determine at least one first continuous signal which is continuous in signal position with the first reference signal determined by the third determination submodule 522 and whose signal magnitude is greater than the first set threshold;
a fifth determination submodule 524 configured to determine the nth reference signal and the nth continuous signal as an n +1 th reference signal;
a sixth determining submodule 525 configured to determine an n +1 th continuous signal which is continuous in position with the n +1 th reference signal determined by the fifth determining submodule 524 and has a signal magnitude greater than the first set threshold, wherein n ≧ 1;
a first calculating submodule 526 configured to calculate a set unit number corresponding to the nth reference signal and the nth continuous signal when the (n + 1) th continuous signal is not present;
a seventh determining submodule 527 configured to determine that the parameter satisfies the setting condition when the setting unit number calculated by the first calculating submodule 526 exceeds the second setting threshold.
Fig. 9 is a block diagram of another terminal control device according to an exemplary embodiment, and as shown in fig. 9, on the basis of the above embodiment shown in fig. 5, in an embodiment, the determining module 510 may include: a second detection submodule 513 and an eighth determination submodule 514.
A second detection submodule 513 configured to detect an induction signal of the terminal screen approaching an object;
an eighth determining submodule 514 configured to determine a set unit number corresponding to the sensing signal that can sense the object detected by the second detecting submodule 513;
the control module 520 may include: a ninth determination submodule 528, a tenth determination submodule 529, and an eleventh determination submodule 5210.
A ninth determination sub-module 528 configured to determine whether the set number of units is greater than a fourth set threshold;
a tenth determination sub-module 529 configured to determine a distance between the terminal screen and the object when the set unit number determined by the ninth determination sub-module 528 is greater than the fourth set threshold;
an eleventh determination submodule 5210 configured to determine that the parameter satisfies the setting condition when the distance determined by the tenth determination submodule 529 is smaller than a fifth setting threshold.
Wherein the set unit number includes a number of pixels.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 10 is a block diagram illustrating a suitable terminal control device according to an example embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or like user device.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 can include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operation at the device 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 1006 provide power to the various components of device 1000. Power components 1006 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of apparatus 1000, sensor assembly 1014 may also detect a change in position of apparatus 1000 or a component of apparatus 1000, the presence or absence of user contact with apparatus 1000, orientation or acceleration/deceleration of apparatus 1000, and a change in temperature of apparatus 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The device 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Wherein the processor 1020 is configured to:
when a setting signal for a terminal screen is detected, determining parameters of the setting signal;
and controlling the terminal to close the screen when the parameters meet the set conditions.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1. A terminal control method, characterized in that the method comprises:
when a setting signal for a terminal screen is detected, determining parameters of the setting signal;
when the parameters meet set conditions, controlling the terminal to close the screen;
the detecting of the setting signal for the terminal screen includes:
detecting any one of a pressure signal, an inductance signal, a capacitance signal and a resistance signal aiming at a terminal screen;
the determining the parameter of the setting signal comprises:
determining the signal size of the detected setting signal and the signal position on the terminal screen;
the parameters meet set conditions, including:
when the signal size is larger than a first set threshold and the screen area proportion corresponding to a plurality of signals with continuous signal positions exceeds a second set threshold, determining that a set condition is met;
the parameters meet set conditions, including:
determining a signal with a signal size exceeding the first set threshold and a maximum signal size as a first reference signal in the detected signals;
determining at least one first continuous signal which is continuous in signal position with the first reference signal and has a signal size larger than the first set threshold;
determining an nth reference signal and an nth continuous signal as an n +1 th reference signal;
determining an n +1 th continuous signal which is continuous in position with the n +1 th reference signal and has a signal size larger than the first set threshold, wherein n ≧ 1;
when the n +1 th continuous signal does not exist, calculating the set unit number corresponding to the n reference signal and the n continuous signal;
when the set unit quantity exceeds a second set threshold value, determining that the parameters meet set conditions;
the set unit number includes the number of pixels.
2. The method according to claim 1, wherein the detecting a setting signal for a terminal screen comprises:
detecting an induction signal of the terminal screen approaching an object;
the determining the parameter of the setting signal comprises:
determining a set unit number corresponding to the sensing signal capable of sensing the object;
the parameters meet set conditions, including:
determining whether the set unit number is greater than a fourth set threshold;
when the set unit quantity is larger than the fourth set threshold, determining the distance between the terminal screen and the object;
and when the distance is smaller than a fifth set threshold value, determining that the parameter meets a set condition.
3. A terminal control apparatus, characterized in that the apparatus comprises:
the terminal comprises a determining module, a judging module and a judging module, wherein the determining module is configured to determine parameters of a setting signal when the setting signal for a terminal screen is detected;
the control module is configured to control the terminal to turn off the screen when the parameters meet set conditions;
the determining module comprises:
a first detection submodule configured to detect any one of a pressure signal, an inductance signal, a capacitance signal, and a resistance signal for a terminal screen;
a first determination sub-module configured to determine a signal size of the detected setting signal and a signal position on the terminal screen;
the control module includes:
the second determining submodule is configured to determine that a set condition is met when the signal size is larger than a first set threshold and the screen area proportion corresponding to a plurality of signals with continuous signal positions exceeds a second set threshold; the control module includes:
a third determining submodule configured to determine, as the first reference signal, a signal of which the signal magnitude exceeds the first set threshold and of which the signal magnitude is the largest, among the detected signals;
a fourth determination submodule configured to determine at least one first continuous signal that is continuous in signal position with the first reference signal and has a signal magnitude greater than the first set threshold;
a fifth determination submodule configured to determine an nth reference signal and an nth continuous signal as an n +1 th reference signal;
a sixth determining sub-module configured to determine an n +1 th continuous signal which is continuous in position with the n +1 th reference signal and has a signal size greater than the first set threshold, wherein n ≧ 1;
a first calculation sub-module configured to calculate a set unit number corresponding to the nth reference signal and the nth continuous signal when the (n + 1) th continuous signal is not present;
a seventh determination submodule configured to determine that a parameter satisfies a setting condition when the set unit number exceeds a second set threshold;
the set unit number includes the number of pixels.
4. The apparatus of claim 3, wherein the determining module comprises:
the second detection submodule is configured to detect an induction signal of the terminal screen approaching to an object;
an eighth determining submodule configured to determine a set unit number corresponding to the sensing signal capable of sensing the object;
the control module includes:
a ninth determination sub-module configured to determine whether the set unit number is greater than a fourth set threshold;
a tenth determination submodule configured to determine a distance between the terminal screen and the object when the set unit number is greater than the fourth set threshold;
an eleventh determination submodule configured to determine that the parameter satisfies a set condition when the distance is smaller than a fifth set threshold.
5. A terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of claim 1 or 2.
6. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of claim 1 or 2.
CN201710755881.1A 2017-08-29 2017-08-29 Terminal control method and device and terminal Active CN107515694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710755881.1A CN107515694B (en) 2017-08-29 2017-08-29 Terminal control method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710755881.1A CN107515694B (en) 2017-08-29 2017-08-29 Terminal control method and device and terminal

Publications (2)

Publication Number Publication Date
CN107515694A CN107515694A (en) 2017-12-26
CN107515694B true CN107515694B (en) 2021-01-29

Family

ID=60724460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710755881.1A Active CN107515694B (en) 2017-08-29 2017-08-29 Terminal control method and device and terminal

Country Status (1)

Country Link
CN (1) CN107515694B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764850B (en) * 2018-07-26 2023-06-20 阿里巴巴集团控股有限公司 Interface display method, parameter assignment method, system and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677633A (en) * 2013-11-22 2014-03-26 小米科技有限责任公司 Screen unlocking method and device and terminal
CN106502383A (en) * 2016-09-21 2017-03-15 努比亚技术有限公司 A kind of information processing method and mobile terminal
CN106681640A (en) * 2016-12-21 2017-05-17 维沃移动通信有限公司 Screen display control method of mobile terminal and mobile terminal
CN106873867A (en) * 2016-12-30 2017-06-20 努比亚技术有限公司 A kind of method of mobile terminal and control screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055144B (en) * 2016-05-24 2018-12-18 北京小米移动软件有限公司 Control method and device, the electronic equipment of touch screen state

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677633A (en) * 2013-11-22 2014-03-26 小米科技有限责任公司 Screen unlocking method and device and terminal
CN106502383A (en) * 2016-09-21 2017-03-15 努比亚技术有限公司 A kind of information processing method and mobile terminal
CN106681640A (en) * 2016-12-21 2017-05-17 维沃移动通信有限公司 Screen display control method of mobile terminal and mobile terminal
CN106873867A (en) * 2016-12-30 2017-06-20 努比亚技术有限公司 A kind of method of mobile terminal and control screen

Also Published As

Publication number Publication date
CN107515694A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
JP6328859B2 (en) Application program switching method, apparatus and device
EP3121701A1 (en) Method and apparatus for single-hand operation on full screen
US20170031557A1 (en) Method and apparatus for adjusting shooting function
EP3309672A1 (en) Method and device for restraining edge touches
US20170060320A1 (en) Method for controlling a mobile terminal using a side touch panel
EP3151117A1 (en) Method and device for delaying information broadcasting
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
EP3232301B1 (en) Mobile terminal and virtual key processing method
CN106802741B (en) Method and device for determining screen edge touch event and mobile terminal
US10318069B2 (en) Method for controlling state of touch screen, and electronic device and medium for implementing the same
EP2921969A1 (en) Method and apparatus for centering and zooming webpage and electronic device
US20170052693A1 (en) Method and device for displaying a target object
CN107168566B (en) Operation mode control method and device and terminal electronic equipment
CN107132983B (en) Split-screen window operation method and device
CN112181265B (en) Touch signal processing method, device and medium
CN108874450B (en) Method and device for waking up voice assistant
CN106325712B (en) Terminal display control method and device and terminal
CN111273979B (en) Information processing method, device and storage medium
CN106445376B (en) Webpage operation method and device
CN114185444A (en) Method and device for preventing mistaken touch of touch screen and storage medium
CN107515694B (en) Terminal control method and device and terminal
CN107832112B (en) Wallpaper setting method and device
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN106990893B (en) Touch screen operation processing method and device
CN107153448B (en) Display module, control method thereof, electronic device and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant