Audio playing method and device, related equipment, and storage medium

By acquiring usage status information and sending playback commands through the storage device of the audio playback device, the problem of cumbersome operation of audio playback devices in the prior art is solved, and more efficient and convenient audio playback is achieved.

CN116501282BActive Publication Date: 2026-07-24GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GUANGDONG XIAOTIANCAI TECH CO LTD
Filing Date
2023-04-03
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

Existing audio playback devices require pairing with terminal devices, which makes operation cumbersome and reduces the efficiency and convenience of audio playback.

Method used

The system obtains usage status information from the audio playback device's storage device, determines the corresponding audio playback command, establishes a communication connection with the audio playback device, and sends the command to play the corresponding audio data.

Benefits of technology

It simplifies user operation steps, reduces the difficulty and complexity of operation, and improves the efficiency and convenience of audio playback devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116501282B_ABST
    Figure CN116501282B_ABST
Patent Text Reader

Abstract

An audio playing method and device, related equipment and storage medium, the method is applied to the containing device of the audio playing device, comprising: obtaining the use state information of the audio playing device, the use state information includes the device taking-out state information when the audio playing device leaves the containing device, and / or the wearing state information corresponding to the audio playing device; determining the audio playing instruction corresponding to the use state information; in the case that the containing device and the audio playing device establish a communication connection, the audio playing instruction is sent to the audio playing device, the audio playing instruction is used to instruct the audio playing device to play the first audio data corresponding to the use state information. The embodiment of the application can conveniently realize the playing of audio content based on the interactive operation of the user on the audio playing device and its containing device, thereby facilitating to reduce the complexity of user operation, and improving the efficiency and convenience of using the audio playing device to play audio.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic equipment technology, and in particular to an audio playback method and apparatus, related equipment, and storage medium. Background Technology

[0002] Currently, with the widespread use of audio playback devices (such as headphones and speakers), more and more users are using various audio playback devices to output various types of audio content. However, in practice, it has been found that audio playback devices are usually used as accessories to terminal devices (such as smartphones and smart wearable devices). In actual use, they often need to be connected and controlled through the terminal device, which is a relatively cumbersome process and greatly reduces the efficiency and convenience of using audio playback devices for audio playback. Summary of the Invention

[0003] This application discloses an audio playback method and apparatus, related devices, and storage medium, which can conveniently play audio content based on the user's interactive operation of the audio playback device and its storage device, thereby reducing the cumbersomeness of user operation and improving the efficiency and convenience of using the audio playback device for audio playback.

[0004] The first aspect of this application discloses an audio playback method applied to a accommodating device of an audio playback device, the method comprising:

[0005] Obtain the usage status information of the audio playback device, the usage status information including the device removal status information when the audio playback device leaves the containing device, and / or the wearing status information corresponding to the audio playback device;

[0006] Determine the audio playback command corresponding to the usage status information;

[0007] When the receiving device establishes a communication connection with the audio playback device, the audio playback instruction is sent to the audio playback device, the audio playback instruction being used to instruct the audio playback device to play the first audio data corresponding to the usage status information.

[0008] As an optional implementation, in the first aspect of the embodiments of this application, the audio playback device includes a first headset and a second headset, and the step of obtaining the usage status information of the audio playback device includes:

[0009] Record the device removal timestamps when the first and second earphones leave the containing device, respectively;

[0010] Based on the device removal timestamp, determine the device removal status information corresponding to the first and second earphones.

[0011] As an optional implementation, in the first aspect of this application embodiment, determining the device removal status information corresponding to the first and second earphones based on the device removal timestamp includes:

[0012] Determine the device usage time period to which the device removal timestamp belongs, and use the device usage time period as the device removal status information corresponding to the first earphone and the second earphone.

[0013] As an optional implementation, in the first aspect of this application embodiment, determining the device removal status information corresponding to the first and second earphones based on the device removal timestamp includes:

[0014] Based on the device removal timestamp, the device removal order of the first earphone and the second earphone leaving the receiving device is determined, and the device removal order is used as the device removal status information corresponding to the first earphone and the second earphone.

[0015] As an optional implementation, in the first aspect of the embodiments of this application, the audio playback device includes a first headset and a second headset, and the step of obtaining the usage status information of the audio playback device includes:

[0016] The device receives wearing status information corresponding to the first and / or second earphones transmitted by the first and / or second earphones, wherein the wearing status information is determined by the wearing timestamps recorded by the first and second earphones respectively.

[0017] As an optional implementation, in the first aspect of the embodiments of this application, determining the audio playback instruction corresponding to the usage status information includes:

[0018] If the usage status information indicates that the storage device is in the default setting state, obtain the default setting information of the storage device;

[0019] A first audio playback instruction corresponding to the default setting information is determined. The first audio playback instruction is used to instruct the audio playback device to play first audio data that matches the default setting state.

[0020] As an optional implementation, in the first aspect of the embodiments of this application, determining the audio playback instruction corresponding to the usage status information includes:

[0021] In the playback scene lookup table, search for the audio playback scene corresponding to the usage status information;

[0022] A second audio playback instruction corresponding to the audio playback scenario is determined, and the second audio playback instruction is used to instruct the audio playback device to play first audio data that matches the audio playback scenario.

[0023] As an optional implementation, in the first aspect of the embodiments of this application, determining the second audio playback instruction corresponding to the audio playback scenario includes:

[0024] Launch an application that matches the audio playback scenario, and generate a second audio playback instruction corresponding to the audio playback scenario based on the usage information of the application, wherein the usage information includes at least the application's historical playback records or default playback settings information.

[0025] As an optional implementation, in the first aspect of the embodiments of this application, the method further includes:

[0026] In response to a scene setting instruction for the accommodating device, the matching usage state corresponding to the scene setting instruction is obtained. The matching usage state includes a first device removal state when the audio playback device leaves the accommodating device, and / or a first wearing state corresponding to the audio playback device.

[0027] Obtain the playback scene to be matched corresponding to the scene setting instruction, and update the playback scene lookup table according to the usage status to be matched and the playback scene to be matched.

