CN115348494A - Method and device for configuring earphones in earphone storage box and computer equipment - Google Patents

Method and device for configuring earphones in earphone storage box and computer equipment Download PDF

Info

Publication number
CN115348494A
CN115348494A CN202110518581.8A CN202110518581A CN115348494A CN 115348494 A CN115348494 A CN 115348494A CN 202110518581 A CN202110518581 A CN 202110518581A CN 115348494 A CN115348494 A CN 115348494A
Authority
CN
China
Prior art keywords
earphone
earphones
sound source
identifier
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110518581.8A
Other languages
Chinese (zh)
Inventor
许超杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110518581.8A priority Critical patent/CN115348494A/en
Priority to PCT/CN2022/083151 priority patent/WO2022237353A1/en
Publication of CN115348494A publication Critical patent/CN115348494A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45CPURSES; LUGGAGE; HAND CARRIED BAGS
    • A45C11/00Receptacles for purposes not provided for in groups A45C1/00-A45C9/00
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45CPURSES; LUGGAGE; HAND CARRIED BAGS
    • A45C11/00Receptacles for purposes not provided for in groups A45C1/00-A45C9/00
    • A45C2011/001Receptacles for purposes not provided for in groups A45C1/00-A45C9/00 for portable audio devices, e.g. headphones or MP3-players

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a method and a device for configuring earphones in an earphone storage box and computer equipment, and belongs to the technical field of chips. The method comprises the following steps: reading a first matching identification of an earphone storage box; configuring the first pairing identification to a first earphone; the first pairing identifier is used for indicating the sound source equipment to identify a first earphone as one earphone in an earphone equipment group corresponding to the first pairing identifier when the first earphone is connected with the sound source equipment; the sound source equipment is used for sending audio data to the earphones in the earphone equipment group; through the scheme, different earphones can be freely combined by configuring the same matching identification, so that the flexibility of combination among the earphones is improved, and the convenience of matching and using a plurality of earphones is improved.

Description

