[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107682101B - Noise detection method and device and electronic equipment - Google Patents

Noise detection method and device and electronic equipment Download PDF

Info

Publication number
CN107682101B
CN107682101B CN201710875746.0A CN201710875746A CN107682101B CN 107682101 B CN107682101 B CN 107682101B CN 201710875746 A CN201710875746 A CN 201710875746A CN 107682101 B CN107682101 B CN 107682101B
Authority
CN
China
Prior art keywords
signal threshold
signal
key signal
key
threshold value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710875746.0A
Other languages
Chinese (zh)
Other versions
CN107682101A (en
Inventor
唐矩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710875746.0A priority Critical patent/CN107682101B/en
Publication of CN107682101A publication Critical patent/CN107682101A/en
Application granted granted Critical
Publication of CN107682101B publication Critical patent/CN107682101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/345Interference values

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Noise Elimination (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure relates to a noise detection method and device and an electronic device. The noise detection method comprises the following steps: when the key signal transmitter does not transmit a signal, detecting a key signal received by the key signal receiver; and determining that interference noise exists based on the relationship between the key signal and a preset key signal threshold. According to the technical scheme, when the key signal emitter does not emit signals, the key signals received by the key signal receiver are detected, and the key signals are compared with the preset key signal threshold value, whether interference noise signals exist or not is determined, whether the keys are in a strong interference environment or not is determined, anti-interference adjustment can be timely made for interference, the problem that the keys are easily triggered by mistake due to interference noise in the related technology is solved, and the probability of key false triggering is reduced.

Description

Noise detection method and device and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a noise detection method and apparatus, and an electronic device.
Background
Along with the development of intelligent terminal, the terminal of large screen, narrow frame receives more and more favor owing to can bring better visual experience. However, the narrower the frame, the shorter the distance between the antenna and the terminal key, so that the antenna may cause interference to the key signal, and the shorter the distance, the more serious the interference. In addition, noise is generated when the terminal is in a charged state, when a game or video is played, or when an arithmetic function is executed.
In the related art, in some occasions with large environmental noise, instantaneous noise may exceed a key threshold due to antenna interference and other noise interference, so that a function of a key is triggered by mistake, unnecessary power consumption is generated, and user experience is poor.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a noise detection method, apparatus, and electronic device, so as to determine whether interference noise exists and effectively avoid false triggering caused by the interference noise.
According to a first aspect of the embodiments of the present disclosure, there is provided a noise detection method, including:
when the key signal transmitter does not transmit a signal, detecting a key signal received by the key signal receiver;
and determining that interference noise exists based on the relationship between the key signal and a preset key signal threshold.
In an embodiment, the determining that the interference noise exists based on a relationship between the key signal and a preset key signal threshold includes:
determining that a first noise signal exists when the key signal is greater than or equal to the key signal threshold;
and when the key signal is smaller than the key signal threshold value, determining that a second noise signal exists, wherein the first noise signal is larger than the second noise signal.
In an embodiment, after the determining that the first noise signal is present, the method further comprises:
and setting the key signal threshold value as a second signal threshold value from the current first signal threshold value, wherein the second signal threshold value is higher than the first signal threshold value.
In an embodiment, the setting the key signal threshold from the current first signal threshold to the second signal threshold includes:
reading preset percentages;
calculating the second signal threshold based on the percentage and the first signal threshold;
and setting the key signal threshold value as the calculated second signal threshold value from the current first signal threshold value.
In an embodiment, the setting the key signal threshold from the current first signal threshold to the second signal threshold includes:
determining an application program currently using the antenna;
reading the corresponding relation between the application program and the signal threshold, and determining the signal threshold corresponding to the current application program as a second signal threshold;
and setting the key signal threshold value from the current first signal threshold value to the determined second signal threshold value.
In an embodiment, the setting the key signal threshold from the current first signal threshold to the second signal threshold includes:
determining the type of the current terminal;
reading the corresponding relation between the type of the terminal and a signal threshold, and determining the signal threshold corresponding to the type of the current terminal as a second signal threshold;
and setting the key signal threshold value from the current first signal threshold value to the determined second signal threshold value.
In an embodiment, the method further comprises:
when the key signal emitter emits signals, determining a current key signal threshold;
and when the current key signal threshold is the second signal threshold, setting the key signal threshold as the first signal threshold.
In one embodiment, the detection phase of the key signal emitter not emitting signals and the scanning phase of the key signal emitter emitting signals are alternated.
According to a second aspect of embodiments of the present disclosure, there is provided a noise detection apparatus, the apparatus comprising:
a detection module configured to detect a key signal received by the key signal receiver when the key signal transmitter does not transmit a signal;
a first determination module configured to determine that interference noise exists based on a relationship between the key signal and a preset key signal threshold.
In one embodiment, the first determining module comprises:
a first determination submodule configured to determine that a first noise signal is present when the key signal is greater than or equal to the key signal threshold;
a second determination submodule configured to determine that a second noise signal is present when the key signal is less than the key signal threshold, the first noise signal being greater than the second noise signal.
In one embodiment, the first determining module further comprises:
the setting submodule is configured to set the key signal threshold to a second signal threshold from a current first signal threshold, and the second signal threshold is higher than the first signal threshold.
In one embodiment, the setting sub-module includes:
a first reading unit configured to read a preset percentage;
a calculation unit configured to calculate the second signal threshold based on the percentage and the first signal threshold;
a first setting unit configured to set a key signal threshold as the calculated second signal threshold from a current first signal threshold.
In one embodiment, the setting sub-module includes:
a first determination unit configured to determine an application program currently using an antenna;
a second reading unit configured to read a correspondence relationship between the application program and the signal threshold, and determine the signal threshold corresponding to the current application program as a second signal threshold;
and the second setting unit is configured to set the key signal threshold value as the determined second signal threshold value from the current first signal threshold value.
In one embodiment, the setting sub-module includes:
a second determination unit configured to determine a type of the current terminal;
a third reading unit configured to read a correspondence between a type of a terminal and a signal threshold, and determine the signal threshold corresponding to the type of the current terminal as a second signal threshold;
and the third setting unit is configured to set the key signal threshold value as the determined second signal threshold value from the current first signal threshold value.
In one embodiment, the apparatus further comprises:
a second determination module configured to determine a current key signal threshold when the key signal transmitter transmits a signal;
a setting module configured to set the key signal threshold as the first signal threshold when the current key signal threshold is the second signal threshold.
In one embodiment, the detection phase of the key signal emitter not emitting signals and the scanning phase of the key signal emitter emitting signals are alternated.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the key signal transmitter does not transmit a signal, detecting a key signal received by the key signal receiver;
and determining that interference noise exists based on the relationship between the key signal and a preset key signal threshold.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
when the key signal transmitter does not transmit a signal, detecting a key signal received by the key signal receiver;
and determining that interference noise exists based on the relationship between the key signal and a preset key signal threshold.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the electronic equipment in the embodiment of the disclosure can determine whether an interference noise signal exists by detecting the key signal received by the key signal receiver and comparing the key signal with a preset key signal threshold value when the key signal transmitter does not transmit the signal, thereby determining whether the key is in a strong interference environment, so that anti-interference adjustment can be timely made for interference, the problem that the key is easily triggered by mistake due to interference noise in the related art is solved, and the probability of key false triggering is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1A is a flow chart illustrating a method of noise detection according to an example embodiment.
FIG. 1B is a scene diagram illustrating a method of noise detection according to an example embodiment.
FIG. 1C is a scene diagram illustrating another noise detection method according to an example embodiment.
FIG. 2 is a flow chart illustrating another method of noise detection according to an example embodiment.
FIG. 3 is a flow chart illustrating another method of noise detection according to an example embodiment.
FIG. 4 is a flow chart illustrating another method of noise detection according to an example embodiment.
Fig. 5 is a block diagram illustrating a noise detection apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating another noise detection apparatus according to an example embodiment.
Fig. 7 is a block diagram illustrating another noise detection apparatus according to an example embodiment.
Fig. 8 is a block diagram illustrating another noise detection apparatus according to an example embodiment.
Fig. 9 is a block diagram illustrating another noise detection apparatus according to an example embodiment.
Fig. 10 is a block diagram illustrating another noise detection apparatus according to an example embodiment.
Fig. 11 is a block diagram illustrating another noise detection apparatus according to an example embodiment.
Fig. 12 is a block diagram illustrating a suitable noise detection apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
FIG. 1A is a flow diagram illustrating a noise detection method according to an exemplary embodiment, and FIG. 1B is a scene diagram illustrating a noise detection method according to an exemplary embodiment; the noise detection method can be applied to a terminal, and the terminal in the disclosure can be any intelligent terminal with an internet access function, for example, a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and the like can be embodied.
The terminal can access the router through the wireless local area network and access the server on the public network through the router. As shown in fig. 1A, the noise detection method includes the following steps 101-102:
in step 101, when the key signal transmitter does not transmit a signal, the key signal received by the key signal receiver is detected.
In an embodiment, for the mutual capacitance type key, in the scanning stage of normal operation, the key signal transmitter Tx sensor transmits a signal at a certain frequency, and correspondingly, the key signal receiver Rx sensor receives the signal, so as to trigger the key to implement a corresponding function.
In the embodiment of the present disclosure, a detection phase is added for the key signal transmitter, and the scanning phase and the detection phase are alternately performed in a set time period, for example, the scanning phase lasts for a first time period, then the detection phase lasts for a second time period, and then the scanning phase is performed again.
In one embodiment, theoretically, when the key signal transmitter does not transmit a signal, the key signal receiver should not detect a signal, and thus if a signal is detected at the key signal receiver, it can be determined that the interference noise signal is currently present.
In step 102, it is determined that interference noise exists based on a relationship between the key signal and a preset key signal threshold.
In one embodiment, a key signal threshold is set for the detection phase, and then the presence of interference noise is determined based on the relationship between the key signal received by the key signal receiver and the key signal threshold.
For example, a key signal greater than or equal to a key signal threshold may determine that a first noise signal is present, and if the key signal is less than the key signal threshold, a second noise signal may be determined to be present. It is apparent that the first noise signal is larger than the second noise signal. For the second noise signal, it is negligible in the embodiment of the present disclosure because it is small. For the first noise signal, since it is large, it may cause false triggering of the key, so the key signal threshold may be adjusted when the first noise signal is detected.
In an exemplary scenario, as shown in fig. 1B and fig. 1C, a smartphone with mutually-compatible keys is taken as an example for illustration, and in the scenario shown in fig. 1B and fig. 1C, the smartphone is included as a terminal.
The key of the smart phone is a mutual-capacitance key, that is, the key comprises a Tx transmitter and an Rx receiver, wherein the Tx transmitter enters a detection stage of a set time period after a scanning stage of the set time period, the Tx transmitter transmits a signal at a certain frequency in the scanning stage, and the Rx receiver detects a received signal; in the detection phase, the Tx transmitter does not transmit a signal, and the Rx receiver continues to detect the received key signal. And comparing the received key signal with a preset key signal threshold, and determining that interference noise exists when the key signal is greater than or equal to the key signal threshold.
Please refer to the following embodiments for details of how to detect noise.
Therefore, according to the method provided by the embodiment of the disclosure, when the key signal emitter does not emit a signal, the key signal received by the key signal receiver is detected, and the key signal is compared with the preset key signal threshold value, so as to determine whether an interference noise signal exists, and determine whether the key is in a strong interference environment, so that anti-interference adjustment can be timely made for interference, the problem that the key is easily triggered by mistake due to interference noise in the related art is solved, and the probability of key false triggering is reduced.
The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
FIG. 2 is a flow diagram illustrating another method of noise detection in accordance with an exemplary embodiment; in this embodiment, an example of how to adjust the key signal threshold is described by using the above method provided in the embodiment of the present disclosure, as shown in fig. 2, the method includes the following steps:
in step 201, the preset percentage is read.
In one embodiment, the terminal has a percentage, e.g. 30%, 50%, pre-stored therein for calculating the second signal threshold.
In step 202, a second signal threshold is calculated based on the percentage and the first signal threshold.
In an embodiment, the second signal threshold is higher than the first signal threshold, and the second signal threshold may be calculated by increasing a corresponding percentage based on the first signal threshold.
In step 203, the key signal threshold is set from the current first signal threshold to the calculated second signal threshold.
In an embodiment, the key signal threshold is set to the second signal threshold calculated in the previous step.
In the embodiment of the present disclosure, through the above step 201 and 203, the second signal threshold may be calculated based on a preset percentage, which is simple and easy to operate, wherein the percentage may be set based on an empirical value.
Fig. 3 is a flowchart illustrating another method of controlling a terminal key according to an exemplary embodiment; in this embodiment, the method provided by the embodiment of the present disclosure is used to exemplarily explain how to set the key signal threshold from the current first signal threshold to the second signal threshold, as shown in fig. 3, including the following steps 301 and 303:
in step 301, the application currently using the antenna is determined.
In one embodiment, different APPs use antennas, and the interference caused by the different APPs is different. For example, the interference signal generated by the antenna used in the call process is different from the interference signal generated by the navigation APP using the antenna.
In an embodiment, the terminal obtains the magnitude of interference signals caused in different APP using processes based on experience in advance, and sets corresponding key signal thresholds respectively based on different interference signals, and stores the corresponding key signal thresholds correspondingly.
In step 302, the corresponding relationship between the application program and the signal threshold is read, and the signal threshold corresponding to the current application program is determined as the second signal threshold.
In an embodiment, the terminal reads a pre-stored correspondence between an APP and a signal threshold to determine a second signal threshold corresponding to the current APP.
In step 303, the key signal threshold is set from the current first signal threshold to the second signal threshold.
In the embodiment of the present disclosure, through the above step 301 and step 303, the second signal threshold corresponding to the current APP may be determined based on the corresponding relationship between the preset APP and the signal threshold, and this way can obtain a more accurate second signal threshold, so as to effectively avoid the interference signal for different APPs.
Fig. 4 is a flowchart illustrating another method of controlling a terminal key according to an exemplary embodiment; in this embodiment, the method provided by the embodiment of the present disclosure is used to exemplarily explain how to set the key signal threshold from the current first signal threshold to the second signal threshold, as shown in fig. 4, including the following steps 401 and 403:
in step 401, the type of the current terminal is determined.
In one embodiment, the terminals are different, and the antennas thereof are different, for example, the positions of the antennas may be different, and the interference suffered by the keys at different positions is different; for another example, the thickness of the cover glass also affects the setting of the signal threshold, when the cover glass is thin, the signal is strong, and the signal threshold can be set to be high; when the cover glass is thick, the signal is weak, and the signal threshold can be set lower.
In one embodiment, based on experience, various types of terminal correspondence with signal thresholds may be stored in the terminal.
In step 402, the corresponding relationship between the type of the terminal and the signal threshold is read, and the signal threshold corresponding to the type of the current terminal is determined as the second signal threshold.
In an embodiment, the terminal determines the second signal threshold by reading a pre-stored correspondence between the terminal type and the signal threshold.
In step 403, the key signal threshold is set from the current first signal threshold to the second signal threshold.
In the embodiment of the present disclosure, through the steps 401 and 403, the second signal threshold corresponding to the current terminal type may be determined based on the preset corresponding relationship between the terminal type and the signal threshold, and the second signal threshold obtained in this way better conforms to the respective characteristics of the terminals, so as to effectively avoid the interference signal for different types of terminals.
In the above embodiment, when the terminal detects that the antenna function is turned off, the current signal threshold may be set from the second signal threshold to the first signal threshold, where the first signal threshold is the default signal threshold.
Fig. 5 is a block diagram illustrating a noise detection apparatus according to an exemplary embodiment, as shown in fig. 5, the noise detection apparatus including: a detection module 510 and a first determination module 520.
A detection module 510 configured to detect a key signal received by the key signal receiver when the key signal transmitter does not transmit a signal;
a first determining module 520 configured to determine that interference noise exists based on a relationship between the key signal detected by the detecting module 510 and a preset key signal threshold.
Fig. 6 is a block diagram of another noise detection apparatus according to an exemplary embodiment, and as shown in fig. 6, based on the embodiment shown in fig. 5, in an embodiment, the first determining module 520 may include: a first determination submodule 521 and a second determination submodule 522.
A first determining submodule 521 configured to determine that a first noise signal exists when the key signal is greater than or equal to the key signal threshold;
a second determination submodule 522 configured to determine that a second noise signal is present when the key signal is less than the key signal threshold, the first noise signal being greater than the second noise signal.
Fig. 7 is a block diagram of another noise detection apparatus according to an exemplary embodiment, and as shown in fig. 7, based on the embodiment shown in fig. 6, in an embodiment, the first determining module 520 further includes: a setting sub-module 523.
The setting submodule 523 is configured to set the key signal threshold from the current first signal threshold to a second signal threshold, where the second signal threshold is higher than the first signal threshold.
Fig. 8 is a block diagram of another noise detection apparatus according to an exemplary embodiment, and as shown in fig. 8, on the basis of the embodiment shown in fig. 7, in an embodiment, the setting sub-module 523 includes: a first reading unit 5231, a calculation unit 5232, and a first setting unit 5233.
A first reading unit 5231 configured to read preset percentages;
a calculation unit 5232 configured to calculate the second signal threshold based on the percentage and the first signal threshold;
a first setting unit 5233 configured to set the key signal threshold from the current first signal threshold to the calculated second signal threshold.
Fig. 9 is a block diagram of another noise detection apparatus according to an exemplary embodiment, and as shown in fig. 9, on the basis of the above-mentioned embodiment shown in fig. 7, in an embodiment, the setting sub-module 523 includes: a first determination unit 5234, a second reading unit 5235, and a second setting unit 5236.
A first determination unit 5234 configured to determine an application program currently using an antenna;
a second reading unit 5235 configured to read the correspondence relationship of the application program and the signal threshold, and determine the signal threshold corresponding to the current application program determined by the first determining unit 5234 as a second signal threshold;
a second setting unit 5236 configured to set the key signal threshold to the second signal threshold determined by the second reading unit 5235 from the current first signal threshold.
Fig. 10 is a block diagram of another noise detection apparatus according to an exemplary embodiment, and as shown in fig. 10, on the basis of the embodiment shown in fig. 7, in an embodiment, the setting sub-module 523 includes: a second determination unit 5237, a third reading unit 5238, and a third setting unit 5239.
A second determining unit 5237 configured to determine the type of the current terminal;
a third reading unit 5238 configured to read the correspondence relationship between the type of the terminal and the signal threshold, and determine the signal threshold corresponding to the type of the current terminal determined by the second determining unit 5237 as the second signal threshold;
a third setting unit 5239 configured to set the key signal threshold from the current first signal threshold to the second signal threshold determined by the third reading unit 5238.
Fig. 11 is a block diagram of another noise detection apparatus according to an exemplary embodiment, and as shown in fig. 11, on the basis of the above embodiment shown in fig. 7, in an embodiment, the apparatus may further include: a second determination module 530 and a setup module 540.
A second determining module 530 configured to determine a current key signal threshold when the key signal transmitter transmits a signal;
a setting module 540 configured to set the key signal threshold as the first signal threshold when the current key signal threshold is the second signal threshold.
In the above embodiment, the detection phase in which the key signal transmitter does not transmit a signal alternates with the scanning phase in which the key signal transmitter transmits a signal.
Fig. 12 is a block diagram illustrating a suitable noise detection apparatus according to an example embodiment. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or other user device.
Referring to fig. 12, the apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the device 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia components 1208 include a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the device 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, an orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Wherein the processor 1220 is configured to:
when the key signal transmitter does not transmit a signal, detecting a key signal received by the key signal receiver;
and determining that interference noise exists based on the relationship between the key signal and a preset key signal threshold.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A method of noise detection, the method comprising:
when the key signal transmitter does not transmit a signal, detecting a key signal received by the key signal receiver; wherein, the detection stage of the signals not transmitted by the key signal transmitter and the scanning stage of the signals transmitted by the key signal transmitter are alternately carried out;
determining that there is interference noise based on a relationship between the key signal and a preset key signal threshold, the interference noise being generated based on using an antenna;
the determining that there is interference noise based on a relationship between the key signal and a preset key signal threshold includes:
determining that a first noise signal exists when the key signal is greater than or equal to the key signal threshold;
after the determining that the first noise signal is present, the method further comprises:
and setting the key signal threshold value as a second signal threshold value from the current first signal threshold value, wherein the second signal threshold value is higher than the first signal threshold value.
2. The method of claim 1, wherein determining that interference noise is present based on a relationship between the key signal and a preset key signal threshold further comprises: and when the key signal is smaller than the key signal threshold value, determining that a second noise signal exists, wherein the first noise signal is larger than the second noise signal.
3. The method of claim 1, wherein setting the key signal threshold from a current first signal threshold to a second signal threshold comprises:
reading preset percentages;
calculating the second signal threshold based on the percentage and the first signal threshold;
and setting the key signal threshold value as the calculated second signal threshold value from the current first signal threshold value.
4. The method of claim 1, wherein setting the key signal threshold from a current first signal threshold to a second signal threshold comprises:
determining an application program currently using the antenna;
reading the corresponding relation between the application program and the signal threshold, and determining the signal threshold corresponding to the current application program as a second signal threshold;
and setting the key signal threshold value from the current first signal threshold value to the determined second signal threshold value.
5. The method of claim 1, wherein setting the key signal threshold from a current first signal threshold to a second signal threshold comprises:
determining the type of the current terminal;
reading the corresponding relation between the type of the terminal and a signal threshold, and determining the signal threshold corresponding to the type of the current terminal as a second signal threshold;
and setting the key signal threshold value from the current first signal threshold value to the determined second signal threshold value.
6. The method of claim 1, further comprising:
when the key signal emitter emits signals, determining a current key signal threshold;
and when the current key signal threshold is the second signal threshold, setting the key signal threshold as the first signal threshold.
7. A noise detection apparatus, characterized in that the apparatus comprises:
a detection module configured to detect a key signal received by the key signal receiver when the key signal transmitter does not transmit a signal; wherein, the detection stage of the signals not transmitted by the key signal transmitter and the scanning stage of the signals transmitted by the key signal transmitter are alternately carried out;
a first determination module configured to determine that there is interference noise based on a relationship between the key signal and a preset key signal threshold, the interference noise being generated based on using an antenna;
the first determining module includes:
a first determination submodule configured to determine that a first noise signal is present when the key signal is greater than or equal to the key signal threshold;
the first determining module further comprises:
the setting submodule is configured to set the key signal threshold to a second signal threshold from a current first signal threshold, and the second signal threshold is higher than the first signal threshold.
8. The apparatus of claim 7, wherein the first determining module further comprises: a second determination submodule configured to determine that a second noise signal is present when the key signal is less than the key signal threshold, the first noise signal being greater than the second noise signal.
9. The apparatus of claim 7, wherein the setup submodule comprises:
a first reading unit configured to read a preset percentage;
a calculation unit configured to calculate the second signal threshold based on the percentage and the first signal threshold;
a first setting unit configured to set a key signal threshold as the calculated second signal threshold from a current first signal threshold.
10. The apparatus of claim 7, wherein the setup submodule comprises:
a first determination unit configured to determine an application program currently using an antenna;
a second reading unit configured to read a correspondence relationship between the application program and the signal threshold, and determine the signal threshold corresponding to the current application program as a second signal threshold;
and the second setting unit is configured to set the key signal threshold value as the determined second signal threshold value from the current first signal threshold value.
11. The apparatus of claim 7, wherein the setup submodule comprises:
a second determination unit configured to determine a type of the current terminal;
a third reading unit configured to read a correspondence between a type of a terminal and a signal threshold, and determine the signal threshold corresponding to the type of the current terminal as a second signal threshold;
and the third setting unit is configured to set the key signal threshold value as the determined second signal threshold value from the current first signal threshold value.
12. The apparatus of claim 7, further comprising:
a second determination module configured to determine a current key signal threshold when the key signal transmitter transmits a signal;
a setting module configured to set the key signal threshold as the first signal threshold when the current key signal threshold is the second signal threshold.
13. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the key signal transmitter does not transmit a signal, detecting a key signal received by the key signal receiver; wherein, the detection stage of the signals not transmitted by the key signal transmitter and the scanning stage of the signals transmitted by the key signal transmitter are alternately carried out;
determining that there is interference noise based on a relationship between the key signal and a preset key signal threshold, the interference noise being generated based on using an antenna;
the determining that there is interference noise based on a relationship between the key signal and a preset key signal threshold includes:
determining that a first noise signal exists when the key signal is greater than or equal to the key signal threshold;
after said determining that the first noise signal is present, the method further comprises:
and setting the key signal threshold value as a second signal threshold value from the current first signal threshold value, wherein the second signal threshold value is higher than the first signal threshold value.
14. A computer-readable storage medium, on which a computer program is stored, which program, when executed by a processor, carries out the steps of:
when the key signal transmitter does not transmit a signal, detecting a key signal received by the key signal receiver; wherein, the detection stage of the signals not transmitted by the key signal transmitter and the scanning stage of the signals transmitted by the key signal transmitter are alternately carried out;
determining that there is interference noise based on a relationship between the key signal and a preset key signal threshold, the interference noise being generated based on using an antenna;
the determining that there is interference noise based on a relationship between the key signal and a preset key signal threshold includes:
determining that a first noise signal exists when the key signal is greater than or equal to the key signal threshold;
after said determining that the first noise signal is present, the method further comprises:
and setting the key signal threshold value as a second signal threshold value from the current first signal threshold value, wherein the second signal threshold value is higher than the first signal threshold value.
CN201710875746.0A 2017-09-25 2017-09-25 Noise detection method and device and electronic equipment Active CN107682101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710875746.0A CN107682101B (en) 2017-09-25 2017-09-25 Noise detection method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710875746.0A CN107682101B (en) 2017-09-25 2017-09-25 Noise detection method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN107682101A CN107682101A (en) 2018-02-09
CN107682101B true CN107682101B (en) 2021-09-21

Family

ID=61136972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710875746.0A Active CN107682101B (en) 2017-09-25 2017-09-25 Noise detection method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN107682101B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110360922B (en) * 2019-07-25 2021-03-26 Oppo广东移动通信有限公司 Electronic equipment and method for detecting folding angle of electronic equipment
CN112462985B (en) * 2020-11-26 2022-10-28 四川中微芯成科技有限公司 Capacitive touch key parallel anti-interference method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968530A (en) * 2010-09-30 2011-02-09 江苏惠通集团有限责任公司 Key detection method and device
CN102006038A (en) * 2010-09-30 2011-04-06 江苏惠通集团有限责任公司 Anti-interference key detection system and detection method
CN102053224A (en) * 2010-11-04 2011-05-11 江苏惠通集团有限责任公司 Method and device for detecting keystrokes
CN103324365A (en) * 2012-03-20 2013-09-25 富泰华工业(深圳)有限公司 Capacitive touch system, touch device and touch method
CN103365469A (en) * 2013-06-28 2013-10-23 京东方科技集团股份有限公司 Method and device for detecting touch points, touch control drive circuit and touch screen
CN104104375A (en) * 2014-06-25 2014-10-15 无锡中微爱芯电子有限公司 Method for enhancing mobile phone interference resistance of capacitive touch button and circuit thereof
CN104156096A (en) * 2013-05-14 2014-11-19 宸鸿光电科技股份有限公司 Touch screen control system and signal processing circuit and method of touch screen control system
CN106506825A (en) * 2016-10-26 2017-03-15 广东欧珀移动通信有限公司 A kind of control method of touch-screen, device and mobile terminal
CN106790978A (en) * 2016-11-18 2017-05-31 广东欧珀移动通信有限公司 The control method of mobile terminal screen state, device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4346572B2 (en) * 2005-03-23 2009-10-21 富士通株式会社 Control method and apparatus for removing noise in touch panel device, and touch panel device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968530A (en) * 2010-09-30 2011-02-09 江苏惠通集团有限责任公司 Key detection method and device
CN102006038A (en) * 2010-09-30 2011-04-06 江苏惠通集团有限责任公司 Anti-interference key detection system and detection method
CN102053224A (en) * 2010-11-04 2011-05-11 江苏惠通集团有限责任公司 Method and device for detecting keystrokes
CN103324365A (en) * 2012-03-20 2013-09-25 富泰华工业(深圳)有限公司 Capacitive touch system, touch device and touch method
CN104156096A (en) * 2013-05-14 2014-11-19 宸鸿光电科技股份有限公司 Touch screen control system and signal processing circuit and method of touch screen control system
CN103365469A (en) * 2013-06-28 2013-10-23 京东方科技集团股份有限公司 Method and device for detecting touch points, touch control drive circuit and touch screen
CN104104375A (en) * 2014-06-25 2014-10-15 无锡中微爱芯电子有限公司 Method for enhancing mobile phone interference resistance of capacitive touch button and circuit thereof
CN106506825A (en) * 2016-10-26 2017-03-15 广东欧珀移动通信有限公司 A kind of control method of touch-screen, device and mobile terminal
CN106790978A (en) * 2016-11-18 2017-05-31 广东欧珀移动通信有限公司 The control method of mobile terminal screen state, device and mobile terminal

Also Published As

Publication number Publication date
CN107682101A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
EP3306441A1 (en) Temperature control method and apparatus
US11018741B2 (en) Wireless communication device and method for switching antenna
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
US10318069B2 (en) Method for controlling state of touch screen, and electronic device and medium for implementing the same
EP3176984B1 (en) Method and device for processing information
CN105446616A (en) Screen display control method, apparatus and device
US10234924B2 (en) Method and apparatus for displaying time on mobile device
CN110262692B (en) Touch screen scanning method, device and medium
CN106354504B (en) Message display method and device
CN110618783B (en) Text broadcasting method, device and medium
US20180139790A1 (en) Methods, apparatuses and storage medium for controlling a wireless connection
CN109862169B (en) Electronic equipment control method, device and storage medium
US20210307104A1 (en) Method and apparatus for controlling intelligent voice control device and storage medium
CN106648650A (en) Method and device for adjusting terminal display status
CN107682101B (en) Noise detection method and device and electronic equipment
CN109769191B (en) Audio output detection method and device and electronic equipment
CN107656616B (en) Input interface display method and device and electronic equipment
CN106445122B (en) Equipment state control method and device
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN106919302B (en) Operation control method and device of mobile terminal
CN105657676B (en) Information reminding method and device
US20170147134A1 (en) Method and apparatus for controlling touch-screen sensitivity
CN103973883B (en) A kind of method and device controlling voice-input device
CN109922203B (en) Terminal, screen off method and device
CN107203315B (en) Click event processing method and device and terminal

Legal Events

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