CN112305955A - Control signal generation method, device, equipment and storage medium - Google Patents

Control signal generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN112305955A
CN112305955A CN201910743643.8A CN201910743643A CN112305955A CN 112305955 A CN112305955 A CN 112305955A CN 201910743643 A CN201910743643 A CN 201910743643A CN 112305955 A CN112305955 A CN 112305955A
Authority
CN
China
Prior art keywords
control signal
generating
touch event
capacitor
disclosure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910743643.8A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910743643.8A priority Critical patent/CN112305955A/en
Publication of CN112305955A publication Critical patent/CN112305955A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R27/00Arrangements for measuring resistance, reactance, impedance, or electric characteristics derived therefrom
    • G01R27/02Measuring real or complex resistance, reactance, impedance, or other two-pole characteristics derived therefrom, e.g. time constant
    • G01R27/26Measuring inductance or capacitance; Measuring quality factor, e.g. by using the resonance method; Measuring loss factor; Measuring dielectric constants ; Measuring impedance or related variables
    • G01R27/2605Measuring capacitance
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Abstract

The embodiment of the disclosure discloses a method, a device, equipment and a storage medium for generating a control signal, wherein the method for generating the control signal is applied to terminal equipment provided with a conductive shell, and comprises the following steps: detecting a touch event of a capacitor-like object touching a conductive housing through a resistor-capacitor circuit connected to the conductive housing; and generating a control signal according to the detected touch event. The control signal generation method, device, terminal and readable medium provided by the embodiments of the present disclosure are used for reducing energy consumption of terminal equipment and improving user interaction experience.

Description