Method and device for configuring earphones in earphone storage box and computer equipment
Technical Field
The embodiment of the application relates to the technical field of chips, in particular to a method and a device for configuring earphones in an earphone storage box and computer equipment.
Background
With the continuous development of short-distance wireless communication technologies such as bluetooth, the application of wireless earphones is also more and more extensive.
Some scenarios involve the cooperative use of multiple headsets. For example, in the related art, a pair of wireless earphones is configured in advance before shipping, and when the pair of wireless earphones is used, one of the wireless earphones first establishes a wireless connection with a sound source device (such as a mobile phone), and sends connection information (such as an address) of the other wireless earphone to the sound source device, the sound source device establishes a connection with the other wireless earphone according to the connection information, and the two wireless earphones are identified as a pair of earphones.
In the above scheme, in the scene of a plurality of earphones cooperation use, a plurality of earphones can only accomplish the group before leaving the factory, lead to the combination of earphone to lack the flexibility, influence the convenience that a plurality of earphones cooperation was used.
Disclosure of Invention
The embodiment of the application provides a method and a device for configuring earphones in an earphone storage box and computer equipment. The technical scheme comprises the following steps:
in one aspect, an embodiment of the present application provides a method for configuring earphones in an earphone accommodating box, where the method includes:
acquiring a first instruction, wherein the first instruction is used for triggering the configuration of a first earphone;
reading a first matching identification of the earphone storage box;
configuring the first pairing identifier to the first headset; the first pairing identifier is used for indicating the sound source equipment to identify the first earphone as one earphone in an earphone equipment group corresponding to the first pairing identifier when the first earphone is connected with the sound source equipment; the sound source equipment is used for sending audio data to the earphones in the earphone equipment set.
In one aspect, an embodiment of the present application provides a method for connecting earphones in a first earphone configured by the method for configuring earphones in an earphone receiving box, where the method includes:
broadcasting connection information of the first headset;
establishing connection between the first earphone and the sound source equipment in response to receiving a first connection request sent by the sound source equipment based on the connection information;
providing the first pairing identification for the sound source equipment so that the sound source equipment can identify the first earphone as one earphone in an earphone equipment group corresponding to the first pairing identification;
and receiving audio data sent by the sound source equipment to the earphones in the earphone equipment set.
In one aspect, an embodiment of the present application provides a method for connecting a first headphone in an audio source device, where the first headphone is configured by the method for configuring headphones in a headphone storage box, where the method includes:
receiving connection information broadcast by the first earphone;
sending a first connection request based on the connection information, wherein the first connection request is used for establishing connection between the first earphone and the sound source equipment;
receiving the first pairing identification provided by the first headset;
identifying the first earphone as one earphone in the earphone equipment group corresponding to the first matching group identification;
and sending audio data to the earphones in the earphone device group.
In one aspect, an embodiment of the present application provides a method for connecting earphones in a first earphone configured by the method for configuring earphones in an earphone receiving box, where the method includes:
broadcasting connection information and an analyzable identification of the first earphone;
establishing connection between the first earphone and the sound source equipment in response to receiving a second connection request sent by the sound source equipment based on the connection information; the second connection request is sent after the sound source equipment successfully analyzes the resolvable identifier through the first group matching identifier provided by other earphones and identifies the first earphone as one earphone in an earphone equipment group corresponding to the first group matching identifier;
and receiving audio data sent by the sound source equipment to the earphones in the earphone equipment set.
In one aspect, an embodiment of the present application provides a method for connecting a first headphone in an audio source device, where the first headphone is configured by the method for configuring headphones in a headphone storage box, where the method includes:
receiving connection information and an analyzable identifier broadcasted by the first earphone;
under the condition that the analytic identification is successfully analyzed through the first pairing identification provided by other earphones, identifying the first earphone as one earphone in an earphone equipment group corresponding to the first pairing identification;
sending a second connection request to a first earphone, wherein the second connection request is used for establishing connection between the first earphone and the sound source equipment;
and sending audio data to the earphones in the earphone device group.
In another aspect, an embodiment of the present application provides an apparatus for configuring earphones in an earphone accommodating case, the apparatus including:
the earphone comprises a first instruction acquisition module, a first earphone configuration module and a second earphone configuration module, wherein the first instruction acquisition module is used for acquiring a first instruction which is used for triggering the configuration of a first earphone;
the identification reading module is used for reading a first pairing identification of the earphone storage box;
a configuration module, configured to configure the first pairing identifier to the first headset; the first pairing identifier is used for indicating the sound source equipment to identify the first earphone as one earphone in an earphone equipment group corresponding to the first pairing identifier when the first earphone is connected with the sound source equipment; the sound source equipment is used for sending audio data to each earphone in the equipment group.
In another aspect, an embodiment of the present application provides an apparatus for connecting earphones in a first earphone configured by the method for configuring earphones in an earphone receiving case as described above, the apparatus comprising:
the broadcasting module is used for broadcasting the connection information of the first earphone;
the connection establishing module is used for responding to a first connection request sent by sound source equipment based on the connection information and establishing connection between the first earphone and the sound source equipment;
the identification providing module is used for providing a first pairing identification for the sound source equipment so that the sound source equipment can identify the first earphone as one earphone in an earphone equipment group corresponding to the first pairing identification;
and the audio data receiving module is used for receiving the audio data sent by the sound source equipment to the earphones in the earphone equipment group.
In another aspect, an embodiment of the present application provides an apparatus for connecting a first headphone in a sound source device, the first headphone being configured by the method for configuring headphones in a headphone housing case, the apparatus including:
the broadcast receiving module is used for receiving the connection information broadcasted by the first earphone;
a connection request sending module, configured to send a first connection request based on the connection information, where the first connection request is used to establish a connection between the first earphone and the sound source device;
the identification receiving module is used for receiving the first pairing identification provided by the first earphone;
the earphone identification module is used for identifying the first earphone as one earphone in the earphone equipment group corresponding to the first matching group identifier;
and the audio data sending module is used for sending audio data to the earphones in the earphone equipment set.
In another aspect, an embodiment of the present application provides an apparatus for connecting earphones in a first earphone configured by the method for configuring earphones in an earphone receiving case, including:
the broadcast module is used for broadcasting the connection information and the analyzable identification of the first earphone;
the connection establishing module is used for responding to a second connection request sent by the sound source equipment based on the connection information and establishing the connection between the first earphone and the sound source equipment; the second connection request is sent after the sound source equipment successfully analyzes the resolvable identifier through the first group matching identifier provided by other earphones and identifies the first earphone as one earphone in an earphone equipment group corresponding to the first group matching identifier;
and the audio data receiving module is used for receiving the audio data sent by the sound source equipment to the earphones in the earphone equipment group.
In another aspect, an embodiment of the present application provides an apparatus for connecting a first headphone in a sound source device, the first headphone being configured by the method for configuring headphones in a headphone housing case, the apparatus including:
the broadcast receiving module is used for receiving the connection information and the analyzable identification broadcasted by the first earphone;
the earphone identification module is used for identifying the first earphone as one earphone in the earphone equipment group corresponding to the first pairing identifier under the condition that the analytic identifier is successfully analyzed through the first pairing identifier provided by other earphones;
a connection request sending module, configured to send a second connection request to a first headset, where the second connection request is used to establish a connection between the first headset and the sound source device;
and the audio data sending module is used for sending audio data to the earphones in the earphone equipment set.
On the other hand, the present embodiment provides a processing chip, in which the apparatus for arranging earphones in the earphone accommodating box, the apparatus for connecting earphones in the first earphone, or the apparatus for connecting first earphones in the sound source device as described above is provided.
In another aspect, an embodiment of the present application provides a computer device, where the computer device includes a processor and a memory, and the processor and the memory are connected through a bus; the processor is configured to execute the computer instructions stored in the memory to implement the method of configuring earphones in an earphone storage box, the method of connecting earphones in a first earphone, or the method of connecting a first earphone in an audio source device as described in the above aspects.
In still another aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored, where the computer program is loaded into and executed by a processor to implement the method for configuring earphones in an earphone storage box, the method for connecting earphones in a first earphone, or the method for connecting a first earphone in an audio source device.
In yet another aspect, the present application provides a computer program product comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the method for configuring the earphones in the earphone storage box, the method for connecting the earphones in the first earphone, or the method for connecting the first earphone in the sound source device.
In yet another aspect, the present application provides a computer program executed by a processor of a computer device to implement the above-described method of configuring earphones in an earphone storage box, the method of connecting earphones in a first earphone, or the method of connecting a first earphone in an audio source device.
The technical scheme provided by the embodiment of the application at least comprises the following beneficial effects:
through the sign of joining in marriage of earphone receiver, dispose the sign of joining in marriage of earphone, owing to join in marriage the sign and can instruct sound source equipment to carry out the partition of equipment group, that is to say that different earphones can carry out free combination based on the same sign of joining in marriage of same earphone receiver configuration to the flexibility of carrying out the combination between the earphone has been improved, and then has improved the convenience that a plurality of earphones cooperateed and use.
Drawings
Fig. 1 is a system architecture diagram of a wireless audio playback system provided in an exemplary embodiment of the present application;
FIG. 2 is a flow chart of a method for configuring earphones in an earphone receiver provided by an exemplary embodiment of the present application;
FIG. 3 is a flow chart of a method for configuring earphones in an earphone receiver provided by an exemplary embodiment of the present application;
fig. 4 is a schematic structural diagram of an earphone storage box and earphones according to the embodiment shown in fig. 3;
FIG. 5 is a schematic diagram of a SIRK configuration flow according to the embodiment shown in FIG. 3;
FIG. 6 is a flow chart of a method for configuring earphones based on an earphone pod as provided by an exemplary embodiment of the present application;
fig. 7 is a schematic structural diagram of an apparatus for arranging earphones in an earphone storage box according to an exemplary embodiment of the present application;
fig. 8 is a schematic structural diagram of an apparatus for connecting earphones in a first earphone according to an exemplary embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus for connecting a first earphone to an audio source device according to an exemplary embodiment of the present application;
fig. 10 is a schematic structural diagram of an apparatus for connecting earphones in a first earphone according to an exemplary embodiment of the present application;
fig. 11 is a schematic structural diagram of an apparatus for connecting a first headphone to an audio source device according to an exemplary embodiment of the present application;
fig. 12 is a schematic structural diagram of a computer device according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
It should be understood that "indication" mentioned in the embodiments of the present application may be a direct indication, an indirect indication, or an indication of an association relationship. For example, a indicates B, which may mean that a directly indicates B, e.g., B may be obtained by a; it may also mean that a indicates B indirectly, for example, a indicates C, and B may be obtained by C; it can also mean that there is an association between a and B.
In the description of the embodiments of the present application, the term "correspond" may indicate that there is a direct correspondence or an indirect correspondence between the two, may also indicate that there is an association between the two, and may also indicate and be indicated, configure and configured, and so on.
In the embodiment of the present application, "predefining" may be implemented by saving a corresponding code, table, or other manners that may be used to indicate related information in advance in a device (for example, including a terminal device and a network device), and the present application is not limited to a specific implementation manner thereof. Such as predefined, may refer to what is defined in the protocol.
Thanks to the development of short-distance wireless communication technologies such as Bluetooth (BT), wireless headsets are more and more accepted by users, and the implementation forms thereof are more and more diversified. For example, the current Wireless headset is a True Wireless Stereo (TWS) bluetooth headset, and so on.
When the wireless earphone is used, wireless connection needs to be established with the sound source equipment, and audio data pushed by the sound source equipment is played.
Referring to fig. 1, a system architecture diagram of a wireless audio playback system according to an exemplary embodiment of the present application is shown. As shown in fig. 1, the system includes a wireless headset 110 and an audio source device 120.
The wireless headset 110 may be a bluetooth headset, or a headset supporting other short-range wireless communication protocols (such as Wi-Fi protocol, zigBee protocol, and the like, which is not limited in this application) besides bluetooth, and the like.
The wireless headset 110 has a function of playing audio, and for example, a speaker assembly is provided in the wireless headset 110.
The audio source device 120 may be a computer device that supports the same short-range wireless communication protocol as the wireless headset 110, for example, the audio source device 120 may be a smart phone, a tablet computer, a smart television, a personal computer, and so on.
After the audio source device 120 and the wireless headset 110 are connected through short-distance wireless communication, the audio source device 120 can push audio data to the wireless headset 110, and the audio data is played by the wireless headset.
In some embodiments, the wireless headset 110 can also send control information to the audio source device 120 to control the audio playing related functions of the audio source device 120, such as switching to the previous one, switching to the next one, adjusting the volume, answering/hanging up the phone, and so on.
In the embodiment of the present application, the system further includes a configuration device 130.
Wherein the configuration device 130 has the function of configuring the wireless headset 110.
For example, the configuration device 130 may send configuration data to the wireless headset 110 to configure relevant parameters or attributes in the wireless headset 110.
The configuration device 130 may be implemented as a computer device such as a headset storage box, a smart phone, a tablet computer, or a personal computer.
Referring to fig. 2, a flow chart of a method for configuring earphones in an earphone storage box according to an exemplary embodiment of the present application is shown. The method can be used in an earphone storage box. The method may include the following steps.
Step 201, a first instruction is obtained, where the first instruction is used to trigger configuration of a first headset.
In a possible implementation manner, the first instruction is an instruction corresponding to a user operation; for example, the first command may be a received operation signal of a user operation, or the first command may be a command generated when the operation signal is received.
In another possible implementation manner, the first instruction is an instruction automatically triggered by a background; for example, the first command is a judgment result obtained by performing a conditional judgment based on the specification data, or the first command is a command generated based on the judgment result.
In another possible implementation manner, the first instruction is an instruction obtained under the joint influence of user operation and background triggering; for example, the first instruction is a determination result obtained by performing conditional determination based on specified data after receiving an operation signal operated by a user; or, the first instruction is an instruction that is generated based on a judgment result obtained by performing conditional judgment based on the specified data after receiving an operation signal operated by a user.
Step 202, reading a first pairing identification of the earphone storage box.
In one possible implementation, the headset receiver may read a first pairing identification pre-stored in a memory of the headset receiver.
In another possible implementation manner, the earphone storage box can also read the first matching group identifier from the outside of the earphone storage box; for example, when the earphone storage box is connected to the internet, the first pairing identification can be read from a server on the network side; or, when the earphone storage box is connected to another computer device through a direct connection manner or a local area network, the earphone storage box may read the first pairing identification from another computer device.
The step 201 and the step 202 may be executed synchronously, or the step 201 may be executed after the step 202, or the step 201 may also be executed before the step 202, and the execution sequence of the step 201 and the step 202 is not limited in the embodiment of the present application.
In this application embodiment, different earphone receiver corresponds there is different to join in marriage a group sign.
Step 203, configuring the first pairing identification to the first earphone; the first pairing identifier is used for indicating the sound source equipment to identify the first earphone as one earphone in the earphone equipment group corresponding to the first pairing identifier when the first earphone is connected with the sound source equipment; the sound source equipment is used for sending audio data to the earphones in the earphone equipment group.
In a possible solution of the embodiment of the present application, after the first earphone is connected to the sound source device, the first pairing id may be provided to the sound source device. Correspondingly, the sound source device determines the device group to which the first earphone belongs through the first pairing identifier sent by the first earphone, and for each earphone in the device group, the sound source device performs an audio push service in a unified manner, for example, the same audio data is synchronously pushed to each earphone in the device group.
According to the scheme shown in the embodiment of the application, the configuration equipment can configure the same group matching identifiers for the plurality of earphones respectively, so that the plurality of earphones are divided into the same equipment group after the sound source equipment is connected with the plurality of earphones, the same audio data is synchronously pushed to the plurality of earphones, and free group matching of the plurality of earphones can be realized without depending on factory configuration.
To sum up, the shown scheme of this application embodiment, through the mark of joining in marriage of earphone receiver, dispose the mark of joining in marriage of earphone, owing to join in marriage the mark and can instruct sound source equipment to carry out the partition of equipment group, that is to say that different earphones can carry out free combination based on the same mark of joining in marriage of same earphone receiver configuration to the flexibility of making up has been improved between the earphone, and then has improved the convenience that a plurality of earphones cooperate and use.
The scheme shown in the above embodiment of the present application can be applied to any scene in which two earphones need to be combined.
For example, in an exemplary scenario, a user a originally has a pair of bluetooth headsets, and during the use of the user a, a left ear headset in the pair of bluetooth headsets is damaged (or lost), at this time, the user a only needs to purchase a left ear headset of the same model, and through the scheme in the embodiment shown in fig. 2, the newly purchased headset and the existing right ear headset are configured with the same pairing identifier through the headset storage box, and the newly purchased headset and the existing right ear headset can be identified as the same pair of headsets by the subsequent sound source device.
For another example, in another exemplary scenario, a user a has a pair of bluetooth headsets, and a user B also has a pair of bluetooth headsets, but the user a and the user B have a need to listen to audio data output by the same audio source device through the headsets (for example, the user a and the user B watch the same web lesson through the same mobile phone in a library), at this time, through the scheme in the embodiment shown in fig. 2, the same pairing identifier may be configured for the pair of bluetooth headsets of the user a and the pair of bluetooth headsets of the user B through the headset storage box, and the subsequent audio source device may divide the two pairs of bluetooth headsets into the same device group, and push audio data to the two pairs of bluetooth headsets synchronously.
The two exemplary scenarios are only described by taking the example that two bluetooth headsets are configured as a pair of bluetooth headsets, and two bluetooth headsets are configured as a group of bluetooth headsets, the scheme shown in the embodiment of the present application may also be applied to other scenarios, such as a scenario of grouping bluetooth speakers, and the like, and the application scenario of the scheme shown in fig. 2 is not limited in the embodiment of the present application.
Referring to fig. 3, a flowchart of a method for configuring earphones in an earphone storage box according to an exemplary embodiment of the present application is shown. The method can be used in an earphone storage box. The method may include the following steps.
Step 301, a first instruction is obtained, where the first instruction is used to trigger configuration of a first headset.
In a possible implementation manner, the step of obtaining the first instruction includes:
the first instruction is obtained in response to the first earphone being placed in the earphone receiving box.
In this application embodiment, when the earphone model of first earphone and earphone receiver looks adaptation, and first earphone was arranged in the earphone receiver, the earphone receiver can confirm to acquire first instruction, then confirms to need to dispose the mark of organizing in groups of first earphone.
Wherein, the earphone receiver can detect whether accomodate the earphone through at least one of sensor, communication interface and the interface that charges.
Optionally, the sensor may include a pressure sensor, a current sensor, and the like, and the earphone storage box may detect whether the earphone is stored through status data of the pressure sensor or the current sensor.
The communication interface and the charging interface can be the same physical interface, and the physical interface can be switched between the communication interface and the charging interface; alternatively, the communication interface and the charging interface may be implemented as two separate physical interfaces. The earphone receiver can detect whether the earphone is stored through the communication state of the communication interface or the charging state of the charging interface.
For example, please refer to fig. 4, which shows a schematic structural diagram of an earphone storage box and an earphone according to an embodiment of the present application. As shown in fig. 4, the earphone storage box 44 has two earphone storage positions for respectively storing the left earphone 41 and the right earphone 45, the left earphone 41 and the right earphone 45 respectively include earphone communication interfaces 43, and a storage box communication interface 46 is provided in the earphone storage box 44 corresponding to the earphone communication interfaces 43. As shown in fig. 4, when the right-ear earphone 45 is placed in the earphone accommodation case 44, the earphone communication interface 43 of the right-ear earphone 45 establishes a communication connection with the accommodation case communication interface 46 at the right-ear earphone accommodation position, and at this time, the earphone accommodation case 44 can determine that the right-ear earphone is placed in the earphone accommodation case.
In one possible implementation manner, the first instruction is obtained in response to the first earphone being placed in the earphone receiving box and a predetermined condition being met.
In some cases, a user may place a particular headset in the headset receiver and not necessarily configure the pairing identification of that headset. For example, the user may want to temporarily store or charge by means of a headphone storage case. In order to avoid unnecessary detection in such a case, when the above-described first headphone is housed in the headphone housing case, the headphone housing case may further determine whether or not the first instruction is acquired, by means of detection judgment of a predetermined condition.
Wherein the predetermined condition may include, but is not limited to, at least one of the following conditions:
1) A first operation performed by a user on the earphone containing box is received.
In an exemplary aspect, in a case where it is detected that the first earphone is accommodated, the earphone accommodating case may further determine whether the first instruction is acquired by a user operation.
Wherein the first operation may comprise at least one of: pressing a designated key in the earphone receiver, pressing a designated key in the earphone receiver n times in succession (n is 1 or more, and n is an integer), long-pressing a designated key in the earphone receiver, closing/opening the earphone receiver, and controlling the earphone receiver to move in a designated trajectory, and the like.
2) The other earphone accommodating position in the earphone accommodating box except the earphone accommodating position where the first earphone is located is empty, and a second operation executed by a user on the earphone accommodating box is received.
When a user places earphones into an earphone storage box, different earphones are usually placed into the earphone storage box respectively (that is, one earphone is placed at a time), when the user places a first earphone into the earphone storage box, only one earphone may be placed into the earphone storage box, at this time, the user may want to configure the earphone alone, or there may be subsequent operations, for example, another earphone is also placed into the earphone storage box, and two earphones are configured at the same time, or the user may not want to configure the earphone, so when the earphone storage box detects that another earphone storage position other than the earphone storage position where the first earphone is located is empty, the intention of the user cannot be accurately judged, and at this time, the earphone storage box may further determine whether to acquire the first instruction in combination with the user operation; for example, when another earphone accommodating position in the earphone accommodating box, except for the earphone accommodating position where the first earphone is located, is empty and a second operation is received, it is considered that the user wants to configure the currently accommodated first earphone, and it is determined that the first instruction is acquired; and when the other earphone accommodating position except the earphone accommodating position where the first earphone is located in the earphone accommodating box is empty, but the second operation is not received, the first instruction is not considered to be acquired temporarily.
The second operation may be the same as or different from the first operation.
3) The current group matching identification of the second earphone in the earphone containing box is the same as the current group matching identification of the first earphone, and the third operation executed by the user on the earphone containing box is received.
In the process of using the earphone storage box to store earphones, a user generally puts a pair of earphones into the earphone storage box, that is, current matching identifiers of two earphones in the earphone storage box are the same, in one case, the matching identifier of the pair of earphones is the first matching identifier of the earphone storage box (that is, the pair of earphones originally belongs to the current earphone storage box), in the other case, the matching identifier of the pair of earphones is different from the first matching identifier of the earphone storage box, but the user only wants to charge the earphone storage box, in both cases, the earphone storage box is not required to reconfigure the matching identifier of the pair of earphones, and in order to avoid mis-configuration of the matching identifier of the pair of earphones, in the embodiment of the application, when the earphone storage box detects that the current matching identifiers of the first earphone and the second earphone which are stored are the same, whether the first instruction is obtained or not can be further determined by combining with user operation.
The third operation may be the same as or different from the first operation or the second operation.
4) The earphone storage box is provided with a first earphone storage position and a second earphone storage position.
In a possible implementation of the embodiment of the present application, the earphone storage box may use that two earphones are simultaneously stored as a condition for determining that the first instruction is obtained, that is, whether the first instruction is obtained is determined autonomously by detecting whether two earphones are simultaneously stored.
In another possible implementation scheme, when a second earphone is accommodated in another earphone accommodating position of the earphone accommodating box except for the earphone accommodating position where the first earphone is located, the earphone accommodating box may also determine whether to acquire the first instruction directly by further combining with a user operation without detecting whether the original matching identifiers of the two earphones are the same. For example, when the earphone storage box detects that a first earphone and a second earphone are currently stored and receives a third operation, determining to acquire a first instruction; and if the earphone storage box detects that the first earphone and the second earphone are currently stored but does not receive the third operation, the earphone storage box does not consider that the first instruction is acquired for the moment.
5) The group matching identification of the second earphone in the earphone storage box is the first group matching identification.
In a possible implementation scheme of the embodiment of the application, a condition that whether two earphones which are simultaneously accommodated by the earphone accommodating box include one earphone which is the same as the first matching identifier is used as a condition for determining to acquire the first instruction, and at this time, another earphone in the earphone accommodating box is the first earphone.
For example, if a user wants to configure one earphone and the original earphone of the user into the same group of earphones, the user may place the earphone and the original earphone of the user into an earphone storage box corresponding to the original earphone of the user, and the earphone storage box determines to acquire the first instruction if it detects that the group matching identifier of the earphone is the same as the group matching identifier of the user.
In this application embodiment, the earphone receiver can acquire the original grouping identifier of the earphone through the communication interface with the earphone.
For example, in fig. 4, the earphone storage box 44 includes a processing chip 47, the processing chip is connected to the storage box communication interface 46 through a bus, the left ear earphone 41 and the right ear earphone 45 are respectively provided with an earphone memory 42, and the earphone memory 42 stores the original configuration identifier of the earphone. When the earphone communication interface 43 in the right-ear earphone 45 establishes a communication connection with the receiver communication interface 46 at the right-ear earphone receiving position, the earphone receiver 44 reads the configuration identifier stored in the earphone memory 42 in the right-ear earphone 45 through the processing chip 47.
In one possible implementation manner, when the earphone accommodating case includes a near field communication function, the acquiring of the first instruction includes:
and responding to the first earphone being positioned in the near field communication range of the earphone containing box, and acquiring the first instruction.
In the embodiment of the present application, the form of the device configuring the first earphone may not be limited to the earphone accommodating box, and as long as both support Near Field Communication (NFC), the configuration of the pairing identifier may be implemented.
In an exemplary scheme, when the NFC functions of the mobile phone and the earphone storage box are in an on state, and the earphone storage box detects that an earphone exists within a communication range of the NFC function (the earphone storage box can receive identity information sent by the earphone through the NFC function to determine that a device within the NFC communication range is an earphone), the first instruction may be obtained.
In this embodiment of the application, on the basis that the first earphone is located within the nfc range of the earphone storage box, the earphone storage box may also determine, in combination with a user operation, whether to acquire the first instruction.
For example, when the first earphone is located within the near field communication range of the earphone storage box, the earphone storage box may display a prompt message in an interface of the pairing program to prompt a user whether to configure a new pairing identifier for the current first earphone (e.g., earphone), and determine to acquire the first instruction if a confirmation operation performed by the user is received.
In a possible implementation manner, when the earphone accommodating box and the first earphone respectively include a wired communication interface, the obtaining the first instruction includes:
and responding to the connection of the earphone storage box and the first earphone through the wired communication interface, and acquiring a first instruction.
In this application embodiment, the first earphone and the earphone storage box can also be connected through a wired communication interface to realize the configuration of the matching identification.
The wired communication interface may be a Universal Serial Bus (USB) interface or other types of wired communication interfaces, which is not limited in this embodiment of the present invention.
For example, a USB interface is provided in the first earphone, and the user connects the earphone storage box to the earphone through a USB data line, and at this time, the personal computer can detect the earphone connected through the USB, and then can obtain the first instruction.
In this embodiment of the application, on the basis that the earphone storage box is connected to the first earphone through the wired communication interface, the earphone storage box may also determine whether to acquire the first instruction in combination with a user operation.
For example, taking a personal computer as an example, when a first earphone is connected to an earphone storage box through a USB interface, the earphone storage box may display a prompt message to prompt a user whether to configure a new pairing identifier for the current first earphone, and if a confirmation operation performed by the user is received, it is determined that the first instruction is obtained.
Step 302, reading a first pairing identification of the earphone storage box.
In one possible implementation manner, the earphone storage box can read the first pairing identification stored locally in advance.
For example, referring to fig. 4, the earphone storage box 44 includes an earphone storage box memory 48, the earphone storage box memory 48 stores the first matching identifier, and the processing chip 47 of the earphone storage box 44 can read the first matching identifier from the earphone storage box memory 48.
In another possible implementation manner, the earphone storage box can also read the first pairing identification from outside the local area; for example, the earphone storage box may read the first pairing identifier from another earphone storage box through a short-range wireless communication technology such as bluetooth or NFC; alternatively, the earphone storage box may read the first matching identifier from another earphone storage box through a wired communication interface such as a USB interface, or the earphone storage box may acquire the first matching identifier from a server on the network side.
Step 301 and step 302 may be executed synchronously, or step 301 may be executed after step 302, or step 301 may also be executed before step 302, and the execution sequence of step 301 and step 302 is not limited in this embodiment of the application.
In this application embodiment, different earphone receiver correspond and have different group's sign that joins in marriage.
Step 303, configuring the first pairing identifier to the first earphone, where the first pairing identifier is used to instruct the sound source device to identify the first earphone as one earphone in the earphone device group corresponding to the first pairing identifier when the first earphone is connected to the sound source device; the sound source equipment is used for sending audio data to each earphone in the earphone equipment group. For example, the audio source device may send synchronized push audio data to each of the headphones in the set of headphone devices.
In this application embodiment, the earphone receiver can be with the original mark of joining in marriage of first earphone update for this first mark of joining in marriage.
The earphone storage box can send the first matching identification to the first earphone, and the first earphone replaces the original matching identification; or, the earphone storage box may also write the first pairing identification into a storage (such as a memory) of the first earphone directly in a manner of covering the original pairing identification.
For example, referring to fig. 4, the processing chip 47 in the earphone storage box 44 may write the first pairing id into the earphone memory 42 of the right-ear earphone 45 through the communication interface (i.e., the storage box communication interface 46 and the earphone communication interface 43) with the right-ear earphone 45, so as to cover the original pairing id in the earphone memory 42 of the right-ear earphone 45.
For another example, the earphone storage box may send the first matching identifier to the earphone in an NFC manner, and the earphone replaces the original matching identifier with the first matching identifier.
For another example, the earphone storage box may send the first pairing identifier to the earphone through the USB interface, and the earphone uses the first pairing identifier to replace the original pairing identifier; or, the earphone storage box can directly write the first matching identifier into the earphone memory through the USB interface to cover the original matching identifier in the earphone memory.
In a possible implementation manner, in response to that the original pairing id of the first headset is different from the first pairing id, the pairing id of the first headset is updated to the first pairing id.
In the embodiment of the application, the earphone storage box may detect in advance whether the original matching identifier of the first earphone is the same as the first matching identifier, if not, the matching identifier of the first earphone is updated to the first matching identifier, otherwise, the updating operation is not executed, so as to avoid unnecessary data interaction.
In one possible implementation, the first pairing group identifier is a Set Identity Resolving Key (SIRK).
In this embodiment, when the first earphone supports a bluetooth communication protocol and establishes a connection with an audio source device through a bluetooth manner, the pairing id may be SIRK defined in the bluetooth communication protocol.
The set identity resolution key SIRK is a 128-bit random number used to uniquely identify a coordination set, which is the above-mentioned device group.
The devices belonging to the same coordination set may respond to the audio data or instructions of the sound source device in a coordinated manner, for example, receive and play the same audio data synchronously, or implement synchronous volume adjustment, etc.
For example, taking the case that two bluetooth headsets belong to the same coordination set, when the two bluetooth headsets are connected to the mobile phone respectively and audio to be played exists in the mobile phone, data corresponding to the audio can be synchronously pushed to the two bluetooth headsets for playing; for another example, when a user operates one of the bluetooth headsets to adjust the volume, the bluetooth headset feeds back the user operation information to the mobile phone, the mobile phone determines the adjusted volume according to the user operation information, and feeds back the adjusted volume to the other bluetooth headset, so as to control the other bluetooth headset to synchronously adjust the volume.
Optionally, for different headphones, the same audio data synchronously pushed by the audio source device means that the content of the audio data is the same, but the presentation forms of the audio data may be different. For example, taking an example that the different earphones are a pair of bluetooth earphones, where the bluetooth earphones include a left-ear earphone and a right-ear earphone, the sound source device synchronously pushes the same audio data to the pair of bluetooth earphones, that is, the sound source device pushes left-channel audio data to the left-ear earphone while pushing right-channel audio data to the right-ear earphone, and the playing contents of the left-channel audio data and the right-channel audio data are the same, for example, the left-channel audio data and the right-channel audio data of the same song may be the same.
Taking the above mentioned pairing id as SIRK and the first earphone as bluetooth earphone as an example, please refer to fig. 5, which shows a schematic diagram of a SIRK configuration flow according to an embodiment of the present application. As shown in fig. 5, the process steps are as follows:
s51, a user places two Bluetooth earphones into an earphone storage box; the two Bluetooth earphones are the same in model, or different in model and matched with the earphone storage box;
s52, the earphone accommodating box detects a trigger event, such as detecting a preset operation (e.g., detecting a long press of a certain key in the earphone accommodating box);
s53, after the earphone storage box detects a trigger event, reading SIRKs stored in the two Bluetooth earphones respectively;
s54, the earphone storage box compares the read SIRK with a locally preset SIRK to determine whether the SIRK of each of the two Bluetooth earphones is the same as the locally preset SIRK;
s55, the earphone storage box writes the preset SIRK into the Bluetooth earphones with different SIRKs;
and S56, when the two Bluetooth earphones are used, the two Bluetooth earphones can be identified as two earphones in the same coordination set by the sound source equipment through the SIRK.
Under the condition of ensuring that the SIRK in the two Bluetooth earphones is the same, the two Bluetooth earphones belong to the same coordination set, and the same pair of earphones is formed.
For example, in fig. 4, the earphones 41 and 45 and the earphone storage box 44 are stored in the memories 42 and 48 with SIRK preset at the time of shipment. SIRK is readable and writable in both earphones 41 and 45, and in earphone receiver 44.
The SIRK is a 128-bit random number, and marks that two earphones are in a coordination set, namely a pair of earphones are formed. The earphones in the same coordination set can respond to the instructions or other data of the mobile phone in a coordinated mode, such as synchronous volume adjustment and the like.
After the earphones 41 and 45 are placed in the earphone receiver 44, the earphone receiver processing chip 47 can read the SIRK stored in the earphone 42 through the communication interfaces 43 and 46. The headphone accommodation cassette processing chip 47 can write SIRK preset in the accommodation cassette memory 48 in the headphone accommodation cassette 44 to the headphones 41 and 45 through the communication interfaces 43 and 46, and store it in the memory 42.
A cell phone or other audio source device may connect to the headphones 41 and 45, respectively, and identify the headphones 41 and 45 as being the same in the coordination set.
Step 304, in response to acquiring the second instruction, updating the first group matching identifier.
In a possible scenario of the embodiment of the application, the sound source device may divide the two sets of bluetooth headsets into the same device group, and synchronously push audio data to the two sets of bluetooth headsets, so that a plurality of users can simultaneously listen to the sound source data pushed by the sound source device.
However, in some cases, the application scenario may be a temporary usage scenario, and in a subsequent time, the user may need to release the right of a part of the earphones to receive the sound source data sent by the sound source device. For such a requirement, in the scheme shown in the embodiment of the present application, the first pairing identifier in the earphone storage box may be updated by a second instruction, and after the first pairing identifier is updated, the user only needs to update the pairing identifier of one or one pair of earphones correspondingly, that is, the one or one pair of earphones and the other earphones may be released from the relationship of the same equipment group.
For example, through the schemes shown in steps 301 to 303, the user a configures the same pairing identifier 1 for two pairs of bluetooth headsets, so that the user a and the user B simultaneously use the two pairs of headsets to receive audio data pushed by the mobile phone of the user a; then, if the user a does not want to share the audio data pushed by the mobile phone with the user B, the user a only needs to update the matching group identifier 1 in the earphone storage box to the matching group identifier 2 by the scheme shown in step 304, and then updates the matching group identifier of one pair of earphones used by the user a to the matching group identifier 2 by the scheme shown in steps 301 to 303, so that the two pairs of earphones cannot be identified as the same earphone in the coordination set by the mobile phone when the mobile phone and the earphones are connected again subsequently.
In one possible implementation manner, the second instruction is acquired in response to that a time interval between the last updated time of the first group identifier and the current time reaches a time interval threshold;
the second instruction for updating the first pairing identifier may be automatically triggered by the pairing device based on a time element, for example, the first pairing identifier is updated every 24 hours, and when a time interval between a last updated time of the first pairing identifier and a current time reaches 24 hours, the earphone storage box may automatically obtain the second instruction.
In another possible implementation, the second instruction is obtained in response to receiving a fourth operation on the earphone receiver.
The second instruction may also be triggered actively by the user, that is, the user triggers the update of the first pairing identifier through operation.
The fourth operation may be different from the first operation, the second operation, and the third operation.
In a possible implementation manner, the updating of the first group identifier may be performed on a group identifier of a base corresponding to the earphone storage box.
For example, taking SIRK as an example of a matching identifier corresponding to the earphone storage box, the matching identifier of the earphone storage box may be obtained by splicing SIRK and a random number, and each time the first matching identifier is updated, the SIRK may be kept unchanged, and the random number after SIRK may be updated to obtain an updated first matching identifier.
To sum up, the shown scheme of this application embodiment, through the mark of joining in marriage of earphone receiver, dispose the mark of joining in marriage of earphone, owing to join in marriage the mark and can instruct sound source equipment to carry out the partition of equipment group, that is to say that different earphones can carry out free combination based on the same mark of joining in marriage of same earphone receiver configuration to the flexibility of making up has been improved between the earphone, and then has improved the convenience that a plurality of earphones cooperate and use.
In the solution shown in the embodiment corresponding to fig. 3 described above, after the first earphone is configured with the first matching identifier based on the earphone storage box, when the first earphone is connected to the sound source device, the first matching identifier may be provided to the sound source device, so that when the sound source device subsequently identifies another earphone having the first matching identifier, the another earphone and the first earphone are identified as earphones in the same earphone device group.
The first earphone can be connected with the sound source equipment at least in the following two different modes.
Connection mode 1), from the first earphone side, the first earphone may be an earphone configured according to the method shown in fig. 2 or fig. 3, and the flow of the method for connecting the earphone in the first earphone may include the following steps:
the first earphone broadcasts the connection information of the first earphone; responding to a first connection request sent by the sound source equipment based on the connection information, and establishing connection between the first earphone and the sound source equipment by the first earphone; the first earphone provides a first matching group identifier for the sound source equipment, so that the sound source equipment can identify the first earphone as one earphone in an earphone equipment group corresponding to the first matching group identifier; the first earphone receives audio data sent by the sound source equipment to the earphones in the earphone equipment group.
Accordingly, in terms of the audio source device, the method flow for connecting the first earphone in the audio source device may include the following steps:
receiving connection information broadcast by the first earphone; sending a first connection request based on the connection information, wherein the first connection request is used for establishing connection between the first earphone and the sound source equipment; receiving the first pairing identification provided by the first earphone; identifying the first earphone as one earphone in the earphone equipment group corresponding to the first matching group identification; and sending the audio data to the earphones in the earphone device group.
In the solution shown in the embodiment corresponding to fig. 3 described above, after the first earphone is configured with the first matching identifier based on the earphone storage box, when the first earphone is connected to the sound source device, the first earphone may also provide the sound source device with analyzable information that is analyzed through the first matching identifier, so that when the sound source device is connected to another earphone having the first matching identifier, the sound source device identifies whether the first earphone and the other earphone belong to the same earphone device group through an analysis process of the analyzable information.
Connection mode 2), from the first earphone side, the flow of the method for connecting the earphones in the first earphone may include the following steps:
the first earphone broadcasts the connection information and the analyzable identification of the first earphone; establishing connection between the first earphone and the sound source equipment in response to receiving a second connection request sent by the sound source equipment based on the connection information; the second connection request is sent after the sound source equipment successfully analyzes the analyzable identifier through the first group matching identifier provided by other earphones and identifies the first earphone as one earphone in the earphone equipment group corresponding to the first group matching identifier; and receiving audio data sent by the sound source equipment to the earphones in the earphone equipment group.
Accordingly, in terms of the audio source device, the method flow for connecting the first earphone in the audio source device may include the following steps:
receiving connection information and a resolvable identifier broadcasted by the first earphone; under the condition that the analytic identification is successfully analyzed through the first matching identification provided by other earphones, identifying the first earphone as one earphone in an earphone equipment group corresponding to the first matching identification; sending a second connection request to the first earphone, wherein the second connection request is used for establishing connection between the first earphone and the sound source equipment; and sending the audio data to the earphones in the earphone device group.
Referring to fig. 6, a flow chart of a method for configuring earphones based on an earphone receiving box according to an exemplary embodiment of the present application is shown. As shown in fig. 6, the process may include the following steps.
S61, one earphone (such as a left ear earphone) broadcasts own connection information (such as name and address) to enable a sound source device such as a mobile phone to find;
when a pair of earphones needs to be connected with the mobile phone, one earphone can be connected first, and then whether the other earphone and the earphone are the same earphone can be judged.
S62, after discovering the left ear earphone through the name of the left ear earphone, the sound source equipment such as the mobile phone is connected with the left ear earphone;
s63, after the connection is successful, the mobile phone reads the SIRK stored in the earphone through a Coordinated Set Identification Service (CSIS) instantiated in the left ear earphone, and stores the SIRK in the sound source equipment such as the mobile phone;
s64, another earphone (such as a right-ear earphone) sends a broadcast packet (which can also contain connection information) with an analyzable Set Identifier (RSI), so that the sound source equipment such as a mobile phone and the like can find and analyze the broadcast packet;
where the RSI is generated using SIRK and can be resolved using SIRK for determining that different members of a coordination set are in the same coordination set.
And S65, after discovering the broadcast packet in the S64, the sound source equipment such as the mobile phone analyzes the RSI by using the stored SIRK, and if the RSI is successfully analyzed, the right-ear earphone and the connected left-ear earphone are in the same coordination set, namely a pair of earphones is formed.
In a possible implementation manner, the connection between the audio source device and the first earphone may be performed by using the connection manner 1) or the connection manner 2) described above based on a master-slave property of the first earphone in a pair of earphones. For example, when the first headphone is a master headphone (e.g., the left-ear headphone in fig. 6) in a pair of headphones, the audio source device and the first headphone are connected by the connection method 1), and correspondingly, when the first headphone is a slave headphone (e.g., the right-ear headphone in fig. 6), the audio source device and the first headphone are connected by the connection method 2).
In another possible implementation manner, the connection between the audio source device and the first earphone may also be performed by using the connection manner 1) or the connection manner 2) described above based on the connection bit sequence of the first earphone in a pair of earphones. For example, when the first earphone is the earphone (e.g., the left-ear earphone in fig. 6) connected to the first audio device in the pair of earphones, the audio device and the first earphone are connected by the connection method 1) described above, and correspondingly, when the first earphone is not the earphone (e.g., the right-ear earphone in fig. 6) connected to the first audio device in the pair of earphones, the audio device and the first earphone are connected by the connection method 2) described above.
To sum up, the shown scheme of this application embodiment, through the mark of joining in marriage of earphone receiver, dispose the mark of joining in marriage of earphone, owing to join in marriage the mark and can instruct sound source equipment to carry out the partition of equipment group, that is to say that different earphones can carry out free combination based on the same mark of joining in marriage of same earphone receiver configuration to the flexibility of making up has been improved between the earphone, and then has improved the convenience that a plurality of earphones cooperate and use.
The scheme shown in the above embodiment of the present application can be used for configuring earphones in an earphone storage box, and can also be configured in other configuration devices (such as a mobile phone, a personal computer, and the like). The method for configuring the earphones by other configuration equipment is similar to the method for configuring the earphones in the earphone storage box, and is not repeated here.
Referring to fig. 7, a schematic structural diagram of an apparatus for configuring earphones in an earphone storage box according to an exemplary embodiment of the present application is shown. The device includes:
a first instruction obtaining module 701, configured to obtain a first instruction, where the first instruction is used to trigger configuration of a first headset;
an identifier reading module 702, configured to read a first pairing identifier of the earphone storage box;
a configuration module 703, configured to configure the first group identifier to the first headset; the first pairing identifier is used for indicating the sound source equipment to identify the first earphone as one earphone in an earphone equipment group corresponding to the first pairing identifier when the first earphone is connected with the sound source equipment; the sound source equipment is used for sending audio data to each earphone in the earphone equipment group.
In one possible implementation form of the method,
the first instruction obtaining module 701 is configured to obtain the first instruction in response to the first earphone being placed in the earphone receiving box.
In a possible implementation manner, the first instruction obtaining module 701 is configured to obtain the first instruction in response to that the first earphone is placed in the earphone receiving box and a predetermined condition is met.
In one possible implementation, the predetermined condition includes at least one of the following conditions:
receiving a first operation executed by a user on the earphone accommodating box;
the other earphone receiving position except the earphone receiving position where the first earphone is located in the earphone receiving box is empty, and a second operation executed by a user on the earphone receiving box is received;
the current matching identification of a second earphone in the earphone storage box is the same as the current matching identification of the first earphone, and a third operation executed by a user on the earphone storage box is received;
a second earphone is accommodated in the other earphone accommodating position except the earphone accommodating position where the first earphone is located in the earphone accommodating box; and
and the matching identification of the second earphone in the earphone storage box is the first matching identification.
In one possible implementation, the headset receiver includes a near field communication function;
the first instruction obtaining module 701 is configured to obtain the first instruction in response to that the first earphone is located within a near field communication range of the earphone storage box.
In one possible implementation manner, the earphone accommodating box and the first earphone respectively comprise a wired communication interface;
the first instruction obtaining module 701 is configured to obtain the first instruction in response to the connection between the earphone storage box and the first earphone through the wired communication interface.
In one possible implementation, the apparatus further includes:
and the identifier updating module is used for responding to the obtained second instruction and updating the first group matching identifier.
In one possible implementation, the apparatus further includes:
a second instruction obtaining module, configured to,
responding to a time interval between the last updated time of the first group identifier and the current time reaching a time interval threshold value, and acquiring the second instruction; or, in response to receiving a fourth operation of the user, acquiring the second instruction.
In a possible implementation manner, the configuration module 703 is configured to update the group identifier of the first headset to the first group identifier in response to that an original group identifier of the first headset is different from the first group identifier.
In one possible implementation, the first pairing group identification is a set identity resolution key SIRK.
To sum up, the scheme shown in the embodiment of the application configures the grouping identification of the earphones through the grouping identification of the earphone storage box, and the grouping identification of the earphones can indicate the sound source equipment to divide the equipment group, that is to say, different earphones can be freely combined through the same grouping identification configured for the same earphone storage box, so that the flexibility of combination between the earphones is improved, and the convenience of matching and using a plurality of earphones is improved.
Referring to fig. 8, a schematic structural diagram of an apparatus for connecting a headset in a first headset according to an exemplary embodiment of the present application is shown. The first earphone is configured by the method of configuring earphones in an earphone receiving case according to the above, the apparatus comprising:
a broadcasting module 801 for broadcasting connection information of a first headset;
a connection establishing module 802, configured to establish a connection between the first earphone and the sound source device in response to receiving a first connection request sent by the sound source device based on the connection information;
an identifier providing module 803, configured to provide a first pairing identifier to the sound source device, so that the sound source device identifies the first earphone as one earphone in an earphone device group corresponding to the first pairing identifier;
an audio data receiving module 804, configured to receive audio data sent by the sound source device to the earphones in the earphone device group.
To sum up, the scheme shown in the embodiment of the application configures the grouping identification of the earphones through the grouping identification of the earphone storage box, and the grouping identification of the earphones can indicate the sound source equipment to divide the equipment group, that is to say, different earphones can be freely combined through the same grouping identification configured for the same earphone storage box, so that the flexibility of combination between the earphones is improved, and the convenience of matching and using a plurality of earphones is improved.
Referring to fig. 9, a schematic structural diagram of an apparatus for connecting a first earphone in an audio source device according to an exemplary embodiment of the present application is shown, where the first earphone is configured according to the method for configuring earphones in an earphone storage box described above, the apparatus includes:
a broadcast receiving module 901, configured to receive connection information broadcasted by the first headset;
a connection request sending module 902, configured to send a first connection request based on the connection information, where the first connection request is used to establish a connection between the first earphone and the sound source device;
an identifier receiving module 903, configured to receive the first pairing identifier provided by the first headset;
an earphone identification module 904, configured to identify the first earphone as an earphone in the earphone device group corresponding to the first pairing identifier;
an audio data sending module 905, configured to send audio data to the earphones in the earphone device group.
Referring to fig. 10, a schematic structural diagram of an apparatus for connecting a headset in a first headset according to an exemplary embodiment of the present application is shown. The first earphone is configured by the method of configuring earphones in an earphone receiving case according to the above, the apparatus comprising:
a broadcasting module 1001 for broadcasting connection information and an analyzable identifier of a first headset;
a connection establishing module 1002, configured to establish a connection between the first earphone and the sound source device in response to receiving a second connection request sent by the sound source device based on the connection information; the second connection request is sent after the sound source equipment successfully analyzes the resolvable identifier through the first group matching identifier provided by other earphones and identifies the first earphone as one earphone in an earphone equipment group corresponding to the first group matching identifier;
an audio data receiving module 1003, configured to receive audio data sent by the sound source device to the earphones in the earphone device group.
Referring to fig. 11, a schematic structural diagram of an apparatus for connecting a first earphone in an audio source device according to an exemplary embodiment of the present application is shown, where the first earphone is configured according to the method for configuring earphones in an earphone storage box, and the apparatus includes:
a broadcast receiving module 1101, configured to receive connection information and a resolvable identifier broadcasted by the first headset;
an earphone identification module 1102, configured to identify the first earphone as one earphone in an earphone device group corresponding to the first pairing identifier when the analyzable identifier is successfully analyzed by the first pairing identifier provided by another earphone;
a connection request sending module 1103, configured to send a second connection request to a first headset, where the second connection request is used to establish a connection between the first headset and the sound source device;
and an audio data sending module 1104, configured to send audio data to the headphones in the group of headphone devices.
The application also provides a processing chip, and the processing chip is provided with the device shown in the embodiment. When this processing chip realizes in the earphone receiver, be used for reading the first sign of joining in marriage of earphone receiver to with first sign configuration of joining in marriage a group for first earphone, so that sound source equipment will be with the same a plurality of earphones discernment that the sign corresponds of joining in marriage a group for the earphone in same earphone equipment group, thereby carry out the audio data propelling movement of synchronization.
Referring to fig. 12, a schematic structural diagram of a computer device according to an exemplary embodiment of the present application is shown. The computer device comprises a processor 1210 and a memory 1220, the processor 1210 and the memory 1220 are connected through a bus 1230, and the processor 1210 is configured to execute computer instructions stored in the memory 1220, so as to implement the method for configuring the earphones in the earphone storage box, the method for connecting the earphones in the first earphone, or the method for connecting the first earphone in the audio source device, as described in the above aspect.
When the processor 1210 is configured to execute the computer instructions stored in the memory 1220 to implement the method for configuring the earphones in the earphone storage box as described above, as shown in fig. 12, the memory 1220 further stores a pairing identification corresponding to the computer device, and the pairing identification can be configured by the processor 1210 to earphones other than the computer device.
The embodiments of the present application also provide a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement all or part of the steps of the methods shown in the foregoing embodiments.
The present application also provides a computer program product, or computer program, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes all or part of the steps of the method shown in the above embodiments.
The present application also provides a computer program to be executed by a processor of a computer device to implement all or part of the steps of the methods shown in the above embodiments.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (16)

