CN106484282B - Equipment control method and device - Google Patents

Equipment control method and device Download PDF

Info

Publication number
CN106484282B
CN106484282B CN201610827518.1A CN201610827518A CN106484282B CN 106484282 B CN106484282 B CN 106484282B CN 201610827518 A CN201610827518 A CN 201610827518A CN 106484282 B CN106484282 B CN 106484282B
Authority
CN
China
Prior art keywords
preset
application program
touch screen
false touch
events
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
CN201610827518.1A
Other languages
Chinese (zh)
Other versions
CN106484282A (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 CN201610827518.1A priority Critical patent/CN106484282B/en
Publication of CN106484282A publication Critical patent/CN106484282A/en
Application granted granted Critical
Publication of CN106484282B publication Critical patent/CN106484282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a device control method and apparatus, the method including: acquiring the number of touch screen events in a preset time length; when the number of the touch screen events in a preset time length is larger than a preset number, determining that the touch screen events are mistaken touch screen events; and controlling the terminal equipment to be switched to a false touch prevention state based on the false touch event. Therefore, according to the technical scheme, whether the mistaken touch events exist or not can be determined by detecting the number of the touch events in a short time, when a large number of touch events exist in the short time, the touch events are determined to be the mistaken touch events, at the moment, the terminal device is controlled to be switched to the mistaken touch preventing state, and unnecessary troubles brought to a user by the mistaken touch events are avoided.

Description

Equipment control method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a device control method and apparatus.
Background
With the development of computer technology, touch screen devices are more and more popular, and more convenience is brought to the life of people. In the related art, in the case where the touch screen device is placed in a pocket of clothes or a backpack, various false touch phenomena caused by friction, such as false unlocking, false phone dialing, etc., often occur, which causes unnecessary troubles to the user.
Disclosure of Invention
In order to solve the above problem, the present disclosure provides an apparatus control method and device.
Specifically, the present disclosure is realized by the following technical solutions:
according to a first aspect of embodiments of the present disclosure, there is provided an apparatus control method, the method including:
acquiring the number of touch screen events in a preset time length;
when the number of the touch screen events in a preset time length is larger than a preset number, determining that the touch screen events are mistaken touch screen events;
and controlling the terminal equipment to be switched to a false touch prevention state based on the false touch event.
In an embodiment, after the determining that the touch screen event is a false touch screen event, the method further includes:
determining at least one application started by the false touch screen event;
closing one or more of the at least one application.
In one embodiment, said shutting down one or more of said at least one application comprises:
determining whether the at least one application program is located in a preset list, wherein the preset list is used for recording the application programs needing to be closed in the false touch prevention state;
and when any application program in the at least one application program is positioned in the preset list, closing the application program needing to be closed in the at least one application program.
In an embodiment, after the determining that the touch screen event is a false touch screen event, the method further includes:
detecting the state of a display screen of the terminal equipment;
and when the display screen is in a bright screen state, performing screen-off processing on the terminal equipment.
In an embodiment, after the control terminal device switches to the false touch prevention state, the method further includes:
determining whether a wearable device bound with the terminal device exists;
and when the wearable equipment bound with the terminal equipment exists, sending a notification message that the terminal equipment is switched to the false touch prevention state to the wearable equipment.
In an embodiment, after the control terminal device switches to the false touch prevention state, the method further includes:
determining the type of the prompting message;
and generating a prompt message consistent with the type and outputting the prompt message, wherein the prompt message is used for switching the terminal equipment to the false touch prevention state and informing a user of the false touch prevention state.
In an embodiment, after the control terminal device switches to the false touch prevention state, the method further includes:
and when the sensor of the preset type detects that the parameter value corresponding to the preset type is greater than the preset threshold value corresponding to the preset type, switching the terminal equipment from the false touch prevention state to a normal working state.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling a device, the apparatus including:
the acquisition module is configured to acquire the number of touch screen events within a preset time length;
the event determining module is configured to determine that the touch screen event is a false touch screen event when the number of the touch screen events acquired by the acquiring module is greater than a preset number;
and the control module is configured to control the terminal equipment to be switched to a false touch prevention state based on the false touch event determined by the event determination module.
In one embodiment, the apparatus further comprises:
a program determining module configured to determine at least one application program turned on by the false touch event determined by the event determining module;
and the program closing module is configured to close one or more application programs in the at least one application program determined by the program determining module.
In one embodiment, the program shutdown module includes:
the determining submodule is configured to determine whether at least one application program determined by the program determining module is located in a preset list, wherein the preset list is used for recording application programs needing to be closed in the false touch prevention state;
and the program closing submodule is configured to close the application program which needs to be closed in the at least one application program under the condition that any application program in the at least one application program is located in the preset list.
In one embodiment, the apparatus further comprises:
the state detection module is configured to detect the state of the display screen of the terminal equipment;
and the screen extinguishing module is configured to extinguish the screen of the terminal equipment under the condition that the state detection module detects that the display screen is in the bright screen state.
In one embodiment, the apparatus further comprises:
a device determination module configured to determine whether a wearable device bound to the terminal device is present;
a message sending module configured to send a notification message that the terminal device is switched to the false touch prevention state to the wearable device when the device determination module determines that the wearable device bound to the terminal device exists.
In one embodiment, the apparatus further comprises:
a message type determination module configured to determine a type of the alert message;
and the message output module is configured to generate and output a prompt message consistent with the type, wherein the prompt message is used for notifying the user of the terminal equipment switching to the false touch prevention state.
In one embodiment, the apparatus further comprises:
the state switching module is configured to switch the terminal device from the false touch prevention state to a normal working state when a preset type of sensor detects that a parameter value corresponding to the preset type is larger than a preset threshold value corresponding to the preset type.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus control device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring the number of touch screen events in a preset time length;
when the number of the touch screen events in a preset time length is larger than a preset number, determining that the touch screen events are mistaken touch screen events;
and controlling the terminal equipment to be switched to a false touch prevention state based on the false touch event.
According to the method and the device, whether the mistaken touch events exist or not can be determined by detecting the number of the touch events in a short time, when a large number of touch events exist in the short time, the touch events are determined to be the mistaken touch events, at the moment, the terminal device is controlled to be switched to the mistaken touch prevention state, and unnecessary trouble brought to a user by the mistaken touch events is avoided.
The embodiment can close the application program started by the mistaken touch event, and reduce the influence (power consumption, flow consumption and the like) caused by the mistakenly started application program.
This embodiment can switch terminal equipment to this condition of mistake proofing state of touching when terminal equipment switches to the mistake proofing state of touching, notifies the user through the wearable equipment who binds mutually to the user in time knows this condition, takes corresponding measure.
The embodiment can control the terminal equipment to be switched from the false touch prevention state to the normal working state when the environment where the terminal equipment is located is detected to change, so that the normal use of a user is not influenced.
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 method of device control according to an exemplary embodiment of the present disclosure;
FIG. 1B is a diagram illustrating an application scenario of the device control method of FIG. 1A according to an exemplary embodiment of the present disclosure;
FIG. 2A is a flow chart illustrating another method of device control according to an exemplary embodiment of the present disclosure;
FIG. 2B is a diagram illustrating an application scenario of the device control method of FIG. 2A according to an exemplary embodiment of the present disclosure;
FIG. 3A is a flow chart illustrating another method of device control according to an exemplary embodiment of the present disclosure;
FIG. 3B is a diagram illustrating an application scenario of the device control method of FIG. 3A according to an exemplary embodiment of the present disclosure;
FIG. 4 is a block diagram of a device control apparatus shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 5 is a block diagram of another appliance control device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 6 is a block diagram of another appliance control device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 7 is a block diagram of another appliance control device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 8 is a block diagram of another appliance control device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 9 is a block diagram of another appliance control device shown in accordance with an exemplary embodiment of the present disclosure;
FIG. 10 is a block diagram of another appliance control device shown in accordance with an exemplary embodiment of the present disclosure;
fig. 11 is a schematic diagram illustrating a configuration for a plant control apparatus according to an exemplary embodiment of the present disclosure.
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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
With the development of computer technology, touch screen devices are more and more popular, and more convenience is brought to the life of people. In the related art, in the case where the touch screen device is placed in a pocket of clothes or a backpack, various false touch phenomena caused by friction, such as false unlocking, false phone dialing, etc., often occur, which causes unnecessary troubles to the user. In order to solve the above problem, the present disclosure provides an apparatus control method and device.
As shown in fig. 1A, fig. 1A is a flow chart illustrating a device control method according to an exemplary embodiment of the present disclosure, which may include the steps of:
in step 101, the number of touch screen events in a preset time duration is obtained.
The touch screen event in this embodiment may include: single point click events, multiple point click events, long press events, slide events, and the like. The preset time duration in this embodiment may be 100 milliseconds, or may be customized by a user, which is not limited in this embodiment.
In step 102, when the number of the touch screen events in the preset time period is greater than the preset number, it is determined that the touch screen event is a false touch screen event.
The preset number in this embodiment may be 5, or may be customized by a user, which is not limited in this embodiment.
For example, if the terminal device detects at least 5 touch screen events within 100 milliseconds, the at least 5 touch screen events are determined as false touch screen events.
In step 103, the terminal device is controlled to switch to a false touch prevention state based on the false touch event.
The terminal device in this embodiment may include: smart phones, tablets, smart watches, and the like.
And when the terminal equipment is in the false touch prevention state, no response is made to any touch screen event.
In an exemplary application scenario, as shown in fig. 1B, the application scenario includes: a user 110, a terminal device 130, a trousers pocket 120 of the user 110 having the terminal device 130 placed therein, and a touch screen event 140 received on a display screen of the terminal device 130. The trousers pocket 120 of the user 110 may sometimes touch the terminal device 130 along with the movement of the user 110, so as to form a touch screen event 140, and when the number of the touch screen events 140 received by the terminal device 130 within a preset time length (e.g., 100 milliseconds) is greater than a preset number (e.g., 5), it is determined that the touch screen event 140 is a false touch screen event, and the terminal device 130 is controlled to switch from a normal operating state to a false touch prevention state.
According to the embodiment, whether the mistaken touch events exist or not can be determined by detecting the number of the touch events in a short time, when a large number of touch events exist in the short time, the touch events are determined to be the mistaken touch events, at the moment, the terminal device is controlled to be switched to the mistaken touch prevention state, and unnecessary troubles brought to a user by the mistaken touch events are avoided.
As shown in fig. 2A, fig. 2A is a flowchart of another device control method according to an exemplary embodiment of the disclosure, in which before a touch screen event within a preset time duration is determined to be a false touch screen event, a terminal device may respond to the touch screen event, that is, based on the false touch screen event, the terminal device may start some applications corresponding to the false touch screen event, and the started applications may consume power, flow, and the like, so that in order to minimize an influence (power consumption, flow consumption, and the like) caused by the started applications, the method may include the following steps:
in step 201, the number of touch screen events in a preset time duration is obtained.
The touch screen event in this embodiment may include: single point click events, multiple point click events, long press events, slide events, and the like. The preset time duration in this embodiment may be 100 milliseconds, and may be customized by a user, which is not limited in this embodiment.
In step 202, when the number of the touch screen events within the preset time period is greater than the preset number, it is determined that the touch screen event is a false touch screen event.
In order to ensure the accuracy of the determination result, different types of sensors may be combined in the present embodiment to determine the false touch event.
When the terminal device is placed in a clothing pocket or bag, the terminal device may be covered by the cloth of the clothing pocket or bag, and based on this, in a possible implementation, the determination of the false touch event may be performed in combination with a distance sensor, where step 202 may include:
and when the number of the touch screen events in the preset time length is larger than the preset number and the distance sensed and detected is smaller than the preset distance, determining that the touch screen event is a mistaken touch screen event.
When the terminal device is placed in a clothing pocket or bag, the light in the clothing pocket or bag is usually dark, and based on this situation, in another possible implementation, the determination of the false touch event may be performed in combination with a light sensor, where step 202 may include:
and when the number of the touch screen events in the preset time length is larger than the preset number and the detected light intensity of the light sensing is smaller than the preset light intensity, determining that the touch screen event is a mistaken touch screen event.
It should be noted that the preset distance and the preset light intensity in this embodiment may be customized by a user, which is not limited in this embodiment.
In step 203, the terminal device is controlled to switch to a false touch prevention state based on the false touch event.
And when the terminal equipment is in the false touch prevention state, no response is made to any touch screen event.
In step 204, at least one application program that is turned on by the false touch event is determined.
In this embodiment, the application started by the screen touch error event may be determined by detecting the application started by the terminal device within the preset time duration.
In step 205, one or more of the at least one application is closed.
In a possible embodiment, the step 205 may include:
and directly closing all the application programs triggered by the mistaken touch screen event.
In another possible embodiment, the application may be selectively closed, in which case, the step 205 may include:
and S1, determining whether at least one application program started by the false touch screen event is in a preset list, wherein the preset list is used for recording the application programs needing to be closed in the false touch prevention state.
The application program to be turned off in this embodiment may be an application program with higher power consumption, such as a flashlight, an application program with more power consumption, such as a video application and an audio application, or an application program with higher tariff, such as a short message application and a call application.
In this embodiment, the purpose of saving electric quantity, traffic or charges can be achieved by closing the application program which is started by the screen touch error event and needs to be closed in the terminal device.
And S2, when any application program in the at least one application program started by the screen touch error event is in the preset list, closing the application program needing to be closed in the at least one application program.
When one application program in at least one application program started by the screen touch error event is positioned in a preset list, closing the application program; and when a plurality of application programs in the at least one application program started by the screen touch error event are positioned in a preset list, closing the plurality of application programs.
In an exemplary application scenario, as shown in fig. 2B, the application scenario includes: table 210 and a preset list 220, where in the table 210, applications APP1, APP3, APP9, and APP10 started by a screen touch error event are recorded, in the preset list 220, applications APP1, APP2, APP3, APP4, APP5, APP6, APP7, APP8, and APP9 that need to be closed are recorded, and the table 210 and the preset list 220 compare and find that the applications that need to be closed in the terminal device are APP1, APP3, and APP9, and at this time, the applications APP1, APP3, and APP9 in the terminal device are closed.
As can be seen from the above embodiments, the embodiment can close the application program started by the false touch event, and reduce the influence (power consumption, flow consumption, etc.) caused by the application program started by the false touch event.
As shown in fig. 3A, fig. 3A is a flowchart of another device control method shown in this disclosure according to an exemplary embodiment, and this implementation may notify a user of a situation that a terminal device is switched to a false touch prevention state, where the method may include the following steps:
in step 301, the number of touch screen events within a preset time duration is obtained.
In step 302, when the number of the touch screen events within the preset time period is greater than the preset number, it is determined that the touch screen event is a false touch screen event.
In step 303, based on the false touch event, the terminal device is controlled to switch to a false touch prevention state.
Since steps 301 to 303 in this embodiment are similar to steps 101 to 103 in the embodiment shown in fig. 1A, this embodiment is not described again.
In step 304, whether a wearable device bound with the terminal device exists is determined, and a notification message that the terminal device is switched to a false touch prevention state is sent to the wearable device when the wearable device bound with the terminal device exists.
The wearable device in this embodiment may include: smart band, smart watch, etc. In this embodiment, the terminal device may control the wearable device to notify the user that the terminal device is switched to the false touch prevention state by means of device vibration, indicator light flashing, and the like after receiving the notification message by sending the notification message to the wearable device.
In an exemplary application scenario, as shown in fig. 3B, the application scenario includes: the system comprises a user 310, a terminal device 330 and a wearable device 350, wherein the terminal device 330 is bound with the wearable device 350, the terminal device 330 is placed in a trouser pocket 320 of the user 310, and a touch screen event 340 is received on a display screen of the terminal device 330. The trousers pocket 320 of the user 310 may touch the terminal device 330 at times along with the movement of the user 310, so as to form a touch screen event 340, when the number of touch screen events 340 received by the terminal device 330 within a preset time period (e.g., 100 milliseconds) is greater than a preset number (e.g., 5), it is determined that the touch screen event 340 is a false touch screen event, the terminal device 330 is controlled to be switched from a normal operating state to a false touch prevention state, and then a notification message is sent to the wearable device 350, so that the wearable device 350 notifies the user 310 that the terminal device 330 is switched to the false touch prevention state through device vibration, indicator light flashing and the like.
It can be seen from the above embodiments that, in the embodiments, when the terminal device is switched to the false touch prevention state, the terminal device can be switched to the false touch prevention state, and the user is notified through the bound wearable device, so that the user can know the situation in time and take corresponding measures.
In another embodiment provided by the present disclosure, the embodiment may be based on the embodiment shown in fig. 1A, and after step 103, the method may further include:
determining the type of the prompting message;
and generating a prompt message consistent with the type and outputting the prompt message, wherein the prompt message is used for switching the terminal equipment to the false touch prevention state and informing the user of the false touch prevention state.
The type of the prompting message in this embodiment may include: the device vibrates or plays a ringtone; when the type of the prompt message is determined to be equipment vibration, the output prompt message is the equipment vibration; and when the type of the prompting message is determined to be the playing ring, outputting the prompting message as the playing ring.
In another embodiment provided by the present disclosure, which may be based on the embodiment shown in fig. 1A, after step 102, the method may further include:
and detecting the state of a display screen of the terminal equipment, and when the display screen is in a bright screen state, performing screen-off processing on the terminal equipment.
The bright screen state in this embodiment may include: and the screen is lightened and unlocked. Because the display screen of terminal equipment can consume certain electric quantity when bright, in addition, when being in the screen unblock state, the screen event is touched in the mistake and the application program is triggered easily and opens, consequently, can be through going out the screen to terminal equipment and handle, reach the purpose of practicing thrift the electric quantity and avoiding the application program to be opened by mistake.
In another embodiment provided by the present disclosure, the embodiment may be based on the embodiment shown in fig. 1A, and after step 103, the method may further include:
and when the sensor of the preset type detects that the parameter value corresponding to the preset type is greater than the preset threshold value corresponding to the preset type, switching the terminal equipment from the false touch prevention state to the normal working state.
The predetermined type of sensor in this embodiment may be a distance sensor or a light sensor.
Under the condition that the preset type of sensor is a distance sensor, the parameter value detected by the distance sensor is a distance, and when the distance is greater than the preset distance, the terminal equipment is switched to a normal working state from a false touch prevention state.
Under the condition that the sensor of the preset type is a light sensor, the parameter value detected by the light sensor is light intensity, and when the light intensity is greater than the preset light intensity, the terminal equipment is switched to a normal working state from a false touch prevention state.
The embodiment can control the terminal equipment to be switched from the false touch prevention state to the normal working state when the environment where the terminal equipment is located is detected to change, so that the normal use of a user is not influenced.
It should be noted that while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
Corresponding to the embodiment of the device control method, the disclosure also provides an embodiment of a device control apparatus.
As shown in fig. 4, fig. 4 is a block diagram of an apparatus for controlling a device shown in the present disclosure according to an exemplary embodiment, which may include:
the obtaining module 410 is configured to obtain the number of touch screen events within a preset time length;
the event determining module 420 is configured to determine that the touch screen event is a false touch screen event when the number of the touch screen events acquired by the acquiring module 410 is greater than a preset number;
and the control module 430 is configured to control the terminal device to switch to the false touch prevention state based on the false touch screen event determined by the event determination module 420.
According to the embodiment, whether the mistaken touch events exist or not can be determined by detecting the number of the touch events in a short time, when a large number of touch events exist in the short time, the touch events are determined to be the mistaken touch events, at the moment, the terminal device is controlled to be switched to the mistaken touch prevention state, and unnecessary troubles brought to a user by the mistaken touch events are avoided.
As shown in fig. 5, fig. 5 is a block diagram of another device control apparatus shown in the present disclosure according to an exemplary embodiment, which may be based on the embodiment shown in fig. 4, and the apparatus may further include:
a program determining module 510 configured to determine at least one application program that is turned on by the false touch event determined by the event determining module 420;
a program shutdown module 520 configured to shutdown one or more of the at least one application determined by the program determination module 510.
As shown in fig. 6, fig. 6 is a block diagram of another device control apparatus shown in the present disclosure according to an exemplary embodiment, where the embodiment may be based on the embodiment shown in fig. 5, and the program shutdown module 520 may include:
a determining submodule 521 configured to determine whether at least one application determined by the program determining module 510 is located in a preset list, wherein the preset list is used for recording applications that need to be closed in the false touch prevention state;
and a program closing sub-module 522 configured to close an application program that needs to be closed in the at least one application program if any application program in the at least one application program is located in the preset list.
As shown in fig. 7, fig. 7 is a block diagram of another device control apparatus shown in the present disclosure according to an exemplary embodiment, which may be based on the embodiment shown in fig. 4, and the apparatus may further include:
a state detection module 710 configured to detect a state of a terminal device display screen;
and the screen-off module 720 is configured to perform screen-off processing on the terminal device in the case that the state detection module 710 detects that the display screen is in the bright screen state.
As shown in fig. 8, fig. 8 is a block diagram of another device control apparatus shown in the present disclosure according to an exemplary embodiment, which may be based on the embodiment shown in fig. 4, and the apparatus may further include:
a device determination module 810 configured to determine whether there is a wearable device bound to the terminal device;
a message sending module 820 configured to send a notification message that the terminal device is switched to the anti-false-touch state to the wearable device if the device determining module 810 determines that the wearable device bound to the terminal device exists.
As shown in fig. 9, fig. 9 is a block diagram of another device control apparatus shown in the present disclosure according to an exemplary embodiment, which may be based on the embodiment shown in fig. 4, and the apparatus may further include:
a message type determination module 910 configured to determine a type of the alert message;
and a message output module 920 configured to generate and output a prompt message consistent with the type, wherein the prompt message is used for notifying the user that the terminal device is switched to the false touch prevention state.
As shown in fig. 10, fig. 10 is a block diagram of another device control apparatus shown in the present disclosure according to an exemplary embodiment, which may be based on the embodiment shown in fig. 4, and the apparatus may further include:
the state switching module 440 is configured to switch the terminal device from the false touch prevention state to the normal operating state when the sensor of the preset type detects that a parameter value corresponding to the preset type is greater than a preset threshold value corresponding to the preset type.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, the present disclosure also provides an apparatus control device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: acquiring the number of touch screen events in a preset time length; when the number of the touch screen events in a preset time length is larger than a preset number, determining that the touch screen events are mistaken touch screen events; and controlling the terminal equipment to be switched to a false touch prevention state based on the false touch event.
As shown in fig. 11, fig. 11 is a schematic structural diagram for a device control apparatus 1100 according to an exemplary embodiment of the present disclosure. For example, the apparatus 1100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, an aircraft, and so forth.
Referring to fig. 11, apparatus 1100 may include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and communications component 1116.
The processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 1102 may include one or more processors 1120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
The memory 1104 is configured to store various types of data to support operation at the device 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 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.
A power component 1106 provides power to the various components of the device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1100.
The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and the 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 1108 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 1100 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 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1100 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
The I/O interface 1112 provides an interface between the processing component 1102 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 1114 includes one or more sensors for providing various aspects of state assessment for the apparatus 1100. For example, the sensor assembly 1114 may detect an open/closed state of the device 1100, the relative positioning of components, such as a display and keypad of the apparatus 1100, the sensor assembly 1114 may also detect a change in position of the apparatus 1100 or a component of the apparatus 1100, the presence or absence of user contact with the apparatus 1100, an orientation or acceleration/deceleration of the apparatus 1100, and a change in temperature of the apparatus 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 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 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1116 is configured to facilitate wired or wireless communication between the apparatus 1100 and other devices. The apparatus 1100 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 1116 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 1116 also 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 1100 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 1104 comprising instructions, executable by the processor 1120 of the apparatus 1100 to perform the method described above 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.
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 (12)

1. An apparatus control method, characterized in that the method comprises:
acquiring the number of touch screen events in a preset time length;
when the number of the touch screen events in a preset time length is larger than a preset number, determining that the touch screen events are mistaken touch screen events;
controlling the terminal equipment to be switched to a false touch prevention state based on the false touch event;
detecting at least one application program started within the preset time length, and determining whether the at least one application program is located in a preset list, wherein the preset list is used for recording the application programs needing to be closed in the false touch prevention state; the applications in the preset list are applications that need to consume one or more of the following resources: electricity, flow, or tariff;
and when any application program in the at least one application program is positioned in the preset list, closing the application program needing to be closed in the at least one application program.
2. The method of claim 1, further comprising, after the determining that the touch screen event is a false touch screen event:
detecting the state of a display screen of the terminal equipment;
and when the display screen is in a bright screen state, performing screen-off processing on the terminal equipment.
3. The method according to claim 1, wherein after the control terminal device switches to the false touch prevention state, the method further comprises:
determining whether a wearable device bound with the terminal device exists;
and when the wearable equipment bound with the terminal equipment exists, sending a notification message that the terminal equipment is switched to the false touch prevention state to the wearable equipment.
4. The method according to claim 1, wherein after the control terminal device switches to the false touch prevention state, the method further comprises:
determining the type of the prompting message;
and generating a prompt message consistent with the type and outputting the prompt message, wherein the prompt message is used for switching the terminal equipment to the false touch prevention state and informing a user of the false touch prevention state.
5. The method according to claim 1, wherein after the control terminal device switches to the false touch prevention state, the method further comprises:
and when the sensor of the preset type detects that the parameter value corresponding to the preset type is greater than the preset threshold value corresponding to the preset type, switching the terminal equipment from the false touch prevention state to a normal working state.
6. An apparatus control device, characterized in that the device comprises:
the acquisition module is configured to acquire the number of touch screen events within a preset time length;
the event determining module is configured to determine that the touch screen event is a false touch screen event when the number of the touch screen events acquired by the acquiring module is greater than a preset number;
the control module is configured to control the terminal equipment to be switched to a false touch prevention state based on the false touch event determined by the event determination module; under the condition of preventing mistaken touch, the terminal equipment does not respond to any touch screen event;
a program determination module configured to detect at least one application program that is started within the preset duration;
the determining submodule is configured to determine whether at least one application program determined by the program determining module is located in a preset list, wherein the preset list is used for recording application programs needing to be closed in the false touch prevention state; the applications in the preset list are applications that consume one or more of the following resources: electricity, flow, or tariff;
and the program closing submodule is configured to close the application program which needs to be closed in the at least one application program under the condition that any application program in the at least one application program is located in the preset list.
7. The apparatus of claim 6, further comprising:
the state detection module is configured to detect the state of the display screen of the terminal equipment;
and the screen extinguishing module is configured to extinguish the screen of the terminal equipment under the condition that the state detection module detects that the display screen is in the bright screen state.
8. The apparatus of claim 6, further comprising:
a device determination module configured to determine whether a wearable device bound to the terminal device is present;
a message sending module configured to send a notification message that the terminal device is switched to the false touch prevention state to the wearable device when the device determination module determines that the wearable device bound to the terminal device exists.
9. The apparatus of claim 6, further comprising:
a message type determination module configured to determine a type of the alert message;
and the message output module is configured to generate and output a prompt message consistent with the type, wherein the prompt message is used for notifying the user of the terminal equipment switching to the false touch prevention state.
10. The apparatus of claim 6, further comprising:
the state switching module is configured to switch the terminal device from the false touch prevention state to a normal working state when a preset type of sensor detects that a parameter value corresponding to the preset type is larger than a preset threshold value corresponding to the preset type.
11. An apparatus control device, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring the number of touch screen events in a preset time length;
when the number of the touch screen events in a preset time length is larger than a preset number, determining that the touch screen events are mistaken touch screen events;
controlling the terminal equipment to be switched to a false touch prevention state based on the false touch event; under the condition of preventing mistaken touch, the terminal equipment does not respond to any touch screen event;
detecting at least one application program started within the preset time length, and determining whether the at least one application program is located in a preset list, wherein the preset list is used for recording the application programs needing to be closed in the false touch prevention state; the applications in the preset list are applications that consume one or more of the following resources: electricity, flow, or tariff;
and when any application program in the at least one application program is positioned in the preset list, closing the application program needing to be closed in the at least one application program.
12. A computer-readable storage medium having computer instructions stored thereon, wherein the instructions, when executed by a processor, perform the operations of any of the methods of claims 1 to 5.
CN201610827518.1A 2016-09-14 2016-09-14 Equipment control method and device Active CN106484282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610827518.1A CN106484282B (en) 2016-09-14 2016-09-14 Equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610827518.1A CN106484282B (en) 2016-09-14 2016-09-14 Equipment control method and device

Publications (2)

Publication Number Publication Date
CN106484282A CN106484282A (en) 2017-03-08
CN106484282B true CN106484282B (en) 2020-02-07

Family

ID=58267488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610827518.1A Active CN106484282B (en) 2016-09-14 2016-09-14 Equipment control method and device

Country Status (1)

Country Link
CN (1) CN106484282B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197107B (en) * 2017-07-31 2020-08-11 北京小米移动软件有限公司 Method and device for processing starting instruction
CN107958273B (en) * 2017-12-15 2021-08-03 北京小米移动软件有限公司 Volume adjusting method and device and storage medium
CN108769420B (en) * 2018-06-05 2019-10-29 钟嵩然 It is a kind of to prevent phone from missing the method dialled and mobile terminal
CN108886737B (en) * 2018-06-26 2020-06-02 北京小米移动软件有限公司 Access Control (AC) limiting method and device
CN110265134B (en) * 2019-06-28 2023-11-21 深圳开立生物医疗科技股份有限公司 Input protection method and device for capacitive touch keys in medical system
CN113721781A (en) * 2020-05-26 2021-11-30 深圳富桂精密工业有限公司 False touch prevention method and electronic device
CN111930255A (en) * 2020-06-17 2020-11-13 浙江联控技术有限公司 Method and device for preventing misoperation of touch panel and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495682A (en) * 2011-11-23 2012-06-13 江苏惠通集团有限责任公司 Touch recognition method, device, spatial mouse and control method thereof
CN102520852A (en) * 2011-11-29 2012-06-27 华为终端有限公司 Control method of mobile equipment screen status and associated mobile equipment
CN103049159A (en) * 2013-01-14 2013-04-17 成都西可科技有限公司 Method for preventing water drop false triggering of capacitive touch screen
CN104850443A (en) * 2015-05-29 2015-08-19 努比亚技术有限公司 Method for shutting down false start-up application program and mobile terminal
CN105630552A (en) * 2015-12-24 2016-06-01 北京金山安全软件有限公司 Method and device for closing function of fast switching application program and electronic equipment
CN105739760A (en) * 2016-01-22 2016-07-06 北京小米移动软件有限公司 Control method and device for anti-false touch mode

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103258171B (en) * 2012-02-20 2016-03-02 中国移动通信集团公司 Prevent the method for mobile terminal touch screen error touch control, device and mobile terminal
CN103235695B (en) * 2013-04-11 2016-09-28 广东欧珀移动通信有限公司 Touch control device prevents method and the device thereof of maloperation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495682A (en) * 2011-11-23 2012-06-13 江苏惠通集团有限责任公司 Touch recognition method, device, spatial mouse and control method thereof
CN102520852A (en) * 2011-11-29 2012-06-27 华为终端有限公司 Control method of mobile equipment screen status and associated mobile equipment
CN103049159A (en) * 2013-01-14 2013-04-17 成都西可科技有限公司 Method for preventing water drop false triggering of capacitive touch screen
CN104850443A (en) * 2015-05-29 2015-08-19 努比亚技术有限公司 Method for shutting down false start-up application program and mobile terminal
CN105630552A (en) * 2015-12-24 2016-06-01 北京金山安全软件有限公司 Method and device for closing function of fast switching application program and electronic equipment
CN105739760A (en) * 2016-01-22 2016-07-06 北京小米移动软件有限公司 Control method and device for anti-false touch mode

Also Published As

Publication number Publication date
CN106484282A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106484282B (en) Equipment control method and device
US10063760B2 (en) Photographing control methods and devices
EP3151117B1 (en) Method and device for delaying information broadcasting
US10610152B2 (en) Sleep state detection method, apparatus and system
CN109361593B (en) Message reminding method, device, mobile terminal and storage medium
US10264085B2 (en) Method and device for presenting push notifications
CN104968007B (en) Testing method and device for intelligent equipment
CN106339168B (en) Screen control method and device
EP3046016A1 (en) Method and apparatus for switching display mode
EP3076745B1 (en) Methods and apparatuses for controlling wireless access point
EP3048526B1 (en) Voice prompting method and apparatus
CN107390932B (en) Edge false touch prevention method and device and computer readable storage medium
EP3246807A1 (en) Method and apparatus for triggering execution of operation instruction
CN106527682B (en) Method and device for switching environment pictures
CN107885418B (en) Terminal, split screen display method and device
CN105979066A (en) Screen lighting-up method and screen lighting-up device
CN107197107B (en) Method and device for processing starting instruction
CN107450950B (en) Method and device for processing starting instruction
CN107734303B (en) Video identification method and device
EP3125514A1 (en) Method and device for state notification
CN106231072A (en) The control method of prompting message, device and terminal unit
CN105786561B (en) Method and device for calling process
CN107809538B (en) Alarm clock reminding method and device and computer readable storage medium
CN104965746B (en) The method and device of quick start
CN104536640B (en) Background picture inspection method and device

Legal Events

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