Noise-cancelling headphone parameter upgrade method and device, electronic device, and storage medium

By acquiring and processing upgrade preparation data and device information, and generating and writing the upgrade parameters of the target headphones, the problem of low update and upgrade efficiency of noise-cancelling headphones is solved, and efficient online upgrades and stable noise reduction effects are achieved.

CN114816479BActive Publication Date: 2024-10-15SHENZHEN PHICOUSTIC SYST DEV CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210460892.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2024-10-15
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

Existing noise-cancelling headphones need to be re-debugged and calibrated when the software version is upgraded, resulting in low update and upgrade efficiency, and the user cannot perform online upgrades, which may result in poor noise-cancelling effects after the upgrade.

Method used

By obtaining the upgrade preparation data, the device information of the target headset and the standard parameters of the headset prototype, the target upgrade parameters are generated and written directly into the target headset for update, eliminating the need for debugging and calibration steps of returning to the factory.

Benefits of technology

It improves the efficiency of updating and upgrading noise-cancelling headphones, avoids returning to the factory for debugging and calibration, ensures the noise-cancelling effect after the upgrade, and improves the user's online upgrade capability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114816479B_ABST
    Figure CN114816479B_ABST
Patent Text Reader

Abstract

The disclosed embodiments provide a method and device for upgrading parameters of noise-canceling headphones, an electronic device, and a storage medium, and relate to the technical field of noise-canceling headphones. The noise-canceling headphones parameter upgrading method includes: obtaining upgrade preparation data; obtaining device information of a target headphone; performing query processing in the upgrade preparation data according to the device information to obtain parameter difference data of the target headphone corresponding to the device information; obtaining a first standard parameter of a headphone prototype; generating a target upgrade parameter according to the first standard parameter and the parameter difference data; the target upgrade parameter includes parameters required for a noise reduction function; and writing the target upgrade parameter into the target headphone to upgrade the target headphone. The technical solution provided by the disclosed embodiments can improve the efficiency of updating and upgrading the noise-canceling headphones.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of noise-canceling headphones, and in particular to a method and device for upgrading parameters of noise-canceling headphones, an electronic device, and a storage medium. Background Art

[0002] The assembled noise-canceling headphones have differences in components and assembly, resulting in poor consistency in the noise-canceling effects of headphones in the same batch. Therefore, each headphone needs to be debugged and calibrated during production so that the headphone parameters can be written into the headphone product.

[0003] After the calibration is completed and shipped out of the factory, when the headphone software version is upgraded, the headphones need to be re-debugged and calibrated to update the headphone parameters. However, this upgrade method requires returning the headphones to the factory for debugging and calibration, resulting in a low efficiency in updating and upgrading the noise-canceling headphones. Summary of the invention

[0004] The main purpose of the embodiments of the present disclosure is to provide a method and device for upgrading noise-cancelling headphones parameters, an electronic device, and a storage medium, which can improve the efficiency of updating and upgrading noise-cancelling headphones.

[0005] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present disclosure proposes a method for updating parameters of a noise reduction headset, comprising:

[0006] Get upgrade preparation data;

[0007] Get the device information of the target headset;

[0008] Performing query processing in the upgrade preparation data according to the device information to obtain parameter difference data of the target headset corresponding to the device information;

[0009] Obtaining first standard parameters of the headphone prototype;

[0010] Generate target upgrade parameters according to the first standard parameters and the parameter difference data; the target upgrade parameters include parameters required for the noise reduction function;

[0011] The target upgrade parameter is written into the target headset to update the target headset.

[0012] In some embodiments, before obtaining the upgrade preparation data, the method further includes:

[0013] Acquire a second standard parameter of the headset prototype;

[0014] Writing the second standard parameter into the target headset;

[0015] Debugging the target headset to obtain initial test parameters;

[0016] Obtain the parameter difference data according to the second standard parameter and the initial test parameter;

[0017] The upgrade preparation data is generated according to the preset device information of the target headset and the parameter difference data.

