WO2021196578A1 - 耳机的调试方法、装置及存储介质 - Google Patents

耳机的调试方法、装置及存储介质 Download PDF

Info

Publication number
WO2021196578A1
WO2021196578A1 PCT/CN2020/124837 CN2020124837W WO2021196578A1 WO 2021196578 A1 WO2021196578 A1 WO 2021196578A1 CN 2020124837 W CN2020124837 W CN 2020124837W WO 2021196578 A1 WO2021196578 A1 WO 2021196578A1
Authority
WO
WIPO (PCT)
Prior art keywords
headset
configuration parameters
updated
master
slave
Prior art date
Application number
PCT/CN2020/124837
Other languages
English (en)
French (fr)
Inventor
杨培
Original Assignee
歌尔股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 歌尔股份有限公司 filed Critical 歌尔股份有限公司
Priority to US17/995,155 priority Critical patent/US20230224654A1/en
Publication of WO2021196578A1 publication Critical patent/WO2021196578A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/033Headphones for stereophonic communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones

Definitions

  • This application relates to the field of earphone technology, and in particular to a method, device and storage medium for debugging earphones.
  • TWS Truste Wireless Stereo
  • Bluetooth headsets are in increasing demand and have more and more functions.
  • TWS technology is based on the development of chip technology. Specifically, it refers to the connection between the mobile phone and the main earphone, and then the main earphone connects to the slave earphone through Bluetooth, realizing the true wireless separation of the left and right channels of Bluetooth.
  • Equaliser which means equalizer. Its basic function is to achieve the purpose of adjusting the tone color by gaining or attenuating one or more frequency bands of the sound.
  • EQ usually includes the following three parameters: Frequency (frequency)-this is the parameter used to set the frequency point you want to adjust; Gain (gain)-used to adjust the gain on the F value you set Or attenuation parameters; Quantize-parameters used to set the "width" of the frequency band to be gain or attenuation.
  • Frequency (frequency)-this is the parameter used to set the frequency point you want to adjust
  • Gain gain-used to adjust the gain on the F value you set Or attenuation parameters
  • Quantize-parameters used to set the "width" of the frequency band to be gain or attenuation.
  • the EQ debugging of traditional Bluetooth headsets has the following shortcomings:
  • EQ debugging is carried out in a wired way, and the earphone needs to be welded out and debugged with the help of a computer, which is troublesome to operate;
  • the computer can only set the EQ parameters of one headset at the same time, and once the headset is powered off, the EQ parameters need to be reset;
  • the main purpose of this application is to provide a headset debugging method, device and storage medium, aiming to improve the efficiency of debugging headsets and reduce the cost of debugging headsets.
  • the headset includes a master headset and a slave headset, the master headset is communicatively connected with the slave headset, and the headset debugging method includes the following steps:
  • the master earphone sends the configuration parameters to be updated of the slave earphones to the slave earphones, so that the slave earphones operate according to the configuration parameters to be updated;
  • the main earphone operates according to the configuration parameters to be updated of the main earphone.
  • the method further includes:
  • the master headset sends the current configuration parameters of the slave headset and the current configuration parameters of the master headset to a preset terminal device, so that the preset terminal device can configure the slave headset according to the current configuration parameters of the slave headset.
  • the configuration parameters to be updated of the earphone, and the configuration parameters to be updated of the main earphone are configured according to the current configuration parameters of the main earphone.
  • the step of the master headset acquiring the current configuration parameters of the slave headset and the current configuration parameters of the master headset includes:
  • the master headset sends the configuration update instruction to the slave headset, and receives the current configuration parameters of the slave headset returned by the slave headset;
  • the main earphone obtains the current configuration parameters of the main earphone from a local storage device according to the configuration update instruction.
  • the method further includes:
  • the master earphone judges whether the sending of the configuration parameters to be updated of the slave earphone is completed;
  • the master headset When the sending of the configuration parameters to be updated of the slave headset is completed, the master headset stores the configuration parameters to be updated of the master headset in a local storage device.
  • the method further includes:
  • the master headset When sending the configuration parameters to be updated of the slave headset fails, the master headset returns to execute the step of sending the configuration parameters to be updated of the slave headset to the slave headset.
  • the step of the master headset acquiring the configuration parameters to be updated of the slave headset and the configuration parameters to be updated of the master headset includes:
  • the main earphone obtains the configuration parameter file to be updated from the preset terminal device
  • the master headset parses the configuration parameter file to be updated, and obtains the configuration parameter to be updated of the slave headset and the configuration parameter to be updated of the master headset.
  • the method before the step of obtaining the configuration parameter file to be updated by the main earphone from a preset terminal device, the method further includes:
  • the master headset sends the Bluetooth broadcast address of the master headset to a preset terminal device, so that the preset terminal device sends the configuration parameter file to be updated according to the Bluetooth broadcast address.
  • the method further includes:
  • the master earphone verifies the configuration parameters to be updated of the slave earphones and the configuration parameters to be updated of the master earphone;
  • the master headset executes the step of sending the configuration parameters to be updated of the slave headset to the slave headset.
  • this application also provides a headset debugging device, including a memory, a processor, and a headset debugging program stored in the memory and running on the processor, and the processor executes the headset debugging program When realizing the steps of the headset debugging method as described above.
  • the present application also provides a storage medium on which a debugging program of the headset is stored.
  • the debugging program of the headset is executed by a processor, the steps of the debugging method of the headset are implemented.
  • the configuration parameters to be updated of the slave headset and the configuration parameters to be updated of the master headset are acquired through the master headset, and the configuration parameters to be updated of the slave headset are sent to the slave headset so that the slave headset can follow the Update the configuration parameters to run; and the master headset runs according to the configuration parameters to be updated of the master headset.
  • This setting enables the configuration parameters of the master and slave headsets to be updated synchronously, and realizes the online dynamic debugging of the headset, which effectively improves the debugging efficiency of developers and reduces Debugging costs for developers.
  • Figure 1 is a schematic diagram of the electronic device structure of the hardware operating environment involved in the solution of the embodiment of the application
  • FIG. 2 is a schematic flowchart of an embodiment of a method for debugging a headset according to this application;
  • FIG. 3 is a schematic flowchart of another embodiment of a method for debugging a headset according to the present application.
  • the main solution of the embodiment of the present application is: the master headset obtains the configuration parameters to be updated of the slave headset and the configuration parameters to be updated of the master headset; the master headset sends the configuration parameters to be updated of the slave headset To the slave headset, so that the slave headset operates according to the configuration parameters to be updated; and the master headset operates according to the configuration parameters to be updated of the master headset.
  • the configuration parameters to be updated of the slave headset and the configuration parameters to be updated of the master headset are obtained through the master headset; Update the configuration parameters to run; while the master headset runs according to the configuration parameters to be updated of the master headset.
  • This setting enables the configuration parameters of the master and slave headsets to be updated synchronously, realizing the online dynamic debugging of the headset, effectively improving the debugging efficiency of the developer and reducing the development Commissioning costs of personnel.
  • the hardware structure of the headset debugging device may be as shown in FIG. 1.
  • the solution of the embodiment of the present application relates to a debugging device of a headset.
  • the debugging device of the headset includes a processor 1001, such as a CPU, a communication bus 1002, and a memory 1003.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the memory 1003 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory. As shown in FIG. 1, the memory 1003, which is a computer storage medium, may include a debugging program of the earphone; and the processor 1001 may be used to call the debugging program of the earphone stored in the memory 1003, and perform the following operations:
  • the master earphone sends the configuration parameters to be updated of the slave earphones to the slave earphones, so that the slave earphones operate according to the configuration parameters to be updated;
  • the main earphone operates according to the configuration parameters to be updated of the main earphone.
  • the processor 1001 may be used to call a debugging program of the headset stored in the memory 1003, and perform the following operations:
  • the master headset sends the current configuration parameters of the slave headset and the current configuration parameters of the master headset to a preset terminal device, so that the preset terminal device can configure the slave headset according to the current configuration parameters of the slave headset.
  • the configuration parameters to be updated of the earphone, and the configuration parameters to be updated of the main earphone are configured according to the current configuration parameters of the main earphone.
  • the processor 1001 may be used to call a debugging program of the headset stored in the memory 1003, and perform the following operations:
  • the master headset sends the configuration update instruction to the slave headset, and receives the current configuration parameters of the slave headset returned by the slave headset;
  • the main earphone obtains the current configuration parameters of the main earphone from a local storage device according to the configuration update instruction.
  • the processor 1001 may be used to call a debugging program of the headset stored in the memory 1003, and perform the following operations:
  • the master earphone judges whether the sending of the configuration parameters to be updated of the slave earphone is completed;
  • the master headset When the sending of the configuration parameters to be updated of the slave headset is completed, the master headset stores the configuration parameters to be updated of the master headset in a local storage device.
  • the processor 1001 may be used to call a debugging program of the headset stored in the memory 1003, and perform the following operations:
  • the master headset When sending the configuration parameters to be updated of the slave headset fails, the master headset returns to execute the step of sending the configuration parameters to be updated of the slave headset to the slave headset.
  • the processor 1001 may be used to call a debugging program of the headset stored in the memory 1003, and perform the following operations:
  • the main earphone obtains the configuration parameter file to be updated from the preset terminal device
  • the master headset parses the configuration parameter file to be updated, and obtains the configuration parameter to be updated of the slave headset and the configuration parameter to be updated of the master headset.
  • the processor 1001 may be used to call a debugging program of the headset stored in the memory 1003, and perform the following operations:
  • the master headset sends the Bluetooth broadcast address of the master headset to a preset terminal device, so that the preset terminal device sends the configuration parameter file to be updated according to the Bluetooth broadcast address.
  • the processor 1001 may be used to call a debugging program of the headset stored in the memory 1003, and perform the following operations:
  • the master earphone verifies the configuration parameters to be updated of the slave earphones and the configuration parameters to be updated of the master earphone;
  • the master headset executes the step of sending the configuration parameters to be updated of the slave headset to the slave headset.
  • FIG. 2 is a schematic flowchart of an embodiment of a method for debugging a headset according to this application;
  • the method for debugging the headset includes:
  • Step S10 the master headset obtains the configuration parameters to be updated of the slave headset and the configuration parameters to be updated of the master headset;
  • the headset is a TWS Bluetooth headset.
  • the TWS Bluetooth headset includes two master and slave headsets.
  • the working principle includes: preset terminal devices such as mobile phones connect to the master headset, and then the master headset communicates with the slave headset through wireless communication.
  • the true Bluetooth left and right channels are wirelessly separated for use.
  • the configuration parameter to be updated can be selected as the EQ configuration parameter of the headset to be updated.
  • the full name of EQ in English is Equaliser, which means equalizer.
  • the function of EQ configuration parameters is to achieve the purpose of adjusting the tone color by gaining or attenuating one or more frequency bands of the sound.
  • EQ configuration parameters usually include the following three parameters: Frequency (frequency)-parameters used to set the frequency point; Gain (gain)-parameters used to adjust the gain or attenuation of the set F value; Quantize ⁇ Parameters used to set the "width" of the frequency band to be gain or attenuated.
  • the preset terminal device obtains the Bluetooth broadcast address of the master headset and the Bluetooth broadcast address of the slave headset, and connects with the master headset according to the Bluetooth broadcast address of the master headset. After the connection is successful, the preset terminal device passes the BLE GATT protocol ( A standard communication protocol) transmits the configuration parameters to be updated from the headset and the configuration parameters to be updated from the main headset to the main headset.
  • BLE GATT protocol A standard communication protocol
  • the preset terminal device can transmit the configuration parameters to be updated from the headset and the configuration parameters to be updated of the master headset to the master headset at one time, and then the master headset synchronizes the configuration parameters to be updated from the headset to the slave headset, thereby accelerating development The staff's debugging efficiency for the headset.
  • step S10 it further includes:
  • Step S11 the master earphone verifies the configuration parameters to be updated of the slave earphones and the configuration parameters to be updated of the master earphone;
  • Step S12 when the verification is passed, the master earphone executes the step of sending the configuration parameters to be updated of the slave earphone to the slave earphone.
  • the master headset When the master headset receives the configuration parameters to be updated of the slave headset and the configuration parameters to be updated of the master headset transmitted by the preset terminal device, the master headset verifies the received configuration parameters to be updated. When the verification passes, the master headset The configuration parameters to be updated of the slave headphones are sent to the slave headphones, and the master headphones operate according to the configuration parameters to be updated of the master headphones. Checking the configuration parameters of the master-slave headset to be updated can ensure the accuracy of the data and ensure that the debugging process of the headset can run normally.
  • step S10 includes:
  • Step S103 the main earphone obtains a configuration parameter file to be updated from a preset terminal device
  • the preset terminal device transmits the configuration parameter file to be updated to the master headset, where the configuration parameter file to be updated includes at least the configuration parameters to be updated of the master-slave headset and some other information such as the master-slave headset.
  • Step S104 The master headset parses the configuration parameter file to be updated, and obtains the configuration parameters to be updated of the slave headset and the configuration parameters to be updated of the master headset.
  • the master headset parses the received configuration parameter file to be updated to obtain the configuration parameters to be updated of the master and slave headsets, and then determines the configuration parameters to be updated belonging to the master headset from the parsed data according to the identification information of the master headset, and The identification information of the headset determines the configuration parameters to be updated from the headset from the parsed data.
  • the method further includes:
  • Step S101 the main earphone obtains the Bluetooth broadcast address of the main earphone
  • Step S102 The main headset sends the Bluetooth broadcast address of the main headset to a preset terminal device, so that the preset terminal device sends the configuration parameter file to be updated according to the Bluetooth broadcast address.
  • the master headset obtains its own Bluetooth broadcast address and the Bluetooth broadcast address of the slave headset, and performs Bluetooth broadcast.
  • the master headset realizes the Bluetooth connection between the master headset and the preset terminal device according to its own Bluetooth broadcast address, and realizes the master headset according to the Bluetooth broadcast address of the slave headset.
  • the Bluetooth connection from the headset facilitates subsequent data transmission and information interaction.
  • Step S20 the master headset sends the configuration parameters to be updated of the slave headset to the slave headset, so that the slave headset operates according to the configuration parameters to be updated; and the master headset follows the configuration parameters of the master headset.
  • the configuration parameters to be updated run.
  • the master headset After the master headset successfully receives the configuration parameters to be updated of the master headset and the configuration parameters to be updated of the slave headset transmitted by the preset terminal device, the master headset passes the configuration parameters to be updated from the headset through the AVRCP protocol ((Audio/Video Remote Control Profile, That is, the audio/video remote control specification) is transmitted to the slave headset.
  • AVRCP protocol (Audio/Video Remote Control Profile, That is, the audio/video remote control specification) is transmitted to the slave headset.
  • the master headset stores its own configuration parameters to be updated to the local storage device, and runs with the configuration parameters to be updated, thereby realizing the update of the master-slave headset configuration parameters
  • the slave headset when the slave headset successfully receives the configuration parameters to be updated from the slave headset, the slave headset stores the received configuration parameters to be updated in the local storage device of the slave headset and runs the configuration parameters to be updated to achieve synchronization with the master headset
  • the purpose of updating the configuration parameters is to improve the debugging efficiency of developers.
  • the local storage device can be optional flash memory, which is a non-volatile memory, that is, the data will not be lost even when the power is turned off.
  • the main headset is wirelessly It can receive the configuration parameters of the master-slave headset to be updated, without the need to wire it out, and debug with the help of a computer, and the master-slave headset can update the configuration parameters synchronously, without the need to debug the configuration parameters of the master-slave headset in time, which can satisfy the developer Dynamic online debugging, the developer's work efficiency is higher, and the debugging cost is lower.
  • step S20 it further includes:
  • Step S21 the master earphone judges whether the sending of the configuration parameters to be updated of the slave earphone is completed;
  • Step S22 When the sending of the configuration parameters to be updated of the slave headset is completed, the master headset stores the configuration parameters to be updated of the master headset to a local storage device.
  • the master headset first transmits the configuration parameters to be updated from the headset to the slave headset.
  • the master headset stores the configuration parameters to be updated of the master headset to the local storage device, and runs with the configuration parameters to be updated in the local storage device, so that the master and slave headsets can update the configuration parameters synchronously.
  • the master headset when the master headset sends the configuration parameters to be updated from the headset to the slave headset, the master headset also sends to the slave headset an inquiry message that characterizes whether the inquiry data has been sent, and when receiving the response information returned from the headset, The master earphone determines that the sending of the configuration parameters to be updated of the slave earphone is completed.
  • the local storage device can be flash memory. Flash memory is a kind of non-volatile memory. The data will not be lost even if the headset is powered off. Then, when the headset is powered off and restarted, the previously set configuration parameters are still valid, and the mobile phone can also be real-time Get the current EQ configuration parameters of the master-slave headset, and the user experience is better.
  • step S21 it further includes:
  • Step S23 When sending the configuration parameters to be updated of the slave headset fails, the master headset returns to perform the step of sending the configuration parameters to be updated of the slave headset to the slave headset.
  • the master headset continues to execute the configuration parameters to be updated of the slave headset The step of sending to the slave headset until the configuration parameters to be updated of the slave headset are successfully transmitted to the slave headset.
  • the master headset determines that the transmission of the configuration parameters to be updated of the slave headset has failed, then the master headset resends the configuration parameters to be updated of the slave headset until Received the response message returned from the headset.
  • the technical solution of the present application obtains the configuration parameters to be updated of the slave headset and the configuration parameters to be updated of the master headset through the master headset; and sends the configuration parameters to be updated of the slave headset to the slave headset so that the slave headset can be updated according to the Configuration parameters run; while the master headset runs according to the configuration parameters to be updated of the master headset.
  • This setting allows the configuration parameters of the master and slave headsets to be updated synchronously, realizing online dynamic debugging of the headset, effectively improving the debugging efficiency of the developer, and reducing the developer Cost of debugging.
  • the method further includes:
  • Step S1 the master headset obtains the current configuration parameters of the slave headset and the current configuration parameters of the master headset;
  • the master headset obtains the current configuration parameters of the slave headset from the slave headset, that is, the currently running EQ configuration parameters of the slave headset, and acquires the running EQ configuration parameters of the master headset from the local storage device of the master headset.
  • step S1 includes:
  • Step S1A the main headset receives a configuration update instruction issued by the preset terminal device
  • the configuration update instruction is an instruction that the developer sends to the master-slave headset through the preset terminal device to characterize the update of the configuration parameters.
  • the main headset receives the configuration update instruction sent by the preset terminal device.
  • Step S1B the master headset sends the configuration update instruction to the slave headset, and receives the current configuration parameters of the slave headset returned by the slave headset;
  • the master headset When the master headset receives the configuration update instruction from the preset terminal device, the master headset transmits the configuration update instruction to the slave headset so that the slave headset can read the current configuration parameters of the slave headset from its local storage device according to the configuration update instruction , And return the read current configuration parameters of the slave headset to the master headset. That is, when the slave headset receives the configuration update instruction transmitted by the master headset, the slave headset reads the current configuration parameters of the slave headset from its local storage device, and returns the read current configuration parameters of the slave headset to the master headset .
  • step S1C the main earphone obtains the current configuration parameters of the main earphone from a local storage device according to the configuration update instruction.
  • the main earphone reads the current configuration parameters of the main earphone from the local storage device of the main earphone according to the configuration update instruction.
  • the master headset receives the current configuration parameters of the slave headset returned from the headset
  • the master headset reads the current configuration parameters of the master headset from its local storage device, or it can send the configuration update instruction to the slave headset at the same time
  • the main earphone reads the current configuration parameters of the main earphone from the local storage device of the main earphone.
  • Step S2 The master headset sends the current configuration parameters of the slave headset and the current configuration parameters of the master headset to a preset terminal device for the preset terminal device to configure according to the current configuration parameters of the slave headset.
  • the configuration parameters to be updated of the slave headset, and the configuration parameters to be updated of the master headset are configured according to the current configuration parameters of the master headset.
  • the master headset After successfully obtaining the current configuration parameters of the slave headset and the current configuration parameters of the master headset, the master headset sends the current configuration parameters of the slave headset and the current configuration parameters of the master headset to the preset terminal device for the preset terminal device to follow the slave headset Configure the current configuration parameters of the slave headset to be updated configuration parameters, and configure the master headset to be updated configuration parameters according to the current configuration parameters of the master headset, that is, send the current configuration parameter configuration of the master-slave headset to the preset terminal device for the developer to configure
  • the configuration parameters to be updated of the master-slave headset provide a reference basis, so that the debugging effect of the configuration parameters to be updated of the master-slave headset is better and meets the needs of users.
  • the present application also provides a debugging device for a headset, including: a memory, a processor, and a debugging program of the headset stored in the memory and running on the processor, the debugging program of the headset is implemented as above when the processor is running Each step of the method for debugging the headset.
  • the application also provides a storage medium on which a debugging program of the headset is stored, and the debugging program of the headset is executed by the processor to implement the steps of the method for debugging the headset as described above.
  • the steps of the method or algorithm described in the embodiments disclosed in this document can be directly implemented by hardware, a software module executed by a processor, or a combination of the two.
  • the software module can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or all areas in the technical field. Any other known storage media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Acoustics & Sound (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

本申请一些实施例公开了一种耳机的调试方法、装置及存储介质,所述耳机的调试方法包括以下步骤:所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数;所述主耳机将所述从耳机的待更新配置参数发送至所述从耳机,以供所述从耳机按照所述待更新配置参数运行;以及所述主耳机按照所述主耳机的待更新配置参数运行。本申请的技术方案,能够提高调试耳机的效率。

Description

耳机的调试方法、装置及存储介质
本申请要求于2020年03月31日提交中国专利局、申请号为202010248598.1、发明名称为“耳机的调试方法、装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及耳机技术领域,特别涉及一种耳机的调试方法、装置及存储介质。
背景技术
随着人工智能技术的迅速发展,智能穿戴产品如TWS(True Wireless Stereo)蓝牙耳机需求越来越大,功能也越来越丰富。其中,TWS技术的实现是基于芯片技术的发展,具体而言,是指手机与主耳机连接,再由主耳机通过蓝牙方式连接从耳机,实现真正的蓝牙左右声道无线分离使用。
EQ英文全称Equaliser,即均衡器的意思。它的基本作用是通过对声音某一个或多个频段进行增益或衰减,从而达到调整音色的目的。EQ通常包括以下三个参数:Frequency(频率)--这是用于设定你要进行调整的频率点的参数;Gain(增益)--用于调整在你设定好的F值上进行增益或衰减的参数;Quantize――用于设定要进行增益或衰减的频段“宽度”的参数。目前,传统的蓝牙耳机的EQ调试存在以下不足:
1.通过有线方式进行EQ调试,耳机需要焊线出来,并借助电脑进行调试,操作麻烦;
2.电脑在同一时刻只能对一个耳机进行EQ参数设置,且一旦耳机断电,EQ参数需要重新设置;
3.双耳机进行EQ调试时,需要通过电脑分别对左、右耳机进行参数设置,然后去掉线进行试听测试,当需要修改参数重新测试时,还需要重新接线进行参数设置,无法动态在线调试。
发明内容
本申请的主要目的在于提供一种耳机的调试方法、装置及存储介质,旨在提高调试耳机的效率,降低调试耳机的成本。
为实现上述目的,本申请提供一种耳机的调试方法,所述耳机包括主耳机与从耳机,所述主耳机与所述从耳机通信连接,所述耳机的调试方法包括以下步骤:
所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数;
所述主耳机将所述从耳机的待更新配置参数发送至所述从耳机,以供所述从耳机按照所述待更新配置参数运行;以及
所述主耳机按照所述主耳机的待更新配置参数运行。
可选的,所述所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数的步骤之前,还包括:
所述主耳机获取所述从耳机的当前配置参数以及所述主耳机的当前配置参数;
所述主耳机将所述从耳机的当前配置参数以及所述主耳机的当前配置参数发送至预设终端设备,以供所述预设终端设备根据所述从耳机的当前配置参数配置所述从耳机的待更新配置参数,以及根据所述主耳机的当前配置参数配置所述主耳机的待更新配置参数。
可选的,所述所述主耳机获取所述从耳机的当前配置参数以及所述主耳机的当前配置参数的步骤包括:
所述主耳机接收所述预设终端设备发出的配置更新指令;
所述主耳机将所述配置更新指令发送至所述从耳机,并接收所述从耳机返回的所述从耳机的当前配置参数;以及
所述主耳机根据所述配置更新指令从本地存储设备获取所述主耳机的当前配置参数。
可选的,所述所述主耳机将所述从耳机的待更新配置参数发送至所述从耳机的步骤之后,还包括:
所述主耳机判断所述从耳机的待更新配置参数是否发送完成;
在所述从耳机的待更新配置参数发送完成时,所述主耳机将所述主耳机 的待更新配置参数存储至本地存储设备。
可选的,所述所述主耳机判断所述从耳机的待更新配置参数是否发送完成的步骤之后,还包括:
在所述从耳机的待更新配置参数发送失败时,所述主耳机返回执行将所述从耳机的待更新配置参数发送至所述从耳机的步骤。
可选的,所述所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数的步骤包括:
所述主耳机从预设终端设备获取待更新配置参数文件;
所述主耳机解析所述待更新配置参数文件,获得所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数。
可选的,所述所述主耳机从预设终端设备获取待更新配置参数文件的步骤之前,还包括:
所述主耳机获取所述主耳机的蓝牙广播地址;
所述主耳机将所述主耳机的蓝牙广播地址发送至预设终端设备,以供所述预设终端设备根据所述蓝牙广播地址发送所述待更新配置参数文件。
可选的,所述所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数的步骤之后,还包括:
所述主耳机对所述从耳机的待更新配置参数以及所述主耳机的待更新配置参进行校验;
在校验通过时,所述主耳机执行将所述从耳机的待更新配置参数发送至所述从耳机的步骤。
为实现上述目的,本申请还提供一种耳机的调试装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的耳机的调试程序,所述处理器执行所述耳机的调试程序时实现如上所述的耳机的调试方法的步骤。
为实现上述目的,本申请还提供一种存储介质,所述存储介质上存储有耳机的调试程序,所述耳机的调试程序被处理器执行时实现如上所述的耳机的调试方法的步骤。
本申请的技术方案,通过主耳机获取从耳机的待更新配置参数以及主耳机的待更新配置参数,并将所述从耳机的待更新配置参数发送至从耳机,以供从耳机按照所述待更新配置参数运行;而主耳机则按照主耳机的待更新配置参数运行,如此设置,使得主从耳机的配置参数可以同步更新,且实现耳机在线动态调试,有效的提高开发人员的调试效率,降低开发人员的调试成本。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一部分附图,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1为本申请实施例方案涉及的硬件运行环境的电子设备结构示意图
图2为本申请耳机的调试方法一实施例的流程示意图;
图3为本申请耳机的调试方法另一实施例的流程示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例的主要解决方案是:所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数;所述主耳机将所述从耳机的待更新配置参数发送至所述从耳机,以供所述从耳机按照所述待更新配置参数运行;以及所述主耳机按照所述主耳机的待更新配置参数运行。
本申请的技术方案,通过主耳机获取从耳机的待更新配置参数以及主耳机的待更新配置参数;并将所述从耳机的待更新配置参数发送至从耳机,以供从耳机按照所述待更新配置参数运行;而主耳机则按照主耳机的待更新配置参数运行,如此设置,使得主从耳机的配置参数可以同步更新,实现耳机在线动态调试,有效的提高开发人员的调试效率,降低开发人员的调试成本。
作为一种实施方案,耳机的调试装置的硬件结构可以如图1所示。
本申请实施例方案涉及的是耳机的调试装置,耳机的调试装置包括:处理器1001,例如CPU,通信总线1002,存储器1003。其中,通信总线1002用于实现这些组件之间的连接通信。
存储器1003可以是高速RAM存储器,也可以是稳定的存储器(non-volatilememory),例如磁盘存储器。如图1所示,作为一种计算机存储介质的存储器1003中可以包括耳机的调试程序;而处理器1001可以用于调用存储器1003中存储的耳机的调试程序,并执行以下操作:
所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数;
所述主耳机将所述从耳机的待更新配置参数发送至所述从耳机,以供所述从耳机按照所述待更新配置参数运行;以及
所述主耳机按照所述主耳机的待更新配置参数运行。
可选的,处理器1001可以用于调用存储器1003中存储的耳机的调试程序,并执行以下操作:
所述主耳机获取所述从耳机的当前配置参数以及所述主耳机的当前配置参数;
所述主耳机将所述从耳机的当前配置参数以及所述主耳机的当前配置参数发送至预设终端设备,以供所述预设终端设备根据所述从耳机的当前配置参数配置所述从耳机的待更新配置参数,以及根据所述主耳机的当前配置参数配置所述主耳机的待更新配置参数。
可选的,处理器1001可以用于调用存储器1003中存储的耳机的调试程序,并执行以下操作:
所述主耳机接收所述预设终端设备发出的配置更新指令;
所述主耳机将所述配置更新指令发送至所述从耳机,并接收所述从耳机返回的所述从耳机的当前配置参数;以及
所述主耳机根据所述配置更新指令从本地存储设备获取所述主耳机的当前配置参数。
可选的,处理器1001可以用于调用存储器1003中存储的耳机的调试程序, 并执行以下操作:
所述主耳机判断所述从耳机的待更新配置参数是否发送完成;
在所述从耳机的待更新配置参数发送完成时,所述主耳机将所述主耳机的待更新配置参数存储至本地存储设备。
可选的,处理器1001可以用于调用存储器1003中存储的耳机的调试程序,并执行以下操作:
在所述从耳机的待更新配置参数发送失败时,所述主耳机返回执行将所述从耳机的待更新配置参数发送至所述从耳机的步骤。
可选的,处理器1001可以用于调用存储器1003中存储的耳机的调试程序,并执行以下操作:
所述主耳机从预设终端设备获取待更新配置参数文件;
所述主耳机解析所述待更新配置参数文件,获得所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数。
可选的,处理器1001可以用于调用存储器1003中存储的耳机的调试程序,并执行以下操作:
所述主耳机获取所述主耳机的蓝牙广播地址;
所述主耳机将所述主耳机的蓝牙广播地址发送至预设终端设备,以供所述预设终端设备根据所述蓝牙广播地址发送所述待更新配置参数文件。
可选的,处理器1001可以用于调用存储器1003中存储的耳机的调试程序,并执行以下操作:
所述主耳机对所述从耳机的待更新配置参数以及所述主耳机的待更新配置参进行校验;
在校验通过时,所述主耳机执行将所述从耳机的待更新配置参数发送至所述从耳机的步骤。
图2为本申请耳机的调试方法一实施例的流程示意图;
在本实施例中,所述耳机的调试方法包括:
步骤S10,所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数;
本实施例中,耳机为TWS蓝牙耳机,TWS蓝牙耳机包括主从两个耳机, 其工作原理包括:预设终端设备如手机通过连接主耳机,再由主耳机通过无线方式通信连接从耳机,实现真正的蓝牙左右声道无线分离使用。该待更新配置参数,可选为耳机待更新的EQ配置参数,EQ英文全称Equaliser,即均衡器的意思。EQ配置参数的作用是通过对声音某一个或多个频段进行增益或衰减,从而达到调整音色的目的。EQ配置参数通常包括以下三个参数:Frequency(频率)--用于设定频率点的参数;Gain(增益)--用于调整在设定好的F值上进行增益或衰减的参数;Quantize――用于设定要进行增益或衰减的频段“宽度”的参数。具体而言,预设终端设备获取主耳机的蓝牙广播地址以及从耳机的蓝牙广播地址,并根据主耳机的蓝牙广播地址与主耳机连接,在连接成功后,预设终端设备通过BLE GATT协议(一个标准的通信协议)将从耳机的待更新配置参数以及主耳机的待更新配置参数传输给主耳机。其中,预设终端设备可以将从耳机的待更新配置参数以及主耳机的待更新配置参数一次性传输给主耳机,再由主耳机将从耳机的待更新配置参数同步给从耳机,从而加快开发人员对于耳机的调试效率。
可选的,步骤S10之后,还包括:
步骤S11,所述主耳机对所述从耳机的待更新配置参数以及所述主耳机的待更新配置参进行校验;
步骤S12,在校验通过时,所述主耳机执行将所述从耳机的待更新配置参数发送至所述从耳机的步骤。
主耳机在接收到预设终端设备传输的从耳机的待更新配置参数以及主耳机的待更新配置参数时,主耳机对接收到的待更新配置参数进行校验,在校验通过时,主耳机将从耳机的待更新配置参数发送至从耳机,且主耳机按照主耳机的待更新配置参数运行。对主从耳机的待更新配置参数进行校验,可以确保数据的准确性,保证耳机的调试过程能够正常运行。
可选的,步骤S10包括:
步骤S103,所述主耳机从预设终端设备获取待更新配置参数文件;
主耳机与预设终端设备通信连接后,预设终端设备将待更新配置参数文件传输至主耳机,其中,该待更新配置参数文件至少包括主从耳机的待更新配置参数以及一些其他信息如主从耳机的待更新配置参数的标识信息等。
步骤S104,所述主耳机解析所述待更新配置参数文件,获得所述从耳机 的待更新配置参数以及所述主耳机的待更新配置参数。
主耳机将接收到的待更新配置参数文件进行解析,获得主从耳机的待更新配置参数,再根据主耳机的标识信息从解析出来的数据中确定属于主耳机的待更新配置参数,并根据从耳机的标识信息从解析出来的数据中确定从耳机的待更新配置参数。
可选的,步骤S103之前,还包括:
步骤S101,所述主耳机获取所述主耳机的蓝牙广播地址;
步骤S102,所述主耳机将所述主耳机的蓝牙广播地址发送至预设终端设备,以供所述预设终端设备根据所述蓝牙广播地址发送所述待更新配置参数文件。
主耳机获取自身的蓝牙广播地址以及从耳机的蓝牙广播地址,并进行蓝牙广播,主耳机依据自身蓝牙广播地址实现主耳机与预设终端设备的蓝牙连接,并依据从耳机的蓝牙广播地址实现主从耳机的蓝牙连接,以便于后续传输数据,实现信息交互。
步骤S20,所述主耳机将所述从耳机的待更新配置参数发送至所述从耳机,以供所述从耳机按照所述待更新配置参数运行;以及所述主耳机按照所述主耳机的待更新配置参数运行。
主耳机在成功接收预设终端设备传输的主耳机的待更新配置参数以及从耳机的待更新配置参数后,主耳机将从耳机的待更新配置参数通过AVRCP协议((Audio/Video Remote Control Profile,即音频/视频远程控制规范)传输至从耳机,同时,主耳机将属于其本身的待更新配置参数存储至本地存储设备,并以该待更新配置参数运行,从而实现主从耳机配置参数的更新。其中,从耳机在成功接收到从耳机的待更新配置参数时,从耳机将接收到的待更新配置参数存储至从耳机的本地存储设备并运行该待更新配置参数,以实现与主耳机同步更新配置参数的目的,提高开发人员的调试效率。该本地存储设备可选为闪存,闪存是一种非易失性存储器,即断电数据也不会丢失。如此设置,主耳机通过无线方式即可接收主从耳机的待更新配置参数,不需要焊线出来,借助电脑进行调试,且主从耳机可以同步更新配置参数,而不需要分时依次调试主从耳机的配置参数,能够满足开发人员动态在线调试,开发人员的工作效率更高,调试成本更低。
可选的,步骤S20之后,还包括:
步骤S21,所述主耳机判断所述从耳机的待更新配置参数是否发送完成;
步骤S22,在所述从耳机的待更新配置参数发送完成时,所述主耳机将所述主耳机的待更新配置参数存储至本地存储设备。
可选的,主耳机在成功接收预设终端设备传输的主耳机的待更新配置参数以及从耳机的待更新配置参数后,主耳机先将从耳机的待更新配置参数传输至从耳机,在从耳机的待更新配置参数传输完成后,主耳机才将主耳机的待更新配置参数存储至本地存储设备,并以本地存储设备的待更新配置参数运行,以便于主从耳机同步更新配置参数。可选的,主耳机在将从耳机的待更新配置参数发送至从耳机的,主耳机同时向从耳机发送表征询问数据是否发送完成的询问信息,并在接收到从耳机返回的应答信息时,主耳机判定从耳机的待更新配置参数发送完成。该本地存储设备可选为闪存,闪存是一种非易失性存储器,即断电数据也不会丢失,那么,当耳机断电重启后,之前所设置的配置参数依然有效,手机也可以实时获取主从耳机的当前EQ配置参数,用户体验更好。
可选的,步骤S21之后,还包括:
步骤S23,在所述从耳机的待更新配置参数发送失败时,所述主耳机返回执行将所述从耳机的待更新配置参数发送至所述从耳机的步骤。
若从耳机的待更新配置发送失败,例如因为连接断开、断电原因导致从耳机的待更新配置参数不能成功传输至从耳机,那么,主耳机继续执行将所述从耳机的待更新配置参数发送至所述从耳机的步骤,直至从耳机的待更新配置参数成功传输至从耳机。可选的,主耳机在预设时间内没有接收到从耳机返回的应答信息时,主耳机判定从耳机的待更新配置参数发送失败,那么,主耳机重新发送从耳机的待更新配置参数,直至接收到从耳机返回的应答信息。
本申请的技术方案,通过主耳机获取从耳机的待更新配置参数以及主耳机的待更新配置参数;并将从耳机的待更新配置参数发送至从耳机,以供从耳机按照从耳机的待更新配置参数运行;而主耳机则按照主耳机的待更新配置参数运行,如此设置,使得主从耳机的配置参数可以同步更新,实现耳机在线动态调试,有效的提高开发人员的调试效率,降低开发人员的调试成本。
可选的,参照图3,在一实施例中,步骤S10之前,还包括:
步骤S1,所述主耳机获取所述从耳机的当前配置参数以及所述主耳机的当前配置参数;
主耳机由从耳机处获取从耳机的当前配置参数,即从耳机当前正在运行的EQ配置参数,并从主耳机的本地存储设备获取自身正在运行的EQ配置参数。
可选的,步骤S1包括:
步骤S1A,所述主耳机接收所述预设终端设备发出的配置更新指令;
该配置更新指令,为开发人员通过预设终端设备向主从耳机发出的表征更新配置参数的指令。主耳机接收预设终端设备发出的配置更新指令。
步骤S1B,所述主耳机将所述配置更新指令发送至所述从耳机,并接收所述从耳机返回的所述从耳机的当前配置参数;以及
主耳机在接收到预设终端设备发出的配置更新指令时,主耳机将该配置更新指令传输至从耳机,以供从耳机根据该配置更新指令从其本地存储设备读取从耳机的当前配置参数,并将所读取的从耳机的当前配置参数返给主耳机。也就是说,从耳机在接收到主耳机传输的配置更新指令时,从耳机从其本地存储设备读取从耳机的当前配置参数,并将读取到的从耳机的当前配置参数返回给主耳机。
步骤S1C,所述主耳机根据所述配置更新指令从本地存储设备获取所述主耳机的当前配置参数。
与此同时,主耳机根据该配置更新指令从主耳机的本地存储设备读取主耳机的当前配置参数。可选的,主耳机在接收到从耳机返回的从耳机的当前配置参数时,主耳机从其本地存储设备读取主耳机的当前配置参数,也可以在将配置更新指令发送至从耳机的同时,主耳机从主耳机的本地存储设备读取主耳机的当前配置参数。
步骤S2,所述主耳机将所述从耳机的当前配置参数以及所述主耳机的当前配置参数发送至预设终端设备,以供所述预设终端设备根据所述从耳机的当前配置参数配置所述从耳机的待更新配置参数,以及根据所述主耳机的当前配置参数配置所述主耳机的待更新配置参数。
在成功获取从耳机的当前配置参数以及主耳机的当前配置参数后,主耳机将从耳机的当前配置参数以及主耳机的当前配置参数发送至预设终端设备,以供预设终端设备根据从耳机的当前配置参数配置从耳机的待更新配置参数,以及根据主耳机的当前配置参数配置主耳机的待更新配置参数,即将主从耳机的当前配置参数配置发送至预设终端设备,为开发人员配置主从耳机的待更新配置参数提供参考依据,使得主从耳机的待更新配置参数的调试效果更好,更满足用户需求。
本申请还提供一种耳机的调试装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的耳机的调试程序,所述耳机的调试程序被所述处理器运行时实现如上所述的耳机的调试方法的各个步骤。
本申请还提供一种存储介质,该存储介质上存储有耳机的调试程序,所述耳机的调试程序被处理器执行时实现如上所述的耳机的调试方法的步骤。
本说明书中各个实施例采用并列或者递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处可参见方法部分说明。
本领域普通技术人员还可以理解,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。

Claims (10)

  1. 一种耳机的调试方法,所述耳机包括主耳机与从耳机,所述主耳机与所述从耳机通信连接,其特征在于,所述耳机的调试方法包括以下步骤:
    所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数;
    所述主耳机将所述从耳机的待更新配置参数发送至所述从耳机,以供所述从耳机按照所述待更新配置参数运行;以及
    所述主耳机按照所述主耳机的待更新配置参数运行。
  2. 如权利要求1所述的耳机的调试方法,其特征在于,所述所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数的步骤之前,还包括:
    所述主耳机获取所述从耳机的当前配置参数以及所述主耳机的当前配置参数;
    所述主耳机将所述从耳机的当前配置参数以及所述主耳机的当前配置参数发送至预设终端设备,以供所述预设终端设备根据所述从耳机的当前配置参数配置所述从耳机的待更新配置参数,以及根据所述主耳机的当前配置参数配置所述主耳机的待更新配置参数。
  3. 如权利要求2所述的耳机的调试方法,其特征在于,所述所述主耳机获取所述从耳机的当前配置参数以及所述主耳机的当前配置参数的步骤包括:
    所述主耳机接收所述预设终端设备发出的配置更新指令;
    所述主耳机将所述配置更新指令发送至所述从耳机,并接收所述从耳机返回的所述从耳机的当前配置参数;以及
    所述主耳机根据所述配置更新指令从本地存储设备获取所述主耳机的当前配置参数。
  4. 如权利要求1所述的耳机的调试方法,其特征在于,所述所述主耳机 将所述从耳机的待更新配置参数发送至所述从耳机的步骤之后,还包括:
    所述主耳机判断所述从耳机的待更新配置参数是否发送完成;
    在所述从耳机的待更新配置参数发送完成时,所述主耳机将所述主耳机的待更新配置参数存储至本地存储设备。
  5. 如权利要求4所述的耳机的调试方法,其特征在于,所述所述主耳机判断所述从耳机的待更新配置参数是否发送完成的步骤之后,还包括:
    在所述从耳机的待更新配置参数发送失败时,所述主耳机返回执行将所述从耳机的待更新配置参数发送至所述从耳机的步骤。
  6. 如权利要求1所述的耳机的调试方法,其特征在于,所述所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数的步骤包括:
    所述主耳机从预设终端设备获取待更新配置参数文件;
    所述主耳机解析所述待更新配置参数文件,获得所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数。
  7. 如权利要求6所述的耳机的调试方法,其特征在于,所述所述主耳机从预设终端设备获取待更新配置参数文件的步骤之前,还包括:
    所述主耳机获取所述主耳机的蓝牙广播地址;
    所述主耳机将所述主耳机的蓝牙广播地址发送至预设终端设备,以供所述预设终端设备根据所述蓝牙广播地址发送所述待更新配置参数文件。
  8. 如权利要求1所述的耳机的调试方法,其特征在于,所述所述主耳机获取所述从耳机的待更新配置参数以及所述主耳机的待更新配置参数的步骤之后,还包括:
    所述主耳机对所述从耳机的待更新配置参数以及所述主耳机的待更新配置参进行校验;
    在校验通过时,所述主耳机执行将所述从耳机的待更新配置参数发送至所述从耳机的步骤。
  9. 一种耳机的调试装置,其特征在于,包括存储器、处理器及存储在存储器上并可在处理器上运行的耳机的调试程序,所述处理器执行所述耳机的调试程序时实现如权利要求1至8任一项所述的耳机的调试方法的步骤。
  10. 一种存储介质,其特征在于,所述存储介质上存储有耳机的调试程序,所述耳机的调试程序被处理器执行时实现如权利要求1至8任一项所述的耳机的调试方法的步骤。
PCT/CN2020/124837 2020-03-31 2020-10-29 耳机的调试方法、装置及存储介质 WO2021196578A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/995,155 US20230224654A1 (en) 2020-03-31 2020-10-29 Earphone debugging method and device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010248598.1A CN111464920B (zh) 2020-03-31 2020-03-31 耳机的调试方法、装置及存储介质
CN202010248598.1 2020-03-31

Publications (1)

Publication Number Publication Date
WO2021196578A1 true WO2021196578A1 (zh) 2021-10-07

Family

ID=71681002

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124837 WO2021196578A1 (zh) 2020-03-31 2020-10-29 耳机的调试方法、装置及存储介质

Country Status (3)

Country Link
US (1) US20230224654A1 (zh)
CN (1) CN111464920B (zh)
WO (1) WO2021196578A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464920B (zh) * 2020-03-31 2022-01-07 歌尔科技有限公司 耳机的调试方法、装置及存储介质
CN115103290B (zh) * 2022-07-15 2022-11-22 龙旗电子(惠州)有限公司 耳机测试方法、装置、电子设备及存储介质
CN115665623B (zh) * 2022-10-29 2023-10-03 荣耀终端有限公司 一种设置的同步方法、tws耳机及设备系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495868A (zh) * 2018-11-22 2019-03-19 重庆物奇科技有限公司 蓝牙设备、蓝牙设备间的组网方法和蓝牙通信系统
CN109495867A (zh) * 2018-11-22 2019-03-19 重庆物奇科技有限公司 蓝牙设备、系统及设备间信息传输的方法
US10412567B1 (en) * 2018-09-29 2019-09-10 Bestechnic (Shanghai) Co., Ltd. Short-range wireless communication based on indirect transmission of communication parameters
CN110278506A (zh) * 2019-06-19 2019-09-24 惠州联韵声学科技有限公司 Tws蓝牙耳机主动降噪双耳自动调试配对系统及方法
CN111464920A (zh) * 2020-03-31 2020-07-28 歌尔科技有限公司 耳机的调试方法、装置及存储介质

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216719A (zh) * 2013-05-30 2014-12-17 深圳创维无线技术有限公司 一种android系统的升级方法和装置
CN109314813B (zh) * 2018-04-28 2020-07-28 万魔声学科技有限公司 耳机无线通信方法、主耳机、从耳机及耳机系统
CN108540889B (zh) * 2018-05-28 2020-01-31 广东小天才科技有限公司 Tws耳机的配对方法、装置、tws耳机及存储介质
CN108833542B (zh) * 2018-06-15 2022-04-12 歌尔科技有限公司 Tws耳机的升级方法及tws耳机
CN108848163B (zh) * 2018-06-15 2022-04-05 歌尔科技有限公司 Tws耳机的升级方法及tws耳机
CN109660975A (zh) * 2019-01-28 2019-04-19 上海与德通讯技术有限公司 主从耳机的切换方法、主耳机、从耳机及蓝牙耳机网络
CN110659046B (zh) * 2019-09-12 2023-09-01 深圳市沃奈斯实业发展有限公司 固件升级方法、终端、充电盒、耳机及存储介质
CN110795127B (zh) * 2019-10-29 2023-09-22 歌尔科技有限公司 一种无线耳机及其升级方法及装置
CN110825411B (zh) * 2019-10-31 2022-03-22 歌尔股份有限公司 Tws耳机系统的升级方法、设备及计算机可读存储介质
CN110908687B (zh) * 2019-11-22 2021-12-07 歌尔股份有限公司 耳机升级方法、耳机组件、升级装置和可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10412567B1 (en) * 2018-09-29 2019-09-10 Bestechnic (Shanghai) Co., Ltd. Short-range wireless communication based on indirect transmission of communication parameters
CN109495868A (zh) * 2018-11-22 2019-03-19 重庆物奇科技有限公司 蓝牙设备、蓝牙设备间的组网方法和蓝牙通信系统
CN109495867A (zh) * 2018-11-22 2019-03-19 重庆物奇科技有限公司 蓝牙设备、系统及设备间信息传输的方法
CN110278506A (zh) * 2019-06-19 2019-09-24 惠州联韵声学科技有限公司 Tws蓝牙耳机主动降噪双耳自动调试配对系统及方法
CN111464920A (zh) * 2020-03-31 2020-07-28 歌尔科技有限公司 耳机的调试方法、装置及存储介质

Also Published As

Publication number Publication date
US20230224654A1 (en) 2023-07-13
CN111464920B (zh) 2022-01-07
CN111464920A (zh) 2020-07-28

Similar Documents

Publication Publication Date Title
WO2021196578A1 (zh) 耳机的调试方法、装置及存储介质
CN108429979B (zh) 一种充电盒升级方法、充电盒、无线耳机及tws耳机
CN111343622B (zh) 一种蓝牙音箱同步播放方法、装置及系统
WO2021121289A1 (zh) 蓝牙耳机的数据接收方法、装置、设备及存储介质
CN112055349B (zh) 一种无线通信方法及蓝牙设备
WO2017215640A1 (zh) 音效处理方法及装置
CN109547897B (zh) 一种无线耳机连接的方法、装置、系统及无线耳机盒子
CN110719542B (zh) 一种tws耳机及其升级方法、装置及计算机存储介质
CN111462746B (zh) 基于tws耳机的控制方法、系统、装置和设备
WO2020098411A1 (zh) 电磁干扰控制方法及相关装置
CN112235404B (zh) 耳机及充电盒的静默升级方法及设备
CN107025121B (zh) 软件升级方法、装置和电子装置
JP6381062B2 (ja) 通信デバイスのための音声信号を処理するための方法及びデバイス
CN110795127B (zh) 一种无线耳机及其升级方法及装置
US20220124435A1 (en) Earphone upgrade method, earphone assembly, upgrade device and non-transitory computer readable storage medium
CN105518774A (zh) 用于采集配置数据的设备和方法
KR102333306B1 (ko) 데이터 통신 방법 및 시스템, 전자 디바이스, 칩 및 저장 매체
CN110764806B (zh) 一种tws耳机及其升级方法及装置
US11611827B2 (en) Speaker audio configuration system
CN114866905A (zh) 一种车载音响的音频处理方法及装置
CN111225099B (zh) 终端测试方法、服务器、测试设备及存储介质
CN112188361A (zh) 音频数据传输方法、音箱系统及计算机可读存储介质
WO2021232389A1 (zh) 数据通信方法、系统、电子设备、芯片和存储介质
CN117319974A (zh) 蓝牙设备配置方法、装置、电子设备及存储介质
CN117061981A (zh) 耳机音效调控方法、相关设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20929024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20929024

Country of ref document: EP

Kind code of ref document: A1