[0028] As an optional implementation, in the first aspect of the embodiments of this application, after sending the audio playback command to the audio playback device when the receiving device establishes a communication connection with the audio playback device, the method further includes:

[0029] Obtain the first audio data stored in the storage device that corresponds to the usage status information;

[0030] The first audio data is transmitted to the audio playback device.

[0031] A second aspect of this application discloses an audio playback device, a accommodating device for an audio playback device, the audio playback device comprising:

[0032] The information acquisition unit is used to acquire the usage status information of the audio playback device, the usage status information including the device removal status information when the audio playback device leaves the housing, and / or the wearing status information corresponding to the audio playback device;

[0033] The determining unit is used to determine the audio playback command corresponding to the usage status information;

[0034] The instruction sending unit is configured to send an audio playback instruction to the audio playback device when the accommodating device and the audio playback device establish a communication connection. The audio playback instruction is used to instruct the audio playback device to play first audio data corresponding to the usage status information.

[0035] The third aspect of this application discloses a storage device for an audio playback device, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor enables the processor to implement all or part of the steps in any audio playback method disclosed in the first aspect of this application.

[0036] The fourth aspect of this application discloses a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements all or part of the steps in any of the audio playback methods disclosed in the first aspect of this application.

[0037] Compared with related technologies, the embodiments of this application have the following beneficial effects:

[0038] The audio playback method in this embodiment can be applied to a housing device of an audio playback device. This housing device can acquire usage status information of the audio playback device, which may include device removal status information when the audio playback device leaves the housing device, and / or wearing status information corresponding to the audio playback device. Based on this, the housing device can determine an audio playback command corresponding to the aforementioned usage status information, and, when a communication connection is established between the housing device and the audio playback device, send the aforementioned audio playback command to the audio playback device. The audio playback command can be used to instruct the audio playback device to play first audio data corresponding to the aforementioned usage status information. Therefore, implementing this embodiment allows for convenient playback of audio content based on the user's interactive operation with the audio playback device and its housing device, greatly simplifying the steps required for the user to play specified audio content and reducing the difficulty and complexity of user operation. This audio playback method enables the audio playback device to play various types of audio content using the simplest possible user operation, effectively improving the efficiency and convenience of using the audio playback device for audio playback. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a schematic diagram illustrating an application scenario of the audio playback method disclosed in the embodiments of this application;

[0041] Figure 2 This is a flowchart illustrating an audio playback method disclosed in an embodiment of this application;

[0042] Figure 3 This is a schematic diagram of an audio playback device leaving a receiving device, as disclosed in an embodiment of this application;

[0043] Figure 4 This is a flowchart illustrating another audio playback method disclosed in an embodiment of this application;

[0044] Figure 5 This is a flowchart illustrating another audio playback method disclosed in the embodiments of this application;

[0045] Figure 6A This is a schematic diagram of a screen display interface of the accommodating device disclosed in the embodiments of this application;

[0046] Figure 6B This is a schematic diagram of another screen display interface of the accommodating device disclosed in the embodiments of this application;

[0047] Figure 6C This is a schematic diagram of another screen display interface of the accommodating device disclosed in the embodiments of this application;

[0048] Figure 7 This is a schematic diagram illustrating another application scenario of the audio playback method disclosed in the embodiments of this application;

[0049] Figure 8 This is a modular schematic diagram of an audio playback device disclosed in an embodiment of this application;

[0050] Figure 9 This is a modular schematic diagram of a accommodating device disclosed in an embodiment of this application. Detailed Implementation

[0051] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0052] It should be noted that the terms "comprising" and "having," and any variations thereof, in the embodiments of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices. Unless otherwise specified, the embodiments, implementation methods, and related technical features in this application can be combined and substituted with each other, and the explanations in different embodiments and implementation methods can be applied interchangeably. "A plurality" in this application refers to two or more.

[0053] This application discloses an audio playback method and apparatus, related devices, and storage medium, which can conveniently play audio content based on the user's interactive operation of the audio playback device and its storage device, thereby reducing the cumbersomeness of user operation and improving the efficiency and convenience of using the audio playback device for audio playback.

[0054] The following will be described in detail with reference to the accompanying drawings.

[0055] Please see Figure 1 , Figure 1 This is a schematic diagram illustrating an application scenario of the audio playback method disclosed in this application, including a user 10, an audio playback device 20, and a housing device 30 for the audio playback device 20. The audio playback device 20 can be placed within the housing device 30. When the user 10 needs to use the audio playback device 20, it can be removed from the housing device 30 and placed or worn. It is understood that the audio playback device 20 may include necessary communication and processing modules (not specifically illustrated), thereby establishing communication connections with other devices (such as the housing device 30 or other terminal devices) and thereby enabling the playback of specified audio content. In this application embodiment, the housing device 30 may also include necessary communication and processing modules (not specifically illustrated) to establish a communication connection with the audio playback device 20.

[0056] In some embodiments, the aforementioned accommodating device 30 may further include a screen 31 and a plurality of buttons 32. The screen 31 may be used to display various operating interfaces of the accommodating device 30, stored audio data, etc.; the buttons 32 may include, but are not limited to, power switch buttons, volume control buttons, voice switch buttons, etc., to fulfill different control requirements of the accommodating device 30. Optionally, the screen 31 may be a touchscreen, allowing the user 10 to control the accommodating device 30 by performing touch operations on the screen 31, including fulfilling some or all of the control requirements corresponding to the buttons 32. This embodiment does not impose specific limitations.

[0057] For example, the audio playback device 20 described above may include electronic devices such as headphones and speakers for audio output, and in particular, may include TWS (True Wireless Stereo) headphones. The housing device 30 may include electronic devices such as a charging case or storage box for holding the audio playback device 20. In some embodiments, taking headphones as an example, the corresponding housing device 30 may include a charging case, which may have storage and charging functions matching the headphones.

[0058] It should be noted that, Figure 1 The audio playback device 20 shown is an earphone, and the housing device 30 of the audio playback device 20 is a charging case (earphone case). This is just an example and should not be regarded as a limitation on the device types of the audio playback device 20 and the housing device 30 in the embodiments of this application.