[0018] In some embodiments, the parameter type of the first standard parameter includes a gain type, the parameter difference data includes a gain type parameter difference, and generating a target upgrade parameter according to the first standard parameter and the parameter difference data includes:

[0019] Obtaining the parameter type of the first standard parameter;

[0020] If the parameter type of the first standard parameter is a gain type, the first standard parameter corresponding to the gain type is added to the difference between the gain type parameters to obtain the target upgrade parameter.

[0021] In some embodiments, the parameter type of the first standard parameter further includes a filter type, and generating a target upgrade parameter according to the first standard parameter and the parameter difference data further includes:

[0022] If the parameter type of the first standard parameter is a filter type, the first standard parameter corresponding to the filter type is used as the target upgrade parameter.

[0023] In some embodiments, the parameter type of the second standard parameter includes a gain type, and obtaining the parameter difference data according to the second standard parameter and the initial test parameter includes:

[0024] If the parameter type of the second standard parameter is a gain type, the second standard parameter corresponding to the gain type is subtracted from the initial test parameter to obtain the parameter difference data.

[0025] In some embodiments, the parameter type of the second standard parameter includes a filter type, and obtaining the parameter difference data according to the second standard parameter and the initial test parameter further includes:

[0026] If the parameter type of the second standard parameter is a filter type, the parameter difference data corresponding to the filter type is saved as zero.

[0027] In some embodiments, obtaining the second standard parameter of the headset prototype includes:

[0028] Debugging the headset prototype to obtain prototype test parameters;

[0029] The prototype test parameters are saved as the second standard parameters of the headphone prototype.

[0030] To achieve the above-mentioned purpose, the second aspect of the present disclosure proposes a noise reduction headphone parameter upgrade device, comprising:

[0031] An upgrade preparation data acquisition module is used to acquire upgrade preparation data;

[0032] A device information acquisition module is used to obtain the device information of the target headset;

[0033] A parameter difference data query module, configured to query the upgrade preparation data according to the device information to obtain parameter difference data of the target headset corresponding to the device information;

[0034] A first standard parameter acquisition module, used to acquire first standard parameters of the earphone prototype;

[0035] A target upgrade parameter generation module, used to generate target upgrade parameters according to the first standard parameters and the parameter difference data; the target upgrade parameters include parameters required for the noise reduction function;

[0036] The parameter writing module is used to write the target upgrade parameters into the target earphone to update the target earphone.

[0037] To achieve the above objective, a third aspect of the present disclosure provides an electronic device, including:

[0038] at least one memory;

[0039] at least one processor;

[0040] at least one program;

[0041] The program is stored in a memory, and the processor executes at least one program to implement the method of the present disclosure as described in the first aspect above.

[0042] To achieve the above objective, a fourth aspect of the present disclosure provides a storage medium, which is a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute:

[0043] As the method according to the first aspect above.

[0044] The noise-cancelling headphone parameter upgrade method and device, electronic device, and storage medium proposed in the embodiments of the present disclosure first obtain upgrade preparation data, obtain device information of the target headphone, then perform query processing in the upgrade preparation data based on the device information, obtain parameter difference data of the target headphone corresponding to the device information, obtain the first standard parameter of the headphone prototype, and then generate the target upgrade parameter based on the first standard parameter and the parameter difference data, and finally write the target upgrade parameter into the target headphone to update and upgrade the target headphone. The technical solution provided by the embodiments of the present disclosure can improve the efficiency of updating and upgrading the noise-cancelling headphone. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a flow chart of the noise reduction headphone parameter upgrade method provided by the embodiment of the present disclosure.

[0046] Figure 2 It is a partial flow chart of a method for upgrading noise reduction headphone parameters provided by another embodiment of the present disclosure.

[0047] Figure 3 yes Figure 1 Flowchart of step S150 in FIG.

[0048] Figure 4 yes Figure 2 Flowchart of step S240 in .

[0049] Figure 5 yes Figure 2 Flowchart of step S210 in .

[0050] Figure 6 It is a module block diagram of the noise reduction headphone parameter upgrading device provided in an embodiment of the present disclosure.

[0051] Figure 7 It is a schematic diagram of the hardware structure of the electronic device provided by the embodiment of the present disclosure.

[0052] Figure numerals: upgrade preparation data acquisition module 610, device information acquisition module 620, parameter difference data query module 630, first standard parameter acquisition module 640, target upgrade parameter generation module 650, parameter writing module 660, processor 701, memory 702, input / output interface 703, communication interface 704, bus 705. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0056] The assembled noise-canceling headphones have differences in components and assembly, resulting in poor consistency in the noise-canceling effects of headphones in the same batch. Therefore, each headphone needs to be debugged and calibrated during production so that the headphone parameters can be written into the headphone product.

[0057] After the calibration is completed and shipped out of the factory, when the headphone software version is upgraded, the headphones need to be re-debugged and calibrated to update the headphone parameters. However, this upgrade method requires returning the headphones to the factory for debugging and calibration, resulting in a low efficiency in updating and upgrading the noise-canceling headphones.

[0058] In addition, the user side is generally unable to perform online upgrades of the headphone noise reduction parameters; or, if the headphone is not returned to the factory for debugging and calibration, the noise reduction effect after the upgrade will be poor.

[0059] Based on this, the embodiments of the present disclosure provide a method and device, an electronic device, and a storage medium for upgrading the parameters of noise-cancelling headphones. The method first obtains upgrade preparation data and obtains the device information of the target headphones. Then, query processing is performed in the upgrade preparation data based on the device information to obtain the parameter difference data of the target headphones corresponding to the device information, and the first standard parameters of the headphone prototype are obtained. Then, the target upgrade parameters are generated based on the first standard parameters and the parameter difference data. Finally, the target upgrade parameters are written into the target headphones to update and upgrade the target headphones. The technical solution provided by the embodiments of the present disclosure can eliminate the steps of returning the headphones to the factory for debugging and calibration, thereby improving the efficiency of updating and upgrading the noise-cancelling headphones.

[0060] The embodiments of the present disclosure provide a method and device for upgrading noise cancelling headphones parameters, an electronic device, and a storage medium, which are specifically described through the following embodiments. First, the method for upgrading noise cancelling headphones parameters in the embodiments of the present disclosure is described.

[0061] The noise reduction headset parameter upgrade method provided by the embodiment of the present disclosure relates to the technical field of noise reduction headsets, and in particular to the technical field of parameter update and upgrade. The noise reduction headset parameter upgrade method provided by the embodiment of the present disclosure can be applied to a terminal, or to a server, or can be software running in a terminal or a server.

[0062] The disclosed embodiment proposes a method for upgrading parameters of noise reduction headphones, comprising: obtaining upgrade preparation data; obtaining device information of a target headphone; performing query processing in the upgrade preparation data according to the device information to obtain parameter difference data of the target headphone corresponding to the device information; obtaining first standard parameters of a headphone prototype; generating target upgrade parameters according to the first standard parameters and the parameter difference data; the target upgrade parameters include parameters required for a noise reduction function; and writing the target upgrade parameters into the target headphone to update and upgrade the target headphone.

[0063] Figure 1 is an optional flow chart of the noise reduction headphone parameter upgrade method provided by the embodiment of the present disclosure. Figure 1 The method may include but is not limited to steps S110 to S160, specifically including:

[0064] S110, obtaining upgrade preparation data;

[0065] S120, obtaining device information of the target headset;

[0066] S130, querying and processing the upgrade preparation data according to the device information to obtain parameter difference data of the target headset corresponding to the device information;

[0067] S140, obtaining a first standard parameter of the earphone prototype;

[0068] S150, generating a target upgrade parameter according to the first standard parameter and the parameter difference data;

[0069] S160, writing the target upgrade parameters into the target earphone to update the target earphone.

[0070] In step S110, the upgrade preparation data is the preparation data required for performing parameter upgrade on the target earphone, and is used to obtain parameter difference data.

[0071] In step S120, the target earphone includes but is not limited to a noise reduction earphone, and the device information includes but is not limited to a factory unique identification of the target earphone. The identity of the target earphone can be determined through the device information, and then the parameter difference data of the target earphone can be retrieved for upgrading.

[0072] In step S130, the upgrade preparation data stores the correspondence between the device information of the target headset and the parameter difference data, and the parameter difference data corresponding to the device information can be obtained through query processing, thereby upgrading the target headset. The parameter difference data represents the difference in parameters between the headset prototype and a batch of target headsets, and these differences vary from one target headset to another.

[0073] In step S140, the headset prototype is also called the golden model, which is a standard model used to debug the parameters of the same batch of headsets during the headset production process. After the prototype is debugged, it can be used as a sample for upgrading the target headset; the first standard parameter is the parameter value of the headset prototype when the parameter needs to be updated and upgraded. Relatedly, the second standard parameter is the parameter value of the headset prototype before the parameter is updated and upgraded.

[0074] In step S150, the target upgrade parameters include parameters required for the noise reduction function, and the target upgrade parameters are parameters finally generated for directly upgrading the target earphone.

[0075] In step S160, the target upgrade parameters obtained in step S150 are written into the target earphone to implement parameter update.

[0076] In a specific embodiment, before upgrading, the second standard parameters of the headphone prototype are written into the target headphone, and preliminary data for upgrading are prepared. Parameter difference data are parsed based on the preliminary data for upgrading. Finally, target upgrade parameters are generated based on the first standard parameters and the parameter difference data, and used for parameter upgrading. During the upgrading process, the relative stability of the parameter difference between each target headphone and the headphone prototype is utilized, and the first standard parameters are called to realize the updating of the noise reduction parameters. The noise reduction headphone parameter upgrading method provided in the embodiment of the present application does not require the headphone to be returned to the factory or to be re-debugged. The target headphone itself can complete the update by calling up data. Compared with the traditional method of returning the target headphone to the factory for re-debugging and writing parameters, this greatly improves the efficiency of the noise reduction headphone upgrade.

[0077] The noise-cancelling headphone parameter upgrade method proposed in the embodiment of the present disclosure first obtains upgrade preparation data, obtains the device information of the target headphone, then performs query processing in the upgrade preparation data according to the device information, obtains the parameter difference data of the target headphone corresponding to the device information, obtains the first standard parameter of the headphone prototype, and then generates the target upgrade parameter according to the first standard parameter and the parameter difference data, and finally writes the target upgrade parameter into the target headphone to update and upgrade the target headphone. The technical solution provided by the embodiment of the present disclosure can improve the efficiency of updating and upgrading the noise-cancelling headphone.

[0078] In some embodiments, before obtaining the upgrade preparation data, the method also includes: obtaining the second standard parameters of the headphone prototype; writing the second standard parameters into the target headphone; debugging the target headphone to obtain initial test parameters; obtaining parameter difference data based on the second standard parameters and the initial test parameters; generating the upgrade preparation data based on the preset device information and parameter difference data of the target headphone.

[0079] like Figure 2 As shown, Figure 2 is a flow chart of a method for upgrading noise reduction headphone parameters provided in other embodiments, and the method for upgrading noise reduction headphone parameters further includes:

[0080] S210, obtaining a second standard parameter of the earphone prototype;

[0081] S220, writing the second standard parameter into the target headset;

[0082] S230, debugging the target headset to obtain initial test parameters;

[0083] S240, obtaining parameter difference data according to the second standard parameter and the initial test parameter;

[0084] S250: Generate upgrade preparation data according to preset device information and parameter difference data of the target headset.

[0085] It should be noted that Figure 2 The steps shown are: Figure 1 The preparation work for the upgrade process includes but is not limited to preparing upgrade preparation data for the upgrade process, writing the second standard parameters in advance, etc. These preparations are completed before the target headset leaves the factory, which provides a guarantee for the subsequent upgrade.

