CN112888057A - WIFI unit control method and device and electronic equipment - Google Patents

WIFI unit control method and device and electronic equipment Download PDF

Info

Publication number
CN112888057A
CN112888057A CN202110039033.7A CN202110039033A CN112888057A CN 112888057 A CN112888057 A CN 112888057A CN 202110039033 A CN202110039033 A CN 202110039033A CN 112888057 A CN112888057 A CN 112888057A
Authority
CN
China
Prior art keywords
unit
wifi unit
mode
wifi
sound 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.)
Granted
Application number
CN202110039033.7A
Other languages
Chinese (zh)
Other versions
CN112888057B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110039033.7A priority Critical patent/CN112888057B/en
Publication of CN112888057A publication Critical patent/CN112888057A/en
Application granted granted Critical
Publication of CN112888057B publication Critical patent/CN112888057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a control method and device of a WIFI unit and electronic equipment, and the problem that capacitive sound generated by the WIFI unit interferes with an audio unit can be solved. The method can be applied to electronic equipment and comprises the following steps: under the condition that the WIFI unit and the audio unit are both in working states, detecting a first capacitance sound value received by the audio unit; and if the first capacitance sound value is larger than or equal to a first threshold value, controlling the working mode of the WIFI unit to be a continuous high-voltage mode or turning off the WIFI unit.

Description