1. A method of configuring earphones in an earphone receiver, the method comprising:
acquiring a first instruction, wherein the first instruction is used for triggering the configuration of a first earphone;
reading a first matching identification of the earphone storage box;
configuring the first pairing identifier to the first headset; the first pairing identifier is used for indicating the sound source equipment to identify the first earphone as one earphone in an earphone equipment group corresponding to the first pairing identifier when the first earphone is connected with the sound source equipment; the sound source equipment is used for sending audio data to the earphones in the earphone equipment set.
2. The method of claim 1, wherein the fetching the first instruction comprises:
the first instruction is obtained in response to the first earpiece being placed within the earpiece receiving box.
3. The method of claim 2, wherein the obtaining the first instruction in response to the first headset being positioned within the headset receptacle comprises:
and responding to the first earphone being placed in the earphone containing box and meeting a preset condition, and acquiring the first instruction.
4. The method according to claim 3, characterized in that the predetermined condition comprises at least one of the following conditions:
receiving a first operation executed by a user on the earphone accommodating box;
the other earphone accommodating position except the earphone accommodating position where the first earphone is located in the earphone accommodating box is empty, and a second operation executed by a user on the earphone accommodating box is received;
the current matching identification of a second earphone in the earphone storage box is the same as the current matching identification of the first earphone, and a third operation executed by a user on the earphone storage box is received;
a second earphone is accommodated in the other earphone accommodating position except the earphone accommodating position where the first earphone is located in the earphone accommodating box; and
and the matching identification of the second earphone in the earphone storage box is the first matching identification.
5. The method of claim 1, wherein the headset receiver includes near field communication functionality; the obtaining a first instruction comprises:
and responding to the first earphone being positioned in the near field communication range of the earphone containing box, and acquiring the first instruction.
6. The method of claim 1, wherein the headset receiver and the first headset each include a wired communication interface; the obtaining a first instruction comprises:
and responding to the connection of the earphone storage box and the first earphone through the wired communication interface, and acquiring the first instruction.
7. The method of claim 1, further comprising:
and updating the first group matching identifier in response to acquiring the second instruction.
8. The method of claim 7, further comprising:
responding to a time interval between the last updated time of the first group identifier and the current time reaching a time interval threshold value, and acquiring the second instruction;
alternatively, the first and second electrodes may be,
and responding to the received fourth operation of the user, and acquiring the second instruction.
9. The method of claim 1, wherein said configuring the first group identity to the first headset comprises:
and in response to that the current matching identification of the first earphone is different from the first matching identification, updating the matching identification of the first earphone to the first matching identification.
10. The method according to any one of claims 1 to 9, wherein the first pairing group identity is a set identity resolution key, SIRK.
11. A method of connecting a headset in a first headset, the first headset being configured by a method according to any one of claims 1 to 10, the method comprising:
broadcasting connection information of the first headset;
establishing connection between the first earphone and the sound source equipment in response to receiving a first connection request sent by the sound source equipment based on the connection information;
providing the first pairing identification for the sound source equipment so that the sound source equipment can identify the first earphone as one earphone in an earphone equipment group corresponding to the first pairing identification;
and receiving audio data sent by the sound source equipment to the earphones in the earphone equipment set.
12. A method of connecting a first earpiece in an audio source device, the first earpiece being configured by a method according to any one of claims 1 to 10, the method comprising:
receiving connection information broadcast by the first earphone;
sending a first connection request based on the connection information, wherein the first connection request is used for establishing connection between the first earphone and the sound source equipment;
receiving the first pairing identification provided by the first headset;
identifying the first earphone as one earphone in the earphone equipment group corresponding to the first matching group identifier;
and sending audio data to the earphones in the earphone device group.
13. A method of connecting headphones in a first headphone, the first headphone being configured by a method according to any of claims 1 to 10, the method comprising:
broadcasting connection information and an analyzable identification of the first earphone;
establishing connection between the first earphone and the sound source equipment in response to receiving a second connection request sent by the sound source equipment based on the connection information; the second connection request is sent after the sound source equipment successfully analyzes the resolvable identifier through the first group matching identifier provided by other earphones and identifies the first earphone as one earphone in an earphone equipment group corresponding to the first group matching identifier;
and receiving audio data sent by the sound source equipment to the earphones in the earphone equipment set.
14. A method of connecting a first earpiece in an audio source device, the first earpiece being configured by a method according to any one of claims 1 to 10, the method comprising:
receiving connection information and an analyzable identifier broadcasted by the first earphone;
under the condition that the analytic identification is successfully analyzed through the first pairing identification provided by other earphones, identifying the first earphone as one earphone in an earphone equipment group corresponding to the first pairing identification;
sending a second connection request to a first earphone, wherein the second connection request is used for establishing connection between the first earphone and the sound source equipment;
and sending audio data to the earphones in the earphone device group.
15. An apparatus for deploying headphones in a headphone magazine, the apparatus comprising:
the earphone comprises a first instruction acquisition module, a first earphone configuration module and a second earphone configuration module, wherein the first instruction acquisition module is used for acquiring a first instruction which is used for triggering the configuration of a first earphone;
the identification reading module is used for reading a first matching identification of the earphone storage box;
a configuration module, configured to configure the first pairing identifier to the first headset; the first pairing identifier is used for indicating the sound source equipment to identify the first earphone as one earphone in an earphone equipment group corresponding to the first pairing identifier when the first earphone is connected with the sound source equipment; the sound source equipment is used for sending audio data to the earphones in the earphone equipment set.
16. A computer device, comprising a processor and a memory, wherein the processor and the memory are connected by a bus;
the processor is configured to execute computer instructions stored in the memory to implement the method of any of claims 1 to 14.
CN202110518581.8A 2021-05-12 2021-05-12 Method and device for configuring earphones in earphone storage box and computer equipment Pending CN115348494A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110518581.8A CN115348494A (en) 2021-05-12 2021-05-12 Method and device for configuring earphones in earphone storage box and computer equipment
PCT/CN2022/083151 WO2022237353A1 (en) 2021-05-12 2022-03-25 Method, apparatus, and device for configuring earphones in earphone holding case, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110518581.8A CN115348494A (en) 2021-05-12 2021-05-12 Method and device for configuring earphones in earphone storage box and computer equipment