[0086] In step S210, the headphone prototype, also known as the golden machine, is a standard model used to debug parameters of a batch of headphones during the headphone production process. After the prototype is debugged, it can be used as a sample to upgrade the target headphones. The second standard parameter is the parameter value of the headphone prototype before the parameter update and upgrade. The first standard parameter in the related step S140 is the parameter value of the headphone prototype when the parameter update and upgrade is required. The second standard parameter and the first standard parameter respectively represent the changes in the headphone noise reduction parameters before and during the update.

[0087] In step S220, before the upgrade, the second standard parameter is written. Since the second standard parameter is the parameter of the earphone prototype before the upgrade, it can be adapted to the target earphone before the upgrade, so that the noise reduction function of the target earphone before the upgrade is in a good state during debugging, thereby ensuring the normal use of the target earphone function before the upgrade.

[0088] In step S230, each target headset is debugged to obtain initial test parameters, wherein the initial test parameters vary due to the different assembly conditions and accessory types of each target headset.

[0089] In step S240, the second standard parameters of the headphone prototype are subtracted from the initial test parameters obtained by debugging, using the differences caused by the different assembly conditions and accessory types of each target headphone, to obtain parameter difference data.

[0090] In step S250, each target headset corresponds to a series of parameter difference data. By making a one-to-one correspondence between the device information of the target headset and the parameter difference information, it is convenient to perform targeted parameter updates for the specific target headset later.

[0091] It should be noted that the noise reduction headphone parameter upgrade method provided in the embodiment of the present application can also input the initial test parameters debugged in step 230 into the target headphone at the factory to better adapt to the target headphone. During the upgrade, the first standard parameters and parameter difference data are still used for updating. Therefore, writing the second standard parameters in step S220 should not be understood as a limitation on the technical solution of the present application, but should be understood as an example of the technical solution of the present application.

[0092] In some embodiments, the parameter type of the first standard parameter includes a gain type, the parameter difference data includes a gain-type parameter difference, and the target upgrade parameter is generated according to the first standard parameter and the parameter difference data, including: obtaining the parameter type of the first standard parameter; if the parameter type of the first standard parameter is a gain type, adding the first standard parameter corresponding to the gain type to the gain-type parameter difference to obtain the target upgrade parameter.

[0093] In some embodiments, the parameter type of the first standard parameter also includes a filter type, and generating a target upgrade parameter based on the first standard parameter and parameter difference data also includes: if the parameter type of the first standard parameter is a filter type, then using the first standard parameter corresponding to the filter type as the target upgrade parameter.

[0094] Figure 3 is a flowchart of step S150 in some embodiments, Figure 3 The illustrated step S150 includes but is not limited to steps S310 to S330:

[0095] S310, obtaining a parameter type of a first standard parameter;

[0096] S320, if the parameter type of the first standard parameter is a gain type, adding the first standard parameter corresponding to the gain type and the gain type parameter difference to obtain a target upgrade parameter;

[0097] S330: If the parameter type of the first standard parameter is a filter type, the first standard parameter corresponding to the filter type is used as a target upgrade parameter.

[0098] In step S310, the parameter types of the first standard parameters include gain type and filter type, and correspondingly, the parameter difference data includes gain type parameter differences.

[0099] It should be noted that the parameters involved in this application include first standard parameters, second standard parameters, initial test parameters, target upgrade parameters, and parameter difference data. The parameters involved in this application are all parameters of the noise reduction function of the headphone, specifically including but not limited to two categories: gain type and filter type. Among them, the parameters of the gain type include but are not limited to the gain of the speaker and the gain of the microphone, and the parameters of the filter type are parameters related to the filter that realizes the noise reduction function.

[0100] In a specific embodiment, the difference between the gain type and filter type parameters is that the gain type parameters are more sensitive to the accessory type and assembly method of the target earphones. When the earphones are upgraded, the parameters change linearly, so the above linear change can be used in the upgrade process; while the filter type parameters are related to the characteristics of the filter, and the parameter values ​​are relatively stable. When the earphones are upgraded, they can be directly updated with the new debugged parameters.

[0101] In step S320, for the parameter update of the gain type, the first standard parameter corresponding to the gain type is added to the difference between the gain type parameters to obtain the target upgrade parameter to ensure the effectiveness of the update; in step S330, for the parameter update of the filter type, the first standard parameter corresponding to the filter type is directly used as the target upgrade parameter to improve the efficiency of the update.

[0102] In some embodiments, the parameter type of the second standard parameter includes a gain type, and parameter difference data is obtained according to the second standard parameter and the initial test parameter, including: if the parameter type of the second standard parameter is a gain type, then the second standard parameter corresponding to the gain type is subtracted from the initial test parameter to obtain the parameter difference data.

[0103] In some embodiments, the parameter type of the second standard parameter includes a filter type, and parameter difference data is obtained according to the second standard parameter and the initial test parameter, further comprising: if the parameter type of the second standard parameter is a filter type, the parameter difference data corresponding to the filter type is saved as zero.

[0104] Figure 4 is a flowchart of step S240 in some embodiments, Figure 4 The illustrated step S240 includes but is not limited to steps S410 to S420:

[0105] S410, if the parameter type of the second standard parameter is a gain type, subtract the second standard parameter corresponding to the gain type from the initial test parameter to obtain parameter difference data;

[0106] S420: If the parameter type of the second standard parameter is a filter type, the parameter difference data corresponding to the filter type is saved as zero.

[0107] In steps S410 to S420, the parameter types of the second standard parameters include gain type and filter type.

[0108] In step S410, in preparation for the upgrade of the gain type, the second standard parameter corresponding to the gain type is subtracted from the initial test parameter to obtain parameter difference data to ensure the effectiveness of subsequent updates; in step S420, in preparation for the upgrade of the filter type, the parameter difference data corresponding to the filter type is saved as zero to improve the efficiency of the update.

[0109] In some embodiments, obtaining the second standard parameters of the headphone prototype includes: debugging the headphone prototype to obtain the prototype test parameters; and saving the prototype test parameters as the second standard parameters of the headphone prototype.

[0110] Figure 5 is a flowchart of step S210 in some embodiments, Figure 5 The illustrated step S210 includes but is not limited to steps S510 to S520:

[0111] S510, debugging the headset prototype to obtain test parameters of the prototype;

[0112] S520: Save the prototype test parameters as second standard parameters of the earphone prototype.

[0113] In steps S510 to S520, when obtaining the second standard parameters, the headset prototype can be debugged to obtain the prototype test parameters, and the prototype test parameters are used as the second standard parameters to improve the accuracy of the upgrade. In addition, the historical parameter records of the headset prototype can also be directly used to improve the efficiency of the headset upgrade.

[0114] The disclosed embodiment proposes a noise reduction headphone parameter upgrade device, comprising: an upgrade preparation data acquisition module, used to acquire upgrade preparation data; a device information acquisition module, used to acquire device information of a target headphone; a parameter difference data query module, used to perform query processing in the upgrade preparation data according to the device information, and obtain parameter difference data of the target headphone corresponding to the device information; a first standard parameter acquisition module, used to acquire the first standard parameters of a headphone prototype; a target upgrade parameter generation module, used to generate target upgrade parameters according to the first standard parameters and the parameter difference data; the target upgrade parameters include parameters required for the noise reduction function; and a parameter writing module, used to write the target upgrade parameters into the target headphone to update and upgrade the target headphone.

[0115] See also Figure 6 , Figure 6 The invention illustrates a noise reduction headphone parameter upgrading device according to an embodiment, which includes: an upgrade preparation data acquisition module 610, a device information acquisition module 620, a parameter difference data query module 630, a first standard parameter acquisition module 640, a target upgrade parameter generation module 650, and a parameter writing module 660, wherein the upgrade preparation data acquisition module 610 is connected to the device information acquisition module 620, the device information acquisition module 620 is connected to the parameter difference data query module 630, the parameter difference data query module 630 is connected to the first standard parameter acquisition module 640, the first standard parameter acquisition module 640 is connected to the target upgrade parameter generation module 650, and the target upgrade parameter generation module 650 is connected to the parameter writing module 660.