Control signal generation method, device, equipment and storage medium
Technical Field
The present disclosure relates to terminal control technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a control signal.
Background
In the embodiment of the present disclosure, the control signal may be used to control an on-off state of a hardware module of the terminal device, and may also be used to control an on-off state of a software function of the terminal device, for example, the control signal may be used to control turning on and off of the lamp, and for example, the control signal may be used to control turning on and off of a voice recognition function of the smart speaker.
In the prior art, a method for generating a control signal of a terminal device generally includes generating a control signal by pressing a physical key, or generating a control signal by a specific touch gesture acting on a touch screen, or generating a control signal by a specific voice acting on a voice recognition module, and so on.
The defects of the existing control signal generation method at least comprise that the control position of a physical key is limited, and the scientific and technological sense is low; the touch screen or the voice recognition module needs to continuously detect an on/off trigger event, so that the energy consumption of the terminal equipment is high, and specific touch gestures or specific voices need to be manually memorized, so that the terminal equipment is easy to forget.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide a method, an apparatus, a device, and a storage medium for generating a control signal, which are used to reduce energy consumption of a terminal device and improve user interaction experience.
In a first aspect, an embodiment of the present disclosure provides a method for generating a control signal, which is applied to a terminal device configured with a conductive shell, and includes:
detecting a touch event of a capacitor-like object touching a conductive housing through a resistor-capacitor circuit connected to the conductive housing;
and generating a control signal according to the detected touch event.
In a second aspect, an embodiment of the present disclosure provides an apparatus for generating a control signal, including:
the touch event detection module is used for detecting a touch event of a capacitor-like object touching the conductive shell through a resistor-capacitor circuit connected with the conductive shell;
and the control signal generation module is used for generating a control signal according to the detected touch event.
In a third aspect, an embodiment of the present disclosure provides a terminal device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating a control signal according to any embodiment of the present disclosure.
In a fourth aspect, the embodiments of the present disclosure provide a computer storage medium, on which a computer program is stored, which when executed by a processor, implements a method for generating a control signal according to any one of the embodiments of the present disclosure.
According to the method, the device, the equipment and the storage medium for generating the control signal, when a capacitor-like object (such as a human body) touches any position of a conductive shell of the terminal equipment, the capacitance of a resistor-capacitor circuit connected with the conductive shell in the terminal equipment is changed, so that a touch event can be monitored according to the change of the capacitance; and generating a control signal according to the detected touch event so as to control the on-off state of the hardware module or the software function. According to the method, the device, the equipment and the storage medium for generating the control signal, the limitation of the physical key control position is broken, the touch screen or the voice recognition module is not required to continuously detect the on/off trigger event, and meanwhile, specific touch gestures or specific voice is not required to be manually memorized, so that the energy consumption of the terminal equipment is reduced, and the user interaction experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, a brief description will be given below to the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 shows a flowchart of a method for generating a control signal according to a first embodiment of the disclosure;
fig. 2 shows a flowchart of a method for generating a control signal according to a second embodiment of the disclosure;
fig. 3 shows a schematic structural diagram of a device for generating a control signal according to a third embodiment of the present disclosure;
fig. 4 shows a schematic diagram of a hardware structure of a terminal device according to a fourth embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Example one
Fig. 1 shows a flowchart of a method for generating a control signal according to a first embodiment of the present disclosure, which is applicable to a situation of generating a control signal, where the generated control signal may control an on-off state of a hardware module or a software function, for example, may control turning on and off of a lamp, and may also control turning on and off of a voice recognition function of a smart sound box. The method may be implemented by the terminal, and may be implemented by software and/or hardware in the terminal.
As shown in fig. 1, the method for generating a control signal provided in the embodiment of the present disclosure is applied to a terminal device configured with a conductive housing, and includes the following steps:
and S110, detecting a touch event of a capacitor-like object touching the conductive shell through a resistor-capacitor circuit connected with the conductive shell.
Wherein the terminal device is provided with a conductive housing, such as a copper or aluminum metal conductive housing, a nichrome conductive housing, a semiconductor material conductive housing, or the like; the conductive shell can be connected with a Resistor-capacitor circuit (RC circuit) integrated in the terminal device, and specifically can be connected with any polar plate of a capacitor in the RC circuit; the RC circuit is a circuit comprising a resistor and a capacitor which are connected in parallel, and the capacitor in the RC circuit can be charged when the RC circuit is connected with a power supply and can be discharged through the resistor when the RC circuit is disconnected with the power supply; the capacitor-like object can be understood as an isolated conductor connected to the earth, and because the isolated conductor can form a capacitor with the earth at infinity, the isolated conductor connected to the earth can be used as a capacitor-like object, and a common capacitor-like object is a human body, for example.
When the similar capacitance object touches any position of the conductor shell, the capacitance value of the capacitor in the original RC circuit can be changed, so that the charging and discharging processes of the RC circuit are changed, and when the change of the charging and discharging processes of the RC circuit is detected, the touch event that the similar capacitance object touches the conductive shell can be determined.
And S120, generating a control signal according to the detected touch event.
When a touch event is detected, the terminal device can generate a control signal according to the detected touch event to control the on-off state of the hardware module or the software function. Illustratively, when a finger of a user touches the conductive shell, the terminal device detects a touch event of the finger touching any position of the conductive shell through a resistance-capacitance circuit connected with the conductive shell, and generates a control signal according to the touch event. The touch position of the user can be any position of the conductive shell, and compared with a fixed physical key, the touch device is more convenient and faster, and the interaction between the user and the terminal equipment is stronger; in addition, the terminal equipment does not need to enable the touch screen or the voice recognition module to continuously detect the on/off triggering event, and meanwhile, specific touch gestures or specific voice does not need to be manually memorized, so that the energy consumption of the terminal equipment is reduced.
Optionally, generating a control signal according to the detected touch event includes: and generating a control signal according to the touch duration of the detected touch event.
In order to avoid the situation that the control signal is generated when the capacitor-like object touches the conductive shell by mistake, the control signal can be generated according to the touch duration of the detected touch event. For example, the control signal may be generated when the touch duration is within the preset duration range, and the control signal may not be generated when the touch duration is not within the preset duration range.
The product of the resistance value and the capacitance value in the RC circuit is a time constant τ, which can be used to describe the charging and discharging speed, and the smaller the time constant, the faster the charging and discharging speed is. When the capacitor-like object touches any position of the conductor shell, the capacitance value of the capacitor in the RC circuit connected with the conductor shell can be increased, the corresponding time constant tau is increased, namely, the charging and discharging speed is slowed, and the charging and discharging frequency is reduced. Wherein, the touch duration may be determined according to the duration of the decrease in the charging and discharging frequency.
Optionally, the control signal is a control signal for controlling a switching state of a voice recognition function of the terminal device.
Illustratively, when a user touches the conductive shell with a finger, the terminal device detects a touch event of the finger touching any position of the conductive shell through a resistance-capacitance circuit connected with the conductive shell, and generates a control signal according to the touch event to control the on-off state of the voice recognition function. In addition, the control signal may also be a control signal for controlling the on/off state of other software functions, such as a control signal for controlling turning on/off a screen, a control signal for controlling turning on/off an application program, and the like; the control signal may also be a switch state of a hardware module, such as turning on/off a light, a fan or a television, etc.
According to the method for generating the control signal, when a capacitor-like object (such as a human body) touches any position of the conductive shell of the terminal device, the capacitance of a resistor-capacitor circuit connected with the conductive shell in the terminal device changes, so that a touch event can be monitored according to the change of the capacitance; and generating a control signal according to the detected touch event so as to control the on-off state of the hardware module or the software function. According to the method, the device, the equipment and the storage medium for generating the control signal, the limitation of the physical key control position is broken, the touch screen or the voice recognition module is not required to continuously detect the on/off trigger event, and meanwhile, specific touch gestures or specific voice is not required to be manually memorized, so that the energy consumption of the terminal equipment is reduced, and the user interaction experience is improved.
Example two
The present embodiment optimizes the conductive housing based on the above embodiments, and belongs to the same inventive concept as the method for generating the control signal proposed by the above embodiments, and the technical details not described in the present embodiment can be referred to the above embodiments.
Optionally, the conductive housing includes at least two housing partitions, and the housing partitions are not electrically connected to each other; detecting a touch event of a capacitive-like object touching a conductive housing via a resistive-capacitive circuit connected to the conductive housing, comprising: a touch event that a capacitive object touches at least two housing sections is detected by a resistance-capacitance circuit connected in correspondence with the at least two housing sections.
Fig. 2 shows a flowchart of a method for generating a control signal according to a second embodiment of the present disclosure, where the method for generating a control signal according to the second embodiment of the present disclosure includes the following steps:
s210, detecting a touch event that a capacitor-like object touches at least two shell partitions through a resistor-capacitor circuit correspondingly connected with the at least two shell partitions;
and S220, generating a control signal according to the detected touch event.
The conductive shell configured for the terminal equipment can be formed by at least two shell partitions which are not conducted with each other; each shell partition is connected with the corresponding resistance-capacitance circuit, and the resistance-capacitance circuits are independent; when the similar capacitance object touches different shell partitions, the resistance-capacitance circuit corresponding to the touched shell partition can detect the touch event; the touch event touching at least two housing partitions may be a touch event touching one of the at least two housing partitions, or a touch event touching two or more housing partitions at the same time; different control signals can be generated according to different touch events so as to control the on-off states of different hardware modules or software functions.
For example, when the conductive housing comprises housing section 1 and housing section 2, the terminal device may generate a control signal that controls the flashlight to turn on/off when a capacitor-like object touches housing section 1; when the capacitor-like object touches the housing partition 2, the terminal device may generate a control signal for controlling connection/disconnection of the network; when the capacitor-like object simultaneously touches the shell partition 1 and the shell partition 2, the terminal device can generate a control signal for turning on/off the terminal.
On the basis of the embodiment, the conductive shell is optimized, and at least two control signals can be generated by setting at least two shell partitions, so that the generation scheme of the control signals is enriched, and the user experience is improved. In addition, the embodiments of the present disclosure and the method for generating a control signal proposed by the embodiments described above belong to the same inventive concept, and technical details that are not described in detail in the embodiments may be referred to the embodiments described above, and the embodiments have the same beneficial effects as the embodiments described above.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a device for generating a control signal according to a third embodiment of the present disclosure, where the third embodiment of the present disclosure is applicable to a situation of generating a control signal. The control signal generation device provided by the present disclosure can implement the control signal generation method provided by the above-described embodiment.
As shown in fig. 3, the apparatus for generating a control signal in the embodiment of the present disclosure includes:
a touch event detecting module 310, configured to detect a touch event that a capacitor-like object touches the conductive housing through a resistor-capacitor circuit connected to the conductive housing;
the control signal generating module 320 is configured to generate a control signal according to the detected touch event, and control the on-off state of the switching value according to the control signal.
Optionally, the control signal generating module 320 is specifically configured to:
and generating a control signal according to the touch duration of the detected touch event.
Optionally, the conductive housing includes at least two housing partitions, and the housing partitions are not electrically connected to each other; the touch event detecting module 310 is configured to detect a touch event that a capacitor-like object touches at least two housing partitions through a resistor-capacitor circuit correspondingly connected to the at least two housing partitions.
Optionally, the control signal is a control signal for controlling a switching state of a voice recognition function of the terminal device.
The apparatus for generating a control signal according to the embodiment of the present disclosure is the same as the method for generating a control signal according to the embodiment, and technical details that are not described in detail in the embodiment of the present disclosure may be referred to the embodiment, and the embodiment of the present disclosure has the same beneficial effects as the embodiment.
Example four
Fig. 4 shows a schematic diagram of a hardware structure of a terminal device according to a fourth embodiment of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read-Only Memory (ROM) 402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
The terminal provided by the embodiment of the disclosure and the method for displaying the digital handwriting provided by the embodiment belong to the same inventive concept, technical details which are not described in detail in the embodiment of the disclosure can be referred to the embodiment, and the embodiment of the disclosure and the embodiment have the same beneficial effects.
EXAMPLE five
The disclosed embodiments provide a computer storage medium having stored thereon a computer program that, when executed by a processor, implements the method of generating a control signal provided by the above-described embodiments.
It should be noted that the computer storage media described above in this disclosure can be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM) or FLASH Memory (FLASH), an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer storage may be contained in the electronic device; or may exist separately without being assembled into the electronic device.
The computer stores one or more programs that, when executed by the electronic device, cause the electronic device to: detecting a touch event of a capacitor-like object touching the conductive housing through a resistor-capacitor circuit connected with the conductive housing; and generating a control signal according to the detected touch event.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: detecting a touch event of a capacitor-like object touching the conductive housing through a resistor-capacitor circuit connected with the conductive housing; and generating a control signal according to the detected touch event.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a method of generating a control signal, including: detecting a touch event of a capacitor-like object touching a conductive housing through a resistor-capacitor circuit connected to the conductive housing; and generating a control signal according to the detected touch event.
According to one or more embodiments of the present disclosure, a method for generating a control signal further includes: the generating a control signal according to the detected touch event includes: and generating a control signal according to the touch duration of the detected touch event.
According to one or more embodiments of the present disclosure, a method for generating a control signal further includes: the conductive shell comprises at least two shell partitions, and the shell partitions are not communicated with each other; the detecting a touch event of a capacitor-like object touching the conductive housing through a resistor-capacitor circuit connected to the conductive housing includes: detecting a touch event of a capacitor-like object touching the at least two housing sections by a resistance-capacitance circuit correspondingly connected to the at least two housing sections.
According to one or more embodiments of the present disclosure, a method for generating a control signal further includes: the control signal is a control signal for controlling the on-off state of the voice recognition function of the terminal equipment.
According to one or more embodiments of the present disclosure, a control signal generation apparatus includes: the touch event detection module is used for detecting a touch event of a capacitor-like object touching the conductive shell through a resistor-capacitor circuit connected with the conductive shell; and the control signal generation module is used for generating a control signal according to the detected touch event.
According to one or more embodiments of the present disclosure, the control signal generation module is specifically configured to: and generating a control signal according to the touch duration of the detected touch event.
According to one or more embodiments of the present disclosure, the apparatus for generating a control signal further includes: the conductive shell comprises at least two shell partitions, and the shell partitions are not communicated with each other; the touch event detection module is used for detecting a touch event of a capacitor-like object touching the at least two shell partitions through the resistor-capacitor circuits correspondingly connected with the at least two shell partitions.
According to one or more embodiments of the present disclosure, the apparatus for generating a control signal further includes: the control signal is a control signal for controlling the on-off state of the voice recognition function of the terminal equipment.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (10)

1. A method for generating a control signal, which is applied to a terminal device provided with a conductive shell, comprises the following steps:
detecting a touch event of a capacitor-like object touching a conductive housing through a resistor-capacitor circuit connected to the conductive housing;
and generating a control signal according to the detected touch event.
2. The method of claim 1, wherein generating a control signal based on the detected touch event comprises:
and generating a control signal according to the touch duration of the detected touch event.
3. The method of claim 1, wherein the conductive housing comprises at least two housing sections, and wherein the housing sections are not conductive to each other;
the detecting a touch event of a capacitor-like object touching the conductive housing through a resistor-capacitor circuit connected to the conductive housing includes:
detecting a touch event of a capacitor-like object touching the at least two housing sections by a resistance-capacitance circuit correspondingly connected to the at least two housing sections.
4. A method according to any of claims 1-3, characterized in that the control signal is a control signal controlling the switching state of the speech recognition function of the terminal device.
5. An apparatus for generating a control signal, comprising:
the touch event detection module is used for detecting a touch event of a capacitor-like object touching the conductive shell through a resistor-capacitor circuit connected with the conductive shell;
and the control signal generation module is used for generating a control signal according to the detected touch event.
6. The apparatus of claim 5, wherein the control signal generation module is specifically configured to:
and generating a control signal according to the touch duration of the detected touch event.
7. The device of claim 5, wherein the conductive housing comprises at least two housing sections, and wherein the housing sections are non-conductive;
the touch event detection module is used for detecting a touch event of a capacitor-like object touching the at least two shell partitions through the resistor-capacitor circuits correspondingly connected with the at least two shell partitions.
8. The apparatus according to any one of claims 5-7, wherein the control signal is a control signal for controlling the on/off state of a voice recognition function of the terminal device.
9. A terminal device, characterized in that the terminal comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of generating a control signal as claimed in any one of claims 1-4.
10. A computer storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, carries out the method of generating a control signal according to any one of claims 1-4.
CN201910743643.8A 2019-08-13 2019-08-13 Control signal generation method, device, equipment and storage medium Pending CN112305955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910743643.8A CN112305955A (en) 2019-08-13 2019-08-13 Control signal generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910743643.8A CN112305955A (en) 2019-08-13 2019-08-13 Control signal generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112305955A true CN112305955A (en) 2021-02-02