Publications (1)

Publication Number Publication Date
CN115348494A true CN115348494A (en) 2022-11-15

Family

ID=83946503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110518581.8A Pending CN115348494A (en) 2021-05-12 2021-05-12 Method and device for configuring earphones in earphone storage box and computer equipment

Country Status (2)

Country Link
CN (1) CN115348494A (en)
WO (1) WO2022237353A1 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1887770A1 (en) * 2006-08-10 2008-02-13 Skyline Information Co., Ltd. Automatic pairing method for building up a connection between a Bluetooth-enabled headset and a master unit
CN109168101B (en) * 2018-11-16 2020-09-22 歌尔股份有限公司 Earphone box, earphone set and earphone connecting method
CN109600694B (en) * 2019-01-16 2020-08-11 歌尔科技有限公司 Wireless earphone pairing method and device, terminal and charging box
WO2021237415A1 (en) * 2020-05-25 2021-12-02 深圳市易优斯科技有限公司 Headset pairing method, headset control method, bluetooth headset storage apparatus, and medium
CN111629369B (en) * 2020-05-27 2022-11-04 歌尔科技有限公司 Bluetooth headset, pairing connection method and device thereof, and TWS headset
CN112492442A (en) * 2020-11-24 2021-03-12 江苏紫米电子技术有限公司 Connection switching method, device, equipment and storage medium of Bluetooth headset
CN112672245A (en) * 2020-11-30 2021-04-16 西安芯海微电子科技有限公司 Earphone control method, earphone box and computer readable storage medium

