CN114173255A - Parameter adjusting method and related product - Google Patents
Parameter adjusting method and related product Download PDFInfo
- Publication number
- CN114173255A CN114173255A CN202111473290.8A CN202111473290A CN114173255A CN 114173255 A CN114173255 A CN 114173255A CN 202111473290 A CN202111473290 A CN 202111473290A CN 114173255 A CN114173255 A CN 114173255A
- Authority
- CN
- China
- Prior art keywords
- parameter
- equipment
- volume
- target
- adjusting
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000004891 communication Methods 0.000 claims abstract description 53
- 238000004590 computer program Methods 0.000 claims description 17
- 230000015654 memory Effects 0.000 claims description 17
- 238000013507 mapping Methods 0.000 claims description 14
- 230000001976 improved effect Effects 0.000 abstract description 9
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 230000009286 beneficial effect Effects 0.000 description 9
- 230000007613 environmental effect Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 238000011156 evaluation Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000001755 vocal effect Effects 0.000 description 2
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 229910052744 lithium Inorganic materials 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000008093 supporting effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2201/00—Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
- H04R2201/10—Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
- H04R2430/01—Aspects of volume control, not necessarily automatic, in sound systems
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application discloses a parameter adjusting method and a related product, wherein the method comprises the following steps: under the condition of establishing communication connection with second equipment, receiving equipment identification sent by the second equipment; and adjusting an EQ parameter according to the equipment identifier, wherein the EQ parameter is used for indicating that the volume adjustment is realized on the first equipment. By adopting the embodiment of the application, the problem that the volume and the sound are too small or too large when a user uses different devices is solved, and the user experience is improved.
Description
Technical Field
The application relates to the technical field of electronic equipment, in particular to a parameter adjusting method and a related product.
Background
The Bluetooth headset is more and more widely applied at present, and a set of scale table is built in the Bluetooth headset when the Bluetooth headset leaves a factory; when the earphone and the electronic equipment are in communication connection through Bluetooth, the volume can be output according to the scale table.
Disclosure of Invention
The embodiment of the application provides a parameter adjusting method and a related product, which are beneficial to solving the problem that a user can hear too small volume sound or too large sound when using different devices and are beneficial to improving user experience.
In a first aspect, an embodiment of the present application provides a parameter adjusting method, which is applied to a first device, and the method includes:
under the condition of establishing communication connection with second equipment, receiving equipment identification sent by the second equipment;
and adjusting an EQ parameter according to the equipment identifier, wherein the EQ parameter is used for indicating that the volume adjustment is realized on the first equipment.
In a second aspect, an embodiment of the present application provides a parameter adjusting method, which is applied to a second device, and the method includes:
the method comprises the steps of acquiring an equipment identifier under the condition that communication connection is established with first equipment, and sending the equipment identifier to the first equipment, wherein the equipment identifier is used for indicating the first equipment to realize EQ parameter adjustment, and the EQ parameter is used for indicating the first equipment to realize volume adjustment.
In a third aspect, an embodiment of the present application provides a parameter adjusting apparatus, where the apparatus is applied to a first device, and the apparatus includes: a receiving unit and an adjusting unit, wherein,
the receiving unit is configured to receive a device identifier sent by a second device when a communication connection is established with the second device;
the adjusting unit is configured to adjust an EQ parameter according to the device identifier, where the EQ parameter is used to instruct the first device to implement volume adjustment.
In a fourth aspect, an embodiment of the present application provides a parameter adjusting apparatus, where the apparatus is applied to a second device, and the apparatus includes: a sending unit, wherein,
the sending unit is configured to acquire an equipment identifier and send the equipment identifier to the first equipment when the communication connection with the first equipment is established, where the equipment identifier is used to indicate the first equipment to implement EQ parameter adjustment, and the EQ parameter is used to indicate the first equipment to implement volume adjustment.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where 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 of the methods in the first aspect or the second aspect of the embodiment of the present application.
In a sixth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect or the second aspect of the present application.
In a seventh aspect, this application provides a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in any of the methods of the first aspect or the second aspect of this application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, after establishing a communication connection with a second device, a device identifier sent by the second device is received; and adjusting an EQ parameter according to the equipment identifier, wherein the EQ parameter is used for indicating that the volume adjustment is realized on the first equipment. Therefore, the volume of the first device can be adjusted in real time through the EQ parameters, so that the first device can be adapted to second devices of different device types, the problem that a user overhears volume sound too small or too large when using different devices is solved, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a bluetooth headset apparatus according to an embodiment of the present application;
fig. 2 is a schematic network architecture diagram of a parameter adjusting method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a parameter adjusting method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a parameter adjusting method according to an embodiment of the present application;
fig. 5 is an interaction flow diagram of a parameter adjustment method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7A is a block diagram illustrating functional units of a parameter adjusting apparatus according to an embodiment of the present disclosure;
fig. 7B is a block diagram illustrating functional units of a parameter adjusting apparatus according to an embodiment of the present disclosure;
fig. 8 is a block diagram illustrating functional units of a parameter adjusting apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device may be a portable electronic device such as a cell phone, a tablet, a wearable electronic device with wireless communication capabilities (e.g., a smart watch, a bluetooth headset, a smart helmet, smart glasses), etc., that also incorporates other functionality such as personal digital assistant and/or music player functionality. Exemplary embodiments of the portable electronic device include, but are not limited to, portable electronic devices that carry an IOS system, an Android system, a Microsoft system, or other operating system. The portable electronic device may also be other portable electronic devices such as a Laptop computer (Laptop) or the like. It should also be understood that in other embodiments, the electronic device may not be a portable electronic device, but may be a desktop computer.
In this embodiment, the first device may be an earphone device or an intelligent helmet device with a playing function, and the second device is a terminal device.
In some examples, when the first device is a headset device, the headset device may be a bluetooth headset device, which may be wireless. The Bluetooth headset device can establish Bluetooth communication connection with the terminal device.
In the first section, the hardware operating environment of the solution disclosed in the present application is described as follows.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a bluetooth headset apparatus according to an embodiment of the present disclosure, and the bluetooth headset apparatus 100 may include a first bluetooth headset 110 and a second bluetooth headset 120, where the first bluetooth headset 110 and the second bluetooth headset 120 have the same structure, and after the first bluetooth headset 110 and the second bluetooth headset 120 are paired, they may serve as a pair of bluetooth headset apparatuses.
The bluetooth headset apparatus 100 may include a headset housing, a rechargeable battery (e.g., a lithium battery) disposed in the headset housing, a plurality of power supply contacts for connecting a charging device, 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, the driver unit is for emitting sound from the directional sound port, the plurality of power supply contacts are disposed on an outer surface of the headset housing, and the number of power supply contacts is the same as the number of power supply contacts in a charging box to which the bluetooth headset apparatus 100 is mated.
In a second section, example application scenarios disclosed in embodiments of the present application are described below.
Fig. 2 is a schematic view of a scene architecture of a parameter adjustment method applicable to the present application, as shown in fig. 2, the architecture schematic view includes an electronic device (200a) and a bluetooth headset device (200b) (which may be the bluetooth headset device 100 shown in fig. 1).
As shown in fig. 2, the electronic device 200a and the bluetooth headset device 200b may establish a communication connection through a communication method such as bluetooth.
Generally, the bluetooth headset apparatus 200b may be collocated with the electronic apparatus 200a configured with different operating systems, for example, an electronic apparatus with an operating system being an IOS operating system, an apparatus with an operating system being an Android operating system, or an electronic apparatus with an operating system being a Windows operating system. Because the corresponding scale tables of the bluetooth headset device 200b are consistent when the bluetooth headset device leaves the factory, not only the operating systems of the electronic device are different, but also the bluetooth output power corresponding to the electronic device is different, which causes the volume of the bluetooth headset device 200b to be different when the bluetooth headset device is collocated with different operating systems, sometimes the volume is too large, sometimes the volume is too small, and the user experience is not high.
Therefore, based on the above problem, the embodiment of the present application provides a parameter adjusting method, and in particular, the bluetooth headset apparatus 200b may receive an apparatus identifier sent by the electronic apparatus 200a when establishing a communication connection with the electronic apparatus 200 a; and adjusting the EQ parameter according to the equipment identifier, wherein the EQ parameter is used for indicating that the volume adjustment is realized on the first equipment. So, accessible EQ parameter is real-time to the volume of this bluetooth headset device 200b adjust to make this bluetooth headset device 200b can adapt to the electronic equipment of different equipment types, thereby solve the user and use different equipment to lead to hearing volume sound undersize or too big problem, be favorable to improving user experience.
In the third section, the scope of protection of the claims disclosed in the embodiments of the present application is described below.
Referring to fig. 3, fig. 3 is a schematic flow chart of a parameter adjusting method applied to a first device according to an embodiment of the present application.
S301, under the condition that the first device establishes communication connection with the second device, receiving a device identifier sent by the second device.
The first device may be a bluetooth headset device, and may establish a communication connection with a second device (terminal device) through a bluetooth apparatus. The communication connection request may be initiated by bluetooth or wirelessly, and the specific details are not limited herein.
After the first device is successfully connected with the second device in a communication manner, a device identifier acquisition request is triggered to be initiated to the second device so as to acquire the device identifier of the second device. Of course, the first device may also actively send the device identifier to the first device after the communication connection with the second device is successful, and the first device may receive the device identifier sent by the second device.
The device identifier refers to a device identifier of the second device, and the device identifier may be used to indicate a device type of the second device.
Optionally, the device type may be used to indicate an operating system of the first device, and specifically may include any one of the following: an IOS operating system, an Android operating system, and a Windows operating system, etc., which are not limited herein.
It should be noted that the device type may be used to indicate not only the operating system, but also the device model of the first device, and the like, and is not limited herein.
S302, the first device adjusts an EQ parameter according to the device identifier, wherein the EQ parameter is used for indicating that volume adjustment is achieved on the first device.
The EQ (equalizer) parameters may refer to sound used for adjusting the audio data transmitted from the second device, and may be specifically used for adjusting tone, volume, and the like. In the embodiment of the present application, the EQ parameter is mainly used for adjusting the output volume of the audio data.
The first device can store an initial scale table and a volume gear table, the initial scale table stores a plurality of initial scales, the volume gear table stores a plurality of volume gears, and each initial scale can correspond to one volume gear; the initial scale table may refer to a scale table configured when the first device leaves a factory, or may refer to a scale table when the first device is used last time, which is not limited herein. The adjustment of the initial scale table can be realized by adjusting the subsequent EQ parameters so as to obtain the target scale table. Volume adjustment for the first device may be achieved through the target scale table.
Optionally, if the first device is not used for the first time, in a specific implementation of the adjusting the EQ parameter according to the device identifier, the first device may determine whether the device identifier changes compared to the previous time, and if so, may perform the adjustment of the EQ parameter.
For example, if the first device establishes a communication connection with the second device corresponding to the Android operating system last time, and establishes a communication connection with the device of the IOS operating system at the current time, the first device may adjust the EQ parameter according to the device identifier of the IOS operating system; the initial scale table is a scale table adapted to an Android operating system, after the equipment type is changed from the last equipment type, namely the equipment type is changed from the Android operating system to the IOS operating system, the EQ parameters can be adjusted to adjust the initial scale table to obtain a target scale table, and the volume of the first equipment can be adjusted through the target scale table to enable the volume of the first equipment to be adapted to the equipment of the IOS operating system.
In this embodiment, the adjusting of the EQ parameter may be performed by a first device, and the first device may complete initial configuration of the EQ parameter when the first device leaves a factory.
It should be noted that, the first device may also be adjusted by the second device to obtain result data of the EQ parameter, and send the result data to the first device, and the first device controls the output volume according to the result data.
In one possible example, the EQ parameters include at least one of: frequency location, gain parameters, range, gain/attenuation pattern, etc., without limitation.
The frequency position in the EQ parameters can be used to indicate the parameters of the specific required gain or attenuation frequency position, and the level of the sound range is affected by the parameters. The gain parameter, a parameter indicating a gain (increase) or a fade (decrease) of the volume; the above-mentioned range of pitch ranges can be used to indicate parameters of gain or attenuation range, the smaller the value, the wider the range of pitch ranges; the gain/attenuation mode is used for indicating the effect of changing the volume of a specific frequency and correcting the tone; the gain/attenuation mode may be set by the user or default to the system, and is not limited herein.
In one possible example, the adjusting EQ parameters according to the device identifier may include: if the equipment identifier is empty, adjusting the EQ parameter according to a first preset mode; if the device identifier is not empty, acquiring the device type of the second device, and if the device type indicates a preset device type, adjusting the EQ parameter according to a second preset mode.
The first preset mode and/or the second preset mode may be set by a user or default by a system, which is not limited herein. The first preset manner may be to default to the initial parameters of the EQ parameters, or to adjust the EQ parameters obtained by the last adjustment to the initial parameters.
The preset device type can be set by a user or defaulted by a system, and is not limited herein; the preset device type may include: an IOS operating system, an Android operating system, and a Windows operating system, etc., which are not limited herein. The second preset manner of the EQ parameter may be preset for each device type. The second predetermined manner may be understood as adjusting some or all of the EQ parameters, and the specific manner of adjusting the parameters is not limited herein.
For example, if the volume output by the first device using the initial scale table is smaller for the user corresponding to the second device of the IOS operating system, the volume corresponding to the played audio data is smaller; then, when the preset device type is set as the IOS operating system, and the device identifier indicates that the second device is the IOS operating system, the EQ parameter may be adjusted in a second preset manner, so that the volume of the audio data output by the first device is increased; if the volume output by the first device by using the initial scale table is appropriate for a user corresponding to the second device of the IOS, the volume corresponding to the played audio data is appropriate, and when the device identifier indicates that the second device is the Android operating system, the EQ parameter may not be adjusted.
In a specific implementation, when a field for indicating an equipment identifier is not stored in the second equipment, or the first equipment does not acquire a returned equipment identifier of the second equipment due to the problems of authority and the like, the first equipment may receive or acquire an empty equipment identifier, and at this time, an initial parameter may be adopted by default or a parameter obtained by the last EQ parameter adjustment may be kept; or the EQ parameters obtained by the last adjustment are adjusted to the initial parameters, and the specific adjustment mode can be determined according to the use scene. For example, if it is detected that the communication connection is established with the second device for the first time, the initial parameters may be adopted; and if the location of the second equipment is detected to be inconsistent with the location of the EQ parameter which is adjusted last time, adjusting the EQ parameter obtained by the last adjustment to the initial parameter.
Further, when the device identifier returned by the second device is not null, it indicates that there is a returned device type, such as an operating system type, in the second device, and therefore, according to the device type, a second preset mode matching the device type may be selected, thereby implementing adjustment of the EQ parameter.
It can be seen that, in this example, the operating system of the second device may be identified by the device identifier according to different usage scenarios, and a suitable EQ parameter adjustment manner is adapted according to the operating system and the usage scenarios, which is beneficial to increasing the diversity of the EQ parameter adjustment method, and is beneficial to avoiding that the volume of the first device is too large or too small due to the difference in audio output power corresponding to different devices, and is beneficial to improving user experience.
In one possible example, in a case that the device type indicates a preset device type, the method further includes: acquiring an identification bit of the second device; determining the area where the second equipment is located according to the identification bit; and if the area meets the preset condition, executing the step of adjusting the EQ parameters according to a third preset mode.
The preset condition can be set by the user or defaulted by the system, and is not limited herein; different regions may be constrained by the predetermined condition, for example, if the region is in a relatively noisy area or region, or a more specific region (e.g., a machine room, a kitchen, a mall, a city, etc.), the region may be considered to satisfy the predetermined condition. The third preset mode can be different from the first preset mode and/or the second preset mode, the EQ parameter can be adjusted through different preset modes, the adjustment on the initial scale table is realized through the EQ parameter, and under different conditions, the adjustment strength and the adjustment range on the initial scale table through different preset modes are different; for example, if the second preset mode is to adjust part of the initial scale, and the area where the first device is located is a noisy environment, then the sound heard by the user through the first device is wholly reduced, and all the initial scales can be adjusted through the third preset mode, so that the volume of the first device is wholly increased.
It can be seen that, in this example, for some special areas, the EQ parameter in the first electronic device may be adjusted in time when the second device is in the special area, so as to ensure that the user using the first device can still use the first device normally in the area.
Optionally, in this embodiment of the present application, in different situations when the user uses the first device, the first device may have different execution options in adjusting the EQ parameter, for example: 1) in the foregoing step S301, the communication connection request may be a first connection, in this case, an obtaining instruction for initiating an apparatus identifier obtaining request to the second apparatus may be triggered, and then an apparatus identifier sent by the second apparatus is received, and according to the apparatus identifier, the first apparatus determines whether to perform adjustment of the EQ parameter according to the apparatus identifier, and when the EQ parameter needs to be adjusted, the EQ parameter may be adjusted, and the subsequent steps are not described again; 2) if the communication connection is not the first connection, it is indicated that the equipment identifier of the second equipment is the same as the equipment identifier of the last communication connection, and the area where the second equipment is located does not meet the preset condition, then the EQ parameter adjustment is not needed, the play instruction of the user on the second equipment can be directly responded to, the audio data sent by the second equipment is received, and the play operation of the audio data is realized through the current scale table stored in the first equipment; 3) if the communication connection is not the first connection and the area where the second device is located meets the preset condition, an equipment identifier acquisition request may be initiated to the second device and the equipment identifier corresponding to the second device may be received under the condition that the second device establishes the communication connection, and then the step of adjusting the EQ parameter is performed according to the equipment identifier, and the subsequent steps are not described herein again.
As can be seen, in this example, it is not necessary to determine whether the EQ parameters need to be adjusted every time a communication connection is performed; whether the EQ parameter needs to be adjusted or not can be judged according to whether the first equipment is firstly accessed into the second equipment and the area where the second equipment is located, so that the communication frequency is reduced, and the equipment power consumption of the first equipment is saved; and when the user operates in the second device to play audio data such as music, voice and the like through the first device, the playing efficiency is improved.
Optionally, after the user uses the first device for the first time, i.e., 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, the gain parameter, the range of the vocal range and the like corresponding to the first device in this case may be stored, and a target gain/attenuation mode may be set for the series of parameters, so as to indicate the target EQ parameters such as the frequency position, the gain parameter, the range of the vocal range and the like corresponding to the area or the device.
In specific implementation, when it is detected that the user enters the area satisfying the preset condition again from the area not satisfying the preset condition, the target EQ parameter in the target gain/attenuation mode corresponding to the area may be directly obtained after the first device establishes the communication connection, and the output of the audio data of the first device is completed under the target EQ parameter.
In a possible example, after the obtaining of the device type of the second device, the method may further include: acquiring a target environment parameter under the condition that the equipment type meets a preset equipment type; determining a first target influence factor corresponding to the target environment parameter according to a mapping relation between a preset environment parameter and the first influence factor; acquiring target output power of audio data sent by the second equipment; determining a second target influence factor corresponding to the target output power according to a mapping relation between preset output power and the second influence factor; and adjusting the EQ parameters according to the first target influence factor and the second target influence factor.
Wherein, the target environment parameter may include at least one of the following: geographic location, magnetic field disturbance intensity, wind intensity, stormy weather, etc., without limitation. The mapping relation between the environmental parameter and a first influence factor can be set in the first device, and the first influence factor can be used for representing the influence of various factors in the environment on the sound size of the audio data output by the first device; the first device may further store a mapping relationship between the output power and a second influence factor, where the output power may refer to an output power of the second device sending the audio data to the first device through the communication mode after the second device establishes communication, and the second influence factor may represent an influence of the output power on a sound size of the audio data output by the first device, and specifically, the output power of the audio data output by the second device is different due to different device identifiers corresponding to the second device or different audio output powers set by the second device in different time periods or different areas, or the output power of the audio data output by the second device in different time periods and different areas is different, that is, the output power is different, so that the output sound size of the second device loaded by the first device is different; the second influence factors corresponding to different output power levels are different, for example, the smaller the output power is, the smaller the corresponding second influence factor is. The first and/or second influencing factors may range from (-1, 1).
In a specific implementation, if the target environmental parameter includes n (a plurality, in this application, a plurality may refer to two or more, and is not described herein), each environmental parameter corresponds to one first sub-influence factor biWherein the sum of all the first sub-influence factors is 1, the first sub-influence factor b may beiCorresponding specific parameter a for representing target environment parameteriPerforming cumulative summation, i.e. first target influence factor
Furthermore, due to the different EQ parameters c among the EQ parametersiAffected differently by environmental parameters and output power, and therefore, the first device may further include an influence reference diCan be used for characterizing the environmental parameters and the output power to the EQ parameter ciThe magnitude of the effect of (c); determining a second target influence factor corresponding to the target output power according to a mapping relation between preset output power and the second influence factor; and calculating each EQ parameter c according to the first target influence factor x1, the second target influence factor x2 and the reference influence degreeiImportance evaluation value of (1): y isi=di(1+ x1) (1+ x 2). Finally, the EQ parameters can be adjusted according to the importance evaluation value corresponding to each EQ parameter; specifically, the first device may include an adjustment table corresponding to each EQ parameter, where the adjustment table includes a plurality of fine-tuning parameters, and if the importance evaluation value corresponding to an EQ parameter is greater than a preset threshold (the preset threshold may be a user-defined threshold)Self-setting or default system, and not limited herein), adjusting the EQ parameter, selecting a fine-tuning parameter matched with the importance evaluation value from an adjustment table, and adjusting an initial parameter of the EQ parameter to obtain an adjusted EQ parameter; and if the importance evaluation value is smaller than or equal to a preset threshold value, not adjusting the importance evaluation value, and keeping the original EQ parameters.
As can be seen, in this example, considering that, in a specific environment scene, the first device is affected by various environmental factors (for example, raining when the user is inclined, windy weather, magnetic field interference, and the like) to cause interference in signal transmission, or the user cannot hear audio data played in the first device due to too much noise in the environment, in this application, the environmental factors and the influence of the output power of the second device on the playing of the first device may be comprehensively considered, which is beneficial to grasping the influence of various parameters on the EQ parameter, and is beneficial to improving the accuracy of the EQ parameter adjustment, and is beneficial to improving user experience. Finally, the importance assessment larger than the preset threshold value can be adjusted when the EQ parameter is adjusted, so that the situation that the volume adjustment span is too large due to the subsequent adjustment according to the EQ parameter is avoided, smoothness of the finally generated target scale is guaranteed, and the situation that the variation amplitude between two volume gears is too high is avoided.
In one possible example, after the receiving the device identifier sent by the second device, the method further includes: acquiring preset volume gears and initial volume corresponding to each volume gear; acquiring an initial scale table, wherein the initial scale table comprises a plurality of initial scales, and each initial scale corresponds to one volume gear; adjusting the plurality of initial scales according to the EQ parameters to obtain a plurality of target scales, and generating a target scale table according to the plurality of target scales, wherein each target scale corresponds to one initial scale; the EQ parameter is used to indicate that volume adjustment is to be implemented for the first device, and may include the following steps: adding each initial volume and a target scale of a corresponding volume gear to obtain a target volume corresponding to each volume gear under the condition that the EQ parameter is used for indicating a first preset gain type; or, when the EQ parameter is used to indicate a second preset gain type, subtracting the target scale of each initial volume from the target scale of the corresponding volume gear to obtain the target volume corresponding to each volume gear.
The first device may preset volume gears for representing volume sizes, the volume gears are different, and the corresponding volume sizes are different, for example, the larger the volume gear is, the larger the corresponding volume size is; the volume level may refer to the volume at which the first device plays audio data sent by the second device. The first device may further comprise an initial scale table used by the user last time the first device is used or pre-stored in advance, and the initial scale table may comprise a plurality of initial scales. The target scale table also includes a plurality of target scales.
The first preset gain type and/or the second preset gain type may be set by a user or default, and is not limited herein. For example, the first predetermined gain type is a negative gain type, and the second predetermined gain type is a positive gain type.
In a specific implementation, the plurality of initial scales may be adjusted according to the plurality of EQ parameters and the scale types (e.g., octave, half-octave, etc.) corresponding thereto to generate a scale effect graph, where the scale effect graph may include a plurality of target scales and specific parameters of each target scale.
Furthermore, because in actual use, the target scale table is influenced by factors such as a noisy environment, and the volume obtained by outputting the output power corresponding to all the volume gears is not influenced by the noisy environment, so that the user cannot hear or hear the sound, the target scale table can be determined according to the actual adjustment condition of each EQ parameter in the EQ parameters, and the target scale table can comprise a target scale for partially or completely adjusting the initial scale; furthermore, the volume corresponding to the changed or actually adjusted target scale and the volume level corresponding to the target scale can be processed to obtain a new volume, i.e. the target volume. Specifically, when the EQ parameter is used to indicate a negative gain, each initial volume may be added to the target scale of the corresponding volume step to obtain a target volume corresponding to each volume step; when the EQ parameter is used to indicate a positive gain, the target volume corresponding to each volume step may be obtained by subtracting the target scale of the corresponding volume step from each initial volume. Further, the adjustment of the actual output volume of the first device is performed in advance.
For example, if the user is in a noisy environment, after the first device is connected to the second device, the user may not hear the volume when adjusting the volume shift to the minimum, and when adjusting the volume shift to the previous shift, if the sound is suddenly increased, there is a large amplification, the user experience is very poor, and smooth adjustment of the volume may be implemented in the embodiment of the present application, as shown in the following table, the mapping relationship between the scale, the volume shift, and the volume is a mapping relationship, where the initial scale corresponding to the target scale Q1.1 is Q1, the initial scale corresponding to the target scale Q1.2 is Q2, except for the target scale Q1.1 and the target scale Q1.2, if no change occurs in other initial scales, the target volume does not need to be adjusted, and only the volume that has a scale change is adjusted.
TABLE 1 mapping relationship between scale and volume level and volume
Volume gear | 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 | Is free of | Is free of | Is free of |
It can be seen that, in this example, due to the influence of the environmental noise, the influence of the environmental noise on the volumes of different volume gears is different, and a smooth adjustment can be performed on part or all of the initial scale in advance according to the EQ parameter, so as to avoid the problem of sudden and large sound caused by too large variation range between any two volume gears, which is beneficial to improving the user experience.
It can be seen that, in the parameter adjustment method described in this embodiment of the present application, in a case where a communication connection is established with a second device, a device identifier sent by the second device is received; and adjusting an EQ parameter according to the equipment identifier, wherein the EQ parameter is used for indicating that the volume adjustment is realized on the first equipment. Therefore, the volume of the first device can be adjusted in real time through the EQ parameters, so that the first device can be adapted to second devices of different device types, the problem that a user overhears volume sound too small or too large when using different devices is solved, and user experience is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of a parameter adjusting method applied to a second device according to an embodiment of the present application.
S401, under the condition that the second device establishes communication connection with the first device, obtaining a device identifier, and sending the device identifier to the first device, wherein the device identifier is used for indicating the first device to realize EQ parameter adjustment, and the EQ parameter is used for indicating the first device to realize volume adjustment.
In step S401, reference may be made to the related descriptions in the parameter adjustment method described in step S301 to step S302 in the parameter adjustment method described in fig. 3, which are not repeated herein.
It can be seen that, in the parameter adjustment method described in this embodiment of the application, when the second device establishes a communication connection with the first device, the second device obtains a device identifier, and sends the device identifier to the first device, where the device identifier is used to indicate the first device to implement EQ parameter adjustment, and the EQ parameter is used to indicate the first device to implement volume adjustment. Therefore, the second device can send the device identifier to the first device, so that the volume of the first device can be adjusted in real time through the EQ parameter by the first device, the first device can be adapted to the second devices of different device types, the problem that a user overhears volume sound too small or too large when using different devices is solved, and user experience is improved.
Referring to fig. 5, fig. 5 is an interactive flow chart of a parameter adjustment method according to an embodiment of the present application, where the parameter adjustment method includes the following operations.
S501, under the condition that the second device establishes communication connection with the first device, obtaining a device identifier, and sending the device identifier to the first device.
S502, the first device receives the device identification sent by the second device.
S503, the first device adjusts an EQ parameter according to the device identifier, wherein the EQ parameter is used for indicating that volume adjustment is achieved on the first device.
The above steps S501 to S503 may refer to the related descriptions in the parameter adjustment method described in steps S301 to S302 in the parameter adjustment method described in fig. 3, and are not repeated herein.
It can be seen that, in the parameter adjustment method described in this embodiment of the present application, in a case where a communication connection is established with a first device, a second device obtains a device identifier, and sends the device identifier to the first device; the first equipment receives the equipment identification sent by the second equipment; and the first equipment adjusts the EQ parameter according to the equipment identification, wherein the EQ parameter is used for indicating that the volume adjustment is realized on the first equipment. Therefore, the second device can send the device identifier to the first device, so that the volume of the first device can be adjusted in real time through the EQ parameter by the first device, the first device can be adapted to the second devices of different device types, the problem that a user overhears volume sound too small or too large when using different devices is solved, and user experience is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor.
In a possible example, if the electronic device is a first device, the program includes instructions for performing the following steps:
under the condition of establishing communication connection with second equipment, receiving equipment identification sent by the second equipment;
and adjusting an EQ parameter according to the equipment identifier, wherein the EQ parameter is used for indicating that the volume adjustment is realized on the first equipment.
It can be seen that, in the electronic device described in this embodiment of the present application, in a case where a communication connection is established with a second device, a device identifier sent by the second device is received; and adjusting an EQ parameter according to the equipment identifier, wherein the EQ parameter is used for indicating that the volume adjustment is realized on the first equipment. Therefore, the volume of the first device can be adjusted in real time through the EQ parameters, so that the first device can be adapted to second devices of different device types, the problem that a user overhears volume sound too small or too large when using different devices is solved, and user experience is improved.
Optionally, in the aspect of adjusting the EQ parameters according to the device identifier, the program further includes instructions for performing the following steps:
if the equipment identifier is empty, adjusting the EQ parameter according to a first preset mode;
if the device identifier is not empty, the device type of the second device is obtained, and the EQ parameter is adjusted according to a second preset mode under the condition that the device type meets a preset device type.
Optionally, the EQ parameters include at least one of: frequency location, gain parameter, range of the range.
Optionally, in a case that the device type satisfies a preset device type, the program further includes instructions for performing the following steps:
acquiring an identification bit of the second device;
determining the area where the second equipment is located according to the identification bit;
and if the area meets the preset condition, executing the step of adjusting the EQ parameters according to a third preset mode.
Optionally, after the obtaining of the device type of the second device, the program further includes instructions for performing the following steps:
acquiring a target environment parameter under the condition that the equipment type meets a preset equipment type;
determining a first target influence factor corresponding to the target environment parameter according to a mapping relation between a preset environment parameter and the first influence factor;
acquiring target output power of audio data sent by the second equipment;
determining a second target influence factor corresponding to the target output power according to a mapping relation between preset output power and the second influence factor;
and adjusting the EQ parameters according to the first target influence factor and the second target influence factor.
Optionally, after receiving the device identifier sent by the second device, the program further includes instructions for performing the following steps:
acquiring preset volume gears and initial volume corresponding to each volume gear;
acquiring an initial scale table, wherein the initial scale table comprises a plurality of initial scales, and each initial scale corresponds to one volume gear;
and adjusting the plurality of initial scales according to the EQ parameters to obtain a plurality of target scales, and generating a target scale table according to the plurality of target scales, wherein each target scale corresponds to one initial scale.
In an aspect where the EQ parameter is used to indicate that volume adjustment is to be implemented for the first device, the program includes instructions for:
adding each initial volume and a target scale of a corresponding volume gear to obtain a target volume corresponding to each volume gear under the condition that the EQ parameter is used for indicating a first preset gain type; or,
and under the condition that the EQ parameter is used for indicating a second preset gain type, subtracting the target scale of each initial volume and the corresponding volume gear to obtain the target volume corresponding to each volume gear.
In a possible example, if the electronic device is a second device, the program includes instructions for performing the following steps:
the method comprises the steps of acquiring an equipment identifier under the condition that communication connection is established with first equipment, and sending the equipment identifier to the first equipment, wherein the equipment identifier is used for indicating the first equipment to realize EQ parameter adjustment, and the EQ parameter is used for indicating the first equipment to realize volume adjustment.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of dividing each function module by corresponding functions, fig. 7A shows a schematic diagram of a parameter adjusting apparatus, as shown in fig. 7A, the parameter adjusting apparatus 700 is applied to a first device, and the parameter adjusting apparatus 700 may include: a receiving unit 701 and an adjusting unit 702, wherein,
among other things, the receiving unit 701 may be used to support the electronic device to perform the above step S301, and/or other processes for the techniques described herein.
The adjustment unit 702 may be used to enable the electronic device to perform step S302 described above, and/or other processes for the techniques described herein.
It can be seen that, in the parameter adjusting apparatus provided in this embodiment of the present application, in a case where a communication connection is established with a second device, a device identifier sent by the second device is received; and adjusting an EQ parameter according to the equipment identifier, wherein the EQ parameter is used for indicating that the volume adjustment is realized on the first equipment. Therefore, the volume of the first device can be adjusted in real time through the EQ parameters, so that the first device can be adapted to second devices of different device types, the problem that a user overhears volume sound too small or too large when using different devices is solved, and user experience is improved.
Optionally, in the aspect of adjusting the EQ parameter according to the device identifier, the adjusting unit 702 is specifically configured to:
if the equipment identifier is empty, adjusting the EQ parameter according to a first preset mode;
if the device identifier is not empty, the device type of the second device is obtained, and the EQ parameter is adjusted according to a second preset mode under the condition that the device type meets a preset device type.
Optionally, in a case that the device type meets a preset device type, the adjusting unit 702 is further configured to:
acquiring an identification bit of the second device;
determining the area where the second equipment is located according to the identification bit;
and if the area meets the preset condition, executing the step of adjusting the EQ parameters according to a third preset mode.
Optionally, after the obtaining of the device type of the second device, the adjusting unit 702 is further configured to:
acquiring a target environment parameter under the condition that the equipment type meets a preset equipment type;
determining a first target influence factor corresponding to the target environment parameter according to a mapping relation between a preset environment parameter and the first influence factor;
acquiring target output power of audio data sent by the second equipment;
determining a second target influence factor corresponding to the target output power according to a mapping relation between preset output power and the second influence factor;
and adjusting the EQ parameters according to the first target influence factor and the second target influence factor.
Optionally, after receiving the device identifier sent by the second device, as shown in fig. 7B, the parameter adjusting apparatus 700 may include: an obtaining unit 703, configured to:
acquiring preset volume gears and initial volume corresponding to each volume gear;
acquiring an initial scale table, wherein the initial scale table comprises a plurality of initial scales, and each initial scale corresponds to one volume gear;
adjusting the plurality of initial scales according to the EQ parameters to obtain a plurality of target scales, and generating a target scale table according to the plurality of target scales, wherein each target scale corresponds to one initial scale;
in an aspect that the EQ parameter is used to indicate that volume adjustment is implemented for the first device, the adjusting unit 702 is specifically configured to:
adding each initial volume and a target scale of a corresponding volume gear to obtain a target volume corresponding to each volume gear under the condition that the EQ parameter is used for indicating a first preset gain type; or,
and under the condition that the EQ parameter is used for indicating a second preset gain type, subtracting the target scale of each initial volume and the corresponding volume gear to obtain the target volume corresponding to each volume gear.
In the case of dividing each function module by corresponding functions, fig. 8 shows a schematic diagram of a parameter adjusting apparatus, as shown in fig. 8, the parameter adjusting apparatus 800 is applied to a second device, and the parameter adjusting apparatus 800 may include: a sending unit 801, wherein,
among other things, the transmitting unit 801 may be used to support the electronic device to perform step S401 described above, and/or other processes for the techniques described herein.
It can be seen that, in the parameter adjusting apparatus provided in this embodiment of the present application, when a communication connection is established with a first device, an equipment identifier is obtained, and the equipment identifier is sent to the first device, where the equipment identifier is used to indicate that the first device realizes the EQ parameter adjustment, and the EQ parameter is used to indicate that the first device realizes the volume adjustment. Therefore, the second device can send the device identifier to the first device, so that the volume of the first device can be adjusted in real time through the EQ parameter by the first device, the first device can be adapted to the second devices of different device types, the problem that a user overhears volume sound too small or too large when using different devices is solved, and user experience is improved.
It should be noted that all relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
The electronic device provided by the embodiment is used for executing the parameter adjusting method, so that the same effect as the effect of the implementation method can be achieved.
In case an integrated unit is employed, the electronic device may comprise a processing module, a storage module and a communication module. The processing module may be configured to control and manage an operation of the electronic device, and for example, may be configured to support the electronic device to execute the steps executed by the receiving unit 701, the adjusting unit 702, and the obtaining unit 703, or executed by the sending unit 801. The memory module may be used to support the electronic device in executing stored program codes and data, etc. The communication module can be used for supporting the communication between the electronic equipment and other equipment.
The processing module may be a processor or a controller. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory. The communication module may specifically be a radio frequency circuit, a bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.
In an embodiment, when the processing module is a processor and the storage module is a memory, the electronic device according to this embodiment may be a device having the structure shown in fig. 1.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, 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 of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several 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 above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (12)
1. A parameter adjusting method applied to a first device is characterized by comprising the following steps:
under the condition of establishing communication connection with second equipment, receiving equipment identification sent by the second equipment;
and adjusting an EQ parameter according to the equipment identifier, wherein the EQ parameter is used for indicating that the volume adjustment is realized on the first equipment.
2. The method of claim 1 wherein the adjusting the EQ parameters according to the device identification comprises:
if the equipment identifier is empty, adjusting the EQ parameter according to a first preset mode;
if the device identifier is not empty, acquiring the device type of the second device, and if the device type indicates a preset device type, adjusting the EQ parameter according to a second preset mode.
3. The method of claim 1 wherein the EQ parameters comprise at least one of: frequency location, gain parameter, range of the range.
4. The method according to claim 2 or 3, wherein in case the device type meets a preset device type, the method further comprises:
acquiring an identification bit of the second device;
determining the area where the second equipment is located according to the identification bit;
and if the area meets the preset condition, executing the step of adjusting the EQ parameters according to a third preset mode.
5. The method of claim 2 or 3, wherein after said obtaining the device type of the second device, the method further comprises:
acquiring a target environment parameter under the condition that the equipment type indicates a preset equipment type;
determining a first target influence factor corresponding to the target environment parameter according to a mapping relation between a preset environment parameter and the first influence factor;
acquiring target output power of audio data sent by the second equipment;
determining a second target influence factor corresponding to the target output power according to a mapping relation between preset output power and the second influence factor;
and adjusting the EQ parameters according to the first target influence factor and the second target influence factor.
6. The method according to any of claims 1-5, wherein after said receiving the device identity sent by the second device, the method further comprises:
acquiring preset volume gears and initial volume corresponding to each volume gear;
acquiring an initial scale table, wherein the initial scale table comprises a plurality of initial scales, and each initial scale corresponds to one volume gear;
adjusting the plurality of initial scales according to the EQ parameters to obtain a plurality of target scales, and generating a target scale table according to the plurality of target scales, wherein each target scale corresponds to one initial scale;
the EQ parameter is used to indicate that volume adjustment is to be implemented for the first device, including:
adding each initial volume and a target scale of a corresponding volume gear to obtain a target volume corresponding to each volume gear under the condition that the EQ parameter is used for indicating a first preset gain type; or,
and under the condition that the EQ parameter is used for indicating a second preset gain type, subtracting the target scale of each initial volume and the corresponding volume gear to obtain the target volume corresponding to each volume gear.
7. A parameter adjusting method applied to a second device is characterized by comprising the following steps:
the method comprises the steps of acquiring an equipment identifier under the condition that communication connection is established with first equipment, and sending the equipment identifier to the first equipment, wherein the equipment identifier is used for indicating the first equipment to realize EQ parameter adjustment, and the EQ parameter is used for indicating the first equipment to realize volume adjustment.
8. A parameter adjustment apparatus, applied to a first device, the apparatus comprising: a receiving unit and an adjusting unit, wherein,
the receiving unit is configured to receive a device identifier sent by a second device when a communication connection is established with the second device;
the adjusting unit is configured to adjust an EQ parameter according to the device identifier, where the EQ parameter is used to instruct the first device to implement volume adjustment.
9. A parameter adjustment apparatus, applied to a second device, the apparatus comprising: a sending unit, wherein,
the sending unit is configured to acquire an equipment identifier and send the equipment identifier to the first equipment when the communication connection with the first equipment is established, where the equipment identifier is used to indicate the first equipment to implement EQ parameter adjustment, and the EQ parameter is used to indicate the first equipment to implement volume adjustment.
10. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-7.
11. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-7.
12. A computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform the method as described in any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111473290.8A CN114173255A (en) | 2021-12-03 | 2021-12-03 | Parameter adjusting method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111473290.8A CN114173255A (en) | 2021-12-03 | 2021-12-03 | Parameter adjusting method and related product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114173255A true CN114173255A (en) | 2022-03-11 |
Family
ID=80483074
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111473290.8A Pending CN114173255A (en) | 2021-12-03 | 2021-12-03 | Parameter adjusting method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114173255A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115017844A (en) * | 2022-08-03 | 2022-09-06 | 阿里巴巴(中国)有限公司 | Design parameter adjusting method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126168A (en) * | 2016-06-16 | 2016-11-16 | 广东欧珀移动通信有限公司 | A kind of sound effect treatment method and device |
CN107517428A (en) * | 2016-06-17 | 2017-12-26 | 中兴通讯股份有限公司 | A kind of signal output method and device |
CN107623776A (en) * | 2017-08-24 | 2018-01-23 | 维沃移动通信有限公司 | A kind of method for controlling volume, system and mobile terminal |
CN108462895A (en) * | 2017-02-21 | 2018-08-28 | 阿里巴巴集团控股有限公司 | Sound effect treatment method, device and machine readable media |
CN113504887A (en) * | 2021-06-02 | 2021-10-15 | 荣耀终端有限公司 | Volume setting method and electronic equipment |
-
2021
- 2021-12-03 CN CN202111473290.8A patent/CN114173255A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106126168A (en) * | 2016-06-16 | 2016-11-16 | 广东欧珀移动通信有限公司 | A kind of sound effect treatment method and device |
CN107517428A (en) * | 2016-06-17 | 2017-12-26 | 中兴通讯股份有限公司 | A kind of signal output method and device |
CN108462895A (en) * | 2017-02-21 | 2018-08-28 | 阿里巴巴集团控股有限公司 | Sound effect treatment method, device and machine readable media |
CN107623776A (en) * | 2017-08-24 | 2018-01-23 | 维沃移动通信有限公司 | A kind of method for controlling volume, system and mobile terminal |
CN113504887A (en) * | 2021-06-02 | 2021-10-15 | 荣耀终端有限公司 | Volume setting method and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115017844A (en) * | 2022-08-03 | 2022-09-06 | 阿里巴巴(中国)有限公司 | Design parameter adjusting method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10897683B2 (en) | Apparatus, method and computer program for providing sound reproduction | |
EP2926570B1 (en) | Image generation for collaborative sound systems | |
CN103152668B (en) | Adjusting method of output audio and system thereof | |
EP3343559A1 (en) | De-reverberation control method and device of sound producing equipment | |
CN1972524B (en) | Music file replaying method and apparatus | |
CN109257682B (en) | Sound pickup adjusting method, control terminal and computer readable storage medium | |
EP3350804B1 (en) | Collaborative audio processing | |
US9794699B2 (en) | Hearing device considering external environment of user and control method of hearing device | |
CN110972014A (en) | Parameter adjustment method and device for active noise reduction earphone and wireless earphone | |
CN109348399B (en) | Terminal and control method of stereo sound effect thereof | |
CN109688498B (en) | Volume adjusting method, earphone and storage medium | |
CN110062309B (en) | Method and device for controlling intelligent loudspeaker box | |
CN107908388A (en) | Method for controlling volume and device, computer installation and computer-readable recording medium | |
CN103929692B (en) | Audio information processing method and electronic equipment | |
CN114173255A (en) | Parameter adjusting method and related product | |
CN113553022A (en) | Equipment adjusting method and device, mobile terminal and storage medium | |
KR101659410B1 (en) | Sound optimization device and method about combination of personal smart device and earphones | |
US10805703B1 (en) | Automatically adjusting a size of headphone cushions | |
CN106601268B (en) | Multimedia data processing method and device | |
CN113170255B (en) | Compensation for binaural loudspeaker directivity | |
WO2024051820A1 (en) | Abnormality-based paging method and related apparatus | |
US9491549B2 (en) | Equalizer apparatus | |
US10715914B2 (en) | Signal processing apparatus, signal processing method, and storage medium | |
CN108769864B (en) | Audio equalization processing method and device and electronic equipment | |
US20210343296A1 (en) | Apparatus, Methods and Computer Programs for Controlling Band Limited Audio Objects |
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 |