CN110690905A - Key scanning control method on touch panel and intelligent control equipment - Google Patents

Key scanning control method on touch panel and intelligent control equipment Download PDF

Info

Publication number
CN110690905A
CN110690905A CN201810725719.XA CN201810725719A CN110690905A CN 110690905 A CN110690905 A CN 110690905A CN 201810725719 A CN201810725719 A CN 201810725719A CN 110690905 A CN110690905 A CN 110690905A
Authority
CN
China
Prior art keywords
touch
keys
scanning
key
touch panel
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.)
Granted
Application number
CN201810725719.XA
Other languages
Chinese (zh)
Other versions
CN110690905B (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.)
Qingdao Hisense Smart Home System Ltd By Share Ltd
Original Assignee
Qingdao Hisense Smart Home System Ltd By Share 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 Qingdao Hisense Smart Home System Ltd By Share Ltd filed Critical Qingdao Hisense Smart Home System Ltd By Share Ltd
Priority to CN201810725719.XA priority Critical patent/CN110690905B/en
Publication of CN110690905A publication Critical patent/CN110690905A/en
Application granted granted Critical
Publication of CN110690905B publication Critical patent/CN110690905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/20Dynamic coding, i.e. by key scanning
    • 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/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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • H03K17/962Capacitive touch switches
    • H03K17/9622Capacitive touch switches using a plurality of detectors, e.g. keyboard

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The application provides a key scanning control method and intelligent control equipment on a touch panel, and the equipment comprises: the touch control device comprises a scanning control circuit and a touch panel comprising a plurality of keys, wherein all the keys on the touch panel are connected to the scanning control circuit in series; a touch panel for detecting a touch operation performed for touching a key; the scanning control circuit is used for controlling the keys on the touch panel to be scanned to determine the keys on which the touch operation is executed when detecting that the touch panel is executed for touching the keys, and controlling the keys on the touch panel to stop being scanned when the received information of the keys on which the touch operation is executed and determined by scanning meets the preset conditions. Because the device does not need to scan each key on the touch panel in the standby state, the scanning is started only when the touch module detects the touch operation, and the scanning operation is stopped when the received key information meets the preset condition, the standby power consumption of the device can be reduced, and the service life of the battery can be prolonged.

Description