Family

ID=74485533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910743643.8A Pending CN112305955A (en) 2019-08-13 2019-08-13 Control signal generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112305955A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201438722U (en) * 2009-07-17 2010-04-14 深圳创维数字技术股份有限公司 Set-top box
US20110018836A1 (en) * 2009-07-21 2011-01-27 Fih (Hong Kong) Limited Capacitive touch control module and method for making the same
CN202979388U (en) * 2012-11-23 2013-06-05 深圳市思坎普科技有限公司 LED lamp touch control device
CN203090458U (en) * 2013-03-05 2013-07-31 罗刚 Touch control electronic toy
US20140247246A1 (en) * 2012-11-15 2014-09-04 Daryl D Maus Tactile to touch input device
CN106980293A (en) * 2017-04-27 2017-07-25 陈雪燕 A kind of surface is without button application method
CN109866237A (en) * 2019-04-18 2019-06-11 深圳市三宝创新智能有限公司 A kind of arousal function device for intelligent robot

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201438722U (en) * 2009-07-17 2010-04-14 深圳创维数字技术股份有限公司 Set-top box
US20110018836A1 (en) * 2009-07-21 2011-01-27 Fih (Hong Kong) Limited Capacitive touch control module and method for making the same
US20140247246A1 (en) * 2012-11-15 2014-09-04 Daryl D Maus Tactile to touch input device
CN202979388U (en) * 2012-11-23 2013-06-05 深圳市思坎普科技有限公司 LED lamp touch control device
CN203090458U (en) * 2013-03-05 2013-07-31 罗刚 Touch control electronic toy
CN106980293A (en) * 2017-04-27 2017-07-25 陈雪燕 A kind of surface is without button application method
CN109866237A (en) * 2019-04-18 2019-06-11 深圳市三宝创新智能有限公司 A kind of arousal function device for intelligent robot