WIFI unit control method and device and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a control method and device for a wireless network (WIFI) module and electronic equipment.
Background
With the rapid development of communication technology, WIFI has become an essential communication technology in the daily life of users; on the other hand, an audio unit (such as a microphone) is also a necessary component in the electronic device, and the WIFI unit and the audio unit will be in a coexisting state for a long time in the future.
Since the audio signal of an audio unit is easily interfered by other signals, the possibility of being interfered should be considered in various application scenarios. In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: capacitive sound generated by vibration of a decoupling capacitor on a Power Amplifier (PA) Power supply of the WIFI unit is received by the audio unit and is amplified and output by the audio circuit and then heard by a user, so that the performance of the audio unit is reduced, and user experience is influenced.
Disclosure of Invention
The embodiment of the application provides a control method and device for a WIFI unit and electronic equipment, and the problem that capacitive sound generated by the WIFI unit interferes with an audio unit can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for controlling a WIFI unit, including: under the condition that both the WIFI unit and the audio unit are in working states, detecting a first capacitance sound value received by the audio unit; and if the first capacitance sound value is larger than or equal to a first threshold value, controlling the working mode of the WIFI unit to be a continuous high-voltage mode or turning off the WIFI unit.
In a second aspect, an embodiment of the present application provides a control apparatus for a WIFI unit, including: the detection module is used for detecting a first capacitance sound value received by the audio unit under the condition that the WIFI unit and the audio unit are both in working states; and the control module is used for controlling the working mode of the WIFI unit to be a continuous high-voltage mode or turning off the WIFI unit if the first capacitance sound value is larger than or equal to a first threshold value.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this application embodiment, detect the first electric capacity sound value that the audio unit received under the condition that WIFI unit and audio unit are all in operating condition, if first electric capacity sound value is greater than or equal to first threshold value, then control the mode of WIFI unit for lasting high voltage mode or close the WIFI unit, avoid the electric capacity sound that the WIFI unit produced to disturb the audio unit, promote the performance of audio unit, promote user experience.
Drawings
Fig. 1 is a schematic flowchart of a control method of a WIFI unit according to an embodiment of the present application;
fig. 2 is a schematic diagram of a TDD mode of a WIFI unit in an implementation of the present application;
fig. 3 is a schematic diagram of a continuous high voltage mode of a WIFI unit in an implementation of the present application;
fig. 4 is a schematic flowchart of a control method for a WIFI unit according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a control device of a WIFI unit provided in an embodiment of the present application;
FIG. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The method, the apparatus, and the electronic device for controlling the WIFI unit provided in the embodiments of the present application are described in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a method for controlling a WIFI unit, which may be applied to an electronic device, and includes the following steps.
S102: under the condition that the WIFI unit and the audio unit are both in working states, a first capacitance sound value received by the audio unit is detected.
The embodiment of the application can be applied to electronic equipment comprising a WIFI unit and an audio unit, the electronic equipment can be a terminal and the like, and the audio unit can be a microphone (microphone, MIC) or an earphone and the like in the electronic equipment.
Optionally, before S102, the following steps may be further included: detecting the working states of the WIFI unit and the audio unit, and executing the step S102 if the WIFI unit and the audio unit are both in the working states; if at least one of the WIFI unit and the audio unit is not in an operating state (or in a state of being turned off, stopped, or not operating), the step of S102 does not need to be executed.
Alternatively, the embodiment may indirectly measure the magnitude of the capacitive sound received by the audio unit (i.e. the first capacitive sound value) by detecting the magnitude of the idle channel noise. The idle channel noise may be used to measure a receiving noise floor level when the electronic device (e.g., a mobile phone) is in an idle channel state, and if a capacitive sound generated by a capacitor on a Power Amplifier (PA) Power supply of the WIFI unit is received by an audio unit (e.g., a microphone), the idle channel noise may become large, so that the embodiment may indirectly measure the magnitude of the capacitive sound through the magnitude of the idle channel noise.
Optionally, in order to improve the accuracy of the obtained first capacitive sound value, the embodiment may detect the capacitive sound value received by the audio unit multiple times, and average the detected multiple capacitive sound values to obtain the first capacitive sound value.
S104: and if the first capacitance sound value is larger than or equal to the first threshold value, controlling the working mode of the WIFI unit to be a continuous high-voltage mode or turning off the WIFI unit.
As mentioned above, this embodiment can indirectly measure the magnitude of the capacitive noise by the magnitude of the idle channel noise, and thus, the first threshold value can be used to measure the magnitude of the channel noise. Of course, in other examples, if the first capacitive sound value is directly the capacitive sound magnitude, then the first threshold may be the magnitude used to measure the capacitive sound accordingly.
The working mode of the WIFI unit mentioned in this embodiment may specifically be a working mode of a Power Amplifier (PA) Power supply of the WIFI unit, and the working mode of the PA Power supply may be divided into a Time Division Duplex (TDD) mode, a continuous high voltage mode, and the like.
As shown in fig. 2 and fig. 3, fig. 2 is a schematic diagram of a TDD mode of a WIFI unit in the present application, and fig. 3 is a schematic diagram of a continuous high voltage mode of the WIFI unit in the present application.
In the usual case, to save power, the WIFI unit defaults to being in TDD mode. In the TDD mode shown in fig. 2, when the Transmitter (TX) of the WIFI unit operates, the PA power supply uses a high voltage; and when the transmitter does not work, the PA power supply adopts low voltage. Since the PA power supply includes a capacitor, such as a decoupling capacitor. After the capacitor is electrified (in a high-voltage interval as shown in fig. 2), an electric field force is generated, and the capacitor slightly expands under the action of the electric field force; if the ripple wave on the capacitor is too large, the change of the electric field force is larger; the varying electric force applied to a Printed Circuit Board (PCB) of the electronic device causes vibration; if the ripple frequency is within the range that the human ear listens to, the sound emitted by the capacitor is heard. The capacitor on the PA power supply of the WIFI unit has ripples with certain frequency because the PA power supply adopts a TDD working mode, correspondingly generates capacitor sound with corresponding frequency, and the capacitor sound interferes with the audio unit.
Under the continuous high-voltage mode shown in fig. 3, the PA power supply of the WIFI unit always adopts the continuous high-voltage mode, so that no capacitive sound is generated, and therefore, the WIFI unit does not interfere with the audio unit when working under the condition that both the WIFI unit and the audio unit are in the working state.
Based on the above analysis, in this embodiment, under the condition that the WIFI unit and the audio unit are both in the operating state, the first capacitance sound value received by the audio unit is detected, and if the first capacitance sound value is greater than or equal to the first threshold, it is considered that the TDD operating mode of the WIFI unit causes interference to the audio unit, so that the operating mode of the WIFI unit is controlled to be the continuous high-voltage mode, and the audio unit is not interfered when the WIFI unit operates.
It is understood that in other embodiments, turning off the WIFI unit may also prevent the WIFI unit from interfering with the audio unit.
The working mode of the WIFI unit is controlled to be a sustained high voltage mode, where "control" may be embodied as a positive response, that is, the working mode of the WIFI unit is switched from another mode (such as a TDD mode) to the sustained high voltage mode; the "control" may also be embodied as a negative response, i.e., maintaining the operating mode of the WIFI unit unchanged from the continuous high voltage mode.
Optionally, after the operating mode of the WIFI unit is controlled to be the continuous high voltage mode, the method further includes: detecting the working state of the audio unit; and if the audio unit stops working, controlling the working mode of the WIFI unit to be a Time Division Duplex (TDD) mode so as to save power consumption, wherein the continuous high-voltage mode of the WIFI unit has larger power consumption compared with the TDD mode.
According to the method for controlling the working mode of the WIFI unit, the first capacitance sound value received by the audio unit is detected under the condition that the WIFI unit and the audio unit are both in the working state, if the first capacitance sound value is larger than or equal to the first threshold value, the working mode of the WIFI unit is controlled to be the continuous high-voltage mode or the WIFI unit is turned off, the capacitance sound generated by the WIFI unit is prevented from interfering with the audio unit, the performance of the audio unit is improved, and the user experience is improved.
Optionally, after controlling the operation mode of the WIFI unit mentioned in embodiment 100 to be the continuous high voltage mode, the method may further include the following steps: detecting a second capacitive sound value received by the audio unit; if the second capacitance sound value is smaller than the first capacitance sound value, maintaining the working mode of the WIFI unit to be a continuous high-voltage mode; and/or if the second capacitance sound value is larger than or equal to the first capacitance sound value, controlling the working mode of the WIFI unit to be a Time Division Duplex (TDD) mode.
The embodiment further proves that the idle channel noise exceeding the standard received by the audio unit is caused by the TDD operating mode of the PA power supply of the WIFI unit by detecting the idle channel noise (i.e., the second capacitive sound value) received by the audio unit after the PA power supply of the WIFI unit is switched to the continuous high voltage mode and comparing the second capacitive sound value with the idle channel noise (i.e., the first capacitive sound value) received by the PA power supply when the PA power supply operates in the TDD mode.
Specifically, if the second capacitive sound value is smaller than the first capacitive sound value, it is determined that the idle channel noise increase (i.e., exceeding the first threshold) received by the current audio unit is caused by the PA power supply TDD operating mode of the WIFI unit, and the PA power supply of the WIFI unit maintains the current continuous high-voltage operating mode.
If the second capacitance sound value is greater than or equal to the first capacitance sound value, it is determined that the idle channel noise increase (i.e., exceeding the first threshold) received by the current audio unit is not caused by the PA power supply TDD operating mode of the WIFI unit, and at this time, the operating mode of the WIFI unit is controlled to be the time division duplex TDD mode, so as to save power consumption.
Optionally, after detecting the first capacitive sound value received by the audio unit in the foregoing embodiments, the method further includes: and if the first capacitance sound value is smaller than the first threshold value, controlling the working mode of the WIFI unit to be a Time Division Duplex (TDD) mode.
In this embodiment, if the first capacitive sound value is less than the first threshold value, it is considered that although the capacitive sound generated by the WIFI unit interferes with the audio unit, the interference is within an acceptable range; meanwhile, considering that the continuous high-voltage mode of the WIFI unit consumes more electric energy, that is, the power consumption is larger, the working mode of the WIFI unit is controlled to be the Time Division Duplex (TDD) mode, so as to save the power consumption.
Optionally, in various embodiments of the present application, the size of the first threshold may be dynamically adjusted based on requirements of the electronic device, such as requirements for low power consumption and audio performance. Specifically, for example, when the electronic device is expected to be in a low power consumption requirement, the size of the first threshold may be appropriately increased, so that the WIFI unit operates in the TDD mode as much as possible, so as to save power consumption. For another example, when the electronic device is expected to be in a high audio performance requirement, the size of the first threshold may be appropriately reduced, so that the WIFI unit operates in a sustained high voltage mode as much as possible, so as to minimize interference with the audio unit and other modules of the electronic device.
Optionally, the aforementioned various embodiments of controlling the operation mode of the WIFI unit to be the continuous high voltage mode or turning off the WIFI unit includes: detecting the data transmission rate of the WIFI unit; if the data transmission rate is greater than or equal to a second threshold value, controlling the working mode of the WIFI unit to be a continuous high-voltage mode; and if the data transmission rate is smaller than the second threshold value, closing the WIFI unit.
According to the embodiment, the data transmission rate of the WIFI unit is considered, so that the scheme provided by the embodiment better meets the actual application requirements of the user, and the user experience is improved.
To describe the control method of the WIFI unit in detail, a specific embodiment is described below, which takes an audio unit as a Microphone (MIC) as an example.
As shown in fig. 4, this embodiment includes the following steps.
S402: detect whether both the WIFI unit and the MIC are in working condition?
If so, executing S404;
if not, S406 is performed.
S404: and detecting a first capacitance sound value B received by the MIC.
A detailed description of the various steps of this embodiment may be taken from the previous embodiment.
S406: the WIFI unit maintains a default TDD mode.
S408: judging whether the first capacitance sound value B is larger than or equal to a first threshold value A or not;
if so, executing S410;
if not, S406 is performed.
S410: controlling the working mode of the WIFI unit to be a continuous high-voltage mode; and detecting a second capacitive acoustic value C received by the MIC.
The WIFI PA power supply working mode can be controlled to be a continuous high-voltage mode.
In this step, on the basis of meeting the condition of S408, it is determined that the magnitude of the idle channel noise detected by the current MIC exceeds the first threshold a, and then the working mode of the PA power supply of the WIFI unit is automatically controlled to be a continuous high-voltage mode, so as to solve the capacitive sound problem from the source, and detect the idle channel noise at this time, that is, the second capacitive sound value C.
S412: determine if the second capacitive acoustic value C is less than the first capacitive acoustic value B?
If so, returning to S410, the operating mode of the WIFI unit may be maintained as a continuous high voltage mode. Of course, in another example, if the determination result in S412 is yes, the operation mode of the WIFI unit is directly maintained as the continuous high voltage mode, and the process does not need to jump to S410.
If not, S406 is performed.
The embodiment further proves that the idle channel noise exceeding standard received by the MIC is caused by the TDD operating mode of the PA power supply of the WIFI unit by detecting the idle channel noise (i.e., the second capacitive sound value) received by the audio unit after the PA power supply of the WIFI unit is switched to the continuous high voltage mode, and comparing the second capacitive sound value with the idle channel noise (i.e., the first capacitive sound value) received when the PA power supply operates in the TDD mode.
Specifically, if the second capacitive sound value is smaller than the first capacitive sound value, it is determined that the idle channel noise increase (i.e., exceeding the first threshold) received by the current MIC is caused by the PA power supply TDD operating mode of the WIFI unit, and the PA power supply of the WIFI unit maintains the current continuous high-voltage operating mode.
If the second capacitance sound value is greater than or equal to the first capacitance sound value, it is determined that the idle channel noise increase (i.e., exceeding the first threshold) received by the current MIC is not caused by the PA power supply TDD operating mode of the WIFI unit, and at this time, the operating mode of the WIFI unit is controlled to be the time division duplex TDD mode, so as to save power consumption.
When the WIFI unit and the MIC work together, the working mode of the PA power supply of the WIFI unit is dynamically switched by judging the size of the idle channel noise received by the MIC, so that the capacitive sound problem can be solved from the source, meanwhile, the power consumption of the electronic equipment can be considered, and the user experience is improved.
It should be noted that, in the control method of the WIFI unit provided in the embodiment of the present application, the execution main body may be a control device of the WIFI unit, or a control module in the control device of the WIFI unit, which is used for executing the control method of the WIFI unit. In the embodiment of the present application, a method for controlling a control device of a WIFI unit to execute the WIFI unit is taken as an example, and the control device of the WIFI unit provided in the embodiment of the present application is described.
Fig. 5 is a schematic structural diagram of a control device of a WIFI unit according to an embodiment of the present application. As shown in fig. 5, the apparatus 500 includes:
the detection module 502 may be configured to detect the first capacitance sound value received by the audio unit when the WIFI unit and the audio unit are both in a working state.
The control module 504 may be configured to control an operating mode of the WIFI unit to be a continuous high voltage mode or turn off the WIFI unit if the first capacitive acoustic value is greater than or equal to a first threshold value.
The control device of WIFI unit that this application embodiment provided detects the first electric capacity sound value that the audio unit received under the WIFI unit and the audio unit all are in operating condition, if first electric capacity sound value is greater than or equal to first threshold value, then the operating mode of control WIFI unit is for lasting high voltage mode or close the WIFI unit, avoids the electric capacity sound interference audio unit that the WIFI unit produced, promotes the performance of audio unit, promotes user experience.
Optionally, as an embodiment, the detecting module 502 is further configured to detect a second capacitive sound value received by the audio unit; the control module 504 is further configured to maintain the operating mode of the WIFI unit as a continuous high voltage mode if the second capacitive sound value is less than the first capacitive sound value; and/or the control module 504 is further configured to control the operating mode of the WIFI unit to be a time division duplex, TDD, mode if the second capacitive acoustic value is greater than or equal to the first capacitive acoustic value.
Optionally, as an embodiment, the control module 504 is further configured to control an operation mode of the WIFI unit to be a Time Division Duplex (TDD) mode if the first capacitive sound value is smaller than the first threshold.
Optionally, as an embodiment, the detecting module 502 is further configured to detect a data transmission rate of the WIFI unit; the control module 504 is further configured to control the operating mode of the WIFI unit to be a continuous high voltage mode if the data transmission rate is greater than or equal to a second threshold; and if the data transmission rate is smaller than the second threshold value, closing the WIFI unit.
Optionally, as an embodiment, the detecting module 502 is further configured to detect an operating state of the audio unit; the control module 504 is further configured to control the operating mode of the WIFI unit to be a time division duplex, TDD, mode if the audio unit stops operating.
The control device of the WIFI unit in the embodiment of the present application may be a device, or may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The control device of the WIFI unit in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The control device of the WIFI unit provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and capable of running on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the foregoing WIFI unit control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 710 is configured to detect a first capacitance sound value received by the audio unit when both the WIFI unit and the audio unit are in a working state; and the controller is further configured to control the operating mode of the WIFI unit to be a continuous high voltage mode or turn off the WIFI unit if the first capacitance sound value is greater than or equal to a first threshold value.
In the embodiment of the application, the first capacitance sound value received by the audio unit is detected under the condition that the WIFI unit and the audio unit are both in the working state, if the first capacitance sound value is larger than or equal to the first threshold value, the working mode of the WIFI unit is controlled to be the continuous high-voltage mode or the WIFI unit is closed, the capacitance sound generated by the WIFI unit is prevented from interfering the audio unit, the performance of the audio unit is improved, and the user experience is improved.
The electronic device 700 provided in the embodiment of the present application can also implement each process of the above-mentioned control method embodiment of the WIFI unit, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. Memory 709 may be used to store software programs as well as various data, including but not limited to applications and operating systems. Processor 710 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing control method for the WIFI unit, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is configured to run a program or an instruction, implement each process of the control method embodiment of the foregoing WIFI unit, and can achieve the same technical effect, and for avoiding repetition, details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A control method of a WIFI unit is applied to electronic equipment and is characterized by comprising the following steps:
under the condition that the WIFI unit and the audio unit are both in working states, detecting a first capacitance sound value received by the audio unit;
and if the first capacitance sound value is larger than or equal to a first threshold value, controlling the working mode of the WIFI unit to be a continuous high-voltage mode or turning off the WIFI unit.
2. The method of claim 1, wherein after controlling the operating mode of the WIFI unit to be a continuous high voltage mode, the method further comprises:
detecting a second capacitive sound value received by the audio unit;
if the second capacitance sound value is smaller than the first capacitance sound value, maintaining the working mode of the WIFI unit to be a continuous high-voltage mode; and/or
And if the second capacitance sound value is greater than or equal to the first capacitance sound value, controlling the working mode of the WIFI unit to be a time division duplex mode.
3. The method of claim 1, wherein after detecting the first capacitive sound value received by the audio unit, the method further comprises:
and if the first capacitance sound value is smaller than the first threshold value, controlling the working mode of the WIFI unit to be a time division duplex mode.
4. The method of claim 1, wherein the controlling the operating mode of the WIFI unit to be a continuous high voltage mode or turning off the WIFI unit comprises:
detecting the data transmission rate of the WIFI unit;
if the data transmission rate is greater than or equal to a second threshold value, controlling the working mode of the WIFI unit to be a continuous high-voltage mode;
and if the data transmission rate is smaller than the second threshold value, closing the WIFI unit.
5. The method of claim 1, wherein after controlling the operating mode of the WIFI unit to be a continuous high voltage mode, the method further comprises:
detecting the working state of the audio unit;
and if the audio unit stops working, controlling the working mode of the WIFI unit to be a time division duplex mode.
6. A control device of a WIFI unit, comprising:
the detection module is used for detecting a first capacitance sound value received by the audio unit under the condition that the WIFI unit and the audio unit are both in working states;
and the control module is used for controlling the working mode of the WIFI unit to be a continuous high-voltage mode or turning off the WIFI unit if the first capacitance sound value is larger than or equal to a first threshold value.
7. The apparatus of claim 6,
the detection module is further configured to detect a second capacitance sound value received by the audio unit;
the control module is further configured to maintain the operating mode of the WIFI unit as a continuous high voltage mode if the second capacitive sound value is smaller than the first capacitive sound value; and/or
The control module is further configured to control the working mode of the WIFI unit to be a time division duplex mode if the second capacitive sound value is greater than or equal to the first capacitive sound value.
8. The apparatus of claim 6, wherein the control module is further configured to control the operating mode of the WIFI unit to be a time division duplex mode if the first capacitive acoustic value is less than the first threshold value.
9. The apparatus of claim 6,
the detection module is further configured to detect a data transmission rate of the WIFI unit;
the control module is further configured to control the working mode of the WIFI unit to be a continuous high voltage mode if the data transmission rate is greater than or equal to a second threshold; and if the data transmission rate is smaller than the second threshold value, closing the WIFI unit.
10. The apparatus of claim 6,
the detection module is also used for detecting the working state of the audio unit;
the control module is further configured to control the operating mode of the WIFI unit to be a time division duplex mode if the audio unit stops operating.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the control method of the WIFI unit of any of claims 1-5.
12. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the control method of the WIFI unit according to any of claims 1-5.
CN202110039033.7A 2021-01-12 2021-01-12 Control method and device of WIFI unit and electronic equipment Active CN112888057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110039033.7A CN112888057B (en) 2021-01-12 2021-01-12 Control method and device of WIFI unit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110039033.7A CN112888057B (en) 2021-01-12 2021-01-12 Control method and device of WIFI unit and electronic equipment