[0059] In some embodiments, the audio playback device 20 may include a first earphone 21 and a second earphone 22 (e.g., ...). Figure 3 (As shown). When the first earphone 21 and / or the second earphone 22 leave the receiving device 30, a communication connection can be established with the receiving device 30. For example, the first earphone 21 and the second earphone 22 can each establish a communication connection with the receiving device 30; or, the first earphone 21 can establish a communication connection with the receiving device 30 as the main earphone, while simultaneously establishing a communication connection between the first earphone 21 and the second earphone 22, thereby achieving an indirect connection between the second earphone 22 and the aforementioned receiving device 30.

[0060] In related technologies, audio playback device 20 typically needs to be used in conjunction with other terminal devices (such as computers, tablets, smartphones, smartwatches, smart bracelets, etc.). That is, user 10 can directly establish a communication connection between the terminal device and the audio playback device 20, allowing the terminal device to transmit audio data or control commands to the audio playback device 20 to drive it to output audio content. For example, the aforementioned communication connection may include Bluetooth communication connections, such as classic Bluetooth connections and BLE (Bluetooth Low Energy) connections. The classic Bluetooth connection refers to a Bluetooth connection scheme implemented based on technologies (or modes) such as BR / EDR (Basic Rate / Enhanced Data Rate) and AMP (Alternate MAC / PHYs) specified in various versions of the Bluetooth protocol; the BLE connection refers to a Bluetooth connection scheme implemented based on LE (Low Energy) technology (or mode). Optionally, the aforementioned terminal device may also establish an LE Audio (Low Energy Audio) Bluetooth connection with the audio playback device 20 to achieve greater audio data transmission while maintaining low power consumption of the device as much as possible. This application embodiment does not impose specific limitations.

[0061] When user 10 wants to play specified audio content using audio playback device 20, they often need to perform numerous operations on the terminal device to enable audio playback device 20 to play the specified audio content stored on the terminal device. For example, user 10 typically needs to pair and connect the terminal device to audio playback device 20, launch the application (APP) installed on the terminal device, select the specified audio content, etc. This process is quite cumbersome and greatly reduces the efficiency and convenience of using audio playback device 20 for audio playback.

[0062] To address the aforementioned issues, in this embodiment, a communication connection can be established between the accommodating device 30 and the audio playback device 20, and the playback of specified audio content can be quickly achieved based on the interactive operations of the user 10 when using the audio playback device 20 and its accommodating device 30.

[0063] In this embodiment, the housing device 30 can acquire usage status information of the audio playback device 20. This usage status information may include device removal status information when the audio playback device 20 leaves the housing device 30, and / or wearing status information corresponding to the audio playback device 20. Based on this, the housing device 30 can determine an audio playback command corresponding to the aforementioned usage status information, and, when a communication connection is established between the housing device 30 and the audio playback device 20, send the aforementioned audio playback command to the audio playback device 20. This audio playback command can be used to instruct the audio playback device 20 to play first audio data corresponding to the aforementioned usage status information.

[0064] As can be seen, implementing the above-described audio playback method enables user 10 to conveniently play audio content through interactive operations using the audio playback device 20 and its storage device 30. This greatly simplifies the operational steps required for user 10 to play specified audio content, reducing the difficulty and complexity of operation for user 10. This audio playback method utilizes the simplest possible user operations to enable the audio playback device 20 to play various types of audio content, effectively improving the efficiency and convenience of using the audio playback device 20 for audio playback.

[0065] Please see Figure 2 , Figure 2 This is a flowchart illustrating an audio playback method disclosed in an embodiment of this application. This audio playback method can be applied to the storage device of the aforementioned audio playback device. Figure 2 As shown, the audio playback method may include the following steps:

[0066] 202. Obtain the usage status information of the audio playback device, which includes the device removal status information when the audio playback device leaves the storage device, and / or the wearing status information of the corresponding audio playback device.

[0067] In this embodiment, the receiving device of the audio playback device can obtain the usage status information of the audio playback device and determine the audio content to be played corresponding to the usage status information in subsequent steps. Therefore, based on different usage status information of the audio playback device, it can instruct the audio playback device to play different audio content. In some embodiments, the aforementioned usage status information can be used to determine corresponding audio playback instructions. The receiving device can instruct the audio playback device to play specified audio content by sending the aforementioned audio playback instructions to the audio playback device.

[0068] Optionally, the audio playback instructions corresponding to different usage status information can be preset at the factory of the audio playback device and the storage device, or they can be actively set by the user and stored in the storage module of the storage device.

[0069] For example, the above-mentioned usage status information may include device removal status information when the audio playback device leaves the containing device, and / or wearing status information corresponding to the audio playback device.

[0070] The device retrieval status information may include various types of information related to the interactive operation when the user removes the audio playback device from the storage device. For example, the device retrieval status information may include retrieval time (e.g., timestamp of retrieving a single audio playback device, time interval between retrieving multiple audio playback devices), retrieval order (e.g., the order in which multiple audio playback devices are retrieved), etc., which are not specifically limited in this embodiment.

[0071] In this embodiment, the storage device can detect when a user removes an audio playback device. Whenever the device detects that a user has removed an audio playback device (e.g., the charging circuit between the audio playback device and the storage device is disconnected), the device can set the removal identifier corresponding to that audio playback device to a first identifier value, indicating that the audio playback device is no longer in the storage device, and simultaneously record the corresponding removal timestamp. Optionally, whenever the device detects that a user has placed an audio playback device back into the storage device (e.g., the charging circuit between the audio playback device and the storage device is connected), the storage device can also set the corresponding removal identifier to a second identifier value. This second identifier value can be different from the first identifier value for differentiation. Based on this, according to the removal identifiers and timestamps corresponding to each audio playback device, the storage device can determine the removal time, removal order, and other information for each audio playback device, as the device removal status information corresponding to each audio playback device.

[0072] The aforementioned wearing status information may include various information related to the interactive operation when the user removes and puts on the audio playback device. For example, the wearing status information may include wearing time (e.g., timestamp of wearing a single audio playback device, time interval of wearing multiple audio playback devices, time interval from when the audio playback device is removed to when it is worn), wearing order (e.g., the order in which multiple audio playback devices are worn, the order in which the user wears the audio playback devices in their left and right ears), etc., and is not specifically limited in this embodiment.