Similar Documents

Publication Publication Date Title
US9625996B2 (en) Electronic device and control method thereof
US10042596B2 (en) Electronic device and method for controlling the same
EP2813928A1 (en) Method and terminal for data transmission between terminals
CN106843791A (en) Multi-screen display method and device
EP3035548A1 (en) Mobile terminal and method of driving same
US20190354408A1 (en) Method for Preloading Application, Storage Medium, and Terminal
WO2020007012A1 (en) Method and device for displaying search page, terminal, and storage medium
WO2014183655A1 (en) Apparatuses and methods for inputting a uniform resource locator
CN111427531A (en) Prompting method and device and electronic equipment
CN112305955A (en) Control signal generation method, device, equipment and storage medium
CN110865734A (en) Target object display method and device, electronic equipment and computer readable medium
CN111290819A (en) Method and device for displaying operation prompt and electronic equipment
CN110618776B (en) Picture scaling method, device, equipment and storage medium
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN111290692B (en) Picture display method and device, electronic equipment and computer readable medium
CN111273847B (en) Page processing method and device, electronic equipment and storage medium
KR20210038277A (en) Speech control method and apparatus, electronic device, and readable storage medium
CN111488123A (en) Storage space management method and device, storage medium and mobile terminal
CN112306224A (en) Man-machine interaction method and device and electronic equipment
CN112822328A (en) Data display method and device and electronic equipment
CN111310483A (en) Translation method, translation device, electronic equipment and storage medium
CN112083840A (en) Method, device, terminal and storage medium for controlling electronic equipment
CN113253897A (en) Application window switching method, device and equipment
CN112764612A (en) Interaction method, interaction device, electronic equipment and storage medium
CN111290693A (en) Virtual keyboard generation method and device, electronic equipment and computer storage medium

Legal Events

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