Also Published As

Publication number Publication date
WO2022237353A1 (en) 2022-11-17

Similar Documents

Publication Publication Date Title
US9578418B2 (en) System and method for controlling output of multiple audio output devices
CN110650408B (en) Earphone, anti-lost method, anti-lost system and computer readable storage medium
CN111447600A (en) Audio sharing method for wireless earphone, terminal device and storage medium
WO2016118314A1 (en) System and method for changing a channel configuration of a set of audio output devices
KR20210020542A (en) Method for supporting multiple links in bluetooth network environment and electronic device thereof
CN102867525A (en) Multi-channel audio processing method, audio playback terminal and audio receiving device
WO2024016948A1 (en) Information updating method and apparatus, audio sharing method and system, and electronic device
CN213339098U (en) Wireless transmitting device
US9723406B2 (en) System and method for changing a channel configuration of a set of audio output devices
CN108513196A (en) A kind of wireless headset and its matching method
CN111757306A (en) External playing method and system based on earphone charging box and readable storage medium
KR102456913B1 (en) Electronic device for performing device to device communication and method thereof
CN109787900B (en) Transmission method, device, equipment and machine readable medium
CN116761110B (en) Multi-point bluetooth headset control method, system, storage medium and equipment
CN116074679B (en) Method, device, equipment and storage medium for determining left and right states of intelligent earphone
CN115348494A (en) Method and device for configuring earphones in earphone storage box and computer equipment
CN108650592B (en) Method for realizing neck strap type surround sound and stereo control system
CN115580944A (en) Audio device connection method and device, storage medium and device
KR102639249B1 (en) Method for sharing channel information and electronic device therefor
EP3434025A1 (en) Method adapted to be implemented in a master device of a sound system, corresponding method adapted to be implemented in an audio rendering device of a sound system, corresponding master device, audio rendering device, system, computer readable program product and computer readable storage media
CN114727371A (en) Communication method and device, equipment and storage medium
CN110968233A (en) Music playing switching operation method, system, storage medium and equipment
EP4380197A1 (en) Device networking and sound channel configuration method and electronic device
CN204104122U (en) Wireless sound system and sound module applicable to same
CN117425141A (en) Bluetooth device connection method and device, terminal device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination