CN112866453B - Electronic equipment and method and device for video and audio recording compatible with electronic equipment - Google Patents

Electronic equipment and method and device for video and audio recording compatible with electronic equipment Download PDF

Info

Publication number
CN112866453B
CN112866453B CN202110065426.5A CN202110065426A CN112866453B CN 112866453 B CN112866453 B CN 112866453B CN 202110065426 A CN202110065426 A CN 202110065426A CN 112866453 B CN112866453 B CN 112866453B
Authority
CN
China
Prior art keywords
analog
switch group
digital conversion
conversion module
microphone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110065426.5A
Other languages
Chinese (zh)
Other versions
CN112866453A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110065426.5A priority Critical patent/CN112866453B/en
Publication of CN112866453A publication Critical patent/CN112866453A/en
Application granted granted Critical
Publication of CN112866453B publication Critical patent/CN112866453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • H04M1/65Recording arrangements for recording a message from the calling party
    • H04M1/656Recording arrangements for recording a message from the calling party for recording conversations

Abstract

The application discloses an electronic device and a method and a device for video and audio recording compatible with the electronic device. The electronic equipment comprises a memory, a processor, a three-way microphone and a four-way analog-to-digital conversion module, wherein a computer program is stored in the memory, and the processor runs the computer program to execute the following steps: detecting sound pressure of a current recording environment when the electronic equipment starts recording, and judging whether the sound pressure exceeds a preset sound pressure threshold value according to a detection result so as to confirm whether the electronic equipment uses HDR recording and obtain a first judgment result; judging whether the electronic equipment runs an application which needs the three microphones to work simultaneously or not to obtain a second judgment result; and adjusting the connection relation between the three-way microphone and the four-way analog-to-digital conversion module based on the first judgment result and the second judgment result. Thus, compatibility of HDR recording and running of applications requiring the three microphones to work simultaneously is achieved.

Description

Electronic equipment and method and device for video and audio recording compatible with electronic equipment
Technical Field
The present application relates to the field of multimedia technologies, and in particular, to an electronic device and a method and an apparatus for recording video and audio compatible with the electronic device.
Background
At present, a high-pass platform CODEC (coder-decoder) has only four paths of ADCs (Analog-to-Digital converters) at most, HDR (high dynamic range) recording needs to connect two paths of ADCs with one path of MIC (microphone), and the two paths of ADCs are respectively configured with high and low gains, so that the dynamic range of recorded audio is expanded, and the definition under the high-sound-pressure environment is improved. However, this solution is not at all problematic if only two-way MIC is used, but there is an increasing market demand for sound recording, and three-way MIC is applied, for example: the functions of remote sound pickup, video zooming, video focus tracking, directional sound pickup and the like are more and more, and at the moment, if three MICs are connected, a hardware circuit has no way of being compatible with related applications which simultaneously use HDR sound recording and the three MICs. If two ADC paths are added, the pressure is large for the cost of hardware.
At present, a mobile phone with two MICs can use the HDR recording function, and a mobile phone with three MICs cannot use the HDR recording function. In terms of the prior art, the related recording extension functions of HDR recording and three-way MIC cannot be compatible on mobile phone applications on the basis of three-way MIC and four-way ADC.
Disclosure of Invention
In view of the above, the present application provides an electronic device and a method and an apparatus for recording video and audio compatible with the electronic device to solve the above technical problems.
An electronic device provided in an embodiment of the present application includes a memory, a processor, a three-way microphone, and a four-way analog-to-digital conversion module, where a computer program that can be executed by the processor is stored in the memory, and the processor executes the computer program to perform the following steps: detecting sound pressure of a current recording environment when the electronic equipment starts recording, and judging whether the sound pressure exceeds a preset sound pressure threshold value according to a detection result so as to determine whether the electronic equipment uses HDR recording and obtain a first judgment result; judging whether the electronic equipment runs an application which needs the three microphones to work simultaneously or not to obtain a second judgment result; and adjusting the connection relation between the three-way microphone and the four-way analog-to-digital conversion module based on the first judgment result and the second judgment result.
The method for compatible video and audio recording provided by the embodiment of the application is applied to electronic equipment, the electronic equipment comprises a three-way microphone and a four-way analog-to-digital conversion module, and the method for compatible video and audio recording comprises the following steps: detecting sound pressure of a current recording environment when the electronic equipment starts recording, and judging whether the sound pressure exceeds a preset sound pressure threshold value according to a detection result so as to confirm whether the electronic equipment uses HDR recording and obtain a first judgment result; judging whether the electronic equipment runs an application which needs the three microphones to work simultaneously or not to obtain a second judgment result; and adjusting the connection relation between the three-way microphone and the four-way analog-to-digital conversion module based on the first judgment result and the second judgment result.
The device that compatible video audio recording that this application embodiment provided includes:
the first judgment module is used for detecting the sound pressure of the current recording environment when the electronic equipment starts recording, judging whether the sound pressure exceeds a preset sound pressure threshold value according to a detection result, confirming whether the electronic equipment uses HDR recording or not, and obtaining a first judgment result;
the second judgment module is used for judging whether the electronic equipment runs an application which needs the three microphones to work simultaneously or not and obtaining a second judgment result; and
and the regulation and control module is used for regulating the connection relation between the three microphones and the road analog-to-digital conversion module based on the first judgment result and the second judgment result.
According to the computer-readable storage medium provided by the embodiment of the application, a computer program is stored in the computer-readable storage medium, and the computer program is called by a processor to run, and then the steps in the method compatible with video and audio recording are executed.
Therefore, in the present application, the connection relationship between the three-way microphone and the four-way analog-to-digital conversion module is adjusted based on the judgment results of the sound pressure judgment module and the state judgment module, so that the compatibility between the HDR recording and the running application that needs the three-way microphone to work simultaneously is realized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of a connection relationship between a three-way microphone and a four-way analog-to-digital conversion module in the prior art.
Fig. 2 is a schematic diagram of another connection relationship between a three-way microphone and a four-way analog-to-digital conversion module in the prior art.
Fig. 3 is a block diagram of an electronic device according to an embodiment of the present application.
Fig. 4 is a circuit diagram of the electronic device according to an embodiment of the present application.
Fig. 5 is a schematic diagram illustrating a dynamic range of a microphone connected to two analog-to-digital conversion modules simultaneously according to an embodiment of the present application.
Fig. 6 is a flowchart illustrating a method of compatible video and audio recording according to an embodiment of the present application.
Fig. 7 is a block diagram of an embodiment of a module compatible with video and audio recording.
Fig. 8 is a block diagram illustrating a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application are clearly and completely described below with reference to the drawings of the embodiments of the present application. It is to be understood that the described embodiments are merely exemplary of some, and not all, of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Unless defined otherwise, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. The use of the terms "a," "an," or "the" and similar referents in the context of this application are not to be construed as limiting in number, but rather as indicating the presence of at least one. The word "comprising" or "comprises", and the like, means that the element or item preceding the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled," and the like, are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiment of the present application may include a handheld device, a vehicle-mounted device, a wearable device, a computing device, and various User Equipment (UE), a Mobile Station (MS), a terminal device (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
Referring to fig. 1 and fig. 2, in the prior art, when the electronic device 200, 200a includes a three-way microphone 201 and a four-way analog-to-digital conversion module 202, two schemes are provided for connecting the three-way microphone 201 and the four-way analog-to-digital conversion module 202, the first scheme refers to fig. 1, in which one microphone 201 is connected to the two-way analog-to-digital conversion module 202, and the other two microphones 201 are respectively connected to the one-way analog-to-digital conversion module 202, at this time, when the HDR recording function is used for recording, the recorded audio file can only be monaural. Referring to fig. 2, in a second scheme, two microphones 201 of the three microphones 201 are respectively connected to two analog-to-digital conversion modules 202, and the other microphone 201 is not used, so that a stereo effect can be ensured during HDR recording, but functions related to the three microphones 201 cannot be used. Applications that require the three microphones 201 to work simultaneously may include, but are not limited to, applications that apply functions such as remote sound pickup, video zooming, video focus tracking, and directional sound pickup. The video zooming is that when a user zooms a lens during video shooting, sound is focused and amplified simultaneously, the principle of beam forming is mainly utilized, if the sound is realized by utilizing two paths of MICs, the sound can also be realized, but no way is available for distinguishing the sound at the same distance in front and at the same time, the sound in front and at the back after zooming is amplified, the effect is poor, the sound in front and at the back can be distinguished by three paths of MICs, and the signal-to-noise ratio of the three paths of MICs is improved by 3-6 dB compared with that of the two paths of MICs. Video focus tracking refers to video shooting, when a user needs to track and shoot a main body, the user also wants to track sound, face tracking or object tracking is utilized at the moment, angle information is sent to a recording module, after the angle information is received, a beam angle moves to a corresponding angle position to perform directional tracking and identification of the sound, at the moment, if the sound is realized by two paths of MICs, the sound can also be realized, but the sound at the same distance in the front and the back can not be distinguished, if the user runs to a shooting person, the sound can not be distinguished at the position, the effect is poor, three paths of MICs can distinguish the sound in the front and the back, and the signal-to-noise ratio of the three paths of MICs is improved by 3-6 dB compared with 2 MICs.
Obviously, there is no way in the prior art to simultaneously compatible the HDR recording and the related recording extension function of the three-way microphone on the basis of the three-way microphone 201 and the four-way analog-to-digital conversion module 202.
In order to solve the compatibility problem of the related recording extension functions of the HDR recording and the three-way microphone, the following schemes are proposed in the application. Specifically, please refer to fig. 3, in which fig. 3 is a schematic block diagram of an electronic device according to an embodiment of the present application. The electronic device 100 includes a memory 11, a processor 12, a three-way microphone 13, and a four-way analog-to-digital conversion module 14. The memory 11 stores a computer program for processing by the processor 12, and the processor 12 executes the computer program to perform the following steps:
detecting sound pressure of a current recording environment when the electronic device 100 starts recording, and judging whether the sound pressure exceeds a preset sound pressure threshold according to a detection result so as to confirm whether the electronic device 100 uses HDR recording to obtain a first judgment result;
judging whether the electronic device 100 is running an application requiring the three microphones 13 to work simultaneously to obtain a second judgment result;
and adjusting the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 based on the first determination result and the second determination result.
Therefore, in the present application, the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 may be adjusted based on the first determination result and the second determination result, so that the HDR recording function is implemented by changing the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14, and the related functions of running applications that need to work simultaneously with the three-way microphone 13 are implemented, and the HDR recording function is compatible with the functions of running applications that need to work simultaneously with the three-way microphone 13, so as to achieve the purpose of expanding the recording function and reduce the production cost without adding an analog-to-digital conversion module.
Further, please refer to fig. 4, wherein fig. 4 is a circuit diagram of the electronic device according to an embodiment of the present application. In one embodiment, the three-way microphone 13 includes a first microphone 131, a second microphone 133, and a third microphone 135. The first microphone 131 is disposed on the top of the front side of the electronic apparatus 100, i.e., adjacent to the front camera, the second microphone 133 is disposed on the top of the back side of the electronic apparatus 100, i.e., adjacent to the back camera, and the third microphone 135 is disposed on the bottom of the electronic apparatus 100. The four analog-to-digital conversion modules 14 include a first analog-to-digital conversion module 141, a second analog-to-digital conversion module 143, a third analog-to-digital conversion module 145 and a fourth analog-to-digital conversion module 147; the electronic device 100 further includes a first switch group 151, a second switch group 153, a third switch group 155, a fourth switch group 157, and a fifth switch group 159. The first switch set 151 is connected between the first microphone 131 and the first analog-to-digital conversion module 141; the second switch group 153 is connected between the first microphone 131 and the second analog-to-digital conversion module 143; the third switch group 155 is connected between the second microphone 133 and the third analog-to-digital conversion module 145; the fourth switch group 157 is connected between the third microphone 135 and the third analog-to-digital conversion module 145; the fifth switch group 159 is connected between the third microphone 135 and the fourth analog-to-digital conversion module 147. The processor 12 controls the on states of the first switch group 151, the second switch group 153, the third switch group 155, the fourth switch group 157 and the fifth switch group 159 based on the first determination result and the second determination result to adjust the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14.
Therefore, based on the first determination result and the second determination result, the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 is adjusted by adjusting the respective conduction conditions of the first switch group 151, the second switch group 153, the third switch group 155, the fourth switch group 157 and the fifth switch group 159, so as to implement both the HDR recording function and the related function of running the application requiring the three-way microphone 13 to work simultaneously, achieve the compatibility between the HDR recording function and the function of running the application requiring the three-way microphone 13 to work simultaneously, and achieve the purpose of expanding the recording function and reducing the production cost without increasing the number of analog-to-digital conversion modules.
Further, in one embodiment, the first analog-to-digital conversion module 141 has a first gain, the second analog-to-digital conversion module 143 has a second gain, the third analog-to-digital conversion module 145 has a third gain, and the fourth analog-to-digital conversion module 147 has a fourth gain. The magnitudes of the first gain, the second gain, the third gain, and the fourth gain may be determined by the conduction conditions of the first switch group 151, the second switch group 153, the third switch group 155, the fourth switch group 157, and the fifth switch group 159, so that the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 may be adjusted in an auxiliary manner, that is, the HDR recording function is implemented, the related function of running the application requiring the simultaneous operation of the three-way microphone 13 is implemented, the HDR recording function is compatible with the function of running the application requiring the simultaneous operation of the three-way microphone 13, and the recording function is extended and the production cost is reduced without adding an additional analog-to-digital conversion module.
Specifically, in one embodiment, the first analog-to-digital conversion module 141 includes a first analog-to-digital converter 1411 and a first gain unit 1413, and the first gain unit 1413 is connected between the first analog-to-digital converter 1411 and the first switch set 151; the second analog-to-digital conversion module 143 includes a second analog-to-digital converter 1431 and a second gain unit 1433, wherein the second gain unit 1433 is connected between the second switch group 153 and the second analog-to-digital converter 1431; the third analog-to-digital conversion module 145 includes a third analog-to-digital converter 1451 and a third gain unit 1453, the third gain unit 1453 is connected between the third switch set 155 and the third analog-to-digital converter 1451, and the third gain unit 1453 is further connected between the fourth switch set 157 and the third analog-to-digital converter 1451; the fourth adc module 147 includes a fourth adc 1471 and a fourth gain unit 1473, and the fourth gain unit 1473 is connected between the fifth switch group 159 and the fourth adc 1471.
Thus, based on the adjustment of the amplification factors of the first 1413, second 1433, third 1453 and fourth 1473 gain units, the magnitudes of the first, second, third and fourth gains may be adjusted.
Further, in one embodiment, the processor 12 executes the computer program to perform the steps of detecting the sound pressure of the current sound recording environment when the electronic device 100 starts sound recording, including:
the first microphone 131 is controlled to be turned on and recording of the environmental volume is performed to detect the sound pressure of the current recording environment, and the second microphone 133 and the third microphone 135 are controlled to be turned off, that is, one of the first switch set 151 and the second switch set 153 is controlled to be turned on, so that the purpose of recording the environmental volume to detect the sound pressure of the current recording environment is achieved.
Further, in one embodiment, after the audio signal recorded by the first microphone 131 is superimposed with the gain of the corresponding analog-to-digital conversion module, the superimposed audio signal may be converted into an electrical signal to obtain a sound pressure, and the sound pressure is compared with a preset sound pressure threshold. When the sound pressure is greater than a preset sound pressure threshold, it is determined that the sound pressure exceeds the preset sound pressure threshold, and at this time, if the first microphone 131 continues to be connected with the single-path analog-to-digital conversion module, the recording of the first microphone 131 will be distorted, and needs to be switched to HDR recording, that is, the first microphone 131 is controlled to be connected with the two-path analog-to-digital conversion module at the same time.
It should be explained that, when the first microphone 131 is connected to the one-way analog-to-digital conversion module, the dynamic range of the first microphone 131 is determined by the current recording bit number, and if the current recording bit number is 16 bits, the dynamic range that the one-way analog-to-digital conversion module can record is 96dB. When the first switch group 151 and the second switch group 153 are both turned on, the first microphone 131 is connected to two analog-to-digital conversion modules, which correspond to a low gain and a high gain, respectively, where the high gain and the low gain are relative concepts, a gain value of the high gain is greater than a gain value of the low gain, and a difference between the high gain and the low gain is greater than a preset threshold. Therefore, the purpose of expanding the dynamic range of the first microphone 131 can be achieved by a method of superimposing two signals.
Therefore, compared with a mode of adding two analog-to-digital conversion modules, the mode of adding the switch group in the application saves cost, and can intelligently switch the connection relation between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 according to the detection of environmental sound pressure and user behavior, thereby solving the technical problem that only the four-way analog-to-digital conversion module 14 is available at present, and three-way microphones cannot be compatible to realize HDR recording function and video focus-following zoom recording function.
Further, in one embodiment, the step executed by the processor 12 executing the computer program to determine whether the sound pressure exceeds a preset sound pressure threshold to confirm whether the electronic device 100 uses HDR recording includes:
determining that the electronic device 100 is using an HDR recording when the sound pressure exceeds the preset sound pressure threshold;
determining that the electronic device 100 is not using HDR recording when the sound pressure does not exceed the preset sound pressure threshold.
Further, in one embodiment, the step executed by the processor 12 running the computer program adjusts the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 based on the first determination result and the second determination result, which includes the following three cases, as described in detail below.
Wherein, the first condition is:
when the first determination result indicates that the electronic device 100 currently uses an HDR recording and the second determination result indicates that the electronic device 100 does not run an application that requires the three microphones 13 to operate simultaneously, the first switch group 151, the second switch group 153, the fourth switch group 157, and the fifth switch group 159 are controlled to be turned on, and the third switch group 155 is controlled to be turned off.
At this time, the first microphone 131 is simultaneously connected to the first analog-to-digital conversion module 141 and the second analog-to-digital conversion module 143, the second microphone 133 does not operate, and the third microphone 135 is simultaneously connected to the third analog-to-digital conversion module 145 and the fourth analog-to-digital conversion module 147. At this time, the first gain is different from the second gain, and the third gain is different from the fourth gain, for example, as shown in fig. 5, the first analog-to-digital conversion module 141 corresponds to a low gain, and the second analog-to-digital conversion module 143 corresponds to a high gain, and the signal of the first analog-to-digital conversion module 141 and the signal of the second analog-to-digital conversion module 143 are superimposed by an algorithm, so as to achieve the purpose of extending the dynamic range of the first microphone 131 by 30 dB. Similarly, the third analog-to-digital conversion module 145 corresponds to a low gain, and the fourth analog-to-digital conversion module 147 corresponds to a high gain, and the purpose of expanding the dynamic range of the third microphone 135 is also achieved by superimposing the signal of the third analog-to-digital conversion module 145 and the signal of the fourth analog-to-digital conversion module 147. Therefore, the first microphone 131 and the third microphone 135 are respectively connected to two analog-to-digital conversion modules, so that a dual dynamic stereo recording effect of HDR recording can be achieved.
Wherein the second case is:
when the first determination result is that the electronic device 100 does not currently use the HDR recording, the first switch group 151, the third switch group 155, and the fifth switch group 159 are controlled to be turned on, and the second switch group 153 and the fourth switch group 157 are controlled to be turned off.
Alternatively, in one embodiment, when the first determination result indicates that the electronic device 100 does not currently use an HDR recording and the second determination result indicates that the electronic device 100 does not run an application that requires the three-way microphone 13 to operate simultaneously, the first switch set 151, the third switch set 155, and the fifth switch set 159 are controlled to be turned on, and the second switch set 153 and the fourth switch set 157 are controlled to be turned off.
Optionally, in another embodiment, when the first determination result is that the electronic device 100 does not currently use an HDR recording, it is not necessary to determine whether the electronic device 100 is running an application that requires the three microphones to operate simultaneously to obtain a second determination result, and at this time, the first microphone 131, the second microphone 133, and the third microphone 135 are respectively connected to one analog-to-digital conversion module, so as to implement normal sound reception.
At this time, the first microphone 131, the second microphone 133 and the third microphone 135 are respectively connected to one analog-to-digital conversion module, so as to realize normal sound reception.
Wherein the third case is:
when the first determination result is that the electronic device 100 currently uses an HDR recording and the second determination result is that the electronic device 100 runs an application that requires the three microphones 13 to operate simultaneously, the first switch group 151, the second switch group 153, the third switch group 155, and the fifth switch group 159 are controlled to be turned on, and the second switch group 153 is controlled to be turned off.
At this time, the first microphone 131 is connected to two analog-to-digital conversion modules, and the second microphone 133 and the third microphone 135 are respectively connected to one analog-to-digital conversion module, so that compatibility between HDR recording and running of applications requiring simultaneous operation of the three microphones 13 can be simultaneously achieved, the recording effect of the three microphones 13 is ensured, and the recording definition and dynamic range are improved.
Further, in an embodiment, when the first determination result is that the electronic device 100 is currently using an HDR recording and the second determination result is that the electronic device 100 is running an application that requires the three-way microphone 13 to operate simultaneously, the first gain and the second gain are different, and the third gain and the fourth gain are the same as a lower gain of the first gain and the second gain.
Therefore, when the sound pressure exceeds a preset sound pressure threshold, the second microphone 133 and the third microphone 135 have the same low gain as the first microphone 131, so as to avoid sound break, and the dynamic range of the first microphone 131, the second microphone 133 and the third microphone 135 can be increased when they are operated simultaneously.
Referring to fig. 6, fig. 6 is a flowchart illustrating a method compatible with video and audio recording according to an embodiment of the present application. The method compatible with video and audio recording is applied to the electronic device 100. The electronic device 100 includes a three-way microphone 13 and a four-way analog-to-digital conversion module 14. The method for compatible video and audio recording comprises the following steps:
step 611: detecting sound pressure of a current recording environment when the electronic device 100 starts recording, and judging whether the sound pressure exceeds a preset sound pressure threshold according to a detection result so as to confirm whether the electronic device 100 uses HDR recording to obtain a first judgment result;
step 613: judging whether the electronic device 100 is running an application requiring the three microphones 13 to work simultaneously to obtain a second judgment result;
step 615: and adjusting the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 based on the first determination result and the second determination result.
Therefore, in the present application, the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 may be adjusted based on the first determination result and the second determination result, so that the HDR recording function is realized by changing the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14, the related functions of running applications that need the three-way microphone 13 to work simultaneously are also realized, the HDR recording function is compatible with the functions of running applications that need the three-way microphone 13 to work simultaneously, and the purpose of expanding the recording function and reducing the production cost are achieved without increasing an additional analog-to-digital conversion module.
Further, in one embodiment, the three-way microphone 13 includes a first microphone 131, a second microphone 133 and a third microphone 135, and the four-way analog-to-digital conversion module 14 includes a first analog-to-digital conversion module 141, a second analog-to-digital conversion module 143, a third analog-to-digital conversion module 145 and a fourth analog-to-digital conversion module 147; the electronic device 100 further comprises a first switch group 151, a second switch group 153, a third switch group 155, a fourth switch group 157, and a fifth switch group 159; the first switch set 151 is connected between the first microphone 131 and the first analog-to-digital conversion module 141; the second switch group 153 is connected between the first microphone 131 and the second analog-to-digital conversion module 143; the third switch group 155 is connected between the second microphone 133 and the third analog-to-digital conversion module 145; the fourth switch group 157 is connected between the third microphone 135 and the third analog-to-digital conversion module 145; the fifth switch group 159 is connected between the third microphone 135 and the fourth analog-to-digital conversion module 147. Step 415 specifically includes:
and controlling the conduction conditions of the first switch group 151, the second switch group 153, the third switch group 155, the fourth switch group 157 and the fifth switch group 159 based on the first judgment result and the second judgment result to adjust the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14.
Therefore, based on the first determination result and the second determination result, the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 is adjusted by adjusting the respective conduction conditions of the first switch group 151, the second switch group 153, the third switch group 155, the fourth switch group 157 and the fifth switch group 159, so as to implement both the HDR recording function and the related function of running the application requiring the three-way microphone 13 to work simultaneously, achieve the compatibility between the HDR recording function and the function of running the application requiring the three-way microphone 13 to work simultaneously, and achieve the purpose of expanding the recording function and reducing the production cost without increasing the number of analog-to-digital conversion modules.
Further, in one embodiment, the method for compatible video and audio recording includes the steps of:
controlling the first analog-to-digital conversion module 141 to have a first gain;
controlling the second analog-to-digital conversion module 143 to have a second gain;
controlling the third analog-to-digital conversion module 145 to have a third gain;
the fourth analog-to-digital conversion module 147 is controlled to have a fourth gain.
The magnitudes of the first gain, the second gain, the third gain, and the fourth gain may be determined by the conduction conditions of the first switch group 151, the second switch group 153, the third switch group 155, the fourth switch group 157, and the fifth switch group 159, so that the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 may be adjusted in an auxiliary manner, that is, the HDR recording function is implemented, the related function of running the application requiring the three-way microphone 13 to work simultaneously is implemented, the HDR recording function is compatible with the function of running the application requiring the three-way microphone 13 to work simultaneously, and the purpose of expanding the recording function and reducing the production cost are achieved without adding an additional analog-to-digital conversion module.
Detecting a sound pressure of a current recording environment when the electronic device 100 starts recording, including:
the first microphone 131 is controlled to be turned on and recording of the environmental volume is performed to detect the sound pressure of the current recording environment, and the second microphone 133 and the third microphone 135 are controlled to be turned off, that is, one of the first switch set 151 and the second switch set 153 is controlled to be turned on, so that the purpose of recording the environmental volume to detect the sound pressure of the current recording environment is achieved.
Further, in one embodiment, determining whether the sound pressure exceeds a preset sound pressure threshold to determine whether the electronic device 100 uses HDR recording includes:
determining that the electronic device 100 is using an HDR recording when the sound pressure exceeds the preset sound pressure threshold;
determining that the electronic device 100 is not using HDR recording when the sound pressure does not exceed the preset sound pressure threshold.
Further, in one embodiment, the adjusting the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 based on the first determination result and the second determination result includes the following three cases, which are described in detail below.
Wherein, the first condition is:
when the first determination result indicates that the electronic device 100 currently uses an HDR recording and the second determination result indicates that the electronic device 100 does not run an application requiring the three-way microphone 13 to operate simultaneously, the first switch set 151, the second switch set 153, the fourth switch set 157, and the fifth switch set 159 are controlled to be turned on, and the third switch set 155 is controlled to be turned off.
At this time, the first microphone 131 is simultaneously connected to the first analog-to-digital conversion module 141 and the second analog-to-digital conversion module 143, the second microphone 133 does not operate, and the third microphone 135 is simultaneously connected to the third analog-to-digital conversion module 145 and the fourth analog-to-digital conversion module 147. At this time, the first gain is different from the second gain, and the third gain is different from the fourth gain, for example, as shown in fig. 5, the first analog-to-digital conversion module 141 corresponds to a low gain, and the second analog-to-digital conversion module 143 corresponds to a high gain, and the signal of the first analog-to-digital conversion module 141 and the signal of the second analog-to-digital conversion module 143 are superimposed by an algorithm, so as to achieve the purpose of extending the dynamic range of the first microphone 131 by 30 dB. Similarly, the third analog-to-digital conversion module 145 corresponds to a low gain, and the fourth analog-to-digital conversion module 147 corresponds to a high gain, and the purpose of expanding the dynamic range of the third microphone 135 is also achieved by superimposing the signal of the third analog-to-digital conversion module 145 and the signal of the fourth analog-to-digital conversion module 147. Therefore, the first microphone 131 and the third microphone 135 are respectively connected to two analog-to-digital conversion modules, so that a dual dynamic stereo recording effect of HDR recording can be achieved.
Wherein the second case is:
when the first determination result is that the electronic device 100 does not currently use the HDR recording, the first switch group 151, the third switch group 155, and the fifth switch group 159 are controlled to be turned on, and the second switch group 153 and the fourth switch group 157 are controlled to be turned off.
Optionally, in an embodiment, when the first determination result is that the electronic apparatus 100 does not currently use HDR recording and the second determination result is that the electronic apparatus 100 does not run an application that requires the three-way microphone 13 to operate simultaneously, the first switch set 151, the third switch set 155, and the fifth switch set 159 are controlled to be turned on, and the second switch set 153 and the fourth switch set are controlled to be turned off.
Optionally, in another embodiment, when the first determination result is that the electronic device 100 does not currently use the HDR recording, it is not necessary to determine whether the electronic device 100 is running an application that requires the three microphones 13 to work simultaneously to obtain a second determination result, and at this time, the first microphone 131, the second microphone 133, and the third microphone 135 are respectively connected to one analog-to-digital conversion module, so as to implement normal sound reception.
At this time, the first microphone 131, the second microphone 133 and the third microphone 135 are respectively connected to one analog-to-digital conversion module, so as to realize normal sound reception.
Wherein the third case is:
when the first determination result is that the electronic device 100 currently uses an HDR recording and the second determination result is that the electronic device 100 runs an application that requires the three microphones 13 to operate simultaneously, the first switch group 151, the second switch group 153, the third switch group 155, and the fifth switch group 159 are controlled to be turned on, and the second switch group 153 is controlled to be turned off.
At this time, the first microphone 131 is connected to two analog-to-digital conversion modules, and the second microphone 133 and the third microphone 135 are respectively connected to one analog-to-digital conversion module, so that the compatibility between HDR recording and running of applications requiring simultaneous operation of the three microphones can be displayed simultaneously, the recording effect of the three microphones 13 is ensured, and the recording definition and dynamic range are improved.
Further, in an embodiment, when the first determination result is that the electronic device 100 is currently using an HDR recording and the second determination result is that the electronic device 100 is running an application that requires the three-way microphone 13 to operate simultaneously, the first gain and the second gain are different, and the third gain and the fourth gain are the same as a lower gain of the first gain and the second gain.
Therefore, when the sound pressure exceeds a preset sound pressure threshold, the second microphone 133 and the third microphone 135 have the same low gain as the first microphone 131, so as to avoid sound break, and the dynamic range of the first microphone 131, the second microphone 133 and the third microphone 135 can be increased when they are operated simultaneously.
It should be noted that, the steps 411 and 413 may be performed in parallel or performed in series, where during the parallel operation, the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 is adjusted based on the first determination result and the second determination result, and when the serial operation is performed, the steps 411, 413, and 415 are performed first, then.
Alternatively, in another embodiment, it is determined whether to execute step 413 based on the first determination result of step 411, so that, when the first determination result is that the electronic apparatus 100 does not currently use HDR recording, step 413 does not need to be executed, and instead, step 413 is executed directly to adjust the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 based on the first determination result, or step 413 is executed again when the first determination result is that the electronic apparatus 100 currently uses HDR recording, and step 413 is executed finally to adjust the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 based on the first determination result and the second determination result.
Referring to fig. 7, fig. 7 is a block diagram illustrating an apparatus 700 compatible with video and audio recording according to an embodiment of the present application. The apparatus 700 compatible with video and audio recording comprises a first determining module 710, a second determining module 730 and a regulating module 750. The first determining module 710 is configured to detect a sound pressure of a current sound recording environment when the electronic device 100 starts recording, and determine whether the sound pressure exceeds a preset sound pressure threshold according to a detection result, so as to determine whether the electronic device 100 uses HDR recording to obtain a first determination result. The second determining module 730 is configured to determine whether the electronic device 100 is running an application that requires the three microphones 13 to work simultaneously, so as to obtain a second determination result. The adjusting and controlling module 750 is configured to adjust a connection relationship between the three-way microphone 13 and the four-way analog-to-digital converting module 14 based on the first determination result and the second determination result.
Referring to fig. 8, fig. 8 is a block diagram illustrating a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 8, the handset includes: radio Frequency (RF) circuit 810, memory 820, input-output unit 830, sensor 850, audio circuit 860, wireless Fidelity (WiFi) module 870, processor 880, and power supply 890. Those skilled in the art will appreciate that the handset configuration shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each component of the mobile phone with reference to fig. 8:
the input-output unit 830 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input/output unit 830 may include a touch display 833 and other input devices 832. Other input devices 832 may include, but are not limited to, one or more of physical keys, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Wherein, the processor 880 is configured to execute the following steps:
detecting sound pressure of a current recording environment when the electronic device 100 starts recording, and judging whether the sound pressure exceeds a preset sound pressure threshold according to a detection result so as to confirm whether the electronic device 100 uses HDR recording to obtain a first judgment result;
judging whether the electronic device 100 is running an application requiring the three microphones 13 to work simultaneously to obtain a second judgment result;
and adjusting the connection relationship between the three-way microphone 13 and the four-way analog-to-digital conversion module 14 based on the first determination result and the second determination result.
The processor 880 is a control center of the mobile phone, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 820 and calling data stored in the memory 820, thereby integrally monitoring the mobile phone. Optionally, the processor 880 may include one or more processing units, which may be an artificial intelligence chip, a quantum chip; preferably, the processor 880 may integrate an application processor, which mainly handles operating systems, display interfaces, application programs, etc., and a modem processor, which mainly handles wireless communication. It will be appreciated that the modem processor described above may not be integrated into processor 880.
Further, the memory 820 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The RF circuitry 810 may be used for the reception and transmission of information. In general, RF circuit 810 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 810 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE), email, short Messaging Service (SMS), and the like.
The handset may also include at least one sensor 850, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the touch display screen according to the brightness of ambient light, and the proximity sensor may turn off the touch display screen and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 860, speaker 861, microphone 862 may provide an audio interface between the user and the handset. The audio circuit 860 can transmit the electrical signal converted from the received audio data to the speaker 861, and the electrical signal is converted into a sound signal by the speaker 861 to be played; on the other hand, the microphone 862 converts collected sound signals into electrical signals, which are received by the audio circuit 860 and converted into audio data, which is processed by the processor 880 and transmitted to, for example, another cellular phone via the RF circuit 810, or played to the memory 820 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 870, and provides wireless broadband Internet access for the user. Although fig. 8 shows WiFi module 870, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The handset also includes a power supply 890 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 880 via a power management system to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment shown in fig. 8, the method flow of each step may be implemented based on the structure of the mobile phone.
In the embodiment shown in fig. 7, the functions of the units can be implemented based on the structure of the mobile phone.
Embodiments of the present application further provide a computer storage medium, where the computer storage medium is used to store a computer program, and the computer program enables a computer to execute part or all of the steps of any one of the methods compatible with video and audio recording as described in the above method embodiments.
Embodiments of the present application further provide a computer program product, which includes a non-transitory computer readable storage medium storing a computer program, the computer program being operable to cause a computer to perform some or all of the steps of any one of the methods compatible with video and audio recording as set forth in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solutions of the present application, in essence or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (17)

1. An electronic device comprising a memory, a processor, a three-way microphone, and a four-way analog-to-digital conversion module, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to perform the following steps:
detecting sound pressure of a current recording environment when the electronic equipment starts recording, and judging whether the sound pressure exceeds a preset sound pressure threshold value according to a detection result so as to confirm whether the electronic equipment uses HDR recording and obtain a first judgment result;
judging whether the electronic equipment runs an application which needs the three microphones to work simultaneously or not to obtain a second judgment result;
and adjusting the connection relation between the three-way microphone and the four-way analog-to-digital conversion module based on the first judgment result and the second judgment result.
2. The electronic device of claim 1, wherein the three-way microphone comprises a first microphone, a second microphone, and a third microphone, and the four-way analog-to-digital conversion module comprises a first analog-to-digital conversion module, a second analog-to-digital conversion module, a third analog-to-digital conversion module, and a fourth analog-to-digital conversion module; the electronic equipment further comprises a first switch group, a second switch group, a third switch group, a fourth switch group and a fifth switch group; the first switch group is connected between the first microphone and the first analog-to-digital conversion module; the second switch group is connected between the first microphone and the second analog-to-digital conversion module; the third switch group is connected between the second microphone and the third analog-to-digital conversion module; the fourth switch group is connected between the third microphone and the third analog-to-digital conversion module; the processor controls the first switch group, the second switch group, the third switch group, the fourth switch group and the fifth switch group to be switched on or switched off so as to adjust the connection relation between the three-way microphone and the four-way analog-to-digital conversion module.
3. The electronic device of claim 2, wherein the first analog-to-digital conversion module comprises a first analog-to-digital converter and a first gain unit, and the first gain unit is connected between the first analog-to-digital converter and the first switch set; the second analog-to-digital conversion module comprises a second analog-to-digital converter and a second gain unit, and the second gain unit is connected between the second switch group and the second analog-to-digital converter; the third analog-to-digital conversion module comprises a third analog-to-digital converter and a third gain unit, the third gain unit is connected between the third switch group and the third analog-to-digital converter, and the third gain unit is also connected between the fourth switch group and the third analog-to-digital converter; the fourth analog-to-digital conversion module comprises a fourth analog-to-digital converter and a fourth gain unit, and the fourth gain unit is connected between the fifth switch group and the fourth analog-to-digital conversion module.
4. The electronic device of any of claims 2-3, wherein the processor is configured to:
and when the first judgment result shows that the HDR recording is currently used by the electronic equipment and the second judgment result shows that the electronic equipment does not run an application which needs the three microphones to work simultaneously, controlling the first switch group, the second switch group, the fourth switch group and the fifth switch group to be switched on and controlling the third switch group to be switched off.
5. The electronic device of claim 4, wherein the first analog-to-digital conversion module has a first gain and the second analog-to-digital conversion module has a second gain, the first gain being different from the second gain; the third analog-to-digital conversion module has a third gain, and the fourth analog-to-digital conversion module has a fourth gain, wherein the third gain is different from the fourth gain.
6. The electronic device of any of claims 2-3, wherein the processor is configured to:
and when the first judgment result shows that the electronic equipment does not use HDR recording currently and the second judgment result shows that the electronic equipment does not run the application which needs the three microphones to work simultaneously, controlling the first switch group, the third switch group and the fifth switch group to be switched on, and controlling the second switch group and the fourth switch group to be switched off.
7. The electronic device of any of claims 2-3, wherein the processor is configured to:
and when the first judgment result is that the electronic equipment uses HDR recording currently and the second judgment result is that the electronic equipment runs an application requiring the three microphones to work simultaneously, controlling the first switch group, the second switch group, the third switch group and the fifth switch group to be switched on and controlling the second switch group to be switched off.
8. The electronic device of claim 7, wherein the first analog-to-digital conversion module has a first gain and the second analog-to-digital conversion module has a second gain, and the first gain is different from the second gain; the third analog-to-digital conversion module has a third gain and the fourth analog-to-digital conversion module has a fourth gain, wherein the third gain and the fourth gain are the same as the lower gain of the first gain and the second gain.
9. The electronic device of claim 2, wherein the processor is configured to:
and controlling one of the first switch group and the second switch group to be switched on so as to turn on the first microphone and record the environmental volume so as to detect the sound pressure of the current recording environment, and controlling the second microphone and the third microphone to be switched off.
10. A method compatible with video and audio recording is applied to electronic equipment, the electronic equipment comprises a three-way microphone and a four-way analog-to-digital conversion module, and the method compatible with video and audio recording comprises the following steps:
detecting sound pressure of a current recording environment when the electronic equipment starts recording, and judging whether the sound pressure exceeds a preset sound pressure threshold value according to a detection result so as to confirm whether the electronic equipment uses HDR recording and obtain a first judgment result;
judging whether the electronic equipment runs an application which needs the three microphones to work simultaneously or not to obtain a second judgment result;
and adjusting the connection relation between the three-way microphone and the four-way analog-to-digital conversion module based on the first judgment result and the second judgment result.
11. The method of claim 10, wherein the three microphones comprise a first microphone, a second microphone, and a third microphone, and the four analog-to-digital conversion modules comprise a first analog-to-digital conversion module, a second analog-to-digital conversion module, a third analog-to-digital conversion module, and a fourth analog-to-digital conversion module; the electronic equipment further comprises a first switch group, a second switch group, a third switch group, a fourth switch group and a fifth switch group; the first switch group is connected between the first microphone and the first analog-to-digital conversion module; the second switch group is connected between the first microphone and the second analog-to-digital conversion module; the third switch group is connected between the second microphone and the third analog-to-digital conversion module; the fourth switch group is connected between the third microphone and the third analog-to-digital conversion module; the fifth switch set is connected between the third microphone and the fourth analog-to-digital conversion module, and adjusts a connection relationship between the three-way microphone and the fourth analog-to-digital conversion module based on the first determination result and the second determination result, including:
and controlling the first switch group, the second switch group, the third switch group, the fourth switch group and the fifth switch group to be switched on or off so as to adjust the connection relation between the three-way microphone and the four-way analog-to-digital conversion module.
12. The method according to claim 11, wherein the controlling the first switch set, the second switch set, the third switch set, the fourth switch set, and the fifth switch set to be turned on or off to adjust the connection relationship between the three-way microphone and the four-way analog-to-digital conversion module comprises:
and when the first judgment result shows that the HDR recording is currently used by the electronic equipment and the second judgment result shows that the electronic equipment does not run an application which needs the three microphones to work simultaneously, controlling the first switch group, the second switch group, the fourth switch group and the fifth switch group to be switched on and controlling the third switch group to be switched off.
13. The method according to claim 11, wherein the controlling the first switch set, the second switch set, the third switch set, the fourth switch set, and the fifth switch set to be turned on or off to adjust the connection relationship between the three-way microphone and the four-way analog-to-digital conversion module comprises:
and when the first judgment result shows that the HDR recording is not currently used by the electronic equipment, controlling the first switch group, the third switch group and the fifth switch group to be switched on, and controlling the second switch group and the fourth switch group to be switched off.
14. The method according to claim 11, wherein the controlling the first switch set, the second switch set, the third switch set, the fourth switch set, and the fifth switch set to be turned on or off to adjust the connection relationship between the three-way microphone and the four-way analog-to-digital conversion module comprises:
and when the first judgment result is that the electronic equipment uses HDR recording currently and the second judgment result is that the electronic equipment runs an application requiring the three microphones to work simultaneously, controlling the first switch group, the second switch group, the third switch group and the fifth switch group to be switched on and controlling the second switch group to be switched off.
15. The method of claim 11, wherein detecting the sound pressure of the current recording environment when the electronic device starts recording comprises:
and controlling one of the first switch group and the second switch group to be switched on so as to turn on the first microphone and record the environmental volume so as to detect the sound pressure of the current recording environment, and controlling the second microphone and the third microphone to be switched off.
16. An apparatus compatible with video and audio recording, comprising:
the first judgment module is used for detecting the sound pressure of the current recording environment when the electronic equipment starts recording, judging whether the sound pressure exceeds a preset sound pressure threshold value according to the detection result, and confirming whether the electronic equipment uses HDR recording or not and obtaining a first judgment result, wherein the electronic equipment comprises a three-way microphone and a four-way analog-to-digital conversion module;
the second judgment module is used for judging whether the electronic equipment runs an application which needs the three microphones to work simultaneously so as to obtain a second judgment result; and
and the regulation and control module is used for regulating the connection relation between the three-way microphone and the four-way analog-to-digital conversion module based on the first judgment result and the second judgment result.
17. A computer readable storage medium having stored thereon a computer program for execution when invoked by a processor for performing the steps of the method for compatible video and audio recording according to any of claims 10 to 15.
CN202110065426.5A 2021-01-18 2021-01-18 Electronic equipment and method and device for video and audio recording compatible with electronic equipment Active CN112866453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110065426.5A CN112866453B (en) 2021-01-18 2021-01-18 Electronic equipment and method and device for video and audio recording compatible with electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110065426.5A CN112866453B (en) 2021-01-18 2021-01-18 Electronic equipment and method and device for video and audio recording compatible with electronic equipment

