Parameter adjustment method and related products
By receiving device identification and adjusting EQ parameters, the problem of volume inappropriate Bluetooth headsets when connected to different devices is solved, and the volume balance adjustment is achieved and the user experience is improved.
Patent Information
- Application Number
- CN202111473290.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-03
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2041-12-03
AI Technical Summary
When connected to different devices, the volume of Bluetooth headphones may be too low or too high, resulting in poor user experience.
By receiving the device identifier and adjusting the EQ parameters according to it, the volume is adjusted in real time to adapt to different device types.
It effectively solves the problem of volume mismatch, improves the user experience, and ensures that the volume is balanced when connected to different devices.
Smart Images

Figure CN114173255B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a parameter adjustment method and related products. Background Art
[0002] Bluetooth headsets are now more and more widely used. A set of scale tables are built into the Bluetooth headsets when they leave the factory; when the headsets are connected to electronic devices for communication via Bluetooth, the volume is output according to the scale table. Summary of the invention
[0003] The embodiments of the present application provide a parameter adjustment method and related products, which are helpful for solving the problem that the volume heard by users when using different devices is too low or too loud, and are helpful for improving user experience.
[0004] In a first aspect, an embodiment of the present application provides a parameter adjustment method, which is applied to a first device, and the method includes:
[0005] When a communication connection is established with a second device, receiving a device identification sent by the second device;
[0006] According to the device identifier, an EQ parameter is adjusted, wherein the EQ parameter is used to indicate volume adjustment for the first device.
[0007] In a second aspect, an embodiment of the present application provides a parameter adjustment method, which is applied to a second device, and the method includes:
[0008] When a communication connection is established with a first device, a device identifier is obtained and sent to the first device, wherein the device identifier is used to instruct the first device to implement EQ parameter adjustment, and the EQ parameter is used to instruct volume adjustment for the first device.
[0009] In a third aspect, an embodiment of the present application provides a parameter adjustment device, which is applied to a first device and includes: a receiving unit and an adjustment unit, wherein:
[0010] The receiving unit is configured to receive a device identification sent by a second device when a communication connection is established with the second device;
[0011] The adjustment unit is used to adjust an EQ parameter according to the device identifier, wherein the EQ parameter is used to indicate volume adjustment for the first device.
[0012] In a fourth aspect, an embodiment of the present application provides a parameter adjustment device, which is applied to a second device, and includes: a sending unit, wherein:
[0013] The sending unit is used to obtain a device identification when establishing a communication connection with the first device, and send the device identification to the first device, wherein the device identification is used to instruct the first device to implement EQ parameter adjustment, and the EQ parameter is used to instruct to implement volume adjustment for the first device.
[0014] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any method in the first aspect or the second aspect of the embodiment of the present application.
[0015] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in any method of the first aspect or the second aspect of the embodiment of the present application.
[0016] In a seventh aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any method of the first aspect or the second aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0017] It can be seen that in the embodiment of the present application, after establishing a communication connection with the second device, the device identification sent by the second device is received; according to the device identification, the EQ parameters are adjusted, wherein the EQ parameters are used to indicate the volume adjustment of the first device. In this way, the volume of the first device can be adjusted in real time through the EQ parameters, so that the first device can adapt to the second device of different device types, thereby solving the problem of the user hearing the volume too low or too high when using different devices, which is conducive to improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 It is a structural schematic diagram of a Bluetooth headset device provided in an embodiment of the present application;
[0020] Figure 2 is a schematic diagram of a network architecture of a parameter adjustment method provided in an embodiment of the present application;
[0021] Figure 3 It is a flow chart of a parameter adjustment method provided in an embodiment of the present application;
[0022] Figure 4 It is a flow chart of a parameter adjustment method provided in an embodiment of the present application;
[0023] Figure 5 It is a schematic diagram of an interactive process of a parameter adjustment method provided in an embodiment of the present application;
[0024] Figure 6 is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0025] Fig. 7A It is a block diagram of the functional units of a parameter adjustment device provided in an embodiment of the present application;
[0026] Figure 7B It is a block diagram of the functional units of a parameter adjustment device provided in an embodiment of the present application;
[0027] Figure 8 It is a block diagram of the functional units of a parameter adjustment device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0031] The electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with a wireless communication function (such as a smart watch, a Bluetooth headset, a smart helmet, smart glasses, etc.). Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with an IOS system, an Android system, a Microsoft system, or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop), etc. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer.
[0032] In the embodiment of the present application, the first device may be an earphone device or a smart helmet device with a playback function, etc., and the second device is a terminal device.
[0033] In some examples, when the first device is a headset device, the headset device may be a Bluetooth headset device, and the Bluetooth headset device may be wireless. The Bluetooth headset device may establish a Bluetooth communication connection with the terminal device.
[0034] In the first part, the hardware operating environment of the technical solution disclosed in this application is introduced as follows.
[0035] like Figure 1 As shown, Figure 1 A structural schematic diagram of a Bluetooth headset device provided in an embodiment of the present application, the Bluetooth headset device 100 may include a first Bluetooth headset 110 and a second Bluetooth headset 120, wherein the first Bluetooth headset 110 and the second Bluetooth headset 120 have the same structure, and the first Bluetooth headset 110 and the second Bluetooth headset 120 can be used as a pair of Bluetooth headset devices after the headsets are paired.
[0036] The Bluetooth headset device 100 may include an earphone housing, a rechargeable battery (e.g., a lithium battery) disposed in the earphone housing, multiple power supply contact points for connecting a charging device, and a speaker assembly including a driver unit and a directional sound port, wherein the driver unit includes a magnet, a voice coil, and a diaphragm, and the driver unit is used to emit sound from the directional sound port. The above-mentioned multiple power supply contact points are disposed on the outer surface of the earphone housing, and the number of the power supply contact points is the same as the number of power supply contact points in a charging box that matches the Bluetooth headset device 100.
[0037] In the second part, the example application scenarios disclosed in the embodiments of the present application are introduced as follows.
[0038] Figure 2 A schematic diagram of a scenario architecture of a parameter adjustment method applicable to the present application is shown, such as Figure 2 As shown, the schematic diagram of the architecture includes an electronic device (200a) and a Bluetooth headset device (200b) (which may be Figure 1 The Bluetooth headset device 100 shown).
[0039] Among them, Figure 2 As shown, the electronic device 200a can establish a communication connection with the Bluetooth headset device 200b via Bluetooth or other communication methods.
[0040] Generally, the Bluetooth headset device 200b can be used with electronic devices 200a configured with different operating systems, such as electronic devices with an IOS operating system, devices with an Android operating system, and electronic devices with a Windows operating system. Since the Bluetooth headset device 200b has the same corresponding scale table when it leaves the factory, not only the operating systems of the electronic devices are different, but also the Bluetooth output powers corresponding to the electronic devices are different. This results in differences in the corresponding volume of the Bluetooth headset device 200b when it is used with different operating systems, which is sometimes too loud and sometimes too low, resulting in a poor user experience.
[0041] Therefore, based on the above problems, the embodiment of the present application provides a parameter adjustment method. Specifically, the Bluetooth headset device 200b can receive the device identification sent by the electronic device 200a when establishing a communication connection with the electronic device 200a; according to the device identification, the EQ parameter is adjusted, wherein the EQ parameter is used to indicate the volume adjustment of the first device. In this way, the volume of the Bluetooth headset device 200b can be adjusted in real time through the EQ parameter, so that the Bluetooth headset device 200b can be adapted to electronic devices of different device types, thereby solving the problem that the user hears the volume too low or too high when using different devices, which is conducive to improving the user experience.
[0042] In the third part, the protection scope of the claims disclosed in the embodiments of the present application is introduced as follows.
[0043] See also Figure 3 , Figure 3 The present application provides a flow chart of a parameter adjustment method, which is applied to a first device. As shown in the figure, the parameter adjustment method includes the following operations.
[0044] S301: When establishing a communication connection with a second device, a first device receives a device identification sent by the second device.
[0045] The first device may be a Bluetooth headset device, which can establish a communication connection with the second device (terminal device) via a Bluetooth device. The communication connection request may be initiated via Bluetooth or wireless, etc., which is not specifically limited here.
[0046] After the first device successfully communicates with the second device, it triggers a device identification acquisition request to the second device to obtain the device identification of the second device. Of course, the first device can also actively send the device identification to the first device after the communication connection with the second device is successful, and the first device can receive the device identification sent by the second device.
[0047] The above-mentioned device identification refers to the device identification of the second device, and the device identification can be used to indicate the device type of the second device.
[0048] Optionally, the device type may be used to indicate an operating system of the first device, which may specifically include any one of the following: an IOS operating system, an Android operating system, and a Windows operating system, etc., which are not limited here.
[0049] It should be noted that the device type may not only be used to indicate an operating system, but may also be used to indicate a device model of the first device, etc., which is not limited here.
[0050] S302: The first device adjusts an EQ parameter according to the device identifier, wherein the EQ parameter is used to indicate volume adjustment for the first device.
[0051] The EQ (equalizer) parameter may be used to adjust the sound of the audio data transmitted by the second device, and may be used to adjust the timbre, volume, etc. In the embodiment of the present application, the EQ parameter is mainly used to adjust the output volume of the audio data.
[0052] Among them, the first device may store an initial scale table and a volume level table, wherein the initial scale table may store multiple initial scales, and the volume level table may store multiple volume levels, and each initial scale may correspond to a volume level; the initial scale table may refer to the scale table configured when the first device leaves the factory, or may refer to the scale table when the first device was last used, which is not limited here. The initial scale table may be adjusted by adjusting the subsequent EQ parameters to obtain a target scale table. The volume adjustment of the first device may be achieved through the target scale table.
[0053] Optionally, if the first device is not used for the first time, then in the specific implementation of adjusting the EQ parameters according to the device identification, the first device may determine whether the device identification has changed compared with the last time, and if so, the EQ parameters may be adjusted.
[0054] For example, if the first device last established a communication connection with a second device corresponding to the Android operating system, and currently the first device establishes a communication connection with a device of the IOS operating system, then the first device can adjust the EQ parameters according to the device identifier of the IOS operating system; the initial scale table is a scale table adapted to the Android operating system. After the device type changes from the previous device type, that is, when the device type changes from the Android operating system to the IOS operating system, the EQ parameters can be adjusted to achieve adjustment of the initial scale table and obtain a target scale table. The target scale table can be used to adjust the volume of the first device so that the volume of the first device is adapted to the device of the IOS operating system.
[0055] In the embodiment of the present application, the adjustment of the EQ parameters can be performed by the first device, and the first device can complete the initial configuration of the EQ parameters when leaving the factory.
[0056] It should be noted that the first device may also obtain result data of EQ parameters adjusted by the second device and send the result data to the first device, and the first device may control the output volume according to the result data.
[0057] In a possible example, the EQ parameter includes at least one of the following: frequency position, gain parameter, sound range, gain / attenuation mode, etc., which are not limited here.
[0058] Among them, the frequency position in the EQ parameter can be used to indicate the parameters of the specific frequency position that needs to be gained or attenuated, and the height of the sound range is affected by this parameter. The above-mentioned gain parameter is used to indicate the parameter of gain (increase) or attenuation (decrease) volume; the above-mentioned sound range can be used to indicate the parameter of gain or attenuation sound range, the smaller the value, the wider the sound range; the above-mentioned gain / attenuation mode is used to indicate the effect of changing the volume of a specific frequency and correcting the timbre; the gain / attenuation mode can be set by the user or by the system default, and is not limited here.
[0059] In a possible example, adjusting the EQ parameters according to the device identifier may include the following steps: if the device identifier is empty, adjusting the EQ parameters according to a first preset method; if the device identifier is not empty, obtaining the device type of the second device, and when the device type indicates a preset device type, adjusting the EQ parameters according to a second preset method.
[0060] The first preset mode and / or the second preset mode may be set by the user or by the system by default, which is not limited here. The first preset mode may refer to the default use of the initial parameters of the EQ parameters, or the EQ parameters obtained by the last adjustment, or adjusting the EQ parameters obtained by the last adjustment to the initial parameters.
[0061] The above-mentioned preset device type can be set by the user or by the system default, which is not limited here; the preset device type can include: IOS operating system, Android operating system and Windows operating system, etc., which are not limited here. A second preset method of EQ parameters can be preset for each device type. The above-mentioned second preset method can be understood as adjusting some or all parameters in the EQ parameters, and the specific parameter adjustment method is not limited here.
[0062] For example, if the volume output by the first device using the initial scale table is too low for the user corresponding to the second device of the IOS operating system; then, when the preset device type is set to the IOS operating system, when the device identifier indicates that the second device is the IOS operating system, the EQ parameters can be adjusted in a second preset manner to increase the volume of the audio data output by the first device; if the volume output by the first device using the initial scale table is appropriate for the user corresponding to the second device of the IOS operating system, when the device identifier indicates that the second device is the Android operating system, the EQ parameters may not be adjusted.
[0063] In a specific implementation, when the second device does not store a field for indicating the device identification, or the first device does not obtain the returned device identification of the second device due to issues such as permissions, the first device may receive or obtain an empty device identification. At this time, the initial parameters may be used by default or the parameters obtained from the last EQ parameter adjustment may be maintained; or the EQ parameters obtained from the last adjustment may be adjusted to the initial parameters. The specific adjustment method may be determined according to the usage scenario. For example, if it is detected that a communication connection is established with the second device for the first time, the initial parameters may be used; if it is detected that the location of the second device is inconsistent with the location of the last adjustment of the EQ parameters, the EQ parameters obtained from the last adjustment may be adjusted to the initial parameters.
[0064] Furthermore, when the device identifier returned by the second device is not empty, it indicates that the second device has returned a device type, such as an operating system type. Therefore, according to the device type, a second preset method matching the device type can be selected to adjust the EQ parameters.
[0065] It can be seen that in this example, the operating system of the second device can be identified through the device identification according to different usage scenarios, and the appropriate EQ parameter adjustment method can be adapted according to the operating system and the usage scenario. This is conducive to increasing the diversity of EQ parameter adjustment methods, and is conducive to avoiding the first device's volume being too loud or too low due to differences in the corresponding audio output power of different devices, which is conducive to improving user experience.
[0066] In a possible example, when the device type indicates a preset device type, the method further includes: obtaining an identification bit of the second device; determining a region where the second device is located based on the identification bit; and if the region meets a preset condition, executing the step of adjusting the EQ parameters according to a third preset method.
[0067] Among them, the above preset conditions can be set by the user or by the system default, which is not limited here; different regions can be constrained by the preset conditions. For example, if the above region is in a relatively noisy area or region, or a relatively special area (for example, a machine room, a kitchen, a shopping mall, a market, etc.), then the above region can be considered to meet the preset conditions. The above third preset method can be different from the first preset method and / or the second preset method. The above EQ parameters can be adjusted by different preset methods, and the initial scale table can be adjusted by the EQ parameters. In different situations, the adjustment strength and adjustment range of the initial scale table by different preset methods are different; for example, if the second preset method is to adjust part of the initial scale, because the area where the first device is located is a noisy environment, then the sound heard by the user through the first device is overall reduced, and the third preset method can be used to adjust all the initial scales to increase the volume of the first device as a whole.
[0068] It can be seen that in this example, for some special areas, when the second device is in the special area, the EQ parameters in the first electronic device can be adjusted in time to ensure that the user using the first device can still use the first device normally in the area.
[0069] Optionally, in an embodiment of the present application, in different situations where the user uses the first device, the first device may have different execution options for adjusting the EQ parameters, for example: 1) the communication connection request in the above step S301 may be the first connection. In this case, an acquisition instruction for initiating a device identification acquisition request to the second device may be triggered, and then the device identification sent by the second device may be received. Based on the device identification, the first device determines whether it is necessary to adjust the EQ parameters based on the device identification. When the EQ parameters need to be adjusted, the EQ parameters may be adjusted, and the subsequent steps will not be repeated here; 2) if the above communication connection is not the first connection, it means that the device identification of the second device is different from the first device. If the device identifier of the last communication connection is the same and the region where the second device is located does not meet the preset conditions, then there is no need to adjust the EQ parameters, and the audio data can be directly responded to the user's play command on the second device, and the audio data sent by the second device can be received, and the audio data playback operation can be implemented through the scale table currently stored in the first device; 3) If the above communication connection is not the first connection, and the region where the second device is located meets the above preset conditions, then when a communication connection is established with the second device, a device identifier acquisition request can be initiated to the second device, and the device identifier corresponding to the second device can be received, and then the step of adjusting the EQ parameters can be executed according to the device identifier, and the subsequent steps will not be repeated here.
[0070] It can be seen that in this example, there is no need to determine whether the EQ parameters need to be adjusted every time a communication connection is made; whether the EQ parameters need to be adjusted can be determined based on whether the first device is connected to the second device for the first time and the region where the second device is located, which is beneficial to reducing the number of communications to save the power consumption of the first device; and when the user operates in the second device to play audio data such as music and voice through the first device, it is beneficial to improve the playback efficiency.
[0071] Optionally, when the user uses the first device for the first time, that is, communicates with the second device for the first time and completes the adjustment of the EQ parameters, the target EQ parameters such as the frequency position, gain parameter, and sound range corresponding to this case can be stored, and a target gain / attenuation mode can be set for the series of parameters to indicate the target EQ parameters such as the frequency position, gain parameter, and sound range corresponding to the area or the device.
[0072] In a specific implementation, when it is detected that a user has re-entered an area that meets the preset conditions from an area that does not meet the preset conditions, the target EQ parameters in the target gain / attenuation mode corresponding to the area can be directly obtained after the first device establishes a communication connection, and the output of the audio data of the first device can be completed under the target EQ parameters.
[0073] In a possible example, after obtaining the device type of the second device, the method may further include the following steps: obtaining target environmental parameters when the device type meets a preset device type; determining a first target influence factor corresponding to the target environmental parameters based on a mapping relationship between preset environmental parameters and a first influence factor; obtaining a target output power of audio data emitted by the second device; determining a second target influence factor corresponding to the target output power based on a mapping relationship between a preset output power and a second influence factor; and adjusting the EQ parameters based on the first target influence factor and the second target influence factor.
[0074] Among them, the above-mentioned target environmental parameters may include at least one of the following: geographical location, magnetic field interference intensity, wind force, rainstorm weather, etc., which are not limited here. The mapping relationship between the environmental parameters and the first influencing factor can be set in the first device, and the first influencing factor can be used to characterize the influence of various factors in the environment on the sound volume of the audio data output by the first device; the first device can also store the mapping relationship between the output power and the second influencing factor. The above-mentioned output power can refer to the output power of the second device sending the audio data to the first device through the communication method after the second device establishes communication. The second influencing factor can be used to characterize the influence of the output power on the sound volume of the audio data output by the first device. Specifically, due to the different device identifiers corresponding to the second device, or the different audio output powers set by the second device itself in different time periods or different regions, the power of the audio data output by different second devices is inconsistent, or the power of the audio data output by the second device in different time periods and different regions is inconsistent, that is, the output power is different, resulting in the first device carrying different second devices The output sound volume is inconsistent; different output power sizes correspond to different second influencing factors, such as, it can be set that the smaller the output power, the smaller the corresponding second influencing factor. The range of the above-mentioned first influencing factor and / or second influencing factor can be (-1,1).
[0075] In a specific implementation, if the target environmental parameters include n (multiple, in this application, multiple may refer to two or more, which will not be repeated here), each environmental parameter corresponds to a first sub-influence factor b i , where the sum of all first sub-influence factors is 1, and the first sub-influence factor b i The corresponding specific parameter a used to characterize the target environmental parameters iPerform cumulative summation, i.e. the first target impact factor
[0076] Furthermore, due to the different EQ parameters c in the EQ parameters i The influence of environmental parameters and output power is different. Therefore, the first device may also include an influence reference degree d i , which can be used to characterize the above environmental parameters and the effect of output power on the EQ parameter c i According to the mapping relationship between the preset output power and the second impact factor, determine the second target impact factor corresponding to the target output power; and calculate each EQ parameter c according to the first target impact factor x1 and the second target impact factor x2 and the reference impact degree. i Importance assessment value: y i =d i *(1+x1)*(1+x2). Finally, the EQ parameter can be adjusted according to the importance evaluation value corresponding to each of the above EQ parameters; specifically, the first device may include an adjustment table corresponding to each EQ parameter, and the adjustment table includes multiple fine-tuning parameters. If the importance evaluation value corresponding to a certain EQ parameter is greater than a preset threshold (the preset threshold can be set by the user or by the system default, and is not limited here), the EQ parameter is adjusted, and a fine-tuning parameter matching the importance evaluation value is selected from the adjustment table, and the initial parameter of the EQ parameter is adjusted to obtain the adjusted EQ parameter; if the above importance evaluation value is less than or equal to the preset threshold, it is not adjusted and the original EQ parameter is maintained.
[0077] It can be seen that in this example, considering that the user is in a specific environmental scenario, the first device is affected by various environmental factors (for example, heavy rain, strong winds, magnetic field interference, etc.) and causes interference in signal transmission, or the user cannot hear the audio data played in the first device due to excessive noise in the environment. Then, in this application, the environmental factors and the impact of the output power of the second device on the playback of the first device can be comprehensively considered, which is conducive to grasping the impact of various parameters on the EQ parameters, improving the accuracy of EQ parameter adjustment, and improving user experience. Finally, when adjusting the EQ parameters, the importance assessment greater than the preset threshold can be adjusted to avoid the situation where the volume adjustment span is too large due to the subsequent adjustment of the EQ parameters, which is conducive to ensuring the smoothness of the target scale finally generated to avoid the change range between the two volume gears being too high.
[0078] In a possible example, after receiving the device identifier sent by the second device, the method further includes: obtaining a preset volume level and an initial volume corresponding to each volume level; obtaining an initial scale table, wherein the initial scale table includes multiple initial scales, and each initial scale corresponds to a volume level; adjusting the multiple initial scales according to the EQ parameters to obtain multiple target scales, and generating a target scale table according to the multiple target scales, wherein each target scale corresponds to an initial scale; the EQ parameters are used to indicate volume adjustment for the first device, and may include the following steps: when the EQ parameters are used to indicate a first preset gain type, adding each initial volume to the target scale of the corresponding volume level to obtain the target volume corresponding to each volume level; or, when the EQ parameters are used to indicate a second preset gain type, subtracting each initial volume from the target scale of the corresponding volume level to obtain the target volume corresponding to each volume level.
[0079] Among them, the first device may preset a volume level for representing the volume, and different volume levels correspond to different volume levels. For example, the larger the volume level, the larger the corresponding volume level. The volume level may refer to the volume of the audio data sent by the second device played by the first device. The first device may also include an initial scale table used by the user when the first device was used last time or pre-stored, and the initial scale table may include multiple initial scales. The above-mentioned target scale table also includes multiple target scales.
[0080] The first preset gain type and / or the second preset gain type may be set by the user or by the system by default, which is not limited here. For example, the first preset gain type is a negative gain type, and the second preset gain type is a positive gain type.
[0081] In a specific implementation, multiple initial scales can be adjusted according to multiple EQ parameters and their corresponding scale types (for example, octave scale, half octave scale, etc.) to generate a scale effect diagram, which may include multiple target scales and specific parameters of each target scale.
[0082] Furthermore, in actual use, due to the influence of factors such as noisy environment, not all the volume levels corresponding to the output power output are affected by the noisy environment, resulting in the user being unable to hear or unable to hear clearly. Therefore, the target scale table can be determined according to the actual adjustment of each EQ parameter in the EQ parameter, and the target scale table may include a target scale for partial or complete adjustment of the initial scale; then, the target scale that has changed or is actually adjusted can be processed with the volume corresponding to the volume level corresponding to the target scale to obtain a new volume, namely, the target volume. Specifically, when the EQ parameter is used to indicate a negative gain, each of the initial volumes can be added to the target scale of the corresponding volume level to obtain the target volume corresponding to each of the volume levels; when the EQ parameter is used to indicate a positive gain, each of the initial volumes can be subtracted from the target scale of the corresponding volume level to obtain the target volume corresponding to each of the volume levels. Then, the actual output volume of the first device is adjusted in advance.
[0083] For example, if the user is in a relatively noisy environment, after the first device is connected to the second device, the user cannot hear the volume when adjusting the volume level to the minimum. When adjusting to the previous volume level, if the sound suddenly becomes louder, that is, there is a relatively large increase, then the user experience will be very poor. Smooth adjustment of the volume can be achieved through the embodiments of the present application, as shown in the following table, which is a mapping relationship between a scale, a volume level and a volume, wherein the initial scale corresponding to the target scale Q1.1 is Q1, and the initial scale corresponding to the target scale Q1.2 is Q2. Except for the above-mentioned target scale Q1.1 and target scale Q1.2, if other initial scales do not change, there is no need to adjust the target volume, and only the volume of the scale change needs to be adjusted.
[0084] Table 1. Mapping relationship between scale, volume level and volume
[0085] Volume level Initial volume Target scale Target volume 5 P5 Q5 P5 4 P4 Q4 P4 3 P3 Q3 P3 2 P2 Q2.1 P2+Q2.1 1 P1 Q1.1 P1+Q1.1 0 none none none
[0086] It can be seen that in this example, due to the influence of environmental noise, the impact on the volume of different volume levels is different. A smooth adjustment can be made to part or all of the initial scale in advance according to the EQ parameters to avoid the problem of fluctuating sound due to excessive changes between any two volume levels, which is conducive to improving user experience.
[0087] It can be seen that the parameter adjustment method described in the embodiment of the present application, when establishing a communication connection with the second device, receives the device identification sent by the second device; according to the device identification, adjusts the EQ parameters, wherein the EQ parameters are used to indicate the volume adjustment of the first device. In this way, the volume of the first device can be adjusted in real time through the EQ parameters, so that the first device can adapt to the second device of different device types, thereby solving the problem of users hearing too low or too high volume when using different devices, which is conducive to improving user experience.
[0088] See also Figure 4 , Figure 4 The present application provides a flow chart of a parameter adjustment method, which is applied to a second device. As shown in the figure, the parameter adjustment method includes the following operations.
[0089] S401. When establishing a communication connection with a first device, the second device obtains a device identification and sends the device identification to the first device, wherein the device identification is used to instruct the first device to implement EQ parameter adjustment, and the EQ parameter is used to instruct volume adjustment of the first device.
[0090] The above step S401 can refer to Figure 3 The relevant description of the parameter adjustment method described in step S301-step S302 in the described parameter adjustment method will not be repeated here.
[0091] It can be seen that in the parameter adjustment method described in the embodiment of the present application, the second device obtains the device identification when establishing a communication connection with the first device, and sends the device identification to the first device, wherein the device identification is used to indicate that the first device implements EQ parameter adjustment, and the EQ parameter is used to indicate that the volume adjustment is implemented for the first device. In this way, the second device can send the device identification to the first device, so that the first device can adjust the volume of the first device in real time through the EQ parameter, so that the first device can adapt to the second device of different device types, thereby solving the problem that the user hears the volume too low or too loud when using different devices, which is conducive to improving the user experience.
[0092] See also Figure 5 , Figure 5 The embodiment of the present application provides an interactive flow diagram of a parameter adjustment method. As shown in the figure, the parameter adjustment method includes the following operations.
[0093] S501: When establishing a communication connection with a first device, the second device obtains a device identification and sends the device identification to the first device.
[0094] S502: The first device receives a device identification sent by the second device.
[0095] S503: The first device adjusts an EQ parameter according to the device identifier, wherein the EQ parameter is used to indicate volume adjustment for the first device.
[0096] The above steps S501-S503 can refer to Figure 3 The relevant description of the parameter adjustment method described in step S301-step S302 in the described parameter adjustment method will not be repeated here.
[0097] It can be seen that the parameter adjustment method described in the embodiment of the present application, when establishing a communication connection with the first device, the second device obtains the device identification and sends the device identification to the first device; the first device receives the device identification sent by the second device; the first device adjusts the EQ parameters according to the device identification, wherein the EQ parameters are used to indicate the volume adjustment of the first device. In this way, the second device can send the device identification to the first device, so that the first device can adjust the volume of the first device in real time through the EQ parameters, so that the first device can adapt to the second device of different device types, thereby solving the problem that the user hears the volume too low or too high when using different devices, which is conducive to improving the user experience.
[0098] See also Figure 6 , Figure 6 This is a structural diagram of an electronic device provided in an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor.
[0099] In a possible example, if the electronic device is a first device, the program includes instructions for executing the following steps:
[0100] When a communication connection is established with a second device, receiving a device identification sent by the second device;
[0101] According to the device identifier, an EQ parameter is adjusted, wherein the EQ parameter is used to indicate volume adjustment for the first device.
[0102] It can be seen that the electronic device described in the embodiment of the present application, when establishing a communication connection with the second device, receives the device identification sent by the second device; according to the device identification, adjusts the EQ parameters, wherein the EQ parameters are used to indicate the volume adjustment of the first device. In this way, the volume of the first device can be adjusted in real time through the EQ parameters, so that the first device can adapt to the second device of different device types, thereby solving the problem of the user hearing the volume too low or too high when using different devices, which is conducive to improving the user experience.
[0103] Optionally, in the aspect of adjusting the EQ parameters according to the device identification, the program further includes instructions for executing the following steps:
[0104] If the device identifier is empty, adjusting the EQ parameters according to a first preset manner;
[0105] If the device identifier is not empty, the device type of the second device is obtained, and when the device type meets the preset device type, the EQ parameter is adjusted according to a second preset manner.
[0106] Optionally, the EQ parameter includes at least one of the following: frequency position, gain parameter, and sound range.
[0107] Optionally, when the device type meets the preset device type, the program further includes instructions for executing the following steps:
[0108] Obtaining an identification bit of the second device;
[0109] Determining a region where the second device is located according to the identification bit;
[0110] If the region meets the preset condition, the step of adjusting the EQ parameters according to a third preset method is performed.
[0111] Optionally, after obtaining the device type of the second device, the program further includes instructions for executing the following steps:
[0112] When the device type meets the preset device type, obtaining target environment parameters;
[0113] Determine the first target impact factor corresponding to the target environmental parameter according to the mapping relationship between the preset environmental parameter and the first impact factor;
[0114] Acquire a target output power of the audio data emitted by the second device;
[0115] Determine the second target impact factor corresponding to the target output power according to the mapping relationship between the preset output power and the second impact factor;
[0116] The EQ parameter is adjusted according to the first target impact factor and the second target impact factor.
[0117] Optionally, after receiving the device identification sent by the second device, the program further includes instructions for executing the following steps:
[0118] Obtaining a preset volume level and an initial volume corresponding to each of the volume levels;
[0119] Acquire an initial scale table, wherein the initial scale table includes a plurality of initial scales, each of the initial scales corresponding to a volume level;
[0120] According to the EQ parameters, the multiple initial scales are adjusted to obtain multiple target scales, and a target scale table is generated according to the multiple target scales, wherein each target scale corresponds to one initial scale.
[0121] In terms of the EQ parameter being used to indicate volume adjustment for the first device, the program includes instructions for performing the following steps:
[0122] In the case where the EQ parameter is used to indicate the first preset gain type, each of the initial volumes is added to the target scale of the corresponding volume level to obtain the target volume corresponding to each volume level; or
[0123] In the case where the EQ parameter is used to indicate the second preset gain type, each of the initial volumes is subtracted from the target scale of the corresponding volume level to obtain the target volume corresponding to each of the volume levels.
[0124] In a possible example, if the electronic device is a second device, the program includes instructions for executing the following steps:
[0125] When a communication connection is established with a first device, a device identifier is obtained and sent to the first device, wherein the device identifier is used to instruct the first device to implement EQ parameter adjustment, and the EQ parameter is used to instruct volume adjustment for the first device.
[0126] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0127] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0128] In the case of dividing each functional module into corresponding functional modules, Fig. 7A A schematic diagram of a parameter adjustment device is shown, such as Fig. 7A As shown, the parameter adjustment device 700 is applied to a first device, and the parameter adjustment device 700 may include: a receiving unit 701 and an adjustment unit 702, wherein:
[0129] The receiving unit 701 may be used to support the electronic device to execute the above step S301 and / or other processes of the technology described herein.
[0130] The adjustment unit 702 may be used to support the electronic device to execute the above step S302 and / or other processes of the technology described herein.
[0131] It can be seen that the parameter adjustment device provided in the embodiment of the present application, when establishing a communication connection with the second device, receives the device identification sent by the second device; according to the device identification, adjusts the EQ parameters, wherein the EQ parameters are used to indicate the volume adjustment of the first device. In this way, the volume of the first device can be adjusted in real time through the EQ parameters, so that the first device can adapt to the second device of different device types, thereby solving the problem of the user hearing the volume too low or too high when using different devices, which is conducive to improving the user experience.
[0132] Optionally, in the aspect of adjusting the EQ parameter according to the device identifier, the adjusting unit 702 is specifically configured to:
[0133] If the device identifier is empty, adjusting the EQ parameters according to a first preset manner;
[0134] If the device identifier is not empty, the device type of the second device is obtained, and when the device type meets the preset device type, the EQ parameter is adjusted according to a second preset manner.
[0135] Optionally, when the device type meets the preset device type, the adjusting unit 702 is further configured to:
[0136] Obtaining an identification bit of the second device;
[0137] Determining a region where the second device is located according to the identification bit;
[0138] If the region meets the preset condition, the step of adjusting the EQ parameters according to a third preset method is performed.
[0139] Optionally, after acquiring the device type of the second device, the adjusting unit 702 is further configured to:
[0140] When the device type meets the preset device type, obtaining target environment parameters;
[0141] Determine the first target impact factor corresponding to the target environmental parameter according to the mapping relationship between the preset environmental parameter and the first impact factor;
[0142] Acquire a target output power of the audio data emitted by the second device;
[0143] Determine the second target impact factor corresponding to the target output power according to the mapping relationship between the preset output power and the second impact factor;
[0144] The EQ parameter is adjusted according to the first target impact factor and the second target impact factor.
[0145] Optionally, after receiving the device identification sent by the second device, Figure 7B As shown, the parameter adjustment device 700 may include: an acquisition unit 703, which is used to:
[0146] Obtaining a preset volume level and an initial volume corresponding to each of the volume levels;
[0147] Acquire an initial scale table, wherein the initial scale table includes a plurality of initial scales, each of the initial scales corresponding to a volume level;
[0148] According to the EQ parameters, the multiple initial scales are adjusted to obtain multiple target scales, and a target scale table is generated according to the multiple target scales, wherein each target scale corresponds to one initial scale;
[0149] In terms of the EQ parameter being used to indicate volume adjustment for the first device, the adjustment unit 702 is specifically used to:
[0150] In the case where the EQ parameter is used to indicate the first preset gain type, each of the initial volumes is added to the target scale of the corresponding volume level to obtain the target volume corresponding to each volume level; or
[0151] In the case where the EQ parameter is used to indicate the second preset gain type, each of the initial volumes is subtracted from the target scale of the corresponding volume level to obtain the target volume corresponding to each of the volume levels.
[0152] In the case of dividing each functional module into corresponding functional modules, Figure 8 A schematic diagram of a parameter adjustment device is shown, such as Figure 8 As shown, the parameter adjustment device 800 is applied to the second device, and the parameter adjustment device 800 may include: a sending unit 801, wherein:
[0153] The sending unit 801 may be used to support the electronic device in executing the above step S401 and / or other processes of the technology described herein.
[0154] It can be seen that the parameter adjustment device provided in the embodiment of the present application, when establishing a communication connection with the first device, obtains the device identification and sends the device identification to the first device, wherein the device identification is used to indicate that the first device implements EQ parameter adjustment, and the EQ parameter is used to indicate that the volume adjustment is implemented for the first device. In this way, the second device can send the device identification to the first device, so that the first device can adjust the volume of the first device in real time through the EQ parameter, so that the first device can adapt to the second device of different device types, thereby solving the problem that the user hears the volume too low or too high when using different devices, which is conducive to improving the user experience.
[0155] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0156] The electronic device provided in this embodiment is used to execute the above parameter adjustment method, and thus can achieve the same effect as the above implementation method.
[0157] In the case of using integrated units, the electronic device may include a processing module, a storage module and a communication module. Among them, the processing module can be used to control and manage the actions of the electronic device, for example, it can be used to support the electronic device to execute the steps performed by the above-mentioned receiving unit 701, adjustment unit 702 and acquisition unit 703, or sending unit 801. The storage module can be used to support the electronic device to execute stored program codes and data, etc. The communication module can be used to support the communication between the electronic device and other devices.
[0158] Among them, the processing module can be a processor or a controller. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, etc.
[0159] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device involved in this embodiment may be a Figure 1 Device of the structure shown.
[0160] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments, and the above computer includes an electronic device.
[0161] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.
[0162] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0163] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0164] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0165] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0166] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0167] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0168] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.
[0169] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A parameter adjustment method, applied to a first device, characterized in that: The method comprises: When a communication connection is established with a second device, receiving a device identification sent by the second device; According to the device identifier, adjust an EQ parameter, wherein the EQ parameter is used to indicate volume adjustment for the first device; Among them, adjusting the EQ parameters according to the device identifier includes: if the device identifier is empty, adjusting the EQ parameters according to a first preset method; if the device identifier is not empty, obtaining the device type of the second device, and when the device type indicates a preset device type, obtaining the target environment parameter; determining the first target influence factor corresponding to the target environment parameter according to the mapping relationship between the preset environment parameter and the first influence factor; obtaining the target output power of the audio data emitted by the second device and the influence reference included in the first device; determining the second target influence factor corresponding to the target output power according to the mapping relationship between the preset output power and the second influence factor; calculating the importance evaluation value of each EQ parameter according to the first target influence factor, the second target influence factor and the influence reference degree; obtaining an adjustment table corresponding to each EQ parameter, the adjustment table including multiple fine-tuning parameters; when the importance evaluation value corresponding to any of the EQ parameters is greater than a preset threshold, selecting a fine-tuning parameter matching the importance evaluation value in the adjustment table, adjusting the initial parameters of the EQ parameters, and obtaining the adjusted EQ parameters.
2. The method according to claim 1, characterized in that The EQ parameters include at least one of the following: frequency position, gain parameter, and sound range.
3. The method according to claim 2, characterized in that In the case where the device type meets the preset device type, the method further includes: Obtaining an identification bit of the second device; Determining a region where the second device is located according to the identification bit; If the region meets the preset condition, the step of adjusting the EQ parameters according to a third preset method is performed.
4. The method according to any one of claims 1 to 3, characterized in that: After receiving the device identification sent by the second device, the method further includes: Obtaining a preset volume level and an initial volume corresponding to each of the volume levels; Acquire an initial scale table, wherein the initial scale table includes a plurality of initial scales, each of the initial scales corresponding to a volume level; According to the EQ parameters, the multiple initial scales are adjusted to obtain multiple target scales, and a target scale table is generated according to the multiple target scales, wherein each target scale corresponds to one initial scale; The EQ parameter is used to indicate that volume adjustment is implemented on the first device, including: In the case where the EQ parameter is used to indicate the first preset gain type, each of the initial volumes is added to the target scale of the corresponding volume level to obtain the target volume corresponding to each volume level; or In the case where the EQ parameter is used to indicate the second preset gain type, each of the initial volumes is subtracted from the target scale of the corresponding volume level to obtain the target volume corresponding to each of the volume levels.
5. A parameter adjustment method, applied to a second device, characterized in that: The method comprises: In the case of establishing a communication connection with a first device, obtaining a device identifier and sending the device identifier to the first device, wherein the device identifier is used to indicate that the first device implements EQ parameter adjustment, and the EQ parameter is used to indicate that volume adjustment is implemented for the first device; when the first device implements EQ parameter adjustment, if the device identifier is empty, the EQ parameter is adjusted according to a first preset method; if the device identifier is not empty, the device type of the second device is obtained, and when the device type indicates a preset device type, the target environmental parameter is obtained; according to the mapping relationship between the preset environmental parameter and the first influencing factor, the first target influencing factor corresponding to the target environmental parameter is determined; the first target influencing factor corresponding to the target environmental parameter is obtained. The second device emits a target output power of audio data and an influence reference degree included in the first device; according to the mapping relationship between the preset output power and the second influence factor, the second target influence factor corresponding to the target output power is determined; according to the first target influence factor, the second target influence factor and the influence reference degree, the importance evaluation value of each EQ parameter is calculated; an adjustment table corresponding to each EQ parameter is obtained, and the adjustment table includes multiple fine-tuning parameters; when the importance evaluation value corresponding to any of the EQ parameters is greater than a preset threshold, a fine-tuning parameter matching the importance evaluation value is selected from the adjustment table, and the initial parameters of the EQ parameters are adjusted to obtain the adjusted EQ parameters.
6. A parameter adjustment device, characterized in that: The device is applied to a first device, and comprises: a receiving unit and an adjusting unit, wherein: The receiving unit is configured to receive a device identification sent by a second device when a communication connection is established with the second device; The adjusting unit is used to adjust an EQ parameter according to the device identifier, wherein the EQ parameter is used to indicate volume adjustment for the first device; Among them, adjusting the EQ parameters according to the device identifier includes: if the device identifier is empty, adjusting the EQ parameters according to a first preset method; if the device identifier is not empty, obtaining the device type of the second device, and when the device type indicates a preset device type, obtaining the target environment parameter; determining the first target influence factor corresponding to the target environment parameter according to the mapping relationship between the preset environment parameter and the first influence factor; obtaining the target output power of the audio data emitted by the second device and the influence reference included in the first device; determining the second target influence factor corresponding to the target output power according to the mapping relationship between the preset output power and the second influence factor; calculating the importance evaluation value of each EQ parameter according to the first target influence factor, the second target influence factor and the influence reference degree; obtaining an adjustment table corresponding to each EQ parameter, the adjustment table including multiple fine-tuning parameters; when the importance evaluation value corresponding to any of the EQ parameters is greater than a preset threshold, selecting a fine-tuning parameter matching the importance evaluation value in the adjustment table, adjusting the initial parameters of the EQ parameters, and obtaining the adjusted EQ parameters.
7. A parameter adjustment device, characterized in that: The device is applied to a second device, and comprises: a sending unit, wherein: The sending unit is used to obtain a device identification when establishing a communication connection with a first device, and send the device identification to the first device, wherein the device identification is used to indicate that the first device implements EQ parameter adjustment, and the EQ parameter is used to indicate that volume adjustment is implemented for the first device; when the first device implements EQ parameter adjustment, if the device identification is empty, the EQ parameter is adjusted according to a first preset method; if the device identification is not empty, the device type of the second device is obtained, and when the device type indicates a preset device type, the target environment parameter is obtained; according to a mapping relationship between the preset environment parameter and the first influence factor, a first target influence factor corresponding to the target environment parameter is determined; Obtain a target output power of the audio data emitted by the second device and an influence reference degree included in the first device; determine a second target influence factor corresponding to the target output power according to a mapping relationship between a preset output power and a second influence factor; calculate an importance evaluation value of each EQ parameter according to the first target influence factor, the second target influence factor and the influence reference degree; obtain an adjustment table corresponding to each EQ parameter, the adjustment table including a plurality of fine-tuning parameters; if the importance evaluation value corresponding to any of the EQ parameters is greater than a preset threshold, select a fine-tuning parameter matching the importance evaluation value in the adjustment table, adjust the initial parameters of the EQ parameters, and obtain the adjusted EQ parameters.
8. An electronic device, characterized in that: The method comprises a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Sound effect processing method and device
CN106126168A
Volume control method and system and mobile terminal
CN107623776A
Sound effect processing method and device, and machine readable medium
CN108462895A
Volume setting method and electronic equipment
CN113504887A