[0073] In this embodiment, the audio playback device can record the wearing timestamp of itself when it is worn by the user, and transmit the wearing timestamp directly (e.g., the main earphone) or indirectly (e.g., from the earphone, through other audio playback devices in the same group, i.e., the main earphone) to the receiving device. Thus, the receiving device can determine the wearing time, wearing order and other information of each audio playback device according to the wearing timestamp of each audio playback device, as the wearing status information of the corresponding audio playback device.

[0074] 204. Determine the audio playback command corresponding to the above usage status information.

[0075] In this embodiment, to quickly play specified audio content based on user interaction with the audio playback device and its storage device, the storage device can determine a matching audio playback command based on the aforementioned usage status information. This audio playback command can then be used to instruct the audio playback device to play the specified audio content in subsequent steps. Different usage status information of the audio playback device can be matched with one or more audio playback commands, and the audio playback command matched with each usage status information can be uniquely determined and pre-set in the storage device or actively set by the user.

[0076] In some embodiments, the audio playback instruction may include an audio playback identifier corresponding to the usage status information, so that when the receiving device sends an audio playback instruction to the audio playback device, the audio playback device can be triggered to parse and obtain the corresponding audio playback identifier, and play the first audio data that matches the audio playback identifier.

[0077] For example, the audio playback identifier included in the aforementioned audio playback instruction can be used to represent a specified audio data file, or it can be used to represent a specified file format (e.g., MP3 format, AAC format, etc.), style type (e.g., ancient style, rock, etc.), file directory, file function (e.g., foreign language learning file, listening test file, etc.), and can form a corresponding relationship with the usage status information of the audio playback device. The storage device can extract the file identifier of the aforementioned specified audio data file, or an audio data file with the aforementioned specified file properties, and use it as the audio playback identifier to generate the corresponding audio playback instruction.

[0078] For example, the aforementioned audio playback identifier can also be used to represent a specified application (such as a music, radio, or learning application), including applications installed on the storage device or on other terminal devices that are communicatively connected to the audio playback device, and can also correspond to the usage status information of the audio playback device. The storage device can obtain the program launch instruction corresponding to the specified application, and then generate a corresponding audio playback instruction based on the program launch instruction.

[0079] 206. When a communication connection is established between the storage device and the audio playback device, the aforementioned audio playback instruction is sent to the audio playback device, which instructs the audio playback device to play the first audio data corresponding to the aforementioned usage status information.

[0080] In this embodiment, the receiving device can establish a communication connection with an audio playback device, such as a classic Bluetooth connection or a BLE (Bluetooth Low Energy) connection. Based on the above communication connection, the receiving device can send the audio playback command to the audio playback device to trigger the audio playback device to play the first audio data corresponding to the above usage status information.

[0081] In some embodiments, the audio playback device can parse the aforementioned audio playback instructions to obtain a corresponding audio playback identifier. Based on this, the audio playback device can determine whether subsequently received first audio data matches the aforementioned audio playback identifier, and if they match, play the first audio data. If they do not match, the audio playback device can return an error message to the receiving device. This error message can trigger the receiving device to generate a corresponding playback error prompt for output by the receiving device to remind the user.

[0082] In some embodiments, after sending the aforementioned audio playback instruction to the audio playback device, the receiving device may further send corresponding first audio data to the audio playback device. Specifically, the receiving device may obtain the first audio data stored therein that corresponds to the aforementioned usage status information, and then transmit the first audio data to the audio playback device.

[0083] For example, the aforementioned first audio data may include a specified audio data file with a target file identifier, or an audio data file with a specified file property (e.g., specified file format, style type, file directory, file function, etc.) having a target file identifier. The target file identifier may be determined by the aforementioned usage status information and included in the audio playback command sent by the storage device.

[0084] As another example, the aforementioned first audio data may also include audio data files played by a specified application installed on the storage device. The playback order can be determined based on the historical usage records and default settings of the specified application, and is not specifically limited in this embodiment. The specified application can be determined by the aforementioned usage status information, and the program launch instruction corresponding to the specified application can be included in the audio playback instruction sent by the storage device.

[0085] As an optional implementation, after the receiving device sends the aforementioned audio playback instruction to the audio playback device, the audio playback device can respond to the audio playback instruction by issuing a playback control instruction to other terminal devices communicatively connected to the audio playback device. This playback control instruction can be used to instruct the aforementioned terminal devices to transmit second audio data to the audio playback device for playback. Exemplarily, the aforementioned second audio data may also include a specified audio data file with a target file identifier stored on the terminal device, or an audio data file with a specified file nature having a target file identifier, or an audio data file played through a specified application installed on the terminal device, etc. This application embodiment does not specifically limit the scope of the data.

[0086] As can be seen, the audio playback method described in the above embodiments enables convenient playback of audio content based on the user's interactive operation with the audio playback device and its storage device. This greatly simplifies the operation steps required for the user to play specified audio content, reducing the difficulty and complexity of operation. Such an audio playback method can utilize the simplest possible user operation to enable the audio playback device to play various types of audio content, effectively improving the efficiency and convenience of using the audio playback device for audio playback.

[0087] Please see Figure 4 , Figure 4 This is a schematic flowchart of another audio playback method disclosed in an embodiment of this application. This audio playback method can be applied to the receiving device of the aforementioned audio playback device. The audio playback device may include a first headset and a second headset. Figure 4 As shown, the audio playback method may include the following steps:

[0088] 402. Record the device removal timestamps when the first and second earphones leave the storage device.

[0089] In this embodiment, the receiving device can detect the user's actions of removing the first and second earphones respectively, and record the corresponding removal timestamps as device removal timestamps when the first and second earphones leave the receiving device. For example, when the receiving device detects that the charging circuit between the first earphone and the receiving device is broken, it can obtain the clock information at this time and record it as the device removal timestamp corresponding to the first earphone; similarly, when the receiving device detects that the charging circuit between the second earphone and the receiving device is broken, it can also obtain the clock information at this time and record it as the device removal timestamp corresponding to the second earphone.

[0090] 404. Based on the device removal timestamps mentioned above, determine the device removal status information corresponding to the first and second earphones.

[0091] In this embodiment, the receiving device can determine the user's interaction with the audio playback device and its receiving device (i.e., the operation of taking out the first and / or second earphones) based on the device removal timestamp when the first and second earphones leave the receiving device, and then determine the removal time, removal order, etc. of the first and second earphones as device removal status information.

[0092] In some embodiments, after obtaining the device removal timestamp, the receiving device can determine the device usage time period to which the device removal timestamp belongs (e.g., morning, noon, or morning exercise period, lunch break period, evening self-study period, etc.) and use the device usage time period as the device removal status information corresponding to the first earphone and the second earphone.

[0093] In other embodiments, after obtaining the device removal timestamp, the receiving device can also determine the device removal order of the first and second earphones leaving the receiving device based on the time sequence of the device removal timestamps, and use the device removal order as the device removal status information corresponding to the first and second earphones.

[0094] Based on this, for different devices, the receiving device can determine the corresponding first audio playback command in subsequent steps to control the audio playback device to play the corresponding first audio data.

[0095] 406. Receive wearing status information corresponding to the first earphone and / or the second earphone transmitted by the first earphone and / or the second earphone, wherein the wearing status information is determined by the wearing timestamps recorded by the first earphone and the second earphone respectively.

[0096] In the embodiments of this application, the receiving device can establish a communication connection with the first earphone and / or the second earphone. Exemplarily, the receiving device can establish a communication connection with both the first and second earphones respectively, or, in the case of a master-slave pairing of the first and second earphones, establish a communication connection with the master earphone.

[0097] When a user wears both the first and second earpieces, each earpiece can record a timestamp of its own wearing time and send it to the receiving device. Optionally, in the case of a master-slave pairing of the first and second earpieces, the slave earpiece (e.g., the second earpiece) can send its recorded timestamp to the master earpiece (e.g., the first earpiece), which then sends the timestamps of both the first and second earpieces to the receiving device.

[0098] Based on this, the receiving device can determine the user's further interactive operations on the audio playback device (i.e., the operation of wearing the first and / or second headphones) according to the wearing timestamps corresponding to the first and second headphones, and thus determine the wearing time, wearing order, etc., of the first and second headphones as wearing status information. For different wearing status information, the receiving device can also determine the corresponding first audio playback command in subsequent steps to control the audio playback device to play the corresponding first audio data.

[0099] It is understood that in some embodiments, the receiving device can directly execute the subsequent step 408 after executing the above steps 402 and 404. That is, the receiving device can determine the first audio playback instruction based solely on the device status information corresponding to the audio playback device.

[0100] In other embodiments, the receiving device may not perform the above steps 402 and 404, but directly perform the subsequent step 408 after performing step 406. That is, the receiving device may determine the first audio playback command based solely on the wearing status information corresponding to the audio playback device.

[0101] In some embodiments, the receiving device may execute step 408 after performing steps 402, 404 and 406. That is, the receiving device may combine the device retrieved status information and the wearing status information to jointly determine the corresponding first audio playback command.

[0102] 408. When the status information indicates that the device is in the default setting state, obtain the default setting information of the device.

[0103] 410. Determine a first audio playback instruction corresponding to the above default setting information. The first audio playback instruction is used to instruct the audio playback device to play first audio data that matches the default setting state.

[0104] In this embodiment of the application, the above-mentioned usage status information may further include the setting status information of the storage device. The setting status information is stored in the local storage module of the storage device and may be called only by the storage device when determining the audio playback command. It may also be synchronized with the audio playback command to the audio playback device and other terminal devices that are communicatively connected to the audio playback device.

[0105] For example, the setting status information of the accommodating device may include a default setting status, a setting status based on "time" execution logic, a setting status based on "removal method" execution logic, etc. The accommodating device can determine the audio playback command corresponding to the other usage status information (including the device removal status information and / or wearing status information of the audio playback device) based on different setting status information.

[0106] In some embodiments, if the receiving device is in a default setting state, that is, if the usage status information obtained by the receiving device indicates that it is in a default setting state, the default setting information of the receiving device can be obtained. For example, the default setting information of the receiving device may include a specified audio data file that the receiving device should play in the default setting state, or a specified file type, or a specified application that is installed (on the receiving device or other terminal devices), etc. Based on this default setting information, the receiving device can determine first audio data that matches its default setting state.

[0107] Based on this, if the other usage status information indicates that the audio playback device has been removed and worn, the accommodating device can further determine the first audio playback instruction corresponding to the default setting information, and send the first audio playback instruction to the audio playback device to instruct the audio playback device to play the first audio data.

[0108] For example, please refer to Figure 6A , Figure 6A This is a schematic diagram of a screen display interface of the accommodating device disclosed in an embodiment of this application. For example... Figure 6A As shown, when the storage device is in the default setting state (the "Default" option is prominently displayed under the execution operation option), the first audio data matching the default setting state can be played when the user wears an audio playback device (including the first earphone and / or the second earphone) according to the pre-set execution logic.

[0109] It is understood that the above execution logic can be preset when the device leaves the factory, or it can be set by the user. No specific restrictions are imposed in this application embodiment.

[0110] In other embodiments, if the accommodating device is in a setting state that executes logic according to "time" or a setting state that executes logic according to "retrieval method", the corresponding audio playback command can also be determined based on other usage status information (including device retrieval status information and / or wearing status information of the audio playback device). For specific implementation details, please refer to the following embodiments.

[0111] 412. When a communication connection is established between the storage device and the audio playback device, the aforementioned first audio playback command is sent to the audio playback device.

[0112] Step 412 is similar to step 206 described above. It should be noted that after receiving the first audio playback instruction, the audio playback device can respond to the instruction by playing first audio data corresponding to the aforementioned usage status information (i.e., matching the default setting status). Optionally, the audio playback device can obtain the first audio data from the receiving device, or it can obtain second audio data for playback from other terminal devices communicatively connected to the audio playback device; this embodiment does not impose specific limitations.

