CN112888057B - Control method and device of WIFI unit and electronic equipment - Google Patents

Control method and device of WIFI unit and electronic equipment Download PDF

Info

Publication number
CN112888057B
CN112888057B CN202110039033.7A CN202110039033A CN112888057B CN 112888057 B CN112888057 B CN 112888057B CN 202110039033 A CN202110039033 A CN 202110039033A CN 112888057 B CN112888057 B CN 112888057B
Authority
CN
China
Prior art keywords
wifi unit
unit
mode
wifi
power supply
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
CN202110039033.7A
Other languages
Chinese (zh)
Other versions
CN112888057A (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

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

Abstract

The embodiment of the application discloses a control method and device of a WIFI unit and electronic equipment, which can solve the problem that capacitive sound generated by the WIFI unit interferes with an audio unit. The method can be applied to an electronic device, and comprises the following steps: detecting a first capacitance sound value received by the audio unit under the condition that both the WIFI unit and the audio unit are in a working state; 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 closing the WIFI unit.

Description

Control method and device of WIFI unit and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a control method and device of a wireless network (WIFI) module and the electronic equipment.
Background
With the rapid development of communication technology, WIFI has become an indispensable communication technology in the daily life of users; on the other hand, an audio unit (such as a microphone) is also a necessary device in the electronic device, and in a long period of time in the future, the WIFI unit and the audio unit will be in a coexisting state.
Since the audio signal of the 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: the capacitor sound generated by decoupling capacitor vibration on a Power Amplifier (PA) Power supply of the WIFI unit is received by the audio unit, amplified and output by the audio circuit, and then heard by a user, so that the performance of the audio unit is reduced, and the user experience is affected.
Disclosure of Invention
The embodiment of the application provides a control method and device of a WIFI unit and electronic equipment, which can solve the problem that capacitive sound generated by the WIFI unit interferes with an audio unit.
In order to solve the technical problems, the application is realized 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 a working state, 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 closing the WIFI unit.
In a second aspect, an embodiment of the present application provides a control device 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 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 closing 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, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement a 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 where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, the first capacitance sound value received by the audio unit is detected under the condition that both the WIFI unit and the audio unit are in the working state, and if the first capacitance sound value is greater than or equal to the first threshold value, the working mode of the WIFI unit is controlled to be a continuous high-voltage mode or the WIFI unit is closed, so that 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.
Drawings
Fig. 1 is a schematic flow chart 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 the implementation of the present application;
FIG. 3 is a schematic diagram of a continuous high voltage mode of a WIFI unit in the implementation of the present application;
fig. 4 is a flowchart of a control method of 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 according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to 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 following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, 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 may be interchanged where appropriate such that embodiments of the application may be practiced otherwise than as specifically illustrated or described herein. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The method, the device and the electronic equipment for controlling the WIFI unit provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof by combining the attached drawings.
As shown in fig. 1, an embodiment of the present application provides a method for controlling a WIFI unit, where the method may be applied to an electronic device, and includes the following steps.
S102: and under the condition that the WIFI unit and the audio unit are in working states, detecting a first capacitance sound value received by the audio unit.
The embodiment of the application can be applied to electronic equipment comprising a WIFI unit and an audio unit, wherein the electronic equipment can be a terminal and the like, and the audio unit can be a Microphone (MIC) or an earphone and the like in the electronic equipment.
Optionally, the following steps may be further included before S102: 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 in the working states; if at least one of the WIFI unit and the audio unit is not in an active state (or is in a shut-down, stopped, non-operational state), then the step of S102 need not be performed.
Alternatively, this embodiment may indirectly measure the received capacitive sound magnitude (i.e. the first capacitive sound value) of the audio unit by detecting the magnitude of the idle channel noise. The idle channel noise may be used to measure a receiving noise level when the electronic device (such as a mobile phone) is in an idle channel state, and if capacitive noise generated by a capacitor on a Power Amplifier (PA) Power supply of the WIFI unit is received by an audio unit (such as a microphone), the idle channel noise may become large, so the embodiment may indirectly measure the size of the capacitive noise through the size of the idle channel noise.
Optionally, in order to improve the accuracy of the obtained first capacitance sound value, the embodiment may detect the capacitance sound value received by the audio unit multiple times, and average the detected multiple capacitance sound values to obtain the first capacitance sound value.
S104: and if the first capacitance sound value is greater than or equal to the first threshold value, controlling the working mode of the WIFI unit to be a continuous high-voltage mode or closing the WIFI unit.
As previously described, this embodiment may indirectly measure the capacitive acoustic size by the size of the idle channel noise, and thus, the first threshold may be used to measure the size of the channel noise. Of course, in other examples, if the first capacitance sound value is directly the capacitance sound magnitude, the first threshold value may be a measure of the capacitance sound magnitude accordingly.
The operation mode of the WIFI unit mentioned in this embodiment may specifically be an operation mode of a Power Amplifier (PA) Power supply of the WIFI unit, and the operation mode of the PA Power supply may be classified into a time division duplex (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 embodiment of the application, and fig. 3 is a schematic diagram of a continuous high voltage mode of the WIFI unit in the embodiment of the application.
In general, to save power, the WIFI unit is default to be in TDD mode. In the TDD mode shown in fig. 2, the PA power supply uses a high voltage when the Transmitter (TX) of the WIFI unit is operating; the PA power supply uses a low voltage when the transmitter is not operating. Since the PA power supply includes a capacitor, such as a decoupling capacitor. After the capacitor is powered on (a high voltage interval is shown in fig. 2), electric field force is generated, and the capacitor slightly expands under the action of the electric field force; if the ripple on the capacitor is too large, the change of the electric field force is also larger; the varying electric field forces are applied to the printed circuit board (Printed Circuit Board, PCB) of the electronic device, causing vibrations; if the ripple frequency is within the range of the human ear, the sound emitted by the capacitor is heard. The capacitor on the PA power supply of the WIFI unit will have a ripple with a certain frequency because the PA power supply adopts the TDD operation mode, and correspondingly a capacitor sound with a corresponding frequency will be generated, and the capacitor sound will interfere with the audio unit.
In 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 capacitance sound is not generated, and therefore, when both the WIFI unit and the audio unit are in the working state, the WIFI unit cannot interfere with the audio unit during working.
Based on the analysis, in the embodiment, under the condition that both the WIFI unit and the audio unit are in the working 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 value, the TDD working mode of the WIFI unit is considered to cause interference to the audio unit, so that the working mode of the WIFI unit is controlled to be a continuous high-voltage mode, and the audio unit cannot be interfered when the WIFI unit works.
It will be appreciated that in other embodiments, turning off the WIFI unit may also avoid interference of the WIFI unit to the audio unit.
The operation mode of the WIFI unit is a continuous high voltage mode, wherein the "control" may be embodied as a positive response, that is, the operation mode of the WIFI unit is converted from other modes (such as TDD mode) to the continuous high voltage mode; the "control" may also be embodied as a negative response, i.e. to maintain the operation mode of the WIFI unit unchanged from the continuous high voltage mode.
Optionally, after the embodiment controls the working mode of the WIFI unit to be a 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 working mode control method of the WIFI unit, the first capacitance sound value received by the audio unit is detected under the condition that both the WIFI unit and the audio unit are in the working state, and 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 a continuous high-voltage mode or the WIFI unit is closed, so that capacitance sound generated by the WIFI unit is prevented from interfering with the audio unit, performance of the audio unit is improved, and user experience is improved.
Optionally, after the operation mode of the WIFI unit in embodiment 100 is controlled to be the continuous high voltage mode, the method may further include the following steps: detecting a second capacitance 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 greater 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 verifies that the idle channel noise received by the audio unit exceeds the standard due to the PA power TDD operation mode of the WIFI unit by detecting the idle channel noise (i.e., the second capacitance acoustic value) received by the audio unit after the PA power of the WIFI unit is switched to the continuous high voltage mode, and comparing the second capacitance acoustic value with the idle channel noise (i.e., the first capacitance acoustic value) received when the PA power is operating in the TDD mode.
Specifically, if the second capacitance sound value is smaller than the first capacitance sound value, it is determined that the idle channel noise received by the current audio unit becomes larger (i.e., exceeds the first threshold) due to the PA power TDD operation mode of the WIFI unit, and the PA power of the WIFI unit maintains the current continuous high voltage operation 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 received by the current audio unit becomes larger (i.e., exceeds the first threshold) and is not caused by the PA power supply TDD operation mode of the WIFI unit, and the operation mode of the WIFI unit is controlled to be a time division duplex TDD mode, so that power consumption is saved.
Optionally, after detecting the first capacitance 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 capacitance sound value is less than the first threshold, then it is considered that although the capacitance sound generated by the WIFI unit interferes with the audio unit, the interference is within an acceptable range; meanwhile, the fact that the continuous high-voltage mode of the WIFI unit consumes more electric energy, namely the power consumption is larger is considered, so that the working mode of the WIFI unit is controlled to be a Time Division Duplex (TDD) mode, and the power consumption is saved.
Optionally, the embodiments of the present application may further dynamically adjust the magnitude of the first threshold based on requirements of the electronic device, such as low power consumption requirements, audio performance requirements, and the like. Specifically, for example, when the electronic device is expected to be in a low power consumption requirement, the magnitude of the first threshold may be increased appropriately, so that the WIFI unit may operate 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 magnitude of the first threshold may be reduced appropriately, so that the WIFI unit may operate in a sustained high voltage mode as much as possible to minimize interference with the audio unit and other modules of the electronic device.
Optionally, controlling the operation mode of the WIFI unit to be a continuous high voltage mode or turning off the WIFI unit according to the foregoing embodiments 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 is more in line with the actual application requirements of users, and the user experience is improved.
In order to describe the control method of the WIFI unit provided by the embodiments of the present application in detail, a specific embodiment will be described below, where the embodiment uses an audio unit as a Microphone (MIC) as an example.
As shown in fig. 4, this embodiment includes the following steps.
S402: is detecting that both WIFI unit and MIC are in working state?
If yes, then execute 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 in the previous embodiments.
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 yes, then S410 is performed;
if not, S406 is performed.
S410: the working mode of the WIFI unit is controlled to be a continuous high-voltage mode; and detects a second capacitance C received by the MIC.
The step can specifically control the working mode of the WIFI PA power supply to be a continuous high-voltage mode.
The step is to determine that the size of idle channel noise detected by the current MIC exceeds a first threshold value a based on the condition of satisfying S408, and then automatically control the working mode of the PA power supply of the WIFI unit to a continuous high voltage mode to solve the problem of capacitive noise from the source, and detect the idle channel noise at this time, namely a second capacitive noise value C.
S412: determining whether the second capacitance C is smaller than the first capacitance B?
If so, returning to S410, the operating mode of the WIFI unit can be maintained to be a continuous high voltage mode. Of course, in other examples, if the determination result of S412 is yes, the operation mode of the WIFI unit is directly maintained in the continuous high voltage mode, and the operation does not need to jump to S410.
If not, S406 is performed.
The embodiment further verifies that the MIC received idle channel noise exceeds the standard due to the TDD operation mode of the PA power supply of the WIFI unit by detecting the idle channel noise (i.e., the second capacitance acoustic 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 capacitance acoustic value with the idle channel noise (i.e., the first capacitance acoustic value) received when the PA power supply is operating in the TDD mode.
Specifically, if the second capacitance sound value is smaller than the first capacitance sound value, it is determined that the idle channel noise received by the current MIC is greater (i.e., exceeds the first threshold) due to the PA power TDD mode of operation of the WIFI unit, and the PA power of the WIFI unit maintains the current continuous high voltage mode of operation.
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 received by the current MIC is increased (i.e., exceeds the first threshold) and is not caused by the PA power supply TDD working mode of the WIFI unit, and the working mode of the WIFI unit is controlled to be a time division duplex TDD mode, so that power consumption is saved.
According to the embodiment, when the WIFI unit and the MIC work together, the working mode of the PA power supply of the WIFI unit can be dynamically switched through judging the noise size of the idle channel received by the MIC, so that the problem of capacitance sound 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 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 application, a control device of a WIFI unit executes a control method of the WIFI unit as an example, and the control device of the WIFI unit provided in the embodiment of the application is described.
Fig. 5 is a schematic structural diagram of a control device of a WIFI unit according to an embodiment of the application. As shown in fig. 5, the apparatus 500 includes:
the detection module 502 may be 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.
The control module 504 may be configured to control the working 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.
According to the control device for the WIFI unit, provided by the embodiment of the application, the first capacitance sound value received by the audio unit is detected under the condition that both the WIFI unit and the audio unit are in the working state, and if the first capacitance sound value is greater than or equal to the first threshold value, the working mode of the WIFI unit is controlled to be a continuous high-voltage mode or the WIFI unit is closed, so that 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, as an embodiment, the detecting module 502 is further configured to detect a second capacitance sound value received by the audio unit; the control module 504 is further configured to maintain the operation mode of the WIFI unit to be a continuous high voltage mode if the second capacitance sound value is smaller than the first capacitance sound value; and/or the control module 504 is further configured to control the working mode of the WIFI unit to be a time division duplex TDD mode if the second capacitance sound value is greater than or equal to the first capacitance sound value.
Optionally, as an embodiment, the control module 504 is further configured to control the operation mode of the WIFI unit to be a time division duplex TDD mode if the first capacitance 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 operation 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 operation state of the audio unit; the control module 504 is further configured to control, if the audio unit stops working, the working mode of the WIFI unit to be a time division duplex TDD mode.
The control device of the WIFI unit in the embodiment of the application can be a device, and also can be a component, an integrated circuit or a chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and embodiments of the present application are not limited in particular.
The control device of the WIFI unit in the embodiment of the application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The control device for the WIFI unit provided by the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 4, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 6, the embodiment of the present application further provides an electronic device 600, including 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 implements each process of the embodiment of the control method of the WIFI unit when executed by the processor 601, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
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: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, and processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 710 via a power management system so as to perform functions such as managing charge, discharge, and power consumption 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
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 WIFI unit is further used for controlling the working mode of the WIFI unit to be a continuous high-voltage mode or closing the WIFI unit if the first capacitance sound value is larger 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 both the WIFI unit and the audio unit are in the working state, and if the first capacitance sound value is greater than or equal to the first threshold value, the working mode of the WIFI unit is controlled to be a continuous high-voltage mode or the WIFI unit is closed, so that 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.
The electronic device 700 provided in the embodiment of the present application may further implement each process of the embodiment of the control method of the WIFI unit, and may achieve the same technical effect, so that repetition is avoided, and no description is repeated here.
It should be appreciated that in embodiments of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, with the graphics processor 7041 processing image data of still pictures or video 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, 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, a joystick, and so forth, 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, application programs and an operating system. The processor 710 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 710.
The embodiment of the application also provides a readable storage medium, wherein 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 realizes each process of the control method embodiment of the WIFI unit, and the same technical effect can be achieved, so that repetition is avoided, and the description is omitted.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the control method embodiment of the WIFI unit can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (10)

1. The control method of the WIFI unit is applied to the electronic equipment and is characterized by comprising the following steps:
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 a working state and the working mode of a power amplifier power supply of the WIFI unit is a time division duplex mode;
if the first capacitance sound value is larger than or equal to a first threshold value, 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 power amplifier power supply of the WIFI unit to be a continuous high-voltage mode;
if the data transmission rate is smaller than the second threshold value, closing the WIFI unit;
and under the condition that the working mode of the power amplifier power supply of the WIFI unit is a time division duplex mode, the power amplifier power supply adopts high voltage when the transmitter of the WIFI unit works, and the power amplifier power supply adopts low voltage when the transmitter of the WIFI unit does not work.
2. The method according to claim 1, wherein the method further comprises:
detecting a second capacitance 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 larger than or equal to the first capacitance sound value, controlling the working mode of the power amplifier power supply of the WIFI unit to be a time division duplex mode.
3. The method of claim 1, wherein after the detecting the first capacitance 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 power amplifier power supply of the WIFI unit to be a time division duplex mode.
4. The method according to claim 1, wherein 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 power amplifier power supply of the WIFI unit to be a time division duplex mode.
5. A control device of a WIFI unit, comprising:
the detection module is used for detecting that the WIFI unit and the audio unit are in working statesDetecting a first capacitance sound value received by the audio unit under the condition that the working mode of the power amplifier power supply of the WIFI unit is a time division duplex mode;
the control module is used for detecting the data transmission rate of the WIFI unit if the first capacitance sound value is larger than or equal to a first threshold value; if the data transmission rate is greater than or equal to a second threshold value, controlling the working mode of the power amplifier power supply of the WIFI unit to be a continuous high-voltage mode; if the data transmission rate is smaller than the second threshold value, closing the WIFI unit;
and under the condition that the working mode of the power amplifier power supply of the WIFI unit is a time division duplex mode, the power amplifier power supply adopts high voltage when the transmitter of the WIFI unit works, and the power amplifier power supply adopts low voltage when the transmitter of the WIFI unit does not work.
6. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the detection module is also used for detecting a second capacitance sound value received by the audio unit;
the control module is further configured to maintain a working mode of the WIFI unit to be a continuous high voltage mode if the second capacitance sound value is smaller than the first capacitance sound value; and/or
And the control module is further configured to control a working mode of the power amplifier power supply of the WIFI unit to be a time division duplex mode if the second capacitance sound value is greater than or equal to the first capacitance sound value.
7. The apparatus of claim 5, wherein the control module is further configured to control an operating mode of the power amplifier power supply of the WIFI unit to be a time division duplex mode if the first capacitance to noise value is less than the first threshold.
8. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the detection module is also used for detecting the working state of the audio unit;
and the control module is also used for controlling the working mode of the power amplifier power supply of the WIFI unit to be a time division duplex mode if the audio unit stops working.
9. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements a method of controlling a WIFI unit according to any of claims 1 to 4.
10. A readable storage medium, characterized in that it stores thereon a program or instructions, which when executed by a processor, implements a method for controlling a WIFI unit according to any of claims 1-4.
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 CN112888057A (en) 2021-06-01
CN112888057B true 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)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7444174B2 (en) * 2004-08-31 2008-10-28 Research In Motion Limited Mobile wireless communications device with reduced interfering energy into audio circuit and related methods
US8369252B2 (en) * 2008-06-11 2013-02-05 Broadcom Corporation 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
EP3244542B1 (en) * 2016-05-09 2019-07-24 Intel IP Corporation Method and device for mitigating interference due to a wireless charging signal
CN108540659B (en) * 2018-03-29 2021-05-18 努比亚技术有限公司 Method, terminal and computer readable storage medium for reducing TDD noise influence
CN110417997A (en) * 2019-07-26 2019-11-05 青岛海信移动通信技术股份有限公司 A kind of method, device and mobile terminal reducing TDD noise
CN111225315B (en) * 2020-02-27 2022-01-04 维沃移动通信有限公司 Audio playing device, audio playing method and electronic equipment

Also Published As

Publication number Publication date
CN112888057A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
KR20200027554A (en) Speech recognition method and apparatus, and storage medium
CN110890897B (en) Power supply circuit, power supply method and electronic equipment
CN111092621B (en) Radio frequency circuit, control method and electronic equipment
US20210011541A1 (en) Processing Method For Reducing Power Consumption And Mobile Terminal
CN107172671B (en) Channel switching method, device, storage medium and terminal
CN107219951B (en) Touch screen control method and device, storage medium and terminal equipment
CN107171740B (en) Radio frequency interference processing method, device, storage medium and terminal
WO2022027859A1 (en) Power adjustment method, 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
CN111240451A (en) Heat dissipation method, electronic device and computer-readable storage medium
JP7442551B2 (en) Mobile terminal and control method
CN112003983A (en) Adaptive vibration system, terminal, method, and computer-readable storage medium
CN112888057B (en) Control method and device of WIFI unit and electronic equipment
CN111308303B (en) Method and device for detecting radio frequency power amplifier of mobile terminal
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN115348256A (en) Posting data downloading method and device, storage medium and electronic equipment
CN110995324B (en) Bluetooth communication method, device, storage medium and terminal equipment
CN109672242B (en) Terminal charging control method and device and storage medium
CN108287755B (en) Application program control method and mobile terminal
CN111694419A (en) Sensor control method and electronic device
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN112114649B (en) Temperature adjusting method and device, storage medium and mobile terminal
CN107846287B (en) Power supply control method and mobile terminal
CN112399012B (en) Proximity sensor setting method, device and storage medium

Legal Events

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