CN113329297B - Control method, control device and electronic equipment - Google Patents
Control method, control device and electronic equipment Download PDFInfo
- Publication number
- CN113329297B CN113329297B CN202110621649.5A CN202110621649A CN113329297B CN 113329297 B CN113329297 B CN 113329297B CN 202110621649 A CN202110621649 A CN 202110621649A CN 113329297 B CN113329297 B CN 113329297B
- Authority
- CN
- China
- Prior art keywords
- audio
- audio signal
- level
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000005236 sound signal Effects 0.000 claims abstract description 147
- 238000005070 sampling Methods 0.000 claims abstract description 64
- 238000004891 communication Methods 0.000 claims abstract description 54
- 230000005540 biological transmission Effects 0.000 claims description 55
- 230000010267 cellular communication Effects 0.000 description 22
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005562 fading Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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 electronic equipment, the electronic equipment can establish communication connection with a digital earphone, and the method comprises the following steps: under the condition that the electronic equipment and the digital earphone are in communication connection, acquiring sampling parameters of a transmitted audio signal; 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
Technical Field
The application belongs to the field of communication, and particularly relates to a control method, a control device and electronic equipment.
Background
Digital headphones are headphone products that use a data line interface to connect directly to an electronic device. Because the digital earphone is provided with the digital-analog converter and the amplifier, the lossless music with the ultra-high code rate can be played, and therefore, the digital earphone can present high-quality audio effects.
In the prior art, the lower antenna of the electronic device is typically 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 relatively close to the lower antenna. In particular applications, digital headphones typically employ digital signals for data transmission with electronic devices. When the digital earphone transmits the digital signal, the communication quality of the weak signal coverage area of the lower antenna is easily affected due to the fact that the digital signal has wider broadband noise, and therefore 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 device, and an electronic device, which can solve a problem that a digital earphone affects cellular communication quality of the electronic device.
In a first aspect, an embodiment of the present application provides a control method applied to an electronic device, where the electronic device may establish a communication connection with a digital earphone, the method including:
under the condition that the electronic equipment and the digital earphone are in communication connection, acquiring sampling parameters of a transmitted audio signal;
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 device applied to an electronic apparatus, where the electronic apparatus may establish a communication connection with a digital earphone, the device includes:
the first acquisition module is used for acquiring sampling parameters of the transmitted audio signals under the condition that the electronic equipment and the digital earphone are in communication connection;
the second acquisition module is used for acquiring the theoretical receiving level and the 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, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of 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 the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide 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 present application, when the electronic device and the digital earphone establish a communication connection, sampling parameters of a transmitted audio signal may be obtained; 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 to 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.
Drawings
FIG. 1 is a flow chart of steps of a control method according to an embodiment of the present application;
fig. 2 is a schematic hardware structure of an electronic device and a digital earphone 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 diagram of a hardware structure of an electronic device for implementing an embodiment of the present application;
reference numerals illustrate: 100-electronic equipment, 101-processor, 102-first audio codec chip, 103-first data line interface, 200-digital earphone, 201-earphone, 202-second audio codec chip, 203-second data line interface.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. 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 control method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of steps of a control method according to an embodiment of the present application is shown, where the control method may be applied to an electronic device, where the electronic device may establish a communication connection with a digital earphone. As shown in fig. 1, the method specifically may include:
step 101: and under the condition that the electronic equipment and the digital earphone are in communication connection, acquiring sampling parameters of the transmitted audio signals.
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 earphone is an earphone product which is directly connected with the electronic equipment in a communication way by using a digital interface. The digital headphones may include, but are not limited to, a pocket earplug and a design of the headphone.
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 (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 this embodiment of the present application, when the electronic device and the digital earphone establish a communication connection, sampling parameters of an audio signal transmitted by the digital earphone may be obtained.
Referring to fig. 2, a schematic hardware structure of an electronic device and a digital earphone according to an embodiment of the present application is shown, and 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 further include a headset 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 headset 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 earphone 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 earphone 200 can be established.
In a specific application, where the electronic device 100 establishes a communication connection with the digital earphone 200, the first audio codec chip 102 on the electronic device 100 may be used to collect sampling parameters of an audio signal transmitted by the digital earphone 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. The larger the sampling parameter is, the larger the audio data to be transmitted between the electronic device and the digital earphone is, the higher the data transmission rate between the electronic device and the digital earphone 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 a high definition movie using the digital earphone, 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 parameters of the audio signal are correspondingly lower due to the lower quality of the audio signal.
Step 102: a theoretical reception level and an actual reception level of the radio frequency signal are obtained.
In this embodiment of the present application, the processor 101 in the electronic device may be further configured to obtain a theoretical reception level and an actual reception level of the radio frequency signal when the electronic device establishes a communication connection with the digital earphone.
Specifically, the radio frequency signal may be received by an antenna of the electronic device, demodulated by a modem after low noise amplification, and then identified by a processor of the electronic device after digital-to-analog conversion to receive an actual reception level R1 of the radio frequency signal. The theoretical reception level of the rf signal may be calculated according to the processor 101 of the electronic device.
In an alternative embodiment of the present application, the method for obtaining the theoretical reception level of the radio frequency signal may specifically comprise the following sub-steps:
sub-step S11: a first transmit level, a second transmit level of a base station, and a first receive level of an electronic device are acquired.
In this embodiment of the present application, in a case where a user uses the cellular network of the electronic device and the digital earphone at the same time, the electronic device may obtain, through communication with a base station, a respective transmission level and a reception level, so as to calculate, based on the respective transmission level and the reception level, a theoretical reception level of the radio frequency signal under a condition of no interference.
Specifically, based on the communication connection between the electronic device and the base station, the processor 101 of the electronic device may obtain a first transmission level P1 of the electronic device, and a second transmission level P2 and a 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 this 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 according to the first transmission level P2 and the first reception level R3.
Specifically, the uplink path loss L2 and the downlink path loss L1 of the radio frequency signal may be calculated according to the following formulas:
l2=p1-R3 (formula 1)
L1=p2—r2 (formula 2)
Wherein R2 is a theoretical reception 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 in the default absence of frequency selective fading, i.e
L2.apprxeq.L1 (equation 3)
From equations 1, 2 and 3, a calculation equation of the theoretical reception level R2 of the radio frequency signal can be determined:
r2=p2-p1+r3 (formula 4)
In this embodiment of the present 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 may be determined according to the theoretical reception level R2. Moreover, the processor 101 of the electronic device may compare the actual reception level R1 with the theoretical reception level R2, and determine whether the digital earphone has interference on the transmission of the radio frequency signal of the electronic device according to 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 this embodiment of the present application, the transmission quality requirement of the audio signal may be determined according to the sampling parameter, and the 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 is possible to determine the type of the radio frequency signal and whether the radio frequency signal is interfered. 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 whether the radio frequency signal is interfered or not, the audio signal is processed, and the influence of the audio signal on the communication quality of a lower antenna can be reduced on the premise of meeting the transmission quality of the audio signal, so that the cellular communication quality of the electronic equipment is improved.
In summary, the control method according to the embodiments of the present application may at least include the following advantages:
in this embodiment of the present application, when the electronic device and the digital earphone establish a communication connection, sampling parameters of a transmitted audio signal may be obtained; 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 to 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.
Referring to fig. 3, a flowchart illustrating steps of another control method according to an embodiment of the present application, as shown in fig. 3, the control method may specifically include the following data:
step 301: and under the condition that the electronic equipment and the digital earphone are in communication connection, acquiring sampling parameters of the transmitted audio signals.
In this embodiment, the specific implementation process of step 301 may refer to step 101 in the foregoing embodiment, which is not described herein.
Step 302: a theoretical reception level and an actual reception level of the radio frequency signal are obtained.
In this embodiment, the specific implementation process of step 302 may refer to step 102 in the foregoing embodiment, which is not described herein.
Step 303: and determining the audio type of the audio signal according to the sampling parameters.
In the embodiment of the 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 thus, from the sampling parameters, the audio type of the audio signal can be determined.
In particular, the audio types may include a first audio type, which may be an audio type with a higher audio quality, and a second audio type, which may be in particular an audio type with a 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, at which time the type of the audio model may be determined to be the first audio type according to the sampling parameters. In a scenario where the user uses the digital earphone to watch a short video or make a call, the audio type may be determined to be the second audio type at this time because the quality of the audio signal is low and the sampling parameter of the audio signal is correspondingly low.
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 application, according to the audio type, the transmission quality requirement of the audio signal and the influence of the audio signal on the cellular communication quality can be determined. From the theoretical reception level R2 and the actual reception level R1, it is possible to determine the type of the radio frequency signal and whether the radio frequency signal is disturbed. 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 whether the radio frequency signal is interfered or not, the audio signal is processed, and the influence of the audio signal on the communication quality of a lower antenna can be reduced on the premise of meeting the transmission quality of the audio signal, so that 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:
in step S21: and determining the interference condition of the transmission of the audio signal on 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 this embodiment of the present application, in the case where 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 also faster, and the influence on the quality of cellular communication of the electronic device is also greater. In this case, the interference situation of the transmission of the audio signal on 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 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 smaller than the first threshold, the radio frequency signal can be regarded as a weak signal, and the communication quality is generally poor when cellular communication is performed using the weak signal. In the case where the theoretical reception level R2 is greater than or equal to the first threshold, the radio frequency signal can be regarded as a strong signal, and the communication quality is generally good when cellular communication is performed using the strong signal.
Specifically, the first threshold may be used as a threshold for determining the strength of the radio frequency signal, and a specific value thereof may be set according to an actual situation. For example, the first threshold may be-80 dbm, the radio frequency signal may be considered a weak signal in case of a theoretical reception level R2< -80dbm, and the radio frequency signal may be considered a strong signal in case of a theoretical reception level R2> -80dbm or r2= -80 dbm.
In a specific application, in the case that the radio frequency signal is a strong signal, the interference of the audio signal to the radio frequency signal is negligible due to the better communication quality of the radio frequency signal. In the case that the radio frequency signal is a weak signal, because the communication quality of the radio frequency signal is poor, the interference of the audio signal on the radio frequency signal has a great influence on the communication quality.
In this embodiment of the present application, due to interference of the audio signal of the digital earphone on the radio frequency signal, the actual receiving level R1 and the theoretical receiving level R2 of the radio frequency signal by 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 is possible to determine 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 may be considered that the audio signal has a greater interference to the current frequency band of the radio frequency signal. In the case that the difference between the actual receiving level R1 and the theoretical receiving level R2 is smaller than or equal to the second threshold, the interference of the audio signal on the current frequency band of the radio frequency signal may be considered to be smaller and may be ignored.
Specifically, the second threshold may be used as a threshold for determining the magnitude of the influence of the audio signal on the communication quality of the radio frequency signal, and a specific value thereof may be set according to actual situations. For example, the second threshold may be 6db. Thus, the difference R1-R2 between the actual reception level R1 and the theoretical reception level R2 is >6db, and it is considered that the audio signal has a large interference with the current frequency band of the radio frequency signal.
In case the difference R1-R2 between the actual reception level R1 and the theoretical reception level R2 is <6db or r1-r2=6db, the audio signal may be considered to have a small interference with the current frequency band of the radio frequency signal, which may be negligible.
In this 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 better, and in this case, the interference of the audio signal on the radio frequency signal may be negligible. In the case that the difference between the actual receiving level R1 and the theoretical receiving level R2 is smaller than or equal to the second threshold, the interference of the audio signal on the current frequency band of the radio frequency signal may be considered to be smaller and may be ignored. Therefore, only if the theoretical reception level is smaller than the first threshold value and the difference between the actual reception level and the theoretical reception level is larger than the second threshold value, it can be determined that the audio signal has interference on the radio frequency signal, and the audio signal transmitted by the digital earphone has a larger influence on the communication quality of the radio frequency signal.
Substep S23: performing interference reduction processing on the audio signal in a case where transmission of the audio signal interferes with transmission of the radio frequency signal.
In this embodiment of the present invention, when there is interference in the transmission of the audio signal of the digital earphone to the transmission of the radio frequency signal, the interference reduction processing may 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 device.
Specifically, the interference reduction processing may specifically include: reducing sampling parameters of the audio signal. I.e. reducing the sampling size and the sampling frequency of the audio signal. In this way, the transmission rate of the audio signal can be reduced, and further, the interference of the audio signal on the radio frequency signal can be reduced.
In practical applications, after the sampling size and the sampling frequency of the audio signal are reduced, the interference of the audio signal on the radio frequency signal is also reduced in a reply manner, and correspondingly, the difference between the actual receiving level R1 and the theoretical receiving level R2 of the radio frequency signal is also reduced correspondingly. In order to ensure 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 smaller 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, so that the continuous reduction of the sampling size and the sampling frequency of the audio signal can be stopped to ensure the audio quality of the audio signal as much as possible.
For example, when the second threshold is 6db, in the case that the difference R1-R2 between the actual receiving level R1 and the theoretical receiving level R2 is less than 6db, the continuous reduction of the sampling size and the sampling frequency of the audio signal may be stopped, so as 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 where the audio type is the first audio type, in the case where the theoretical reception level R2 is greater than or equal to the first threshold value, or in the case where the difference between the actual reception level R1 and the theoretical reception level R2 is less than or equal to the second threshold value, the interference of the audio signal on the radio frequency signal may be negligible. At this time, any processing on the audio signal is not required, so that the audio signal can maintain higher-quality output, and the use experience of a user is improved.
Substep S24: and carrying out interference reduction processing on the audio signal under the condition that the audio type is the second audio type.
In this embodiment of the present application, in the case where the audio type is the second audio type, it may be considered that the user may use the digital earphone to watch a short video or make a call, which has a low requirement on audio quality. In this case, the interference reduction processing may be directly performed on the audio signal, so as to reduce interference of the audio signal on 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 the substep S23, which is not described herein.
In summary, the control method according to the embodiments of the present application may at least include the following advantages:
in this embodiment of the present application, the transmission quality requirement of the audio signal may be determined according to the sampling parameter, and the influence of the audio signal on the cellular communication quality may be determined. Based on the theoretical and actual reception levels, a type of the radio frequency signal and whether the radio frequency signal is subject to interference 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 whether the radio frequency signal is interfered or not, the audio signal is processed, and the influence of the audio signal on the communication quality of a lower antenna can be reduced on the premise of meeting the transmission quality of the audio signal, so that 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 body may be a control device, or a control module in the control device for executing an exquisite method. In the embodiment of the present application, a method for executing control by 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 the control device is applied to an electronic device, where the electronic device may establish a communication connection with a digital earphone. As shown in fig. 4, the control device may specifically include:
a first obtaining module 401, configured to obtain sampling parameters of a transmitted audio signal when the electronic device establishes a communication connection with the digital earphone;
a second acquisition module 402, for acquiring a theoretical reception level and an actual reception level of the radio frequency signal by the user;
a processing module 403, configured to process the audio signal according to the sampling parameter, the theoretical reception level and the actual reception level.
Optionally, the processing module 403 may include:
a first determining submodule, configured to determine an audio type of the audio signal according to the sampling parameter;
and the processing sub-module 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 condition of transmission of the audio signal on transmission of the radio frequency signal in a case where the audio type is a first audio type;
a second determining unit, configured to determine that the audio signal has interference on the radio frequency signal when the theoretical reception level is less than a first threshold and a difference between the actual reception level and the theoretical reception level is greater than a second threshold;
and the first processing unit is used for performing interference reduction processing on the audio signal in the case 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 carrying out interference reduction processing on the audio signal under the condition that the audio type is the second audio type.
Optionally, the second obtaining module may include:
an acquisition sub-module, configured to acquire a first transmission level of the electronic device, a second transmission level of the base station, and a first reception level;
and the second determining submodule is used for 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 by a user.
In this embodiment of the present application, when the electronic device and the digital earphone establish a communication connection, sampling parameters of a transmitted audio signal may be obtained; 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 to 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.
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 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 the embodiments of the present application are not limited in particular.
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 operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The control device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 3, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 5, the embodiment of the present application further provides an electronic device 500, including a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and capable of running on the processor 501, where the program or the instruction implements each process of the embodiment of the control method when executed by the processor 501, and the process can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, and processor 610.
Those skilled in the art will appreciate that the electronic device 600 may also include a power source (e.g., a battery) for powering the various components, which may be connected to the processing by a power management systemThe controller 610 is logically connected to perform functions of managing charge, discharge, power consumption management, etc. through a power management system. Drawing of the figure6The electronic device structure shown in (c) does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown in the figures, or may combine some components, or may be arranged in different components, which are not described here.
The processor 610 is configured to obtain sampling parameters of a transmitted audio signal when the electronic device establishes a 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.
A processor 610 for determining an audio type of the audio signal based on the sampling parameters; 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 for determining an interference situation of transmission of the audio signal to transmission of the radio frequency signal based on the theoretical reception level and the actual reception level in case the audio type is a first audio type; determining that the audio signal interferes with the radio frequency signal when the theoretical reception level is smaller than a first threshold value and the difference between the actual reception level and the theoretical reception level is larger than a second threshold value; performing interference reduction processing on the audio signal in a case where transmission of the audio signal interferes with transmission of the radio frequency signal.
And a processor 610, configured to perform interference reduction processing on the audio signal when the audio type is the second audio type.
A processor 610 for acquiring a first transmission level, a second transmission level of a base station, and a first reception level of an electronic device; 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 this embodiment of the present application, when the electronic device and the digital earphone establish a communication connection, sampling parameters of a transmitted audio signal may be obtained; 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 to 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.
It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes image data of still pictures or videos 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. The touch panel 6071 is also called 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, a joystick, and so forth, 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 that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that 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, and when the program or the instruction is executed by a processor, the program or the instruction realizes each process of the embodiment of the control method, and the same technical effects can be achieved, so that repetition is avoided, and no redundant description is provided herein.
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 includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, implementing each process of the above control method embodiment, and achieving the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
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 also 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 solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in 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 of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (10)
1. A control method applied to an electronic device, the electronic device being capable of establishing a communication connection with a digital earphone, the method comprising:
under the condition that the electronic equipment and the digital earphone are in communication connection, acquiring sampling parameters of the transmitted audio signals, wherein the sampling parameters are used for determining the audio types of the audio signals;
acquiring a theoretical receiving level and an actual receiving level of a radio frequency signal, wherein the theoretical receiving level and the actual receiving level are used for determining whether the transmission of the audio signal has interference on the radio frequency signal or not;
and performing interference reduction processing corresponding to the audio type on the audio signal according to the sampling parameter, the theoretical receiving level and the actual receiving level.
2. The control method according to claim 1, characterized in that the step of performing interference reduction processing corresponding to the audio type on the audio signal in accordance with the sampling parameter, the theoretical reception level, and the actual reception level, comprises:
determining the audio type of the audio signal according to the sampling parameter;
and performing interference reduction processing corresponding to the audio type on the audio signal according to the audio type, the theoretical receiving level and the actual receiving level.
3. The control method according to claim 2, characterized in that the step of performing interference reduction 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 condition of the transmission of the audio signal on the transmission of the radio frequency signal based on the theoretical reception level and the actual reception level in case the audio type is a first audio type;
determining that the audio signal interferes with the radio frequency signal when the theoretical reception level is smaller than a first threshold value and the difference between the actual reception level and the theoretical reception level is larger than a second threshold value;
performing interference reduction processing on the audio signal in a case where transmission of the audio signal interferes with transmission of the radio frequency signal.
4. The control method according to claim 2, characterized in that the step of performing interference reduction 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, further comprises:
and carrying out interference reduction processing on the audio signal under the condition that the audio type is the second audio type.
5. The control method according to claim 1, wherein the step of obtaining a theoretical reception level of the radio frequency signal includes:
acquiring a first transmission level, a second transmission level and a first reception level of the electronic equipment;
and determining the theoretical receiving level of the radio frequency signal according to the first transmitting level, the second transmitting level and the first receiving level.
6. A control device for an electronic apparatus, the electronic apparatus being capable of establishing a communication connection with a digital earphone, the device comprising:
the first acquisition module is used for acquiring sampling parameters of the transmitted audio signals under the condition that the electronic equipment and the digital earphone are in communication connection, and the sampling parameters are used for determining the audio type of the audio signals;
the second acquisition module is used for acquiring a theoretical receiving level and an actual receiving level of the radio frequency signal, wherein the theoretical receiving level and the actual receiving level are used for determining whether the transmission of the audio signal has interference on the radio frequency signal or not;
and the processing module is used for carrying out interference reduction processing corresponding to the audio type on 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:
a first determining submodule, configured to determine an audio type of the audio signal according to the sampling parameter;
and the processing sub-module is used for carrying out interference reduction processing corresponding to the audio type on the audio signal 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 condition of transmission of the audio signal on transmission of the radio frequency signal in a case where the audio type is a first audio type;
a second determining unit, configured to determine that the audio signal has interference on the radio frequency signal when the theoretical reception level is less than a first threshold and a difference between the actual reception level and the theoretical reception level is greater than a second threshold;
and the first processing unit is used for performing interference reduction processing on the audio signal in the case 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 instruction stored on the memory and executable on the processor, which program or instruction when executed by the processor implements the steps of the control method according to any one of claims 1-5.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the control method according to any of claims 1-5.
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 CN113329297A (en) | 2021-08-31 |
CN113329297B true 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)
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 |
-
2021
- 2021-06-02 CN CN202110621649.5A patent/CN113329297B/en active Active
Patent Citations (7)
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 |
---|---|
CN113329297A (en) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109819450B (en) | Signal receiving method, device and terminal | |
KR101658908B1 (en) | Apparatus and method for improving a call voice quality in portable terminal | |
US20200374890A1 (en) | Interference processing method, user terminal and network-side device | |
CN109104203B (en) | Communication method, electronic device, and computer-readable storage medium | |
CN112584374B (en) | Capability parameter determination method, uplink scheduling method, terminal and network side equipment | |
US11800431B2 (en) | Access control method, message broadcasting method, and related devices | |
CN111988771B (en) | Wireless connection control method and device and electronic equipment | |
EP3641310A1 (en) | Video encoding method, apparatus, device, and storage medium | |
CN111093259A (en) | Bluetooth power adjustment method, device, storage medium and terminal | |
CN112769445A (en) | Radio frequency circuit, signal transmitting method and electronic equipment | |
CN110933706A (en) | Network communication setting method, device, storage medium and terminal | |
CN109714488A (en) | Terminal equipment operation mode adjusting method, device, terminal device and storage medium | |
CN110366275A (en) | A kind of method and terminal reducing multiple network mutual interference | |
CN109743141B (en) | Data transmission adjusting method and terminal equipment | |
US11375497B2 (en) | Power configuration method and terminal | |
CN112888055B (en) | Wi-Fi uplink data sending method and device, electronic equipment and storage medium | |
CN111642000B (en) | Data transmission method and device, electronic equipment and computer readable storage medium | |
KR102606110B1 (en) | Interference handling method, terminal and network-side devices | |
CN110868757B (en) | Information transmission method and device and electronic equipment | |
CN113329297B (en) | Control method, control device and electronic equipment | |
CN107948443B (en) | Method, apparatus and computer storage medium for preventing speaker interference in communication | |
US20200091989A1 (en) | Systems and Methods for Opportunistic Antenna Selection | |
CN111970668B (en) | Bluetooth audio control method, device and computer readable storage medium | |
CN113099542B (en) | Parameter reporting method, uplink scheduling method, device and medium | |
CN109257809B (en) | Communication path control method and terminal equipment |
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 |