Publications (2)

Publication Number Publication Date
CN112888057A true CN112888057A (en) 2021-06-01
CN112888057B CN112888057B (en) 2023-09-08

Family

ID=76044799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110039033.7A Active CN112888057B (en) 2021-01-12 2021-01-12 Control method and device of WIFI unit and electronic equipment

Country Status (1)

Country Link
CN (1) CN112888057B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060068856A1 (en) * 2004-08-31 2006-03-30 Research In Motion Limited, A Corp. Organized Under The Laws Of The Province Of Ontario, Canada Mobile wireless communications device with reduced interfering energy into audio circuit and related methods
US20090310523A1 (en) * 2008-06-11 2009-12-17 John Walley Method and system for time division duplex hum noise cancellation
WO2016115743A1 (en) * 2015-01-24 2016-07-28 深圳市鑫龙上通讯科技有限公司 Tdd current noise interference-resisting mobile communications device
US20170324484A1 (en) * 2016-05-09 2017-11-09 Intel IP Corporation Method and device for mitigating interference due to a wireless charging signal
CN108540659A (en) * 2018-03-29 2018-09-14 努比亚技术有限公司 Reduce method, terminal and the computer readable storage medium of TDD influence of noises
CN110417997A (en) * 2019-07-26 2019-11-05 青岛海信移动通信技术股份有限公司 A kind of method, device and mobile terminal reducing TDD noise
CN111225315A (en) * 2020-02-27 2020-06-02 维沃移动通信有限公司 Audio playing device, audio playing method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060068856A1 (en) * 2004-08-31 2006-03-30 Research In Motion Limited, A Corp. Organized Under The Laws Of The Province Of Ontario, Canada Mobile wireless communications device with reduced interfering energy into audio circuit and related methods
US20090310523A1 (en) * 2008-06-11 2009-12-17 John Walley Method and system for time division duplex hum noise cancellation
WO2016115743A1 (en) * 2015-01-24 2016-07-28 深圳市鑫龙上通讯科技有限公司 Tdd current noise interference-resisting mobile communications device
US20170324484A1 (en) * 2016-05-09 2017-11-09 Intel IP Corporation Method and device for mitigating interference due to a wireless charging signal
CN108540659A (en) * 2018-03-29 2018-09-14 努比亚技术有限公司 Reduce method, terminal and the computer readable storage medium of TDD influence of noises
CN110417997A (en) * 2019-07-26 2019-11-05 青岛海信移动通信技术股份有限公司 A kind of method, device and mobile terminal reducing TDD noise
CN111225315A (en) * 2020-02-27 2020-06-02 维沃移动通信有限公司 Audio playing device, audio playing method and electronic equipment