[0116] In a specific embodiment, the upgrade preparation data acquisition module acquires the upgrade preparation data, the device information acquisition module acquires the device information of the target headset, and then the parameter difference data query module performs query processing in the upgrade preparation data according to the device information to obtain the parameter difference data of the target headset corresponding to the device information, the first standard parameter acquisition module acquires the first standard parameter of the headset prototype, and then the target upgrade parameter generation module generates the target upgrade parameter according to the first standard parameter and the parameter difference data, and finally, the parameter writing module writes the target upgrade parameter into the target headset to update and upgrade the target headset.

[0117] The specific implementation of the noise cancelling headphone parameter upgrading device of this embodiment is basically consistent with the specific implementation of the noise cancelling headphone parameter upgrading method described above, and belongs to the same inventive concept, and will not be described in detail here.

[0118] The present disclosure also provides an electronic device, including:

[0119] at least one memory;

[0120] at least one processor;

[0121] at least one program;

[0122] The program is stored in the memory, and the processor executes at least one program to implement the noise reduction headphone parameter upgrade method implemented in the present disclosure.

[0123] See also Figure 7 , Figure 7 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0124] The processor 701 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present disclosure;

[0125] The memory 702 can be implemented in the form of ROM (Read Only Memory), static storage device, dynamic storage device or RAM (Random Access Memory). The memory 702 can store operating systems and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 702, and the processor 701 calls and executes the noise reduction headphone parameter upgrade method of the embodiment of the present disclosure;

[0126] Input / output interface 703, used to implement information input and output;

[0127] Communication interface 704, used to realize communication interaction between the device and other devices, which can be realized by wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.); and

[0128] A bus 705 that transmits information between the various components of the device (e.g., the processor 701, the memory 702, the input / output interface 703, and the communication interface 704);

[0129] The processor 701 , the memory 702 , the input / output interface 703 and the communication interface 704 are connected to each other in communication within the device via a bus 705 .

[0130] The embodiment of the present disclosure also provides a storage medium, which is a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the above-mentioned noise reduction headphone parameter upgrade method.

[0131] The noise-cancelling headphone parameter upgrade method and device, electronic device, and storage medium proposed in the embodiments of the present disclosure first obtain upgrade preparation data, obtain device information of the target headphone, then perform query processing in the upgrade preparation data based on the device information, obtain parameter difference data of the target headphone corresponding to the device information, obtain the first standard parameter of the headphone prototype, and then generate the target upgrade parameter based on the first standard parameter and the parameter difference data, and finally write the target upgrade parameter into the target headphone to update and upgrade the target headphone. The technical solution provided in the embodiments of the present disclosure improves the efficiency of updating and upgrading the noise-cancelling headphone.

[0132] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0133] The embodiments described in the embodiments of the present disclosure are intended to more clearly illustrate the technical solutions of the embodiments of the present disclosure and do not constitute a limitation on the technical solutions provided by the embodiments of the present disclosure. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of the present disclosure are also applicable to similar technical problems.

[0134] It can be understood by those skilled in the art that Figure 1-5 The technical solutions shown in the figure do not constitute a limitation on the embodiments of the present disclosure, and may include more or fewer steps than those shown in the figure, or a combination of certain steps, or different steps.

[0135] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0136] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0137] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0138] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0139] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units 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, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0140] The units described 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.

[0141] 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.

[0142] If the 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 storage medium. 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 storage medium, including multiple instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0143] The preferred embodiments of the present disclosure are described above with reference to the accompanying drawings, but the scope of the rights of the present disclosure is not limited thereto. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present disclosure should be within the scope of the rights of the present disclosure.

Claims

1. A method for upgrading parameters of noise-canceling headphones, characterized in that: include: Obtaining the second standard parameter of the headphone prototype; The second standard parameter is the parameter value of the headset prototype before the parameter update and upgrade; Writing the second standard parameter into the target earphone; Debugging the target headset to obtain initial test parameters; Obtain parameter difference data according to the second standard parameter and the initial test parameter; Generate upgrade preparation data according to the preset device information of the target headset and the parameter difference data; Acquiring the upgrade preparation data; Obtaining device information of the target headset; Performing query processing on the upgrade preparation data according to the device information to obtain the parameter difference data of the target headset corresponding to the device information; The parameter difference data includes gain parameter differences; Acquire a first standard parameter of the headset prototype; the parameter type of the first standard parameter includes a gain type and a filter type, and the first standard parameter is a parameter value of the headset prototype when a parameter update or upgrade is required; Obtaining the parameter type of the first standard parameter; If the parameter type of the first standard parameter is the gain type, adding the first standard parameter corresponding to the gain type and the difference between the gain type parameters to obtain a target upgrade parameter; If the parameter type of the first standard parameter is the filter type, using the first standard parameter corresponding to the filter type as the target upgrade parameter; The target upgrade parameters include parameters required for the noise reduction function; The target upgrade parameters are written into the target earphone to update the target earphone.

2. The method according to claim 1, characterized in that The parameter type of the second standard parameter includes a gain type, and obtaining parameter difference data according to the second standard parameter and the initial test parameter includes: If the parameter type of the second standard parameter is a gain type, the second standard parameter corresponding to the gain type is subtracted from the initial test parameter to obtain the parameter difference data.

3. The method according to claim 2, characterized in that The parameter type of the second standard parameter includes a filter type, and obtaining parameter difference data according to the second standard parameter and the initial test parameter further includes: If the parameter type of the second standard parameter is a filter type, the parameter difference data corresponding to the filter type is saved as zero.

4. The method according to any one of claims 1 to 3, characterized in that The obtaining of the second standard parameter of the headset prototype includes: Debugging the headset prototype to obtain prototype test parameters; The prototype test parameters are saved as the second standard parameters of the headphone prototype.

5. A noise-canceling headphone parameter upgrade device, characterized in that: include: An upgrade preparation data acquisition module is used to acquire upgrade preparation data; Device information acquisition module, used to obtain the device information of the target headset; a parameter difference data query module, configured to query the upgrade preparation data according to the device information to obtain parameter difference data of the target headset corresponding to the device information; The parameter difference data includes gain parameter differences; A first standard parameter acquisition module, configured to acquire first standard parameters of a headphone prototype; the parameter types of the first standard parameters include gain type and filter type, and the first standard parameters are parameter values ​​of the headphone prototype when parameter update and upgrade are required; a target upgrade parameter generation module, configured to obtain the parameter type of the first standard parameter; if the parameter type of the first standard parameter is the gain type, adding the first standard parameter corresponding to the gain type and the difference between the gain type parameters to obtain a target upgrade parameter; if the parameter type of the first standard parameter is the filter type, using the first standard parameter corresponding to the filter type as the target upgrade parameter; The target upgrade parameters include parameters required for the noise reduction function; A parameter writing module, configured to write the target upgrade parameters into the target headset to update and upgrade the target headset; Before obtaining the upgrade preparation data, the noise-cancelling headphone parameter upgrade device is further configured to: Obtaining a second standard parameter of the headset prototype; the second standard parameter is a parameter value of the headset prototype before parameter update and upgrade; Writing the second standard parameter into the target headset; Debugging the target headset to obtain initial test parameters; Obtaining the parameter difference data according to the second standard parameter and the initial test parameter; The upgrade preparation data is generated according to the preset device information of the target headset and the parameter difference data.

6. An electronic device, characterized in that: include: at least one memory; at least one processor; at least one program; The program is stored in the memory, and the processor executes at least one of the programs to implement: The method according to any one of claims 1 to 4.

7. A storage medium, wherein the storage medium is a computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute: The method according to any one of claims 1 to 4.