[0113] As can be seen, the audio playback method described in the above embodiments can conveniently play audio content based on the user's interactive operation with the audio playback device and its receiving device. This greatly simplifies the operation steps required for the user to play specified audio content, reduces the difficulty and cumbersomeness of operation, and enables the audio playback device to play various types of audio content using the simplest possible user operation, effectively improving the efficiency and convenience of using the audio playback device for audio playback. Furthermore, based on the setting status information of the receiving device, the audio content to be played corresponding to the above interactive operation can be determined more accurately, which helps to improve the flexibility of the audio playback device in audio playback.

[0114] Please see Figure 5 , Figure 5 This is a flowchart illustrating another audio playback method disclosed in an embodiment of this application. This audio playback method can be applied to the receiving device of the aforementioned audio playback device. The audio playback device may include a first headset and a second headset. Figure 5 As shown, the audio playback method may include the following steps:

[0115] 502. Record the device removal timestamps when the first and second earphones leave the storage device.

[0116] 504. Based on the device removal timestamps mentioned above, determine the device removal status information corresponding to the first and second earphones.

[0117] 506. Receive wearing status information corresponding to the first and / or second earphones transmitted by the first and / or second earphones, wherein the wearing status information is determined by the wearing timestamps recorded by the first and second earphones respectively.

[0118] Steps 502, 504, and 506 are similar to steps 402, 404, and 406 described above, and will not be repeated here.

[0119] 508. In the playback scene lookup table, query the audio playback scene corresponding to the usage status information.

[0120] In this embodiment, corresponding audio playback scenarios can be pre-set for different usage status information of the audio playback device, and the above-mentioned correspondence can be stored as a playback scenario lookup table in the storage module of the accommodating device. Where the above-mentioned usage status information includes the device retrieval status information and / or wearing status information of the audio playback device, different usage status information can correspond to different audio playback scenarios.

[0121] For example, in the case where the aforementioned audio playback device includes a first earphone and a second earphone, the device corresponding to the first earphone and / or the second earphone can extract the different device usage time periods (such as 8:00AM-10:00AM, 20:00PM-21:00PM, etc.) to which the timestamp belongs, which can correspond to different audio playback scenarios, thereby allowing the accommodating device to instruct the first earphone and the second earphone to play the corresponding audio content. For example, as... Figure 6B As shown, when the device is in the setting state of executing logic according to "time" (the "time" option under the execution operation is prominently displayed), it can play the first audio data that matches the audio playback scenario during the specified device usage time period according to the set execution logic.

[0122] For example, the device removal order corresponding to the first and second earphones (e.g., removing the first earphone first, then the second earphone; or removing the second earphone first, then the first earphone, etc.) can also correspond to different audio playback scenarios, so that the accommodating device can instruct the first and second earphones to play corresponding audio content. For example, such as... Figure 6C As shown, when the receiving device is in the setting state of executing logic according to the "retrieval method" (the "retrieval method" under the execution operation option is prominently displayed), the first audio data matching the audio playback scenario can be played according to the set execution logic and the device retrieval order mentioned above.

[0123] For example, the wearing status information (including wearing time, wearing order, etc.) of the first and second earphones can also correspond to different audio playback scenarios, so that the storage device can also instruct the first and second earphones to play another corresponding audio content (not specifically illustrated).

[0124] Optionally, the above-mentioned different types of usage status information can be combined with each other, so that different combinations of usage status information can correspond to different audio playback scenarios.

[0125] It should be noted that the above-mentioned audio playback scenario may correspond to a specified audio data file that the audio playback device should play, or a specified file type, or a specified application that has been installed (on the storage device or other terminal device), etc., and is not specifically limited in this application embodiment.

[0126] It is understood that the aforementioned playback scene lookup table can be pre-set at the factory or actively set by the user. For example, in the case of active user setting, the storage device can respond to a scene setting command for the device (e.g., an operation command generated in response to a user's specified touch operation on the screen, a press operation on a specified button, etc.) and obtain the matching usage state corresponding to the scene setting command. This matching usage state can include a first device removal state when the audio playback device (including the first earphone and / or the second earphone) leaves the storage device, and / or a first wearing state corresponding to the audio playback device. Based on this, the storage device can further obtain the playback scene to be matched corresponding to the aforementioned scene setting command, and update the playback scene lookup table already stored in the storage device according to the matching usage state and the matching playback scene, thereby enabling active setting of the playback scene lookup table.

[0127] 510. Determine a second audio playback instruction corresponding to the above-mentioned audio playback scenario. The second audio playback instruction is used to instruct the audio playback device to play the first audio data that matches the audio playback scenario.

[0128] In this embodiment, the receiving device can determine a second audio playback instruction corresponding to the aforementioned audio playback scenario, and send the second audio playback instruction to the audio playback device in subsequent steps to instruct the audio playback device to play the first audio data matching its audio playback scenario. The first audio data may include a specified audio data file stored on the receiving device that matches the aforementioned audio playback scenario, or an audio data file of a specified file type, or an audio data file played through a specified application installed on the receiving device, etc., and is not specifically limited in this embodiment.

[0129] In some embodiments, taking the specified application as an example, the accommodating device can launch an application that matches the audio playback scenario and generate a second audio playback instruction corresponding to the audio playback scenario based on the application's usage information (such as the application's historical playback records or default playback settings). The second audio playback instruction can be used to instruct the audio playback device to output the audio data actually played by the application.

[0130] 512. When a communication connection is established between the receiving device and the audio playback device, the aforementioned second audio playback command is sent to the audio playback device.

[0131] Step 512 is similar to step 206 above. It should be noted that after receiving the second audio playback instruction, the audio playback device can respond to the second audio playback instruction by playing the first audio data corresponding to the above usage status information (i.e., matching the audio playback scenario). The first audio data can be sent to the audio playback device by the receiving device.

[0132] As an optional implementation method, such as Figure 7 As shown, the audio playback device 20 (including the first earphone 21 and the second earphone 22) can also establish a communication connection with the terminal device 40. Optionally, the receiving device 30 can also establish a communication connection with the terminal device 40. After the receiving device 30 sends the aforementioned audio playback command to the audio playback device 20 (e.g., the first earphone 21 as the main earphone), the audio playback device 20 can respond to the audio playback command by issuing a corresponding playback control command to the terminal device 40. In response to the playback control command, the terminal device 40 can transmit second audio data corresponding to the aforementioned usage status information (i.e., matching the audio playback scenario) to the audio playback device 20 for the audio playback device 20 to play the second audio data.