Key scanning control method on touch panel and intelligent control equipment
Technical Field
The present disclosure relates to the field of touch panel technologies, and in particular, to a method for controlling key scanning on a touch panel and an intelligent control device.
Background
Touch panels including buttons are increasingly used in intelligent control devices, such as intelligent door locks with touch panels. For the intelligent control equipment with a touch panel in a standby state, if a user needs to respond in time when pressing a key, the intelligent control equipment usually adopts a battery for power supply, and the service time of the battery is a key problem influencing the use experience of the user.
In the related art, an intelligent control device with a touch panel is in a standby state, that is, a main control module is in a sleep mode, in order to ensure that a user presses a key to respond in time, the touch module is required to continuously scan each key on the touch panel to detect whether the key is pressed, if the key is pressed, information of the pressed key is reported to the main control module to wake up the main control module, the main control module processes the information of the key reported by the touch module, until the touch module does not report the information of the pressed key after a certain preset time, the main control module enters the sleep mode again, and the intelligent control device enters the standby state again.
Since the touch module still needs to continuously scan each key on the touch panel even in the standby state of the intelligent control device, the power consumption of the intelligent control device is high, and the service life of the battery is short.
Disclosure of Invention
In view of this, the present application provides a key scanning control method on a touch panel and an intelligent control device, so as to solve the problem that the service life of a battery installed on the intelligent control device is reduced by the existing key scanning control method.
According to a first aspect of embodiments of the present application, there is provided an intelligent control apparatus, the apparatus including: the touch control device comprises a scanning control circuit and a touch panel comprising a plurality of keys, wherein all the keys on the touch panel are connected in series to the scanning control circuit;
the touch panel is used for detecting touch operation executed for touching a key;
the scanning control circuit is used for controlling and scanning the keys on the touch panel to determine the keys on which the touch operation is executed when detecting that the touch panel is executed for touching the keys, and controlling and stopping scanning the keys on the touch panel when the received information of the keys on which the touch operation is executed and determined by scanning meets a preset condition.
Optionally, the scan control circuit may include a main control module and a touch module, the main control module is connected to the touch module, and all keys on the touch panel are connected to the touch module in series;
the touch control module is used for sending a touch notification message to the main control module when detecting that the touch panel is executed for touching the key;
the main control module is used for controlling and scanning the keys on the touch panel to determine the keys on which the touch operation is executed, and controlling to stop scanning the keys on the touch panel when the received information of the keys on which the touch operation is executed, which is determined by scanning, meets a preset condition.
Optionally, the touch module may be further separately connected to each key on the touch panel, and the main control module includes:
the sending unit is used for sending a scanning instruction to the touch module so that the touch module scans each key on the touch panel;
and the receiving unit is used for receiving the information of the key which is determined by scanning and is subjected to the touch operation and sent by the touch module.
Optionally, the touch module is a first type of touch module provided in the intelligent control device; the intelligent control equipment can also comprise a second type of touch control module, the second type of touch control module is connected with the main control module, and the second type of touch control module is also respectively and independently connected with each key on the touch control panel;
the master control module comprises:
the sending unit is used for sending a scanning instruction to the second type touch control module so as to enable the second type touch control module to scan each key on the touch control panel;
and the receiving unit is used for receiving the information of the key which is determined by scanning and is subjected to the touch operation and sent by the second type touch module.
Optionally, the touch module may include:
the stop detection control unit is used for stopping detecting that the touch panel is executed for touch operation of a touch key after sending a touch notification message to the main control module;
the master control module may include:
and the touch module control unit is used for controlling the touch module to start detecting that the touch panel is executed for touching the keys after controlling to stop scanning the keys on the touch panel.
Optionally, the main control module may further include:
the verification unit is specifically used for sequencing the received information of the keys on which the touch operation is executed according to the receiving time from small to large after controlling to stop scanning the keys on the touch panel to obtain a key sequence; querying a database by using the key sequence, wherein the database records the corresponding relation between the key sequence and the operation instruction; and if the key sequence is inquired, executing an operation instruction corresponding to the key sequence.
According to a second aspect of the embodiments of the present application, there is provided a method for controlling key scanning on a touch panel, where the method is applied to an intelligent control device, the intelligent control device includes a scanning control circuit and a touch panel including a plurality of keys, all the keys on the touch panel are connected in series to the scanning control circuit, and the method includes:
when the scanning control circuit detects that the touch panel is executed for touch operation of the touch keys, the scanning control circuit controls to scan each key on the touch panel to determine the key on which the touch operation is executed, and when the received information of the key on which the touch operation is executed, which is determined through scanning, meets a preset condition, the scanning control circuit controls to stop scanning the keys on the touch panel.
Optionally, the scan control circuit includes a main control module and a touch module, and all keys on the touch panel are connected in series to the touch module, and the method may include:
when the touch module detects that the touch panel is executed for touch operation of a touch key, sending a touch notification message to the main control module;
the main control module controls to scan the keys on the touch panel to determine the keys on which the touch operation is executed, and controls to stop scanning the keys on the touch panel when the received information of the keys on which the touch operation is executed, which is determined by scanning, meets a preset condition.
Optionally, the controlling and scanning the key on the touch panel by the main control module to determine the key on which the touch operation is performed may include:
sending a scanning instruction to the touch module so that the touch module scans each key on the touch panel;
and receiving the information of the key which is determined by scanning and is subjected to the touch operation and sent by the touch module.
Optionally, the touch module is a first type of touch module provided in the intelligent control device; the intelligent control equipment also comprises a second type of touch module;
the main control module controls and scans the keys on the touch panel to determine the keys on which the touch operation is performed, and the method may include:
the main control module sends a scanning instruction to the second type of touch control module so that the second type of touch control module scans each key on the touch control panel;
and receiving the information of the key which is determined by scanning and is subjected to the touch operation and sent by the second type of touch module.
Optionally, the method may further include:
after the touch module sends a touch notification message to the main control module, stopping detecting that the touch panel is executed for touch operation of a touch key;
and after the main control module controls to stop scanning the keys on the touch panel, the main control module controls the touch module to start detecting that the touch panel is executed for touching the keys.
Optionally, after the main control module controls to stop scanning the keys on the touch panel, the method may further include:
sequencing the received information of the keys on which the touch operation is executed according to the receiving time from small to large to obtain a key sequence;
querying a database by using the key sequence, wherein the database records the corresponding relation between the key sequence and the operation instruction;
and if the key sequence is inquired, executing an operation instruction corresponding to the key sequence.
Optionally, when the received information of the key on which the touch operation is performed and which is determined by scanning meets a preset condition, controlling to stop scanning the key on the touch panel may include:
when the number of the received information of the keys which are determined to be subjected to the touch operation through scanning is a preset number, controlling to stop scanning the keys on the touch panel; alternatively, the first and second electrodes may be,
and when the information of the key which is determined by scanning and is subjected to the touch operation is received as preset key information, controlling to stop scanning the key on the touch panel.
By applying the embodiment of the application, all keys included in the touch panel on the intelligent control device are connected in series to the scanning control circuit, so that the scanning control circuit can control the keys on the scanning touch panel to determine the keys on which the touch operation is executed when detecting that the touch panel is executed for touching the keys, and control to stop scanning the keys on the touch panel when the received information of the keys on which the touch operation is executed, which is determined by scanning, meets the preset condition. As can be seen from the above description, the intelligent control device does not need to continuously scan each key on the touch panel in the standby state, but only enters the operating state when it is detected that the touch panel is performing the touch operation for touching the keys, starts to scan each key on the touch panel, and immediately stops the scanning operation when the received information of the key on which the touch operation is performed, determined by scanning, meets the preset condition.
Drawings
FIG. 1 is a schematic diagram of a prior art intelligent door lock according to an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram illustrating an intelligent control device according to an exemplary embodiment of the present application;
FIG. 3 is a schematic structural diagram of another intelligent control device shown in the embodiment of FIG. 2;
fig. 4 is a schematic view of a connection structure between a touch module and each key according to the embodiment shown in fig. 3;
fig. 5 is a schematic diagram of a connection structure between the first-type touch module and the second-type touch module and each key according to the embodiment shown in fig. 3;
fig. 6 is a flowchart illustrating an embodiment of a method for controlling key scanning on a touch panel according to an exemplary embodiment of the present application.
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 application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application 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 application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Taking an intelligent door lock with a touch panel as an example, fig. 1 is a schematic structural diagram of an existing intelligent door lock according to an exemplary embodiment of the present application, where the intelligent door lock in fig. 1 includes a touch panel (including 12 keys), a main control module, and a touch module. The touch control module comprises a switch matrix, each key on the touch control panel corresponds to a key switch in the switch matrix, and the touch control module controls and scans each key on the touch control panel through polling of the switch matrix. In order to ensure that the user presses the keys to respond in time, the touch module needs to continuously poll and scan each key through the switch matrix, so that the power consumption of the touch module is always higher in a standby state.
The inventor estimates the battery replacement time of various intelligent door locks on the market according to the standby power consumption of the intelligent door locks, and the battery replacement time is an exemplary battery service time of the intelligent door lock as shown in table 1. As can be seen from table 1, the standby power consumption of various smart door locks in the current market is more than 50uA, and the primary battery needs to be replaced within one year. Therefore, the current consumption of the intelligent door lock in the standby state is high, so that the power consumption is high, and the service life of the battery is short.
Door lock categories A B C D E
Standby power consumption 121.6uA 52.6uA 76.3uA 58.9uA 121.8uA
Service time of battery 9.6 months 13 month 12 month Month of 11.1 8.5 month
TABLE 1
Based on this, all keys on the touch panel are connected in series to serve as one key, so that the intelligent door lock is in a standby state, one key is scanned to detect whether touch operation for touching the key is executed, and when the touch operation is detected, each key is scanned to determine the key on which the touch operation is executed. Because the intelligent door lock is in the standby state, only one key is needed to be scanned, but not all keys, so that the current consumption in the standby state can be reduced, the standby power consumption is reduced, and the service life of a battery can be prolonged.
It will be understood by those skilled in the art that the intelligent control device referred to in the present application refers to a device with a touch panel including keys, and is not limited to the above-mentioned intelligent door lock with a touch panel. The present application is illustrated in detail below with specific examples:
fig. 2 is a schematic structural diagram of an intelligent control device according to an exemplary embodiment of the present application, and as shown in fig. 2, the intelligent control device includes: the touch control device comprises a scanning control circuit and a touch panel (12 keys are listed in fig. 2) comprising a plurality of keys, wherein all the keys on the touch panel are connected in series to the scanning control circuit. The touch panel is used for detecting touch operation executed for touching the key; and the scanning control circuit is used for controlling the keys on the touch panel to be scanned to determine the keys on which the touch operation is executed when detecting that the touch panel is executed for touching the keys, and controlling the keys on the touch panel to stop being scanned when the received information of the keys on which the touch operation is executed and determined by scanning meets the preset condition.
The scanning control circuit detects the touch operation mode and is determined by the attribute of the touch panel, and if the touch panel is a capacitive touch panel, the scanning control circuit can detect the touch operation by detecting the change of the capacitance value. The scanning control circuit can control each key (each key corresponds to a key switch in the switch matrix) on the scanning touch panel through the polling control of the switch matrix.
It can be understood by those skilled in the art that all the keys on the touch panel are connected to the scan control circuit in series, and the series connection mode may be parallel connection or series connection, and fig. 2 illustrates the parallel connection and series connection mode, but the series connection mode is not limited in the present application.
In one example, for controlling to stop the process of scanning the keys on the touch panel when the received information of the keys on which the touch operation is performed, which is determined by scanning, meets a preset condition, the preset condition may include two cases, and the first case is: when the number of the received information of the keys which are determined to be subjected to the touch operation through scanning is a preset number, controlling to stop scanning the keys on the touch panel; the second method is as follows: and when the information of the key which is determined by scanning and is subjected to the touch operation is received as preset key information, controlling to stop scanning the key on the touch panel.
The preset number refers to the preset number of the key digits needing to be input. The preset key information may be a key value of a key, which is used to indicate a flag indicating that the user completes key password input, for example, "+" or "#" may be set as the preset key information as the end flag.
Taking an intelligent control device as an intelligent door lock as an example, as shown in fig. 2, 12 keys are arranged on a touch panel of the intelligent door lock, a switch matrix for scanning the 12 keys is correspondingly arranged in a scanning control circuit, the intelligent door lock is in a standby state, according to the existing key scanning control mode, the scanning control circuit needs to continuously control the opening and closing of each key switch in the switch matrix so as to poll and scan the 12 keys, and according to the key scanning control mode of the application, only one key is scanned, the switch matrix does not need to be controlled, that is, the switch matrix is in a closed state, only when the touch operation is detected, the switch matrix is opened, the opening and closing of each key switch in the switch matrix are controlled, and the 12 keys are polled and scanned. Therefore, the power consumption of the intelligent door lock in the standby state is 1/12 times of the conventional power consumption theoretically. Through tests, the current consumption of the intelligent door lock in the standby state is reduced by more than one time in comparison with the current consumption of the prior art by 20uA-25uA, and the actual power consumption in the standby state is at least 1/2 times of the current consumption in consideration of the influences of leakage current, standby current and other factors of a chip in the intelligent door lock.
It should be noted that the intelligent control device may include a power supply module, an unlock module, and the like, in addition to the touch panel and the scan control circuit.
In this embodiment, since all the keys included in the touch panel on the intelligent control device are connected in series to the scan control circuit, the scan control circuit may control the keys on the touch panel to scan when it is detected that the touch panel is executed for touching the keys, so as to determine the keys on which the touch operation is executed, and control to stop scanning the keys on the touch panel when the received information of the keys on which the touch operation is executed, which is determined by scanning, meets the preset condition. As can be seen from the above description, the intelligent control device does not need to continuously scan each key on the touch panel in the standby state, and only enters the operating state when detecting that the touch panel is performing the touch operation for touching the keys, starts to scan each key on the touch panel, and immediately stops the scanning operation when the received information of the key on which the touch operation is performed, determined by scanning, meets the preset condition.
In an embodiment, fig. 3 is a schematic structural diagram of another intelligent control device according to the embodiment shown in fig. 2, and as shown in fig. 3, the scan control circuit may include a main control module and a touch module, the main control module is connected to the touch module, and all keys on the touch panel are connected to the touch module in series. The touch control module is used for sending a touch notification message to the main control module when detecting that the touch panel is executed for touching the key; and the main control module is used for controlling the keys on the scanning touch panel to determine the keys on which the touch operation is executed, and controlling to stop scanning the keys on the touch panel when the received information of the keys on which the touch operation is executed, which is determined by scanning, meets the preset condition. The touch module and the main control module can be connected through an I2C bus, and send a touch notification message to the main control module in an interrupt mode.
In an example, during the process of the touch module detecting that the touch panel is executed for touching the key in real time, the intelligent control device may be in a standby state all the time, that is, the main control module is in a sleep mode, and when the main control module receives a touch notification message sent by the touch module, the intelligent control device enters a working state from the standby state, that is, the main control module is switched from the sleep mode to an awake mode, and starts to control and scan the key on the touch panel.
In another example, for each key process of the main control module in controlling and scanning the touch panel, in order to ensure that the key is pressed to respond in time, a scanning interval duration, that is, a duration of an interval for each time of completing scanning, may be preset according to practical experience, where a length of time taken by the touch module from detecting a touch operation to sending a touch notification message to the main control module is extremely short and negligible, but the set scanning interval duration cannot be less than a time taken for completing one scanning. For the touch panel on the smart door lock, 12 keys (numbers 0 to 9, #), which takes about 5 milliseconds to scan one key, 60 milliseconds to complete one scan, and about 100 milliseconds to press the key by the user, so that one scan can ensure that the key is pressed to respond in time, and the set scan interval duration needs to be greater than 60 milliseconds and less than 200 milliseconds to press the key twice consecutively, for example, the scan interval duration can be set to 150 milliseconds.
It should be noted that, if the main control module does not receive the scanning result within the preset time, it indicates that the user does not input the complete key password, and the key password input is finished, the main control module may directly control to stop scanning the keys on the touch panel, and prompt the user to re-input the key password in a voice mode or a screen prompting mode.
In an embodiment, fig. 4 is a schematic view of a connection structure between the touch module and each key according to the embodiment shown in fig. 3, as shown in fig. 4, the touch module is further separately connected to each key on the touch panel, that is, each key on the touch panel is separately connected to the touch module through a connector, so that the main control module can scan each key on the touch panel by controlling the touch module, that is, the main control module may include: the sending unit is used for sending a scanning instruction to the touch module so that the touch module scans each key on the touch panel; and the receiving unit is used for receiving the information of the key which is determined by scanning and is subjected to the touch operation and sent by the touch module. Compared with the existing intelligent control equipment, the intelligent control equipment in the embodiment can achieve the purpose of reducing the standby power consumption without adding any hardware chip, so that the implementation cost is low.
For the 12 keys shown in fig. 2, the touch module may be composed of a touch chip having 13 scanning channels, where 12 keys are connected to 1 scanning channel in series for detecting the touch operation performed on the keys, and the other 12 scanning channels are connected to each key on the touch panel for scanning each key respectively to determine the key on which the touch operation is performed.
Based on the above-mentioned intelligent control device shown in fig. 4, when the main control module does not receive the information of the key on which the touch operation is performed, which is determined by scanning, within the preset time period, the process of stopping scanning the key on the touch panel is controlled, the main control module may send a stop instruction to the touch module, and the touch module stops scanning the key on the touch panel after receiving the stop instruction.
In an exemplary scenario, for 12 keys included in the touch panel of the smart door lock, the connector needs to be connected to the 12 keys respectively to connect the 12 keys to the touch module respectively, and in addition, the touch module is also connected to the 12 keys connected in series, so that the touch module has 13 channels, wherein 1 channel is used for detecting the touch operation, and the other 12 channels are used for scanning the 12 keys.
In another embodiment, as shown in fig. 5, which is a schematic view of a connection structure between a first type touch module and a second type touch module and each key according to the embodiment shown in fig. 3 of the present application, the touch module shown in fig. 5 may be a first type touch module provided in an intelligent control device, and is used for detecting that a touch panel is executed for touching the key, the intelligent control device further includes a second type touch module connected to the main control module, and the second type touch module is further separately connected to each key on the touch panel, and is used for scanning each key on the touch panel. Thus, the master control module may include: the sending unit is used for sending a scanning instruction to the second type touch control module so as to enable the second type touch control module to scan each key on the touch control panel; and the receiving unit is used for receiving the information of the key which is determined by scanning and is subjected to the touch operation and sent by the second type touch module.
The first type touch module and the second type touch module can be connected with the main control module through an I2C bus. The first type of touch module may be a low-power consumption single-channel touch module, i.e., may be composed of a touch chip having a single scanning channel. The second type of touch module may be a touch module used in the prior art, and for the 12 keys shown in fig. 2, the second type of touch module may be composed of a touch chip having 12 scanning channels, where the 12 scanning channels are respectively connected to each key on the touch panel for respectively scanning each key to determine the key on which the touch operation is performed.
In the intelligent control device in this embodiment, in the operating state, each key on the touch panel is scanned by the second type of touch module, and in the standby state, the touch operation is detected by the first type of touch module.
Based on the intelligent control device shown in fig. 5, when the device is in a standby state, the second type of touch module may be in a sleep mode, and when a scan instruction is received, the sleep mode is switched to an awake mode, and each key on the touch panel starts to be scanned.
In yet another embodiment, the touch module may include: the touch control device comprises a stop detection control unit, a touch control module and a touch control module, wherein the stop detection control unit is used for stopping detecting that the touch panel is executed for touching the key after sending a touch notification message to the main control module; the master control module may further include: and the touch module control unit is used for controlling the touch module to start detecting that the touch panel is executed for touching the keys after controlling to stop scanning the keys on the touch panel. The touch module stops detecting after detecting the touch operation and starts detecting the touch operation after scanning is finished, so that the power consumption of the intelligent control equipment can be further reduced.
In another embodiment, the main control module may further include a verification unit, configured to, after controlling to stop scanning the keys on the touch panel, sort the received information of the keys on which the touch operation is performed from small to large according to the receiving time to obtain a key sequence, query a database by using the key sequence, where a correspondence between the key sequence and the operation instruction is recorded in the database, and execute the operation instruction corresponding to the key sequence if the key sequence is queried.
Based on the above-mentioned intelligent door lock scenario, it is assumed that a key sequence obtained by sorting information of keys input by a user is 238658, and a corresponding relation between "238658" and a door lock unlocking instruction is stored in the database, so that the corresponding door lock unlocking instruction can be queried in the database, and after the door lock unlocking instruction is executed, a door is opened, so that the user can enter indoors.
Fig. 6 is a flowchart illustrating an embodiment of a key scanning control method on a touch panel according to an exemplary embodiment of the present application, where the method may be applied to the intelligent control device illustrated in fig. 2, and as shown in fig. 6, the key scanning control method on the touch panel includes the following steps:
step 501: when the scanning control circuit detects that the touch panel is executed with the touch operation for touching the key, the scanning control circuit controls the scanning of the key on the touch panel to determine the key on which the touch operation is executed.
Step 502: and when the information of the key which is determined by scanning and is subjected to the touch operation and received by the scanning control circuit meets the preset condition, controlling to stop scanning the key on the touch panel.
In one embodiment, the preset condition includes two cases: the first method is as follows: when the number of the received information of the keys which are determined to be subjected to the touch operation through scanning is a preset number, controlling to stop scanning the keys on the touch panel; the second method is as follows: and when the information of the key which is determined by scanning and is subjected to the touch operation is received as preset key information, controlling to stop scanning the key on the touch panel.
For the processes of step 501 to step 502, the scan control circuit may include a main control module and a touch module, so that when the touch module detects that the touch panel is executed for touching the key, a touch notification message is sent to the main control module; the main control module controls the scanning of the keys on the touch panel to determine the keys on which the touch operation is executed, and controls the scanning of the keys on the touch panel to be stopped when the information of the keys on which the touch operation is executed, which is determined through the scanning, is received as preset key information.
In an embodiment, for the process of the main control module controlling to scan the keys on the touch panel to determine the keys on which the touch operation is performed, the main control module may send a scan instruction to the touch module, so that the touch module scans each key on the touch panel, and then may receive information of the keys on which the touch operation is performed, which is sent by the touch module and determined by the scanning.
In an embodiment, the touch module may be a first type touch module provided in the intelligent control device, and the intelligent control device may further include a second type touch module, so that, for the process of controlling and scanning each key on the touch panel by the main control module to determine the key on which the touch operation is performed, the main control module may send a scan instruction to the second type touch module, so that the second type touch module scans each key on the touch panel, and then may receive information of the key on which the touch operation is performed, which is sent by the second type touch module and determined by the scan.
In an embodiment, after the main control module controls to stop scanning the keys on the touch panel, the received information of the keys on which the touch operation is performed may be sorted from small to large according to the receiving time to obtain a key sequence, and then the key sequence is used to query a database, where a corresponding relationship between the key sequence and an operation instruction is recorded in the database, and if the key sequence is queried, the operation instruction corresponding to the key sequence is executed.
It should be noted that, after sending the touch notification message to the main control module, the touch module may stop detecting that the touch panel is executed for touching the key, and after controlling to stop scanning the key on the touch panel, the main control module may control the touch module to restart detecting that the touch panel is executed for touching the key.
In this embodiment, since all the keys included in the touch panel on the intelligent control device are connected in series to the scan control circuit, the scan control circuit may control the keys on the touch panel to scan when it is detected that the touch panel is executed for touching the keys, so as to determine the keys on which the touch operation is executed, and control to stop scanning the keys on the touch panel when it is determined that the information of the keys on which the touch operation is executed by scanning is the preset key information. As can be seen from the above description, the intelligent control device does not need to continuously scan each key on the touch panel in the standby state, and only when it is detected that the touch panel is executed for touching the keys, the intelligent control device enters the working state to start scanning each key on the touch panel, and when the information of the keys on which the touch operation is executed is the preset key information, the scanning operation is immediately stopped.
The main control module in the embodiment of the application can be realized by a hardware circuit according to the design requirement of an actual circuit. It can be clearly understood by those skilled in the art that for convenience and brevity of description, reference may be made to the foregoing description of the embodiments of the method, and details are not repeated herein.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the embodiments can be implemented by hardware related to program instructions, and the program can be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (13)

1. An intelligent control device, characterized in that the device comprises: the touch control device comprises a scanning control circuit and a touch panel comprising a plurality of keys, wherein all the keys on the touch panel are connected in series to the scanning control circuit;
the touch panel is used for detecting touch operation executed for touching a key;
the scanning control circuit is used for controlling and scanning the keys on the touch panel to determine the keys on which the touch operation is executed when detecting that the touch panel is executed for touching the keys, and controlling and stopping scanning the keys on the touch panel when the received information of the keys on which the touch operation is executed and determined by scanning meets a preset condition.
2. The device of claim 1, wherein the scan control circuit comprises a main control module and a touch module, the main control module is connected to the touch module, and all keys on the touch panel are connected to the touch module in series;
the touch control module is used for sending a touch notification message to the main control module when detecting that the touch panel is executed for touching the key;
the main control module is used for controlling and scanning the keys on the touch panel to determine the keys on which the touch operation is executed, and controlling to stop scanning the keys on the touch panel when the received information of the keys on which the touch operation is executed, which is determined by scanning, meets a preset condition.
3. The device of claim 2, wherein the touch module is further connected to each of the keys of the touch panel separately, and the main control module comprises:
the sending unit is used for sending a scanning instruction to the touch module so that the touch module scans each key on the touch panel;
and the receiving unit is used for receiving the information of the key which is determined by scanning and is subjected to the touch operation and sent by the touch module.
4. The device according to claim 2, wherein the touch module is a first type of touch module provided in the smart control device; the intelligent control equipment further comprises a second type of touch control module, the second type of touch control module is connected with the main control module, and the second type of touch control module is also respectively and independently connected with each key on the touch control panel;
the master control module comprises:
the sending unit is used for sending a scanning instruction to the second type touch control module so as to enable the second type touch control module to scan each key on the touch control panel;
and the receiving unit is used for receiving the information of the key which is determined by scanning and is subjected to the touch operation and sent by the second type touch module.
5. The device of claim 2, wherein the touch module comprises:
the stop detection control unit is used for stopping detecting that the touch panel is executed for touch operation of a touch key after sending a touch notification message to the main control module;
the master control module comprises:
and the touch module control unit is used for controlling the touch module to start detecting that the touch panel is executed for touching the keys after controlling to stop scanning the keys on the touch panel.
6. The device of claim 2, wherein the master module further comprises:
the verification unit is specifically used for sequencing the received information of the keys on which the touch operation is executed according to the receiving time from small to large after controlling to stop scanning the keys on the touch panel to obtain a key sequence; querying a database by using the key sequence, wherein the database records the corresponding relation between the key sequence and the operation instruction; and if the key sequence is inquired, executing an operation instruction corresponding to the key sequence.
7. A key scanning control method on a touch panel is characterized in that the method is applied to an intelligent control device, the intelligent control device comprises a scanning control circuit and a touch panel comprising a plurality of keys, all the keys on the touch panel are connected in series to the scanning control circuit, and the method comprises the following steps:
when the scanning control circuit detects that the touch panel is executed for touch operation of the touch keys, the scanning control circuit controls to scan the keys on the touch panel to determine the keys on which the touch operation is executed, and when the received information of the keys on which the touch operation is executed, which is determined through scanning, meets a preset condition, the scanning control circuit controls to stop scanning the keys on the touch panel.
8. The method of claim 7, wherein the scan control circuit comprises a main control module and a touch module, all keys on the touch panel are connected in series to the touch module, and the method comprises the steps of:
when the touch module detects that the touch panel is executed for touch operation of a touch key, sending a touch notification message to the main control module;
the main control module controls to scan the keys on the touch panel to determine the keys on which the touch operation is executed, and controls to stop scanning the keys on the touch panel when the received information of the keys on which the touch operation is executed, which is determined by scanning, meets a preset condition.
9. The method according to claim 8, wherein the main control module controls scanning of the keys on the touch panel to determine the key on which the touch operation is performed, and the specific steps include:
sending a scanning instruction to the touch module so that the touch module scans each key on the touch panel;
and receiving the information of the key which is determined by scanning and is subjected to the touch operation and sent by the touch module.
10. The method according to claim 8, wherein the touch module is a first type of touch module provided in the smart control device; the intelligent control equipment also comprises a second type of touch module;
the main control module controls and scans the keys on the touch panel to determine the keys on which the touch operation is executed, and the specific steps include:
the main control module sends a scanning instruction to the second type of touch control module so that the second type of touch control module scans each key on the touch control panel;
and receiving the information of the key which is determined by scanning and is subjected to the touch operation and sent by the second type of touch module.
11. The method of claim 8, wherein the method steps further comprise:
after the touch module sends a touch notification message to the main control module, stopping detecting that the touch panel is executed for touch operation of a touch key;
and after the main control module controls to stop scanning the keys on the touch panel, the main control module controls the touch module to start detecting that the touch panel is executed for touching the keys.
12. The method of claim 8, wherein after the main control module controls to stop scanning the keys on the touch panel, the method further comprises:
sequencing the received information of the keys on which the touch operation is executed according to the receiving time from small to large to obtain a key sequence;
querying a database by using the key sequence, wherein the database records the corresponding relation between the key sequence and the operation instruction;
and if the key sequence is inquired, executing an operation instruction corresponding to the key sequence.
13. The method according to claim 7, wherein when the received information of the key on which the touch operation is performed, determined by scanning, meets a preset condition, the method controls to stop scanning the key on the touch panel, and the specific steps include:
when the number of the received information of the keys which are determined to be subjected to the touch operation through scanning is a preset number, controlling to stop scanning the keys on the touch panel; alternatively, the first and second electrodes may be,
and when the information of the key which is determined by scanning and is subjected to the touch operation is received as preset key information, controlling to stop scanning the key on the touch panel.
CN201810725719.XA 2018-07-04 2018-07-04 Key scanning control method on touch panel and intelligent control equipment Active CN110690905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810725719.XA CN110690905B (en) 2018-07-04 2018-07-04 Key scanning control method on touch panel and intelligent control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810725719.XA CN110690905B (en) 2018-07-04 2018-07-04 Key scanning control method on touch panel and intelligent control equipment

Publications (2)

Publication Number Publication Date
CN110690905A true CN110690905A (en) 2020-01-14
CN110690905B CN110690905B (en) 2023-11-14

Family

ID=69106456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810725719.XA Active CN110690905B (en) 2018-07-04 2018-07-04 Key scanning control method on touch panel and intelligent control equipment

Country Status (1)

Country Link
CN (1) CN110690905B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282194A (en) * 2021-05-31 2021-08-20 中微半导体(深圳)股份有限公司 Low-power-consumption touch detection awakening method and device
CN114496599A (en) * 2021-12-31 2022-05-13 浙江慧居智能物联有限公司 Intelligent switch and local linkage control method
CN114706469A (en) * 2022-04-13 2022-07-05 晟矽微电子(南京)有限公司 Awakening method and device of touch key module, electronic equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06131097A (en) * 1992-10-16 1994-05-13 Canon Inc Key input device and method
CN101807927A (en) * 2010-03-19 2010-08-18 青岛海信电器股份有限公司 Touch key scanning method and system
CN201607717U (en) * 2010-02-05 2010-10-13 通泰积体电路股份有限公司 Power-saving multi-key touch switch sensing device
CN102704761A (en) * 2012-06-01 2012-10-03 杭州双华智能家居有限公司 Intelligent lock system supporting multiple authentication modes
CN103257716A (en) * 2013-05-14 2013-08-21 湖南工业大学 Low-power dissipation keyboard and scanning positioning method thereof
CN104598783A (en) * 2014-12-22 2015-05-06 广东欧珀移动通信有限公司 Unlocking method and device of intelligent terminal
CN104850417A (en) * 2014-02-18 2015-08-19 联想(北京)有限公司 Method for information processing and electronic equipment
CN104932705A (en) * 2015-06-26 2015-09-23 张泽 Intelligent electronic lock keyboard, unlocking method thereof and intelligent electronic lock
US20150309610A1 (en) * 2014-04-28 2015-10-29 Qualcomm Incorporated Touch panel scan control
CN105386643A (en) * 2015-12-04 2016-03-09 佛山市汇泰龙智能科技有限公司 Keyboard navigation system and method for intelligent lock
CN105807996A (en) * 2016-03-08 2016-07-27 武汉华星光电技术有限公司 Touch scanning driving method capable of lowering power consumption
CN206021402U (en) * 2016-09-12 2017-03-15 南京欣网通信科技股份有限公司 A kind of off-line cipher lock control device of low-power consumption
CN107327229A (en) * 2017-08-11 2017-11-07 浙江公共安全技术研究院有限公司 A kind of intelligent door lock of low-power consumption
CN107422913A (en) * 2017-07-24 2017-12-01 安徽华米信息科技有限公司 Electronic equipment and its touch-screen control method

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06131097A (en) * 1992-10-16 1994-05-13 Canon Inc Key input device and method
CN201607717U (en) * 2010-02-05 2010-10-13 通泰积体电路股份有限公司 Power-saving multi-key touch switch sensing device
CN101807927A (en) * 2010-03-19 2010-08-18 青岛海信电器股份有限公司 Touch key scanning method and system
CN102704761A (en) * 2012-06-01 2012-10-03 杭州双华智能家居有限公司 Intelligent lock system supporting multiple authentication modes
CN103257716A (en) * 2013-05-14 2013-08-21 湖南工业大学 Low-power dissipation keyboard and scanning positioning method thereof
CN104850417A (en) * 2014-02-18 2015-08-19 联想(北京)有限公司 Method for information processing and electronic equipment
US20150309610A1 (en) * 2014-04-28 2015-10-29 Qualcomm Incorporated Touch panel scan control
CN104598783A (en) * 2014-12-22 2015-05-06 广东欧珀移动通信有限公司 Unlocking method and device of intelligent terminal
CN104932705A (en) * 2015-06-26 2015-09-23 张泽 Intelligent electronic lock keyboard, unlocking method thereof and intelligent electronic lock
CN105386643A (en) * 2015-12-04 2016-03-09 佛山市汇泰龙智能科技有限公司 Keyboard navigation system and method for intelligent lock
CN105807996A (en) * 2016-03-08 2016-07-27 武汉华星光电技术有限公司 Touch scanning driving method capable of lowering power consumption
CN206021402U (en) * 2016-09-12 2017-03-15 南京欣网通信科技股份有限公司 A kind of off-line cipher lock control device of low-power consumption
CN107422913A (en) * 2017-07-24 2017-12-01 安徽华米信息科技有限公司 Electronic equipment and its touch-screen control method
CN107327229A (en) * 2017-08-11 2017-11-07 浙江公共安全技术研究院有限公司 A kind of intelligent door lock of low-power consumption

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
代金龙: "基于VHDL语言和FPGA的电子密码锁", 《中国优秀硕士学位论文全文数据库工程科技Ⅰ辑》, no. 01, pages 024 - 334 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282194A (en) * 2021-05-31 2021-08-20 中微半导体(深圳)股份有限公司 Low-power-consumption touch detection awakening method and device
CN114496599A (en) * 2021-12-31 2022-05-13 浙江慧居智能物联有限公司 Intelligent switch and local linkage control method
CN114496599B (en) * 2021-12-31 2023-09-01 绿碳智能建筑(杭州)有限公司 Intelligent switch and local linkage control method
CN114706469A (en) * 2022-04-13 2022-07-05 晟矽微电子(南京)有限公司 Awakening method and device of touch key module, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110690905B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN110690905B (en) Key scanning control method on touch panel and intelligent control equipment
EP3144835A1 (en) Fingerprint recognition-based terminal and method and system for logging in to same in stand-by state
CN102779007B (en) The withdrawal control method of a kind of terminal dormancy mode and terminal
CN105208008A (en) Fingerprint-identification-based account logging-in method and apparatus, and terminal
CN105446143B (en) information processing method and electronic equipment
CN105320924A (en) Electronic device and fingerprint identification device control method
CN105589654A (en) Pressure sensor based mobile terminal unlocking method and system
CN103064624A (en) Touch terminal and screen activation method and system thereof
CN105138272B (en) A kind of the key activation control device and its method of touch screen
CN102624979A (en) Key unlocking method based on mobile phone and mobile phone
CN104866226A (en) Terminal device and method for controlling same
CN102867348A (en) Switching control system of computer
CN107545633B (en) Message transmission method and wireless intelligent door lock
CN101366007A (en) Method, computer program product and computer system for controlling execution of an interruption routine
US10810287B2 (en) Method and apparatus for unlocking terminal screen
CN111782036A (en) Input method, input device, electronic equipment and storage medium
CN105491242A (en) Mobile communication terminal, control method and control device thereof
CN101539839B (en) Electronic device including touch sensitive input surface and method of determining user-selected input
CN104699535B (en) A kind of information processing method and electronic equipment
CN103019607A (en) Gesture screen locking method of touch mobile terminal, and mobile terminal
CN109992079A (en) Terminal device and control method applied to terminal device
CN103019605A (en) Gesture shutdown method of touch intelligent terminal, and intelligent terminal
CN110751752A (en) Door lock control method and device
CN101510239B (en) Information processing system and information processing method
CN204926091U (en) Fingerprint button device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 266061 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Applicant after: Qingdao Hisense Smart Life Technology Co.,Ltd.

Address before: 266061 Songling Road, Laoshan District, Qingdao, Shandong Province, No. 399

Applicant before: QINGDAO HISENSE SMART HOME SYSTEMS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant