CN113329297A - Control method, control device and electronic equipment - Google Patents

Control method, control device and electronic equipment Download PDF

Info

Publication number
CN113329297A
CN113329297A CN202110621649.5A CN202110621649A CN113329297A CN 113329297 A CN113329297 A CN 113329297A CN 202110621649 A CN202110621649 A CN 202110621649A CN 113329297 A CN113329297 A CN 113329297A
Authority
CN
China
Prior art keywords
audio signal
level
audio
theoretical
radio frequency
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
CN202110621649.5A
Other languages
Chinese (zh)
Other versions
CN113329297B (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 CN202110621649.5A priority Critical patent/CN113329297B/en
Publication of CN113329297A publication Critical patent/CN113329297A/en
Application granted granted Critical
Publication of CN113329297B publication Critical patent/CN113329297B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a control method, a control device and electronic equipment, and belongs to the field of communication. The control method is applied to an electronic device, the electronic device can be in communication connection with a digital headset, and the method comprises the following steps: acquiring sampling parameters of a transmitted audio signal under the condition that the electronic equipment establishes communication connection with the digital earphone; acquiring a theoretical receiving level and an actual receiving level of a radio frequency signal; and processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level.

Description

Control method, control device and electronic equipment
Technical Field
The present application belongs to the field of communications, and in particular, relates to a control method, a control apparatus, and an electronic device.
Background
Digital headphones are headphone products that are directly connected to electronic devices using a data line interface. The digital earphone is provided with the digital-to-analog converter and the amplifier, so that lossless music with ultrahigh code rate can be played, and the digital earphone can present high-quality audio effect.
In the prior art, the lower antenna of the electronic device is usually disposed near the data line interface. Under the condition that the digital earphone is inserted into the data line interface to establish communication connection with the electronic equipment, the digital earphone is closer to the lower antenna. In particular applications, digital headsets typically employ digital signals for data transfer with electronic devices. When the digital earphone transmits the digital signal, the digital signal has wide broadband noise, and the communication quality of the weak signal coverage area of the lower antenna is easily affected, so that the cellular communication quality of the electronic equipment is affected.
Disclosure of Invention
An object of the embodiments of the present application is to provide a control method, a control apparatus and an electronic device, which can solve the problem that a digital headset affects the cellular communication quality of the electronic device.
In a first aspect, an embodiment of the present application provides a control method, which is applied to an electronic device, where the electronic device may establish a communication connection with a digital headset, and the method includes:
acquiring sampling parameters of a transmitted audio signal under the condition that the electronic equipment establishes communication connection with the digital earphone;
acquiring a theoretical receiving level and an actual receiving level of a radio frequency signal;
and processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level. The method comprises the following steps:
in a second aspect, an embodiment of the present application provides a control apparatus, which is applied to an electronic device, where the electronic device may establish a communication connection with a digital headset, and the apparatus includes:
the first acquisition module is used for acquiring sampling parameters of a transmitted audio signal under the condition that the electronic equipment establishes communication connection with the digital earphone;
the second acquisition module is used for acquiring a theoretical receiving level and an actual receiving level of the radio frequency signal by a user;
and the processing module is used for processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level.
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 steps of 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 steps of 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 the embodiment of the present application, under the condition that the electronic device establishes a communication connection with the digital headset, a sampling parameter of a transmitted audio signal may be acquired; acquiring a theoretical receiving level and an actual receiving level of the radio frequency signal; and processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level so as to reduce the influence of the audio signal on the communication quality of a lower antenna, thereby improving the cellular communication quality of the electronic equipment.
Drawings
FIG. 1 is a flow chart of steps of a control method of an embodiment of the present application;
fig. 2 is a schematic diagram of a hardware structure of an electronic device and a digital headset according to an embodiment of the present application;
FIG. 3 is a flow chart of steps of another control method of an embodiment of the present application;
fig. 4 is a block diagram of a control device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of an electronic device for implementing an embodiment of the present application;
description of reference numerals: 100-electronic equipment, 101-processor, 102-first audio coding and decoding chip, 103-first data line interface, 200-digital earphone, 201-receiver, 202-second audio coding and decoding chip, 203-second data line interface.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly 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 that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
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 will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. 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 following describes the control method provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Referring to fig. 1, a flowchart illustrating steps of a control method according to an embodiment of the present application is shown, where the control method is applicable to an electronic device that can establish a communication connection with a digital headset. As shown in fig. 1, the method may specifically include:
step 101: and acquiring sampling parameters of the transmitted audio signal under the condition that the electronic equipment establishes communication connection with the digital earphone.
In this embodiment of the present application, the electronic device may include, but is not limited to, at least one of a mobile phone, a tablet computer, and a wearable device, and the specific type of the electronic device may not be limited in this embodiment of the present application. The digital headset is a headset product that uses a digital interface to directly communicatively connect with an electronic device. The digital headset may include, but is not limited to, a design of a carry-on ear bud and a headset.
In practical applications, the electronic device may be provided with a data line interface, where the data line interface may include, but is not limited to, at least one of a Universal Serial Bus (USB) interface or a lightning interface, and the specific type of the data line interface may not be limited in this application. And under the condition that the digital earphone is inserted into the data line interface, the communication connection between the electronic equipment and the digital earphone can be established.
In the embodiment of the present application, under the condition that the electronic device establishes a communication connection with the digital headset, a sampling parameter of an audio signal transmitted by the digital headset may be obtained.
Referring to fig. 2, which shows a hardware structure diagram of the electronic device and the digital headset according to the embodiment of the present disclosure, as shown in fig. 2, the electronic device 100 may include a processor 101, and first audio codec chips 102 and 103, where one end of the first audio codec chip 102 is electrically connected to the processor 101, and the other end is electrically connected to the data line interface 103. The digital earphone 200 may include a receiver 201, a second audio codec chip 202, and a second data line interface 203, wherein one end of the second audio codec chip 202 is electrically connected to the receiver 201, and the other end is electrically connected to the second data line interface 203. In the case where the second data line interface 203 of the digital headset 200 is inserted into the first data line interface 103 of the electronic device 100, a communication connection between the electronic device 100 and the digital headset 200 may be established.
In a specific application, in a case that the electronic device 100 establishes a communication connection with the digital headset 200, the first audio codec chip 102 on the electronic device 100 may be used to acquire sampling parameters of an audio signal transmitted by the digital headset 200.
In particular, the sampling parameters of the audio signal may include, but are not limited to, a sampling size and a sampling frequency. In practical applications, the sampling parameters of the audio signal are related to the audio quality, and the higher the audio quality of the audio signal is, the larger the sampling parameters are. And the larger the sampling parameter is, the larger the audio data which needs to be transmitted between the electronic device and the digital headset is, the higher the data transmission rate between the electronic device and the digital headset is, and the larger the influence on the cellular communication quality of the electronic device is.
For example, in the case where a user listens to high-quality music or high-definition movies using the digital headphones, the sampling frequency of the audio signal may reach 24bit and 192Khz and two channels due to the high quality of the audio signal. And in the scene that the user uses the digital earphone to watch short video or make a call, the sampling parameter of the audio signal is correspondingly low due to the low quality of the audio signal.
Step 102: and acquiring a theoretical receiving level and an actual receiving level of the radio frequency signal.
In this embodiment, in the case that the electronic device establishes a communication connection with the digital headset, the processor 101 in the electronic device may further be configured to obtain a theoretical reception level and an actual reception level of the radio frequency signal.
Specifically, the radio frequency signal may be received by an antenna of the electronic device, demodulated by a modem after low noise amplification, and identified by a processor of the electronic device after digital-to-analog conversion to an actual reception level R1 at which the radio frequency signal is received. The theoretical received level of the rf signal may be calculated according to the processor 101 of the electronic device.
In an optional embodiment of the present application, the method for obtaining the theoretical reception level of the radio frequency signal may specifically include the following sub-steps:
sub-step S11: a first transmit level of the electronic device, a second transmit level of the base station, and a first receive level are obtained.
In the embodiment of the present application, in the case that the user uses the cellular network of the electronic device and the digital headset at the same time, the electronic device may obtain the respective transmission level and reception level through communication with the base station, so as to calculate the theoretical reception level of the radio frequency signal without interference.
Specifically, based on the communication connection between the electronic device and the base station, the processor 101 of the electronic device may obtain the first transmission level P1 of the electronic device, and the second transmission level P2 and the first reception level R3 of the base station.
Substep S12: and determining the theoretical receiving level of the radio frequency signal according to the first transmitting level, the second transmitting power level and the first receiving level.
In the embodiment of the present application, after the first transmission level P1 of the electronic device, and the second transmission level P2 and the first reception level R3 of the base station are obtained, the uplink path loss L2 and the downlink path loss L1 of the radio frequency signal may be calculated accordingly.
Specifically, the uplink path loss L2 and the downlink path loss L1 of the radio frequency signal can be calculated according to the following formulas:
l2 ═ P1-R3 (formula 1)
L1 ═ P2-R2 (formula 2)
Wherein R2 is a theoretical received level of the radio frequency signal received by the electronic device. In practical applications, the uplink path loss L2 and the downlink path loss L1 of the rf signal are substantially equal under the condition of default no frequency selective fading, that is, the uplink path loss L2 and the downlink path loss L1 are substantially equal
L2 ≈ L1 (equation 3)
From equation 1, equation 2 and equation 3, a calculation equation for the theoretical received level R2 of the radio frequency signal may be determined:
r2 ═ P2-P1+ R3 (formula 4)
In the embodiment of the application, after the theoretical reception level R2 and the actual reception level R1 of the radio frequency signal are obtained, whether the radio frequency signal is a strong signal or a weak signal can be determined according to the theoretical reception level R2. Furthermore, the processor 101 of the electronic device may compare the actual reception level R1 with the theoretical reception level R2 and determine whether there is interference with the transmission of the radio frequency signal of the electronic device by the digital headset based on the difference between the actual reception level R1 and the theoretical reception level R2.
Step 103: and processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level.
In the embodiment of the present application, the transmission quality requirement of the audio signal and the influence of the audio signal on the cellular communication quality may be determined according to the sampling parameter. From the theoretical reception level R2 and the actual reception level R1, it can be determined whether the radio frequency signal is of the type and whether the radio frequency signal is subject to interference. According to the transmission quality requirement of the audio signal, the influence of the audio signal on the cellular communication quality, the type of the radio frequency signal and the condition whether the radio frequency signal is interfered, the audio signal is processed, the influence of the audio signal on the communication quality of the lower antenna can be reduced on the premise of meeting the transmission quality of the audio signal, and therefore the cellular communication quality of the electronic equipment is improved.
In summary, the control method according to the embodiment of the present application may include at least the following advantages:
in the embodiment of the application, under the condition that the electronic equipment and the digital earphone establish communication connection, sampling parameters of transmitted audio signals can be acquired; acquiring a theoretical receiving level and an actual receiving level of the radio frequency signal; and processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level so as to reduce the influence of the audio signal on the communication quality of a lower antenna, thereby improving the cellular communication quality of the electronic equipment.
Referring to fig. 3, a flowchart illustrating steps of another control method according to an embodiment of the present application is shown, and as shown in fig. 3, the control method may specifically include the following data:
step 301: and acquiring sampling parameters of the transmitted audio signal under the condition that the electronic equipment establishes communication connection with the digital earphone.
In the embodiment of the present application, the specific implementation process of step 301 may refer to step 101 in the foregoing embodiment, which is not described herein again.
Step 302: and acquiring a theoretical receiving level and an actual receiving level of the radio frequency signal.
In the embodiment of the present application, the specific implementation process of step 302 may refer to step 102 in the foregoing embodiment, which is not described herein again.
Step 303: and determining the audio type of the audio signal according to the sampling parameter.
In the embodiment of the present application, the sampling parameters of the audio signal may include, but are not limited to, a sampling size and a sampling frequency. The sampling parameters of the audio signal are related to the audio quality, and therefore, according to the sampling parameters, the audio type of the audio signal can be determined.
Specifically, the audio types may include a first audio type and a second audio type, the first audio type may be an audio type with higher audio quality, and the second audio type may specifically be an audio type with lower audio quality.
For example, in the case of listening to high-quality music or high-definition movies using the digital headphones, the sampling frequency of the audio signal may reach 24bit and 192Khz and two channels due to the high quality of the audio signal, and at this time, the type of the audio model may be determined to be the first audio type according to the sampling parameters. And in the scene that the user uses the digital earphone to watch short videos or make a call, because the quality of the audio signal is low, the sampling parameter of the audio signal is correspondingly low, and at the moment, the audio type can be determined to be the second audio type.
Step 304: and processing the audio signal corresponding to the audio type according to the audio type, the theoretical receiving level and the actual receiving level.
In the embodiment of the present application, according to the audio type, a transmission quality requirement of the audio signal and an influence of the audio signal on the cellular communication quality may be determined. From the theoretical reception level R2 and the actual reception level R1, it can be determined whether the radio frequency signal is of the type and whether the radio frequency signal is subject to interference. According to the transmission quality requirement of the audio signal, the influence of the audio signal on the cellular communication quality, the type of the radio frequency signal and the condition whether the radio frequency signal is interfered, the audio signal is processed, the influence of the audio signal on the communication quality of the lower antenna can be reduced on the premise of meeting the transmission quality of the audio signal, and therefore the cellular communication quality of the electronic equipment is improved.
Optionally, the method for processing the audio signal corresponding to the audio type according to the audio type, the theoretical reception level, and the actual reception level may specifically include the following sub-steps:
at step S21: and determining the interference condition of the transmission of the audio signal to the transmission of the radio frequency signal based on the theoretical receiving level and the actual receiving level under the condition that the audio type is the first audio type.
In the embodiment of the present application, when the audio type is the first audio type, it may be considered that the audio quality of the audio signal is higher, the transmission rate of the audio signal is faster, and the influence on the quality of cellular communication of the electronic device is larger. In this case, an interference situation of the transmission of the audio signal with the transmission of the radio frequency signal may be determined based on the theoretical reception level R2 and the actual reception level R1.
Substep S22: and determining that the audio signal has interference on the radio frequency signal under the condition that the theoretical receiving level is smaller than a first threshold value and the difference value between the actual receiving level and the theoretical receiving level is larger than a second threshold value.
In the embodiment of the present application, whether the radio frequency signal is a strong signal or a weak signal is determined according to the theoretical reception level R2. In the case where the theoretical reception level R2 is less than the first threshold, the radio frequency signal may be considered to be a weak signal, and when cellular communication is performed using the weak signal, the communication quality is generally poor. In the case where the theoretical reception level R2 is greater than or equal to the first threshold, the radio frequency signal may be considered to be a strong signal, and when cellular communication is performed using the strong signal, the communication quality is generally good.
Specifically, the first threshold may be a threshold for determining the strength of the radio frequency signal, and a specific value of the first threshold may be set according to an actual situation. For example, the first threshold may be-80 dbm, the radio frequency signal may be considered to be a weak signal in the case of a theoretical reception level R2< -80dbm, and the radio frequency signal may be considered to be a strong signal in the case of a theoretical reception level R2> -80dbm or R2 ═ 80 dbm.
In a specific application, when the radio frequency signal is a strong signal, the interference of the audio signal to the radio frequency signal is negligible due to the good communication quality of the radio frequency signal. Under the condition that the radio-frequency signal is a weak signal, the influence of the interference of the audio signal on the radio-frequency signal on the communication quality is large due to the poor communication quality of the radio-frequency signal.
In the embodiment of the present application, due to the interference of the audio signal of the digital headset to the radio frequency signal, the actual reception level R1 and the theoretical reception level R2 of the radio frequency signal of the electronic device tend to be different. Therefore, based on the difference between the theoretical reception level R2 and the actual reception level R1, it can be determined whether the radio frequency signal is interfered. Specifically, in the case that the difference between the actual receiving level R1 and the theoretical receiving level R2 is greater than the second threshold, it can be considered that the audio signal has a larger interference to the current frequency band of the radio frequency signal. In the case that the difference between the actual reception level R1 and the theoretical reception level R2 is less than or equal to the second threshold, the interference of the audio signal to the current frequency band of the radio frequency signal may be considered to be small and may be ignored.
Specifically, the second threshold may be a threshold for determining an influence of the audio signal on the communication quality of the radio frequency signal, and a specific value of the second threshold may be set according to an actual situation. For example, the second threshold may be 6 db. Thus, at the difference R1-R2>6db between the actual reception level R1 and the theoretical reception level R2, it can be considered that the interference of the audio signal to the current frequency band of the radio frequency signal is large.
In the case that the difference R1-R2 between the actual reception level R1 and the theoretical reception level R2 is <6db or R1-R2 is 6db, it can be considered that the interference of the audio signal to the current frequency band of the radio frequency signal is small and negligible.
In the embodiment of the present application, when the theoretical reception level R2 is greater than or equal to the first threshold, the radio frequency signal may be considered as a strong signal, and when cellular communication is performed using the strong signal, the communication quality is generally good, in which case, the interference of the audio signal to the radio frequency signal is negligible. In the case that the difference between the actual reception level R1 and the theoretical reception level R2 is less than or equal to the second threshold, the interference of the audio signal to the current frequency band of the radio frequency signal may be considered to be small and may be ignored. Therefore, only in the case that the theoretical receiving level is smaller than a first threshold and the difference between the actual receiving level and the theoretical receiving level is greater than a second threshold, it can be determined that the audio signal interferes with the radio frequency signal, and the audio signal transmitted by the digital headset has a large influence on the communication quality of the radio frequency signal.
Substep S23: performing interference reduction processing on the audio signal in the presence of interference on transmission of the radio frequency signal by transmission of the audio signal.
In the embodiment of the application, under the condition that the transmission of the audio signal of the digital earphone has interference to the transmission of the radio frequency signal, the interference reduction processing can be performed on the audio signal so as to reduce the interference of the audio signal to the radio frequency signal and reduce the influence of the audio signal on the communication quality of the lower antenna, thereby improving the cellular communication quality of the electronic equipment.
Specifically, the interference reduction processing may specifically include: reducing the sampling parameters of the audio signal. I.e. the sample size and the sample frequency of the audio signal is reduced. Thus, the transmission rate of the audio signal can be reduced, and further, the interference of the audio signal to the radio frequency signal can be reduced.
In practical applications, after reducing the sampling size and the sampling frequency of the audio signal, the interference of the audio signal to the radio frequency signal is also reduced in response, and accordingly, the difference between the actual reception level R1 and the theoretical reception level R2 of the radio frequency signal is also reduced. In order to guarantee the audio quality of the audio signal as much as possible, the sampling size and the sampling frequency of the audio signal may be adjusted with reference to the difference between the actual reception level R1 and the theoretical reception level R2.
In a specific application, when the difference between the actual receiving level R1 and the theoretical receiving level R2 is reduced to be less than the second threshold, it can be considered that the transmission of the audio signal has less interference to the transmission of the radio frequency signal, and therefore, the continuous reduction of the sampling size and the sampling frequency of the audio signal can be stopped, so as to ensure the audio quality of the audio signal as much as possible.
Illustratively, when the second threshold is 6db, in the case that the difference R1-R2 between the actual reception level R1 and the theoretical reception level R2 is <6db, the continuous reduction of the sampling size and the sampling frequency of the audio signal may be stopped to ensure the audio quality of the audio signal as much as possible.
It should be noted that, in the embodiment of the present application, in the case that the audio type is the first audio type, in the case that the theoretical reception level R2 is greater than or equal to the first threshold, or in the case that the difference between the actual reception level R1 and the theoretical reception level R2 is less than or equal to the second threshold, the interference of the audio signal on the radio frequency signal is negligible. At this time, the audio signal does not need to be processed, so that the audio signal can maintain high-quality output, and the use experience of a user is improved.
Substep S24: and under the condition that the audio type is a second audio type, performing interference reduction processing on the audio signal.
In the embodiment of the present application, in the case that the audio type is the second audio type, it may be considered that the user may watch short videos or make calls using the digital headset, and the requirement on the audio quality is low. In this case, the audio signal may be directly subjected to interference reduction processing to reduce interference of the audio signal with the radio frequency signal, and reduce an influence of the audio signal on communication quality of the lower antenna, so that cellular communication quality of the electronic device may be improved.
Specifically, the interference reduction processing performed on the audio signal in this step may specifically refer to the interference reduction processing in sub-step S23, which is not described herein again.
In summary, the control method according to the embodiment of the present application may include at least the following advantages:
in the embodiment of the present application, the transmission quality requirement of the audio signal and the influence of the audio signal on the cellular communication quality may be determined according to the sampling parameter. From the theoretical receive level and the actual receive level, the type of the radio frequency signal and whether the radio frequency signal is interfered may be determined. According to the transmission quality requirement of the audio signal, the influence of the audio signal on the cellular communication quality, the type of the radio frequency signal and the condition whether the radio frequency signal is interfered, the audio signal is processed, the influence of the audio signal on the communication quality of the lower antenna can be reduced on the premise of meeting the transmission quality of the audio signal, and therefore the cellular communication quality of the electronic equipment is improved.
It should be noted that, in the control method provided in the embodiment of the present application, the execution subject may be a control device, or a control module in the control device for executing a sophisticated method. In the embodiment of the present application, a method for controlling a control device is taken as an example, and the control device provided in the embodiment of the present application is described.
Referring to fig. 4, a block diagram of a control device according to an embodiment of the present application is shown, and is applied to an electronic device, where the electronic device may establish a communication connection with a digital headset. As shown in fig. 4, the control device may specifically include:
a first obtaining module 401, configured to obtain a sampling parameter of a transmitted audio signal when the electronic device establishes a communication connection with the digital headset;
a second obtaining module 402, configured to obtain a theoretical receiving level and an actual receiving level of the radio frequency signal;
a processing module 403, configured to process the audio signal according to the sampling parameter, the theoretical receiving level, and the actual receiving level.
Optionally, the processing module 403 may include:
the first determining submodule is used for determining the audio type of the audio signal according to the sampling parameter;
and the processing submodule is used for processing the audio signal corresponding to the audio type according to the audio type, the theoretical receiving level and the actual receiving level.
Optionally, the processing sub-module may include:
a first determining unit, configured to determine, based on the theoretical reception level and the actual reception level, an interference situation of transmission of the audio signal with transmission of the radio frequency signal, if the audio type is a first audio type;
a second determining unit, configured to determine that the audio signal interferes with the radio frequency signal when the theoretical reception level is smaller than a first threshold and a difference between the actual reception level and the theoretical reception level is greater than a second threshold;
the first processing unit is used for performing interference reduction processing on the audio signal under the condition that the transmission of the audio signal has interference on the transmission of the radio frequency signal.
Optionally, the processing sub-module may further include:
and the second processing unit is used for performing interference reduction processing on the audio signal under the condition that the audio type is a second audio type.
Optionally, the second obtaining module may include:
the acquisition submodule is used for acquiring a first transmission level of the electronic equipment, a second transmission level and a first receiving level of the base station;
and the second determining submodule determines the theoretical receiving level of the radio frequency signal by the user according to the first transmitting level, the second transmitting power level and the first receiving level.
In the embodiment of the application, under the condition that the electronic equipment and the digital earphone establish communication connection, sampling parameters of transmitted audio signals can be acquired; acquiring a theoretical receiving level and an actual receiving level of the radio frequency signal; and processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level so as to reduce the influence of the audio signal on the communication quality of a lower antenna, thereby improving the cellular communication quality of the electronic equipment.
The control device in the embodiment of the present application may be a device, or may 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 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 provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 3, and is not described here again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and capable of being executed on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the above control method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
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. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. Drawing (A)6The electronic device structures shown in the figures do not constitute limitations 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 not repeated here.
The processor 610 is configured to obtain a sampling parameter of a transmitted audio signal when the electronic device establishes a communication connection with the digital headset; acquiring a theoretical receiving level and an actual receiving level of a radio frequency signal; and processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level.
A processor 610 for determining an audio type of the audio signal according to the sampling parameter; and processing the audio signal corresponding to the audio type according to the audio type, the theoretical receiving level and the actual receiving level.
A processor 610, configured to determine, based on the theoretical reception level and the actual reception level, an interference condition of transmission of the audio signal with transmission of the radio frequency signal if the audio type is a first audio type; determining that the audio signal has interference on the radio frequency signal under the condition that the theoretical receiving level is smaller than a first threshold value and the difference value between the actual receiving level and the theoretical receiving level is larger than a second threshold value; performing interference reduction processing on the audio signal in the presence of interference on transmission of the radio frequency signal by transmission of the audio signal.
A processor 610, configured to perform interference reduction processing on the audio signal if the audio type is a second audio type.
A processor 610 configured to obtain a first transmit level of an electronic device, a second transmit level of a base station, and a first receive level; and determining the theoretical receiving level of the radio frequency signal according to the first transmitting level, the second transmitting power level and the first receiving level.
In the embodiment of the application, under the condition that the electronic equipment and the digital earphone establish communication connection, sampling parameters of transmitted audio signals can be acquired; acquiring a theoretical receiving level and an actual receiving level of the radio frequency signal; and processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level so as to reduce the influence of the audio signal on the communication quality of a lower antenna, thereby improving the cellular communication quality of the electronic equipment.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 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. The memory 609 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 610 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 the processor 610.
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 control method embodiment, 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, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above control method embodiment, and can achieve the same technical effect, and for avoiding repetition, the 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 computer 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, 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 (10)

1. A control method applied to an electronic device, wherein the electronic device can establish a communication connection with a digital headset, the method comprising:
acquiring sampling parameters of a transmitted audio signal under the condition that the electronic equipment establishes communication connection with the digital earphone;
acquiring a theoretical receiving level and an actual receiving level of a radio frequency signal;
and processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level.
2. The control method of claim 1, wherein the step of processing the audio signal according to the sampling parameter, the theoretical receive level, and the actual receive level comprises:
determining the audio type of the audio signal according to the sampling parameter;
and processing the audio signal corresponding to the audio type according to the audio type, the theoretical receiving level and the actual receiving level.
3. The control method according to claim 2, wherein the step of performing processing corresponding to the audio type on the audio signal in accordance with the audio type, the theoretical reception level, and the actual reception level includes:
determining an interference situation of the transmission of the audio signal to the transmission of the radio frequency signal based on the theoretical reception level and the actual reception level when the audio type is a first audio type;
determining that the audio signal has interference on the radio frequency signal under the condition that the theoretical receiving level is smaller than a first threshold value and the difference value between the actual receiving level and the theoretical receiving level is larger than a second threshold value;
performing interference reduction processing on the audio signal in the presence of interference on transmission of the radio frequency signal by transmission of the audio signal.
4. The control method according to claim 2, wherein the step of performing processing corresponding to the audio type on the audio signal according to the audio type, the theoretical reception level, and the actual reception level further includes:
and under the condition that the audio type is a second audio type, performing interference reduction processing on the audio signal.
5. The control method of claim 1, wherein the step of obtaining the theoretical received level of the rf signal comprises:
acquiring a first transmission level of the electronic equipment, a second transmission level and a first receiving level of the base station;
and determining the theoretical receiving level of the radio frequency signal according to the first transmitting level, the second transmitting power level and the first receiving level.
6. A control apparatus for an electronic device, the electronic device being capable of establishing a communication connection with a digital headset, the apparatus comprising:
the first acquisition module is used for acquiring sampling parameters of a transmitted audio signal under the condition that the electronic equipment establishes communication connection with the digital earphone;
the second acquisition module is used for acquiring a theoretical receiving level and an actual receiving level of the radio frequency signal by a user;
and the processing module is used for processing the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level.
7. The control device of claim 6, wherein the processing module comprises:
the first determining submodule is used for determining the audio type of the audio signal according to the sampling parameter;
and the processing submodule is used for processing the audio signal corresponding to the audio type according to the audio type, the theoretical receiving level and the actual receiving level.
8. The control device of claim 7, wherein the processing sub-module comprises:
a first determining unit, configured to determine, based on the theoretical reception level and the actual reception level, an interference situation of transmission of the audio signal with transmission of the radio frequency signal, if the audio type is a first audio type;
a second determining unit, configured to determine that the audio signal interferes with the radio frequency signal when the theoretical reception level is smaller than a first threshold and a difference between the actual reception level and the theoretical reception level is greater than a second threshold;
the first processing unit is used for performing interference reduction processing on the audio signal under the condition that the transmission of the audio signal has interference on the transmission of the radio frequency signal.
9. 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 steps of the control method according to any one of claims 1 to 5.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method according to any one of claims 1-5.
CN202110621649.5A 2021-06-02 2021-06-02 Control method, control device and electronic equipment Active CN113329297B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110621649.5A CN113329297B (en) 2021-06-02 2021-06-02 Control method, control device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110621649.5A CN113329297B (en) 2021-06-02 2021-06-02 Control method, control device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113329297A true CN113329297A (en) 2021-08-31
CN113329297B CN113329297B (en) 2024-01-16

Family

ID=77421071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110621649.5A Active CN113329297B (en) 2021-06-02 2021-06-02 Control method, control device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113329297B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340564A (en) * 2010-07-20 2012-02-01 上海闻泰电子科技有限公司 Circuit board for low-noise mobile phone and method for reducing noise of mobile phone system
CN103795427A (en) * 2012-10-31 2014-05-14 国际商业机器公司 Anti-jamming method and anti-jamming device for wireless communication system
CN106982097A (en) * 2017-05-23 2017-07-25 广东欧珀移动通信有限公司 Radio frequency interference removing method, device, storage medium and terminal
CN107171741A (en) * 2017-05-31 2017-09-15 广东欧珀移动通信有限公司 Radio frequency interference processing method, device, storage medium and terminal
CN110855313A (en) * 2019-11-06 2020-02-28 维沃移动通信有限公司 Signal control method and electronic equipment
CN110972033A (en) * 2018-09-28 2020-04-07 硅实验室公司 System and method for modifying audio data information based on one or more Radio Frequency (RF) signal reception and/or transmission characteristics
CN111064479A (en) * 2019-12-05 2020-04-24 昆腾微电子股份有限公司 Radio frequency signal transmission method and device based on wireless audio system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340564A (en) * 2010-07-20 2012-02-01 上海闻泰电子科技有限公司 Circuit board for low-noise mobile phone and method for reducing noise of mobile phone system
CN103795427A (en) * 2012-10-31 2014-05-14 国际商业机器公司 Anti-jamming method and anti-jamming device for wireless communication system
CN106982097A (en) * 2017-05-23 2017-07-25 广东欧珀移动通信有限公司 Radio frequency interference removing method, device, storage medium and terminal
CN107171741A (en) * 2017-05-31 2017-09-15 广东欧珀移动通信有限公司 Radio frequency interference processing method, device, storage medium and terminal
CN110972033A (en) * 2018-09-28 2020-04-07 硅实验室公司 System and method for modifying audio data information based on one or more Radio Frequency (RF) signal reception and/or transmission characteristics
CN110855313A (en) * 2019-11-06 2020-02-28 维沃移动通信有限公司 Signal control method and electronic equipment
CN111064479A (en) * 2019-12-05 2020-04-24 昆腾微电子股份有限公司 Radio frequency signal transmission method and device based on wireless audio system

Also Published As

Publication number Publication date
CN113329297B (en) 2024-01-16

Similar Documents

Publication Publication Date Title
CN110891305B (en) Power control device and method and electronic equipment
CN109819450B (en) Signal receiving method, device and terminal
US20200374890A1 (en) Interference processing method, user terminal and network-side device
CN108880631B (en) Information receiving and transmitting switching method and terminal
CN109104203B (en) Communication method, electronic device, and computer-readable storage medium
CN112769445B (en) Radio frequency circuit, signal transmitting method and electronic equipment
CN109788125B (en) Interference processing method and device and mobile terminal
CN108055687B (en) Wireless network connection method and device and terminal equipment
CN111988771B (en) Wireless connection control method and device and electronic equipment
CN109714488B (en) Terminal equipment working mode adjusting method and device, terminal equipment and storage medium
CN111093259A (en) Bluetooth power adjustment method, device, storage medium and terminal
EP3793261A1 (en) Access control method, message broadcast method, and related device
CN112584374A (en) Capability parameter determination method, uplink scheduling method, terminal and network side equipment
CN111225315B (en) Audio playing device, audio playing method and electronic equipment
CN109743141B (en) Data transmission adjusting method and terminal equipment
CN111050410A (en) Antenna control method and electronic equipment
CN108307485B (en) Wireless network scanning method and device, terminal equipment and storage medium
CN112330564B (en) Image processing method, device, electronic equipment and readable storage medium
CN108337719B (en) Wireless network scanning method and device, terminal equipment and storage medium
US11812281B2 (en) Measuring method, terminal and network side device
CN112888055A (en) Wi-Fi uplink data sending method and device, electronic equipment and storage medium
CN110475367B (en) Transmission method, mobile communication terminal and network side equipment
CN113329297B (en) Control method, control device and electronic equipment
CN107948443B (en) Method, apparatus and computer storage medium for preventing speaker interference in communication
CN110381491B (en) Signal transmission method and terminal

Legal Events

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