[0133] For example, the second audio data mentioned above may include a specified audio data file that matches the audio playback scenario stored on the terminal device 40, or an audio data file with a specified file nature, or an audio data file played by a specified application installed on the terminal device 40, etc., which are not specifically limited in this embodiment.

[0134] For example, the terminal device 40 described above may include various devices or systems with communication functions, such as computers, tablets, smartphones, smartwatches, smart bracelets, etc., and is not specifically limited in this embodiment. It should be noted that... Figure 7 The terminal device 40 shown is a smartphone. This is merely an example and should not be considered as a limitation on the device type of the terminal device 40 in the embodiments of this application.

[0135] As can be seen, the audio playback method described in the above embodiments can conveniently play audio content based on the user's interactive operation with the audio playback device and its receiving device. This greatly simplifies the operation steps required for the user to play specified audio content, reduces the difficulty and cumbersomeness of operation, and enables the audio playback device to play various types of audio content using the simplest possible user operation, effectively improving the efficiency and convenience of using the audio playback device for audio playback. Furthermore, based on the setting status information of the receiving device and the pre-set playback scenario lookup table, the audio content to be played by the audio playback device can be reasonably determined for different usage scenarios, which helps to further improve the flexibility of the audio playback device in audio playback.

[0136] The methods in the embodiments of this application have been described in detail above. The apparatus in the embodiments of this application will be described below with reference to the accompanying drawings.

[0137] Please see Figure 8 , Figure 8 This is a modular schematic diagram of an audio playback device disclosed in an embodiment of this application. The audio playback device can be the aforementioned accommodating device, or a device applied within the aforementioned accommodating device. In some embodiments, the audio playback device accommodating the accommodating device may include a first headset and a second headset. For example... Figure 8 As shown, the audio playback device may include an information acquisition unit 801, a determination unit 802, and an instruction sending unit 803, wherein:

[0138] The information acquisition unit 801 is used to acquire the usage status information of the audio playback device, which includes the device removal status information when the audio playback device leaves the housing, and / or the wearing status information of the audio playback device.

[0139] The determining unit 802 is used to determine the audio playback command corresponding to the above-mentioned usage status information;

[0140] The instruction sending unit 803 is used to send the aforementioned audio playback instruction to the audio playback device when a communication connection is established between the accommodating device and the audio playback device. The audio playback instruction is used to instruct the audio playback device to play the first audio data corresponding to the aforementioned usage status information.

[0141] As can be seen, the audio playback device described in the above embodiments can conveniently play audio content based on the user's interactive operation with the audio playback device and its storage device, thereby greatly simplifying the operation steps required for the user to play specified audio content and reducing the difficulty and cumbersomeness of operation. Such an audio playback device can achieve playback of various types of audio content using the simplest possible user operation, effectively improving the efficiency and convenience of using the audio playback device for audio playback.

[0142] In one embodiment, if the audio playback device includes a first earphone and a second earphone, the information acquisition unit 801 may include a time recording subunit (not shown) and an information determination subunit, wherein:

[0143] The time recording subunit is used to record the device removal timestamps when the first and second earphones leave the housing device, respectively.

[0144] The information determination subunit is used to determine the device retrieval status information corresponding to the first and second earphones based on the device retrieval timestamps mentioned above.

[0145] In one embodiment, the aforementioned information determining subunit can be specifically used to determine the device usage time period to which the device removal timestamp belongs, and use the device usage time period as the device removal status information corresponding to the first earphone and the second earphone.

[0146] In another embodiment, the aforementioned information determination subunit can also be used to determine the device removal order of the first and second earphones leaving the receiving device based on the device removal timestamp, and use the device removal order as the device removal status information corresponding to the first and second earphones.

[0147] In one embodiment, the information acquisition unit 801 may further include an information receiving subunit (not shown), wherein:

[0148] The information receiving subunit is used to receive the wearing status information corresponding to the first earphone and / or the second earphone transmitted by the first earphone and / or the second earphone. The wearing status information is determined by the wearing timestamps recorded by the first earphone and the second earphone respectively.

[0149] In one embodiment, the determining unit 802 described above can be specifically used for:

[0150] If the above usage status information indicates that the storage device is in the default setting state, obtain the default setting information of the storage device;

[0151] A first audio playback instruction corresponding to the default setting information is determined. This first audio playback instruction is used to instruct the audio playback device to play first audio data that matches the aforementioned default setting state.

[0152] In another embodiment, the determining unit 802 described above can also be used for:

[0153] In the playback scenario lookup table, search for the audio playback scenario that corresponds to the above usage status information;

[0154] A second audio playback instruction corresponding to the audio playback scenario is determined. This second audio playback instruction is used to instruct the audio playback device to play first audio data that matches the aforementioned audio playback scenario.

[0155] In one embodiment, the determining unit 802, when determining the second audio playback instruction corresponding to the audio playback scenario, may specifically include:

[0156] Launch the application that matches the audio playback scenario, and generate a second audio playback instruction corresponding to the aforementioned audio playback scenario based on the application's usage information. The aforementioned usage information may include at least the application's historical playback records or default playback settings.

[0157] In one embodiment, the audio playback device may further include a status acquisition unit (not shown) and an update unit, wherein:

[0158] The status acquisition unit is used to respond to a scenario setting instruction for the accommodating device and acquire the matching usage status corresponding to the scenario setting instruction. The matching usage status includes a first device removal status when the audio playback device leaves the accommodating device, and / or a first wearing status corresponding to the audio playback device.

[0159] Retrieve the playback scene to be matched corresponding to the scene setting instruction, and update the playback scene lookup table based on the above-mentioned usage status and playback scene to be matched.

[0160] In one embodiment, the audio playback device may further include a data acquisition unit (not shown) and a data transmission unit, wherein:

[0161] The data acquisition unit is used to acquire the first audio data stored in the accommodating device that corresponds to the aforementioned usage status information;

