CN115482848A - Recording optimization method, recording optimization device, and computer-readable storage medium - Google Patents

Recording optimization method, recording optimization device, and computer-readable storage medium Download PDF

Info

Publication number
CN115482848A
CN115482848A CN202211152671.0A CN202211152671A CN115482848A CN 115482848 A CN115482848 A CN 115482848A CN 202211152671 A CN202211152671 A CN 202211152671A CN 115482848 A CN115482848 A CN 115482848A
Authority
CN
China
Prior art keywords
recording
microphone
data
electronic equipment
recording parameters
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.)
Pending
Application number
CN202211152671.0A
Other languages
Chinese (zh)
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.)
SHENZHEN CHUANGWEI ELECTRONIC APPLIANCE TECH CO LTD
Original Assignee
SHENZHEN CHUANGWEI ELECTRONIC APPLIANCE TECH CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN CHUANGWEI ELECTRONIC APPLIANCE TECH CO LTD filed Critical SHENZHEN CHUANGWEI ELECTRONIC APPLIANCE TECH CO LTD
Priority to CN202211152671.0A priority Critical patent/CN115482848A/en
Publication of CN115482848A publication Critical patent/CN115482848A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/16Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters 

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a recording optimization method, which is applied to electronic equipment and comprises the following steps: acquiring attitude data of the electronic equipment; determining recording parameters according to the acquired attitude data; and updating the recording parameters of the electronic equipment according to the determined recording parameters. The invention also discloses a recording optimization device and a computer readable storage medium. According to the technical scheme, the effect of improving the recording balance of the electronic equipment is achieved, and the cost of the electronic equipment is reduced.

Description

Recording optimization method, recording optimization device, and computer-readable storage medium
Technical Field
The invention relates to the technical field of recording processing, in particular to a recording optimization method, recording optimization equipment and a computer-readable storage medium.
Background
At present, intelligent devices (e.g., tablet computers, smart phones, etc.) have become common devices in people's daily life, especially tablet computer products, and are used in industries such as consumption, education, finance, and medical treatment on a large scale. The recording function of the tablet computer is one of the main functions, and scenes such as voice call, voice message, voice recognition, voice awakening and the like are all realized based on the recording function.
Because the tablet personal computer is in different postures, the orientation of the microphone is different, and the recording effect has larger difference, so that the recording effect is unbalanced. At present, the scheme for solving the problem of unbalanced recording effect of a tablet personal computer in different postures is to adopt an array microphone on the tablet personal computer and process audio data by using an algorithm of the array microphone so as to achieve a better effect. Although the scheme has great optimization and improvement on the recording effect, the following defects exist: because the tablet computer uses the array microphone, a corresponding stepping-back circuit and a corresponding stepping-back structure need to be designed, professional customized development is generally needed in addition, and authorization cost is needed, so that the cost of the tablet computer is greatly improved.
Disclosure of Invention
The invention provides a recording optimization method, recording optimization equipment and a computer readable storage medium, aiming at improving the recording balance effect of electronic equipment and reducing the cost of the electronic equipment.
In order to achieve the above object, the recording optimization method provided by the present invention is applied to an electronic device, and includes:
acquiring attitude data of the electronic equipment;
determining recording parameters according to the acquired attitude data;
and updating the recording parameters of the electronic equipment according to the determined recording parameters.
In some embodiments, the determining recording parameters from the acquired pose data includes:
and determining the recording parameters corresponding to the acquired attitude data according to the mapping relation between the preset attitude data and the recording parameters.
Or, the determining the recording parameters according to the acquired attitude data includes:
and inputting the acquired attitude data into a pre-trained parameter model, and acquiring the recording parameters output by the parameter model.
In some embodiments, the determining recording parameters from the acquired pose data includes:
obtaining the orientation of a microphone of the electronic equipment according to the acquired attitude data;
and determining the recording parameters corresponding to the obtained microphone orientations according to the preset mapping relation between the microphone orientations and the recording parameters.
In some embodiments, the obtained pose data comprises data of a pose sensor component of an electronic device, the pose sensor component comprising at least a gravity sensor, the deriving a microphone orientation of the electronic device from the obtained pose data comprising:
and identifying and confirming the orientation of the microphone according to the data of the attitude sensor assembly in the acquired attitude data.
In some embodiments, after the acquiring the pose data of the electronic device, the method further includes:
confirming whether the microphone faces to a user or not according to the acquired gesture data;
and when the microphone is confirmed not to face the user, executing the step of determining the recording parameters according to the acquired gesture data.
In some embodiments, after said confirming from the acquired pose data whether the microphone is oriented towards the user, further comprising:
when the microphone is confirmed to face a user, acquiring the distance between the electronic equipment and the user;
and determining corresponding recording parameters according to the acquired distance.
In some embodiments, the acquiring gesture data includes a signal value of a light sensor of the electronic device, and the determining whether the microphone is facing the user according to the acquired gesture data includes:
and judging whether the signal value of the light sensor is smaller than a preset threshold value or not.
In some embodiments, the step of acquiring pose data of the electronic device is performed in real-time or on a timed basis.
The invention also provides recording optimization equipment, which comprises at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores computer program instructions executable by the at least one processor to cause the at least one processor to perform the recording optimization method described above.
The invention further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the recording optimization method is realized.
According to the technical scheme of the recording optimization method, the attitude data of the electronic equipment is obtained, and the recording parameters are determined according to the obtained attitude data, so that the electronic equipment updates the recording parameters according to the determined recording parameters. Therefore, the electronic equipment can adjust the recording parameters to the corresponding recording parameters according to different postures, and the preset recording effect, such as the recording balance effect, of the electronic equipment can be ensured to be achieved under different postures; in addition, the recording optimization method is realized only on the basis of the hardware of the electronic equipment, an array microphone, a corresponding back stepping circuit and a corresponding structure are not required to be added, professional customization and development are not required, and the cost of the electronic equipment is greatly reduced.
Drawings
FIG. 1 is a schematic flow chart of a recording optimization method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a recording optimization method according to a second embodiment of the present invention;
FIG. 2a is a diagram showing the reading data of the gravity sensor in a first placement state of the electronic device;
FIG. 2b is a diagram showing the reading data of the gravity sensor in a second placement state of the electronic device;
fig. 2c shows the reading data of the gravity sensor in a third placement state of the electronic device;
FIG. 3 is a flowchart illustrating a recording optimization method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a recording optimization method according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a recording optimization device in a hardware operating environment according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary only and are not to be construed as limiting the present invention, and all other embodiments that can be made by one skilled in the art without inventive effort based on the embodiments of the present invention shall fall within the scope of protection of the present invention.
The invention provides a recording optimization method which is mainly applied to electronic equipment. Among them, the electronic device is, for example: tablet computers, smart phones, recording devices, etc. The implementation terminal of the recording optimization method of the present invention is an electronic device or a computing device inside the electronic device, and in the following embodiments of the recording optimization method of the present invention, the implementation terminal takes the electronic device as an example.
Referring to fig. 1, fig. 1 is a schematic flow chart of a recording optimization method according to a first embodiment of the present invention.
In this embodiment, the recording optimization method includes:
step S10, acquiring attitude data of the electronic equipment;
in this embodiment, the posture data of the electronic device may only include the posture information of the electronic device relative to the ground, or may include the posture information of the electronic device relative to the ground and the relative position information between the electronic device and the user or the posture information of the electronic device relative to the user. The attitude data of the electronic device may be obtained by detection of a detection device (e.g., including one or more attitude sensors) of the electronic device itself, or may be obtained by detection of an external attitude detection device and sent to the electronic device, and the electronic device receives the attitude data to obtain the attitude data of the electronic device.
Step S20, determining recording parameters according to the acquired attitude data;
the electronic equipment is provided with a preset determining mode for determining the recording parameters reaching the preset recording quality effect (such as the recording volume balancing effect) according to the attitude data, wherein the preset recording quality effect can be the recording quality effect defaulted by the electronic equipment, and can also be a recording quality effect selected and set by the electronic equipment based on a user, namely, the electronic equipment is provided with multiple recording quality effects for the user to select. After the attitude data of the electronic equipment is acquired, the electronic equipment determines the recording parameters according to the acquired attitude data in a preset determination mode, even if the electronic equipment achieves the recording parameters with the preset recording quality effect.
And step S30, updating the recording parameters of the electronic equipment according to the determined recording parameters.
After the determined recording parameters are determined, the electronic device updates the recording parameters of the electronic device according to the determined recording parameters, and the updating mode can be that each parameter in the determined recording parameters is respectively replaced by a corresponding parameter in the recording parameters of the electronic device, or the recording parameters in the electronic device are adjusted according to the determined recording parameters.
According to the recording optimization method, the attitude data of the electronic equipment is obtained, and the recording parameters are determined according to the obtained attitude data, so that the electronic equipment updates the recording parameters according to the determined recording parameters. Therefore, the recording parameters of the electronic equipment can be adjusted to the corresponding recording parameters according to different postures, and the electronic equipment can achieve a preset recording effect under different postures, for example, a recording balance effect is achieved; in addition, the recording optimization method of the embodiment is realized only based on the hardware basis of the electronic equipment, an array microphone, a corresponding back stepping circuit and a corresponding structure are not required to be added, professional customization and development are not required, and the cost of the electronic equipment is greatly reduced.
In some embodiments, step S10 is performed in real-time or on a timed basis. The timing execution is, for example: every 1 second, 2 seconds, 5 seconds, 10 seconds, 20 seconds. In addition, in some usage scenarios of the electronic device, the electronic device is placed on a desktop or other carrying platform, and at this time, the user may move, and the position or the posture of the user relative to the electronic device may be changed. Therefore, the present embodiment can ensure that the recording parameter is determined according to the latest attitude data of the electronic device in real time or at regular time by acquiring the attitude data of the electronic device in real time or at regular time, and the recording parameter of the electronic device is updated according to the latest determined recording parameter, thereby ensuring the recording quality effect of the electronic device.
In some embodiments, the recording optimization method may further include: the motion condition of the electronic equipment and/or the movement condition of a user can be monitored in real time by monitoring the signal change of a corresponding sensor of the electronic equipment in real time; when the situation that the electronic equipment does not move and the user does not move is monitored, the posture of the electronic equipment and the position or posture relation between the electronic equipment and the user are not changed, and at the moment, the recording parameters of the electronic equipment do not need to be adjusted, and the posture data of the electronic equipment can be obtained without the need of adjusting; when the motion of the electronic equipment is monitored or the movement of the user is monitored, step S10 is executed, and the latest posture data of the electronic equipment is obtained, so as to determine the recording parameters according to the latest posture data of the electronic equipment, and update the recording parameters of the electronic equipment according to the latest determined recording parameters, thereby ensuring the recording quality effect of the electronic equipment.
According to the technical scheme of the embodiment, the electronic equipment does not need to acquire the attitude data of the electronic equipment in real time or at regular time, and the operation of acquiring the attitude data of the electronic equipment is executed only when the triggering condition (namely that the electronic equipment is monitored to move or the user is monitored to move) is met, so that the data processing amount of the electronic equipment can be greatly reduced, the load pressure of a system is reduced, and the service life of the electronic equipment is prolonged.
In some embodiments, step S20 of the recording optimization method includes: and determining the recording parameters corresponding to the acquired attitude data according to the mapping relation between the preset attitude data and the recording parameters.
In this embodiment, the electronic device is preset with a mapping relationship between the gesture data and the recording parameters,
the mapping relationship may be a set of recording parameters corresponding to each set of accurate attitude data, or a set of recording parameters corresponding to each set of attitude data range; the recording parameters corresponding to each group of posture data or each group of posture data range are recording parameters which are debugged in advance according to various posture data conditions of the electronic equipment. Therefore, the electronic equipment can determine the group of recording parameters corresponding to the currently acquired attitude data according to the mapping relation.
In some embodiments, step S20 of the recording optimization method includes: and inputting the acquired attitude data into a pre-trained parameter model, and acquiring the recording parameters output by the parameter model.
In this embodiment, a pre-trained parameter model (neural network model) is stored in the electronic device, the input of the parameter model is the posture data of the electronic device, the output is the recording parameter, a certain number (e.g., 200, 500, 1000) of training samples used in the training of the parameter model are completed, and the training samples are the posture data of the electronic device and the recording parameter for enabling the electronic device to achieve a preset recording quality effect (e.g., a recording volume equalization effect). The electronic equipment takes the obtained posture data as input quantity to be input into the parameter model, the parameter model predicts and outputs recording parameters, the electronic equipment obtains the recording parameters output by the parameter model, and the recording parameters can enable the electronic equipment to achieve the effect of preset recording quality under the current posture.
Referring to fig. 2, fig. 2 is a flow chart illustrating a recording optimization method according to a second embodiment of the present invention.
In this embodiment, the step S20 of the recording optimization method includes:
s21, obtaining the orientation of a microphone of the electronic equipment according to the acquired attitude data;
and S22, determining the recording parameters corresponding to the obtained microphone orientations according to the preset mapping relation between the microphone orientations and the recording parameters.
One of the main reasons that the recording quality effects of the electronic equipment under different postures are different is that because the orientation of the microphone of the electronic equipment is changed under different postures, the orientation of the microphone of the electronic equipment is different, and the sound effects collected by the microphone are different, so that the recording quality effects are different. In order to solve this problem, different recording parameters need to be set for the electronic device according to different microphone orientation states of the electronic device, so that the preset recording quality effect can be maintained in various microphone orientation states.
The electronic device is preset with a mapping relation between the orientation of each microphone and the recording parameters, wherein each orientation range of each microphone corresponds to one group of recording parameters, and the specific orientation of each microphone corresponds to one group of recording parameters; the recording parameters corresponding to the specific orientation or orientation range of each microphone are recording parameters which are debugged in advance according to the orientation of the microphone. Wherein, the microphone orientation range can include orientation up, down, left, right, front, back, and the microphone orientation can also include: the direction is right up, right down, right left, right front, right back, left front upper range, left front lower range, right front upper range, right front lower range, left back upper range, left back lower range, right back upper range, right back lower range; the microphone orientation may also be a specific directional coordinate in three-dimensional coordinates; the microphone orientation may be determined with reference to a predetermined coordinate system, or may be determined with the front side defined as the side facing the user. Therefore, the method for determining the recording parameters according to the acquired gesture data adopts: and firstly, obtaining the orientation of the microphone of the electronic equipment according to the obtained attitude data, and then determining the group of recording parameters corresponding to the obtained orientation of the microphone according to the mapping relation. Therefore, the electronic equipment can accurately determine the corresponding recording parameters according to the orientations of the different microphones, so that the electronic equipment can be adjusted to different recording parameters under the orientation states of the different microphones, and the preset recording quality effect of the electronic equipment is ensured.
Optionally, the acquired pose data of the electronic device includes data of a pose sensor assembly of the electronic device, the pose sensor assembly includes at least a gravity sensor, and step S21 includes: and identifying and confirming the orientation of the microphone according to the data of the attitude sensor assembly in the acquired attitude data.
Specifically, the acceleration values of the electronic device in each direction axis (X, Y, Z axis) can be determined according to the reading data of the gravity sensor in the attitude sensor assembly (refer to fig. 2a to 2c, fig. 2a and 2c respectively illustrate the reading data of the gravity sensor of the electronic device (for example, a tablet PAD) in three different placement states), so as to determine the tilt angle of the electronic device relative to each direction axis, that is, the attitude of the electronic device relative to the XYZ axis coordinate system can be obtained, and then the orientation state of the microphone can be identified and confirmed based on the actual physical position of the microphone on the electronic device.
Additionally, the attitude sensor assembly may also include auxiliary sensors, which may include, for example: one or more of a gyroscope sensor, a geomagnetic sensor and a light sensor; the orientation of a microphone of the electronic equipment can be identified more accurately and more quickly through the auxiliary measurement of the gyroscope sensor and the geomagnetic sensor; through light sensor's signal detection, then the relative position relation between distinguishable electronic equipment and the user, for example, when the user is relative with light sensor, the user kept off in the place ahead of light sensor, and light sensor's signal is then weaker, and the user staggers with light sensor, and the user is not kept off light sensor, and light sensor's signal is then stronger. Of course, in other embodiments, the gesture sensor assembly may further include other sensors, such as a distance sensor, an image sensor, etc., and the relative position of the electronic device and the user may also be confirmed through the signal of the image sensor.
Referring to fig. 3, fig. 3 is a flow chart illustrating a recording optimization method according to a third embodiment of the present invention.
In some embodiments, after step S10, the recording optimization method further includes:
step S40, confirming whether the microphone faces to a user according to the acquired gesture data;
upon confirming that the microphone is not facing the user, step S20 is performed.
Since the distance between the user and the microphone has a significant effect on the volume of the recording when the microphone is in a state of facing the user, the recording parameters can be determined in a specific manner when in this state. When the user is not facing the user, the recording parameters may be determined in the manner of step S20 in the above embodiment. Therefore, in this embodiment, after the gesture data of the electronic device is acquired and before step 20 is executed, it is determined whether the microphone is in a state facing the user according to the acquired gesture data, and when it is determined that the microphone is not in a state facing the user, the recording parameter is determined according to the method of step S20.
In the recording optimization method of the embodiment, whether the microphone of the electronic device is in a specific orientation state (i.e. a state facing a user) is determined first, so that when the microphone of the electronic device is determined to be in the specific orientation state, the recording parameters are determined in a specific manner; when the microphone is judged not to be in the specific orientation state, determining the recording parameters according to the mode of the step S20; therefore, the recording parameters of the electronic equipment are determined in a corresponding mode respectively when the microphone is in a specific orientation state and a non-specific orientation state, and the effect of presetting the recording quality of the electronic equipment in various posture states is ensured.
Further, referring to fig. 4, fig. 4 is a flowchart illustrating a recording optimization method according to a fourth embodiment of the present invention.
In this embodiment, after step S40, the recording optimization method further includes:
step S50, when the microphone is confirmed to face the user, the distance between the electronic equipment and the user is obtained;
and S60, determining corresponding recording parameters according to the acquired distance.
When the microphone is determined to be in a specific orientation state (i.e., facing the user), the distance between the user and the electronic device (i.e., the distance between the user and the microphone) has a significant effect on the recording quality, so that at this time, the distance between the electronic device and the user is obtained first, and the distance can be sensed by a distance sensor on the electronic device; and then, determining corresponding recording parameters according to the acquired distance between the electronic equipment and the user.
The method for determining the corresponding recording parameter according to the obtained distance may be: the mapping relation between the distance or the distance range and the recording parameters is preset in the electronic equipment, and according to the mapping relation, the group of recording parameters corresponding to the acquired distance can be determined; for example, each distance corresponds to a group of recording parameters, or each distance range corresponds to a recording parameter (e.g., a distance range of 0-20 cm corresponds to a group a recording parameters, a distance range of 20-45 cm corresponds to a group B recording parameters, and a distance range greater than 45cm corresponds to a group C recording parameters); the mode of determining the corresponding recording parameter according to the obtained distance may also be: inputting the obtained distance into another pre-trained parameter model (the distance between the input electronic equipment of the parameter model and the user and the output is the recording parameter), and determining the recording parameter output by the parameter model as the corresponding recording parameter. Of course, in other embodiments, the corresponding recording parameters may be determined according to the obtained distance in other manners.
According to the recording optimization method, when the microphone is confirmed to be in the user facing state, the distance between the electronic equipment and the user is obtained, and the corresponding recording parameter is determined according to the obtained distance, so that the electronic equipment can be more accurately adjusted to the recording parameter closely related to the distance, and the electronic equipment is better controlled to keep the effect of balancing the recording volume.
Optionally, the acquiring the gesture data includes a signal value of a light sensor of the electronic device, and in this embodiment, determining whether the microphone faces the user according to the acquired gesture data may include: and judging whether the signal value of the light sensor is smaller than a preset threshold value or not.
The electronic device may be configured such that the light sensor and the microphone are disposed on the same side, and thus when the signal value of the light sensor is smaller than the preset threshold, it indicates that the light sensor faces the user and is blocked by the user, that is, the microphone faces the user, and when the signal value of the light sensor is greater than or equal to the preset value, it indicates that the light sensor does not face the user and is not blocked, that is, the microphone does not face the user. The electronic device may also be configured such that the light sensors are disposed on the sides where the microphone is not disposed, and thus, when the signal value of the light sensor is smaller than the preset threshold, it indicates that the side where the light sensor is disposed faces the user and is blocked by the user, the side of the microphone does not face the user, and when the signal value of the light sensor is smaller than the preset threshold, it indicates that the sides where the light sensors are disposed do not face the user, and at this time, it indicates that the side where the microphone is disposed faces the user. Of course, in other embodiments, whether the microphone is facing the user is determined based on the acquired pose data, and other approaches may be used.
Based on the method for optimizing the recording provided by the foregoing embodiment, the present invention further provides a recording optimizing apparatus, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein, the first and the second end of the pipe are connected with each other,
the memory stores computer program instructions executable by the at least one processor to cause the at least one processor to perform the method for sound recording optimization of any of the above embodiments.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a recording optimization device in a hardware operating environment according to an embodiment of the present invention.
The recording optimization equipment can be computing equipment such as a microcomputer, a tablet computer and a server. As shown in fig. 4, the recording optimization apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory such as a disk memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the configuration of the recording optimization device shown in fig. 4 does not constitute a limitation of the recording optimization device and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 4, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a recording optimization program.
In the recording optimization device shown in fig. 4, the network interface 1004 is mainly used for connecting a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be used to invoke the recording optimization program stored in the memory 1005.
Based on the sound recording optimization method proposed by the foregoing embodiment, the present invention further proposes a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the sound recording optimization method described in the foregoing embodiment is implemented, where the sound recording optimization method at least includes the following steps:
step 1, acquiring attitude data of electronic equipment;
step 2, determining recording parameters according to the acquired attitude data;
and step 3, updating the recording parameters of the electronic equipment according to the determined recording parameters.
The recording optimization device and the computer-readable storage medium of the present invention can implement the recording optimization method described in the foregoing embodiments, and therefore, at least all the advantages of the recording optimization method of the foregoing embodiments are provided, and no further description is provided herein.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one type of logical functional division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only a part of or preferred embodiments of the present invention, and neither the text nor the drawings should be construed as limiting the scope of the present invention, and all equivalent structural changes, which are made by using the contents of the present specification and the drawings, or any other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A recording optimization method is applied to electronic equipment, and is characterized by comprising the following steps:
acquiring attitude data of the electronic equipment;
determining recording parameters according to the acquired attitude data;
and updating the recording parameters of the electronic equipment according to the determined recording parameters.
2. The recording optimization method of claim 1, wherein the determining recording parameters according to the obtained pose data comprises:
and determining the recording parameters corresponding to the acquired attitude data according to the mapping relation between the preset attitude data and the recording parameters.
Or, the determining the recording parameters according to the acquired attitude data includes:
and inputting the acquired attitude data into a pre-trained parameter model, and acquiring the recording parameters output by the parameter model.
3. The method for optimizing audio recording according to claim 1, wherein the determining audio recording parameters according to the obtained pose data comprises:
obtaining the orientation of a microphone of the electronic equipment according to the acquired attitude data;
and determining the recording parameters corresponding to the obtained microphone orientations according to the preset mapping relation between the microphone orientations and the recording parameters.
4. The recording optimization method of claim 3, wherein the obtained pose data comprises data of a pose sensor assembly of an electronic device, the pose sensor assembly comprising at least a gravity sensor, and wherein deriving the microphone orientation of the electronic device from the obtained pose data comprises:
and identifying and confirming the orientation of the microphone according to the data of the gesture sensor assembly in the acquired gesture data.
5. The recording optimization method of claim 1, further comprising, after the obtaining the pose data of the electronic device:
confirming whether the microphone faces to a user or not according to the acquired gesture data;
and when the microphone is confirmed not to face the user, executing the step of determining the recording parameters according to the acquired gesture data.
6. The recording optimization method of claim 5, wherein after the determining whether the microphone is facing the user according to the obtained gesture data, further comprising:
when the microphone is confirmed to face a user, acquiring the distance between the electronic equipment and the user;
and determining corresponding recording parameters according to the acquired distance.
7. The recording optimization method of claim 5, wherein the obtained gesture data includes signal values of a light sensor of an electronic device, and the determining whether the microphone is facing the user according to the obtained gesture data includes:
and judging whether the signal value of the light sensor is smaller than a preset threshold value or not.
8. The recording optimization method of claim 1, wherein the step of obtaining the pose data of the electronic device is performed in real time or at regular time.
9. A recording optimization device, comprising at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores computer program instructions executable by the at least one processor to cause the at least one processor to perform the sound recording optimization method of any one of claims 1-8.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the recording optimization method of any one of claims 1 to 8.
CN202211152671.0A 2022-09-21 2022-09-21 Recording optimization method, recording optimization device, and computer-readable storage medium Pending CN115482848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211152671.0A CN115482848A (en) 2022-09-21 2022-09-21 Recording optimization method, recording optimization device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211152671.0A CN115482848A (en) 2022-09-21 2022-09-21 Recording optimization method, recording optimization device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN115482848A true CN115482848A (en) 2022-12-16

Family

ID=84423958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211152671.0A Pending CN115482848A (en) 2022-09-21 2022-09-21 Recording optimization method, recording optimization device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN115482848A (en)

Similar Documents

Publication Publication Date Title
CN111260665B (en) Image segmentation model training method and device
JP2019535055A (en) Perform gesture-based operations
US11074066B2 (en) Apparatus and method for managing software updates of electronic devices
EP2846135A2 (en) Portable Electronic Device with Environmental Sensor
CN108551519B (en) Information processing method, device, storage medium and system
CN112330756B (en) Camera calibration method and device, intelligent vehicle and storage medium
US11574740B2 (en) Electronic device and method for suppressing vision loss
CN105783900B (en) A kind of calibration method and device of sensing data
US20230210424A1 (en) Electronic device and method for providing personalized biometric information based on biometric signal using same
KR20200072196A (en) Electronic device audio enhancement and method thereof
US11169769B2 (en) Electronic device and volume adjustment method of electronic device
CN111345928B (en) Head posture monitoring method and device, storage medium and electronic equipment
CN110809083B (en) Mobile terminal information reminding method, mobile terminal and storage medium
US11144154B2 (en) Electronic device for processing input event and method of operating same
CN115482848A (en) Recording optimization method, recording optimization device, and computer-readable storage medium
CN110392115B (en) Block chain node management method, device and readable storage medium
WO2022193988A1 (en) Touch event reporting method and apparatus, terminal, and storage medium
EP3627382A1 (en) Method for iris liveness detection and related product
US20200244750A1 (en) System for processing user data and controlling method thereof
CN113780291A (en) Image processing method and device, electronic equipment and storage medium
CN113056756B (en) Sleep recognition method and device, storage medium and electronic equipment
CN116469156A (en) Method, apparatus, computer device and computer readable storage medium for identifying body state
CN107945016B (en) Variable value dimension increasing method and device and computer readable storage medium
CN112717372A (en) Cloud game control method and device, electronic equipment and storage medium
EP3836130A1 (en) Electronic device for controlling display position or area of image on basis of change of content of image

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