Also Published As

Publication number Publication date
CN112888057B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
KR20200027554A (en) Speech recognition method and apparatus, and storage medium
CN111092621B (en) Radio frequency circuit, control method and electronic equipment
CN110890897B (en) Power supply circuit, power supply method and electronic equipment
CN107219951B (en) Touch screen control method and device, storage medium and terminal equipment
CA2899958A1 (en) Touch screen terminal and working method thereof
CN107171740B (en) Radio frequency interference processing method, device, storage medium and terminal
CN106936516B (en) Display screen display state control method, storage medium and terminal
CN112822001B (en) Control method of electronic equipment and electronic equipment
CN106532876B (en) Power supply control method and device and computer equipment
CN111654902A (en) Method and device for reducing interference to mobile terminal GPS signal and mobile terminal
CN111240451B (en) Heat dissipation method, electronic device and computer-readable storage medium
CN110868757B (en) Information transmission method and device and electronic equipment
CN112003983A (en) Adaptive vibration system, terminal, method, and computer-readable storage medium
CN112199005A (en) Content display method, content display device, storage medium and mobile terminal
CN112888057B (en) Control method and device of WIFI unit and electronic equipment
CN114759782A (en) Control method and device of power supply circuit, electronic equipment and readable storage medium
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN111510075B (en) Voltage adjustment method and device of power amplifier and electronic equipment
CN110471622B (en) SD card data writing method and device, storage medium and terminal
CN113220106A (en) Power saving control method and power saving control device
CN108287755B (en) Application program control method and mobile terminal
CN111694419A (en) Sensor control method and electronic device
CN108549476B (en) Method and terminal for switching SMPS working frequency
CN107846287B (en) Power supply control method and mobile terminal
CN110972221B (en) Communication signal processing method and device and mobile 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