[0162] The data transmission unit is used to transmit the aforementioned first audio data to the audio playback device.

[0163] As can be seen, the audio playback device described in the above embodiments can conveniently play audio content based on the user's interactive operation with the audio playback device and its receiving device. This greatly simplifies the operation steps required for the user to play specified audio content, reduces the difficulty and cumbersomeness of operation, and enables the audio playback device to play various types of audio content using the simplest possible user operation, effectively improving the efficiency and convenience of using the audio playback device for audio playback. In addition, based on the setting status information of the receiving device, the audio content to be played corresponding to the above interactive operation can be determined more accurately. Furthermore, combined with a pre-set playback scenario lookup table, the audio content to be played can be further rationally determined for different usage scenarios, which helps to improve the flexibility of the audio playback device in audio playback.

[0164] Please see Figure 9 , Figure 9 This is a modular schematic diagram of a housing device for an audio playback device disclosed in an embodiment of this application. For example... Figure 9 As shown, the accommodating device may include:

[0165] Memory 901 storing executable program code;

[0166] Processor 902 coupled to memory 901;

[0167] The processor 902 can call the executable program code stored in the memory 901 to execute all or part of the steps in any of the audio playback methods described in the above embodiments.

[0168] Furthermore, embodiments of this application disclose a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program enables a computer to perform all or part of the steps in any of the audio playback methods described in the above embodiments.

[0169] Furthermore, this application further discloses a computer program product that, when run on a computer, enables the computer to perform all or part of the steps in any of the audio playback methods described in the above embodiments.

[0170] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. This program can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0171] The above provides a detailed description of an audio playback method and apparatus, related devices, and storage medium disclosed in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An audio playback method, characterized in that, A receiving device applied to an audio playback device, the method comprising: Obtain the usage status information of the audio playback device, the usage status information including the device removal status information when the audio playback device leaves the containing device, and / or the wearing status information corresponding to the audio playback device; Determine the audio playback command corresponding to the usage status information; When the receiving device establishes a communication connection with the audio playback device, the audio playback instruction is sent to the audio playback device, and the audio playback instruction is used to instruct the audio playback device to play the first audio data corresponding to the usage status information; The audio playback device includes a first earphone and a second earphone. Obtaining the usage status information of the audio playback device includes: Record the device removal timestamps when the first and second earphones leave the containing device, respectively; Based on the device removal timestamp, determine the device removal status information corresponding to the first earphone and the second earphone; The step of determining the device retrieval status information corresponding to the first and second earphones based on the device retrieval timestamp includes: Determine the device usage time period to which the device removal timestamp belongs, and use the device usage time period as the device removal status information corresponding to the first and second earphones; or, Based on the device removal timestamp, the device removal order of the first earphone and the second earphone leaving the receiving device is determined, and the device removal order is used as the device removal status information corresponding to the first earphone and the second earphone.

2. The method according to claim 1, characterized in that, The audio playback device includes a first earphone and a second earphone. Obtaining the usage status information of the audio playback device includes: The device receives wearing status information corresponding to the first and / or second earphones transmitted by the first and / or second earphones, wherein the wearing status information is determined by the wearing timestamps recorded by the first and second earphones respectively.

3. The method according to claim 1 or 2, characterized in that, The step of determining the audio playback instruction corresponding to the usage status information includes: If the usage status information indicates that the storage device is in the default setting state, obtain the default setting information of the storage device; A first audio playback instruction corresponding to the default setting information is determined. The first audio playback instruction is used to instruct the audio playback device to play first audio data that matches the default setting state.

4. The method according to claim 1 or 2, characterized in that, The step of determining the audio playback instruction corresponding to the usage status information includes: In the playback scene lookup table, search for the audio playback scene corresponding to the usage status information; A second audio playback instruction corresponding to the audio playback scenario is determined, and the second audio playback instruction is used to instruct the audio playback device to play first audio data that matches the audio playback scenario.

5. The method according to claim 4, characterized in that, The determination of the second audio playback instruction corresponding to the audio playback scenario includes: Launch an application that matches the audio playback scenario, and generate a second audio playback instruction corresponding to the audio playback scenario based on the usage information of the application, wherein the usage information includes at least the application's historical playback records or default playback settings information.

6. The method according to claim 4, characterized in that, The method further includes: In response to a scene setting instruction for the accommodating device, the matching usage state corresponding to the scene setting instruction is obtained. The matching usage state includes a first device removal state when the audio playback device leaves the accommodating device, and / or a first wearing state corresponding to the audio playback device. Obtain the playback scene to be matched corresponding to the scene setting instruction, and update the playback scene lookup table according to the usage status to be matched and the playback scene to be matched.

7. The method according to claim 1 or 2, characterized in that, When the receiving device and the audio playback device establish a communication connection, after sending the audio playback command to the audio playback device, the method further includes: Obtain the first audio data stored in the storage device that corresponds to the usage status information; The first audio data is transmitted to the audio playback device.

8. An audio playback device, characterized in that, A accommodating device for an audio playback device, the audio playback device comprising: The information acquisition unit is used to acquire the usage status information of the audio playback device, the usage status information including the device removal status information when the audio playback device leaves the housing, and / or the wearing status information corresponding to the audio playback device; The determining unit is used to determine the audio playback command corresponding to the usage status information; The instruction sending unit is configured to send the audio playback instruction to the audio playback device when the accommodating device and the audio playback device establish a communication connection. The audio playback instruction is used to instruct the audio playback device to play the first audio data corresponding to the usage status information. The audio playback device includes a first earphone and a second earphone. The information acquisition unit is specifically used to record the device removal timestamps when the first earphone and the second earphone leave the housing device; and to determine the device removal status information corresponding to the first earphone and the second earphone based on the device removal timestamps. The information acquisition unit is specifically used to determine the device usage time period to which the device removal timestamp belongs, and to use the device usage time period as the device removal status information corresponding to the first earphone and the second earphone; or, based on the device removal timestamp, to determine the device removal order in which the first earphone and the second earphone leave the containing device, and to use the device removal order as the device removal status information corresponding to the first earphone and the second earphone.

9. A accommodating device for an audio playback device, characterized in that, The method includes a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.