Publications (2)

Publication Number Publication Date
CN112866453A CN112866453A (en) 2021-05-28
CN112866453B true CN112866453B (en) 2023-02-10

Family

ID=76006823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110065426.5A Active CN112866453B (en) 2021-01-18 2021-01-18 Electronic equipment and method and device for video and audio recording compatible with electronic equipment

Country Status (1)

Country Link
CN (1) CN112866453B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115942108A (en) * 2021-08-12 2023-04-07 北京荣耀终端有限公司 Video processing method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1048292A (en) * 1989-06-22 1991-01-02 Eta草图制造公司 Telephone set
CN101006738A (en) * 2004-09-08 2007-07-25 Ut斯达康通讯有限公司 Central base station system based on advanced telecommunication computer system structure
JP2011130183A (en) * 2009-12-17 2011-06-30 Funai Electric Co Ltd Timer recording system
CN107005261A (en) * 2016-11-21 2017-08-01 深圳前海达闼云端智能科技有限公司 Attachment means and Wireless Telecom Equipment between incoming end

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10630901B2 (en) * 2017-05-23 2020-04-21 Google Llc Systems and methods for selectively activating high dynamic range in a video capture system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1048292A (en) * 1989-06-22 1991-01-02 Eta草图制造公司 Telephone set
CN101006738A (en) * 2004-09-08 2007-07-25 Ut斯达康通讯有限公司 Central base station system based on advanced telecommunication computer system structure
JP2011130183A (en) * 2009-12-17 2011-06-30 Funai Electric Co Ltd Timer recording system
CN107005261A (en) * 2016-11-21 2017-08-01 深圳前海达闼云端智能科技有限公司 Attachment means and Wireless Telecom Equipment between incoming end

Also Published As

Publication number Publication date
CN112866453A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
US11303989B2 (en) Earphone-switching method and mobile terminal
CN107896119B (en) Antenna sharing circuit and mobile terminal
CN107947825B (en) Antenna selection circuit and mobile terminal
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN110212877B (en) Circuit control method, electronic equipment and radio frequency circuit
CN110430592B (en) Network control method and related product
CN110224719B (en) Communication control method and related product
CN107678989B (en) UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal
CN112004174B (en) Noise reduction control method, device and computer readable storage medium
CN108377290B (en) Audio stream processing method, mobile terminal and medium product
US10402157B2 (en) Volume processing method and device and storage medium
WO2019015573A1 (en) Unlocking control method and related product
CN106506437B (en) Audio data processing method and device
CN112019929A (en) Volume adjusting method and device
CN108337533B (en) Video compression method and device
CN108897516B (en) Wearable device volume adjustment method and related product
CN109150221B (en) Master-slave switching method for wearable equipment and related product
CN112866453B (en) Electronic equipment and method and device for video and audio recording compatible with electronic equipment
CN109041190B (en) Power control method and terminal
CN108834013B (en) Wearable equipment electric quantity balancing method and related product
CN108882084B (en) Wearable equipment electric quantity balancing method and related product
CN109040424B (en) Antenna switching circuit, method, terminal and computer readable storage medium
WO2022062541A1 (en) Radio-frequency architecture and terminal device
WO2020077508A1 (en) Dynamic frequency adjustment method for internal memory, and electronic apparatus
CN112135321B (en) Channel switching method and related product

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