This application claims benefit of priority under 35 U.S.C. § 119 to Chinese Patent Application No. 202311007002.9, filed on Aug. 10, 2023, in the China National Intellectual Property Administration, the disclosure of which is incorporated by reference herein in its entirety.
The present disclosure relates generally to the field of communication, and more particularly, to an audio sharing method, and a user device and audio playing device for executing the audio sharing method.
Presently, when at least one audio playing device of a set of audio playing devices (e.g., an earphone pair) that may be connected via a short-range wireless communication technology (e.g., Bluetooth™, and the like) to an audio source electronic device (e.g., a first user device) needs to be switched to another audio source electronic device (e.g., a second user device), the at least one audio playing device may typically be switched over to as a set. That is, all the audio playing devices of the set of audio playing devices (e.g., the earphone pair) may be switched simultaneously when switching to the another audio source electronic device. However, switching a single audio playing device that belongs to a set of audio playing devices may not be supported by the related audio playing devices. Alternatively or additionally, as a distinct audio connection may be simultaneously required for each audio playing device when switching the at least one audio playing device, a number of audio links may be greater than the number of users sharing the audio playing device. For example, assuming that the audio playing devices comprise earphone pairs, a number of audio links required by the audio playing devices may be twice (e.g., two (2) times) the number of users sharing the audio playing devices. As a result, a switching resource overhead may be greater than that of one audio playing device and a small number of shared users. Alternatively or additionally, after the at least one audio playing device is switched to other audio source electronic devices, an audio message of the original audio source may not be received, which may cause a poor user experience.
Moreover, when a plurality of at least one audio playing devices (e.g., a plurality of earphone pairs) needs to be switched to a same audio source electronic device, a user may typically be required to make a one-to-one connection between the audio source electronic device and each audio playing device. Thus, when the number of audio playing devices in the plurality of at least one audio playing devices is significant, the user may need to perform a significant number of connection operations, further causing a poor user experience.
According to an aspect of the present disclosure, a method of audio sharing to be performed by a first user device is provided. The method includes advertising, by the first user device, an audio sharing message including a predetermined set identification, based on an indication from a user to share an audio content. The first user device having established a first short-range wireless connection with a first audio playing device of a plurality of audio playing devices. The method further includes receiving, by the first user device from a second audio playing device of the plurality of audio playing devices, an audio sharing confirmation message including the predetermined set identification and indicating that the second audio playing device has switched from an original set identification to the predetermined set identification based on the audio sharing message. The second audio playing device having been instructed to switch to the predetermined set identification through a second short-range wireless connection established with a second user device. The second audio playing device being at least one audio playing device of the second user device. The method further includes establishing, by the first user device, a third short-range wireless connection with the second audio playing device. The method further includes sending, by the first user device, an audio data packet of the audio content to the first audio playing device, using the first short-range wireless connection, and the second audio playing device, using the third short-range wireless connection.
In some embodiments, the method of audio sharing may further include sending, by the first user device to the first audio playing device, based on the indication from the user to share the audio content, a set identification switch message instructing the first audio playing device to switch from the original set identification to the predetermined set identification.
In some embodiments, the method of audio sharing may further include sending, by the first user device to the first audio playing device, based on another indication from the user to terminate the sharing of the audio content, a set identification restore message instructing the first audio playing device to restore the original set identification.
In some embodiments, the method of audio sharing may further include disconnecting, by the first user device, based on the another indication from the user to terminate the sharing of the audio content, the third short-range wireless connection with the second audio playing device.
According to an aspect of the present disclosure, a method of audio sharing to be performed by a second user device is provided. The method includes receiving, by the second user device from a first user device, an audio sharing message including a predetermined set identification. The audio sharing message having been advertised by the first user device based on an indication from a first user to share an audio content of a second user. The method further includes instructing a second audio playing device to switch from an original set identification to the predetermined set identification, causing the second audio playing device to advertise, after switching to the predetermined set identification, an audio sharing confirmation message including the predetermined set identification, and to receive, from the first user device using a first short-range wireless connection, an audio data packet of the audio content. The second audio playing device being at least one audio playing device of the second user device. The second user device having established a second short-range wireless connection with the second audio playing device.
In some embodiments, the method of audio sharing may further include disconnecting, by the second user device, the second short-range wireless connection with the second audio playing device, after the instructing of the second audio playing device to switch from the original set identification to the predetermined set identification. The disconnecting of the second short-range wireless connection may include disconnecting at least one Bluetooth Connected Isochronous Stream (CIS) connection.
In some embodiments, the method of audio sharing may further include receiving, from the second audio playing device, a set identification restore message indicating that the second user device has restored the original set identification, and establishing a third short-range wireless connection with the second audio playing device. The establishing of the third short-range wireless connection may include establishing at least another Bluetooth CIS connection.
According to an aspect of the present disclosure, a method of audio sharing to be performed by a second audio playing device is provided. The method includes receiving, by the second audio playing device from a second user device, an indication instructing the second audio playing device to switch from an original set identification to a predetermined set identification. The indication having been transmitted based on a first indication of a first user to share an audio content of a second user, the second audio playing device being at least one audio playing device of the second user device. The second audio playing device having established a first short-range wireless connection with the second user device. The method further includes switching, by the second audio playing device, from the original set identification to the predetermined set identification. The method further includes advertising, by the second audio playing device, an audio sharing confirmation message including the predetermined set identification. The method further includes establishing, by the second audio playing device, a second short-range wireless connection with a first user device. The method further includes receiving, by the second audio playing device from the first user device, an audio data packet of the audio content using the second short-range wireless connection.
In some embodiments, the method of audio sharing may further include disconnecting, by the second audio playing device, the first short-range wireless connection with the second user device, after the advertising of the audio sharing confirmation message. The disconnecting of the first short-range wireless connection may include disconnecting at least one Bluetooth CIS connection.
In some embodiments, the method of audio sharing may further include disconnecting, by the second audio playing device, the second short-range wireless connection with the first user device, based on a second indication of the first user to terminate the sharing of the audio content.
In some embodiments, the method of audio sharing may further include, based on a second indication of the first user to terminate the sharing of the audio content, restoring the original set identification and sending, to the second user device, a set identification restore message indicating that the second user device has restored the original set identification. The method may further include establishing a third short-range wireless connection with the second user device. The establishing of the third short-range wireless connection may include establishing at least another Bluetooth CIS connection.
According to an aspect of the present disclosure, a first user device is provided. The first user device includes a memory storing instructions and a processor communicatively coupled to the memory. The processor is configured to execute the instructions to advertise an audio sharing message including a predetermined set identification, based on an indication from a user to share an audio content. The first user device having established a first short-range wireless connection with a first audio playing device of a plurality of audio playing devices. The processor is further configured to execute the instructions to receiving, from a second audio playing device of the plurality of audio playing devices, an audio sharing confirmation message including the predetermined set identification and indicating that the second audio playing device has switched from an original set identification to the predetermined set identification based on the audio sharing message. The second audio playing device having been instructed to switch to the predetermined set identification through a second short-range wireless connection established with a second user device. The second audio playing device being at least one audio playing device of the second user device. The processor is further configured to execute the instructions to establish a third short-range wireless connection with the second audio playing device. The processor is further configured to execute the instructions to send an audio data packet of the audio content to the first audio playing device, using the first short-range wireless connection, and the second audio playing device, using the third short-range wireless connection.
In some embodiments, the processor of the first user device may be further configured to execute the instructions to send, to the first audio playing device, based on the indication from the user to share the audio content, a set identification switch message instructing the first audio playing device to switch from the original set identification to the predetermined set identification.
In some embodiments, the processor of the first user device may be further configured to execute the instructions to send, to the first audio playing device, based on another indication from the user to terminate the sharing of the audio content, a set identification restore message instructing the first audio playing device to restore the original set identification.
In some embodiments, the processor of the first user device may be further configured to execute the instructions to disconnect, based on the another indication from the user to terminate the sharing of the audio content, the third short-range wireless connection with the second audio playing device.
According to an aspect of the present disclosure, a second user device is provided. The second user device includes a memory storing instructions and a processor communicatively coupled to the memory. The processor is configured to execute the instructions to receive, from a first user device, an audio sharing message including a predetermined set identification. The audio sharing message having been advertised by the first user device, based on an indication from a first user to share an audio content of a second user. The processor is configured to execute the instructions to instruct a second audio playing device to switch from an original set identification to the predetermined set identification, causing the second audio playing device to advertise, after switching to the predetermined set identification, an audio sharing confirmation message including the predetermined set identification, and to receive, from the first user device using a first short-range wireless connection, an audio data packet of the audio content. The second audio playing device being at least one audio playing device of the second user device. The second user device having established a second short-range wireless connection with the second audio playing device.
In some embodiments, the processor of the second user device may be further configured to execute the instructions to disconnect the second short-range wireless connection with the second audio playing device. Disconnecting the second short-range wireless connection may include to disconnect at least one Bluetooth CIS connection.
In some embodiments, the processor of the second user device may be further configured to execute the instructions to receive, from the second audio playing device, a set identification restore message indicating that the second user device has restored the original set identification, and establish a third short-range wireless connection with the second audio playing device. Establishing the third short-range wireless connection may include to establish at least another Bluetooth CIS connection.
According to an aspect of the present disclosure, an audio playing device is provided. The audio playing device includes a memory storing instructions and a processor communicatively coupled to the memory. The processor is configured to execute the instructions to receive, from a second user device, an indication instructing the audio playing device to switch from an original set identification of the audio playing device to a predetermined set identification. The audio playing device being at least one audio playing device of the second user device. The audio playing device having established a first short-range wireless connection with the second user device. The processor is further configured to execute the instructions to switch from the original set identification of the audio playing device to the predetermined set identification. The processor is further configured to execute the instructions to advertise an audio sharing confirmation message including the predetermined set identification. The processor is further configured to execute the instructions to establish a second short-range wireless connection with a first user device. The processor is further configured to execute the instructions to receive, from the first user device, an audio data packet of an audio content using the second short-range wireless connection.
In some embodiments, the processor of the audio playing device may be further configured to execute the instructions to disconnect the first short-range wireless connection with the second user device. Disconnecting the first short-range wireless connection may include to disconnect at least one Bluetooth CIS connection.
In some embodiments, the processor of the audio playing device may be further configured to execute the instructions to disconnect the second short-range wireless connection with the first user device, based on a second indication of a user to terminate the sharing of the audio content.
In some embodiments, the processor of the audio playing device may be further configured to execute the instructions to, based on a second indication of a user to terminate the sharing of the audio content, restore the original set identification and send, to the second user device, a set identification restore message indicating that the second user device has restored the original set identification. The processor may be further configured to execute the instructions to establish a third short-range wireless connection with the second user device. Establishing the third short-range wireless connection may include to establish at least another Bluetooth CIS connection.
According to an aspect of the present disclosure, an audio sharing system is provided. The audio sharing system includes a first user device including a first memory storing first instructions, and a first processor communicatively coupled to the first memory, a second user device including a second memory storing second instructions, and a second processor communicatively coupled to the second memory, and a plurality of audio playing devices including a first audio playing device and a second audio playing device. The first processor is configured to execute the first instructions to advertise an audio sharing message including a predetermined set identification, based on an indication from a first user to share an audio content. The first user device having established a first short-range wireless connection with the first audio playing device. The first processor is further configured to execute the first instructions to receiving, from the second audio playing device, an audio sharing confirmation message including the predetermined set identification and indicating that the second audio playing device has switched from an original set identification to the predetermined set identification based on the audio sharing message. The second audio playing device having been instructed to switch to the predetermined set identification through a second short-range wireless connection established with a second user device. The second audio playing device being at least one audio playing device of the second user device. The first processor is further configured to execute the first instructions to establish a third short-range wireless connection with the second audio playing device. The first processor is further configured to execute the first instructions to send an audio data packet of the audio content to the first audio playing device, using the first short-range wireless connection, and the second audio playing device, using the third short-range wireless connection. The second processor is configured to execute the second instructions to receive, from the first user device, the audio sharing message including the predetermined set identification. The audio sharing message having been advertised by the first user device, based on the indication from the first user to share the audio content. The second processor is further configured to execute the second instructions to instruct the second audio playing device to switch from the original set identification to the predetermined set identification, causing the second audio playing device to advertise, after switching to the predetermined set identification, the audio sharing confirmation message including the predetermined set identification, and to receive, from the first user device using the first short-range wireless connection, the audio data packet of the audio content. The second user device having established the second short-range wireless connection with the second audio playing device. An audio playing device of the plurality of audio playing devices is configured to receive, from the second user device, an indication instructing the audio playing device to switch from the original set identification of the audio playing device to the predetermined set identification. The audio playing device having established the first short-range wireless connection with the second user device. The audio playing device is further configured to switch from the original set identification of the audio playing device to the predetermined set identification. The audio playing device is further configured to advertise the audio sharing confirmation message including the predetermined set identification. The audio playing device is further configured to establish the second short-range wireless connection with the first user device. The audio playing device is further configured to receive, from the first user device, the audio data packet using the second short-range wireless connection.
According to an aspect of the present disclosure, an electronic device is provided. The electronic device includes a memory on which computer executable instructions are stored and a processor, when executed by the processor, the instructions executing a method of audio sharing as described herein.
According to an aspect of the present disclosure, a computer-readable medium on which computer executable instructions are stored is provided. The computer executable instructions, when executed, executing a method of audio sharing as described herein.
According to the exemplary embodiment of the present disclosure, by advertising, scanning, configuring, switching and restoring a set identification, any number of audio playing devices may be switched efficiently and flexibly among user devices as audio sources. Moreover, since an audio may be shared with a single audio playing device of a plurality of audio playing devices through another user device, a plurality of audio links may be shared with a plurality of users with a relatively small overhead when compared to related audio playing devices. Consequently, audio reception may be maintained with a previously connected user device through an audio playing device of a plurality of audio playing devices that may not be connected with the another user device. Alternatively or additionally, after terminating the audio sharing, the audio playing device may automatically restore the connection with the previous user device without excessive operations of the user, and thus, may improve user convenience and may enhance user experience.
Additional aspects may be set forth in part in the description which follows and, in part, may be apparent from the description, and/or may be learned by practice of the presented embodiments.
The above and other aspects, features, and advantages of certain embodiments of the present disclosure may become more apparent from the following description taken in conjunction with the accompanying drawings, in which:
Hereinafter, various exemplary embodiments of the present disclosure are described with reference to the accompanying drawings, in which the same reference numerals are used to depict the same or similar elements, features, and structures. However, the present disclosure is not intended to be limited by the various embodiments described herein to a specific embodiment and it is intended that the present disclosure covers possible modifications, equivalents, and/or alternatives of the present disclosure, provided they come within the scope of the appended claims and their equivalents. The terms and words used in the following description and claims may not be limited to their dictionary meanings, but may be merely used to enable a clear and consistent understanding of the present disclosure. Accordingly, it may be apparent to those skilled in the art that the following description of various embodiments of the present disclosure may be provided for illustration purpose only and not for the purpose of limiting the present disclosure as defined by the appended claims and their equivalents.
It is to be understood that the singular forms include plural forms, unless the context clearly indicates otherwise. The terms “include”, “contain”, and “have”, as used herein, may indicate disclosed functions, operations, and/or the existence of elements, but may not exclude other functions, operations, or elements.
For example, the expressions “A or B”, or “at least one of A and/or B” may indicate A and B, and A or B. For another example, the expression “A or B” or “at least one of A and/or B” may indicate (1) A, (2) B, or (3) both A and B.
In various embodiments of the present disclosure, it is intended that when a component (e.g., a first component) is referred to as being “coupled” or “connected” with/to another component (e.g., a second component), the component may be directly connected to the another component or may be connected through another component (e.g., a third component). In another example, when a component (e.g., a first component) is referred to as being “directly coupled” or “directly connected” with/to another component (e.g., a second component), another component (e.g., a third component) may not exist between the component and the another component.
The expression “configured to”, used in describing various embodiments of the present disclosure, may be used interchangeably with expressions such as “suitable for”, “having the capacity to”, “designed to”, “adapted to”, “made to”, and “capable of”, for example, according to the situation. The term “configured to” may not necessarily indicate “specifically designed to” in terms of hardware. Instead, the expression “a device configured to . . . ” in some situations may indicate that the device and another device or part are “capable of . . . ”. For example, the expression “a processor configured to perform A, B, and C” may indicate a dedicated processor (e.g., an embedded processor) for performing a corresponding operation or a general purpose processor (e.g., a central processing unit (CPU), an application processor (AP)) for performing corresponding operations by executing at least one software program stored in a memory device.
The terms used herein may describe certain embodiments of the present disclosure, but may not be intended to limit the scope of other embodiments. Unless otherwise indicated herein, all terms used herein, including technical or scientific terms, may have the same meanings that are generally understood by a person skilled in the art. In general, terms defined in a dictionary should be considered to have the same meanings as the contextual meanings in the related art, and, unless clearly defined herein, should not be understood differently or as having an excessively formal meaning. In any case, even terms defined in the present disclosure may not be intended to be interpreted as excluding embodiments of the present disclosure.
Reference throughout the present disclosure to “one embodiment,” “an embodiment,” “an example embodiment,” or similar language may indicate that a particular feature, structure, or characteristic described in connection with the indicated embodiment is included in at least one embodiment of the present solution. Thus, the phrases “in one embodiment”, “in an embodiment,” “in an example embodiment,” and similar language throughout this disclosure may, but do not necessarily, all refer to the same embodiment.
It is to be understood that the specific order or hierarchy of blocks in the processes/flowcharts disclosed are an illustration of exemplary approaches. Based upon design preferences, it is understood that the specific order or hierarchy of blocks in the processes/flowcharts may be rearranged. Further, some blocks may be combined or omitted. The accompanying claims present elements of the various blocks in a sample order, and are not meant to be limited to the specific order or hierarchy presented.
Hereinafter, various embodiments of the present disclosure are described with reference to the accompanying drawings,
Referring to
In an optional or additional embodiment, in response to the indication of the user to share the audio, the first user device may send a set identification switch message to the first audio playing device. The set identification switch message may indicate to the first audio playing device to switch from its original set identification to the predetermined set identification.
At operation S120, the first user device may scan and/or recognize the audio sharing confirmation message. In an embodiment, the audio sharing confirmation message may include the predetermined set identification.
At operation S130, the first user device may establish a short-range wireless connection with the second audio playing device.
At operation S140, the first user device may send an audio data packet to the first audio playing device and the second audio playing device using the established short-range wireless connections.
In an optional or additional embodiment, in response to an indication of the user to terminate sharing of the audio content, the first user device may send a set identification restore message to the first audio playing device. The set identification restore message may indicate to the first audio playing device to restore its original set identification.
Alternatively or additionally, in response to the indication of the user to terminate sharing of the audio, the first user device may disconnect the short-range wireless connection with the second audio playing device.
In an embodiment, a predetermined period of time may be set for an operation in which the first user device scans and recognizes the audio sharing confirmation message and connects with the second audio playing device. That is, the first user device may be configured to receive the audio sharing confirmation message advertised by the second audio playing device within the predetermined period of time and to connect the audio playing device switched to the predetermined set identification after the end of the predetermined period of time.
Referring to
At operation S220, the second user device may instruct the second audio playing device to switch from its original set identification to the predetermined set identification. In an embodiment, the second audio playing device may advertise an audio sharing confirmation message after switching to the predetermined set identification. Alternatively or additionally, the second audio playing device may establish a short-range wireless connection with the first user device. For example, the second audio playing device may receive an audio data packet sent by the first user device, using the short-range wireless connection with the first user device. In an embodiment, the audio sharing confirmation message may include the predetermined set identification.
In an optional or additional embodiment, after the second user device has indicated to the second audio playing device to switch its original set identification to the predetermined set identification, the second user device may disconnect the short-range wireless connection with the second audio playing device. In an embodiment, the disconnecting of the short-range wireless connection may include disconnecting at least a Bluetooth CIS connection.
In an embodiment, the second user device may receive a set identification restore message sent by the second audio playing device. The set identification restore message may indicate that the second user device has restored the set identification. Alternatively or additionally, the second user device may establish a short-range wireless connection with the second audio playing device. In an embodiment, the establishing of the short-range wireless connection with the second audio playing device may include establishing at least a Bluetooth CIS connection.
Referring to
At operation S320, the second audio playing device may switch from its original set identification to the predetermined set identification.
At operation S330, the second audio playing device may advertise an audio sharing confirmation message. Alternatively or additionally, the second audio playing device may establish a short-range wireless connection with the first user device. In an embodiment, the audio sharing confirmation message may include the predetermined set identification.
At operation S340, the second audio playing device may receive an audio data packet sent by the first user device using the short-range wireless connection with the first user device.
In an embodiment, after the second audio playing device has advertised the audio sharing confirmation message, the second audio playing device may disconnect the short-range wireless connection with the second user device. For example, the disconnecting of the short-range wireless connection may include disconnecting at least a Bluetooth CIS connection.
In an optional or additional embodiment, in response to the indication of the user to terminate the sharing of the audio content, the second audio playing device may disconnect the short-range wireless connection with the first user device.
In another optional or additional embodiment, in response to the indication of the user to terminate the sharing of the audio content, the second audio playing device may restore an original set identification and send a set identification restore message to the second user device. For example, the set identification restore message may indicate that the second user device has restored the set identification, and/or establish a short-range wireless connection with the second user device. In an embodiment, the establishing of the short-range wireless connection may include establishing at least the Bluetooth CIS connection.
The audio sharing method, according to the exemplary embodiments of the present disclosure, shown in
Referring to
As shown in
In an embodiment, after the second user device has recognized the set identification SetT (422), the second user of the second user device may indicate to switch the third earphone to the set identification SetT (424) through an input (e.g., a touch input, a voice input, and the like). Alternatively or additionally, the second user device may send a set control message (426) including a set identification to the third earphone. Subsequently, the third earphone may switch the current set identification Set2 to the set identification SetT (428) based on the received set control message, and/or advertise the set identification SetT (430).
In an embodiment, the first user device may enter a scan mode to receive and/or recognize the set identification SetT advertised by the third earphone (432). For example, the first user device may enter the scan mode after the end of a predetermined period of time. For another example, the user may indicate when to enter the scan mode. However, the present disclosure is not limited thereto. For example, the first user device may enter the scan mode based on other conditions without departing from the scope of the present disclosure.
In an embodiment, the first user device may automatically connect all the scanned earphones having the set identification SetT (434 and 436). For example, the first user device may automatically connect all the scanned earphones having the set identification SetT after the end of the predetermined period of time, and/or the user may indicate when to enter the scan mode. However, the present disclosure it is not limited thereto. Alternatively or additionally, the earphone having the set identification SetT which is to be connected to the first user device may firstly disconnect from the second user device (such as, but not limited to, disconnecting the CIS) (438).
Continuing to refer to
After the end of sharing, the first user device may disconnect from the third earphone (e.g., disconnecting the ACL and CIS) (450 and 452), the third earphone may restore the set identification SetT to the set identification Set2 (456), and the first earphone and the second earphone may restore the set identification SetT to the set identification Set1 (454 and 458). Alternatively or additionally, the third earphone may send a message indicating set restoration to the second user device (460), so that the connection with the second user device may be restored (e.g., restoring the CIS) and an audio of the second user device may be received (462 and 464).
As shown in
It may be understood that the audio sharing method, according to an exemplary embodiment of the present disclosure, as shown in
The set advertising unit 510 may be configured to, in response to an instruction of a user to share an audio content, advertise an audio sharing message that may include a predetermined set identification, such that a second user device scanning the audio sharing message may indicate (e.g., instruct) to a second audio playing device to switch from its original set identification to the predetermined set identification, and the second audio playing device may advertise an audio sharing confirmation message. The second audio playing device may be at least one audio playing device of the second user device. The second audio playing device may establish a short-range wireless connection with the second user device.
The set recognition unit 520 may be configured to scan and recognize the audio sharing confirmation message. In an embodiment, the audio sharing confirmation message may include the predetermined set identification.
The connection unit 530 may be configured to establish a short-range wireless connection with the second audio playing device. Alternatively or additionally, the connection unit 530 may further be configured to, in response to an indication of the user to terminate sharing of the audio, disconnect the short-range wireless connection with the second audio playing device.
The data packet sending unit 540 may be configured to send an audio data packet to the first audio playing device and the second audio playing device using the established short-range wireless connections.
The sending unit 550 may be configured to, in response to an indication of the user to share the audio, send a set identification switch message to the first audio playing device. The set identification switch message may indicate (e.g., instruct) to the first audio playing device to switch from its original set identification to the predetermined set identification. Alternatively or additionally, the sending unit 550 may further be configured to, in response to the indication of the user to terminate sharing of the audio, send a set identification restore message to the first audio playing device. The set identification restore message may indicate (e.g., instruct) to the first audio playing device to restore its original set identification.
It should be noted that the number and arrangement of components of the first user device 500 shown in
The set recognition unit 610 may be configured to, in response to an indication of a user to share an audio content of another user, scan an audio sharing message advertised by the first user device. In an embodiment, the audio sharing message may include a predetermined set identification.
The set switch unit 620 may be configured to indicate to a second audio playing device to switch from its original set identification to the predetermined set identification. In an embodiment, the second audio playing device may advertise an audio sharing confirmation message after switching to the predetermined set identification. In an embodiment, the second audio playing device may establish a short-range wireless connection with the first user device. In such an embodiment, the second audio playing device may receive, via the short-range wireless connection, an audio data packet sent by the first user device. Alternatively or additionally, the audio sharing confirmation message may include the predetermined set identification.
The connection unit 630 may be configured to, after indicating the second audio playing device to switch from its original set identification to the predetermined set identification, disconnect the short-range wireless connection from the second audio playing device. In an embodiment, the disconnecting of the short-range wireless connection may include disconnecting at least a Bluetooth CIS connection. Alternatively or additionally, the connection unit may further be configured to establish a short-range wireless connection with the second audio playing device. In an embodiment, the establishing of the short-range wireless connection may include establishing at least the Bluetooth CIS connection.
The reception unit 640 may be configured to receive a set identification restore message sent by the second audio playing device. In an embodiment, the set identification restore message may indicate that the second user device has restored the set identification.
It should be noted that the number and arrangement of components of the second user device 600 shown in
The reception unit 710 may be configured to, in response to an indication of a user to share an audio of another user, receive an indication, sent by the second user device, of switching from a set identification to a predetermined set identification.
The set switch unit 720 may be configured to switch from an original set identification of the audio playing device to the predetermined set identification. Alternatively or additionally, the set switch unit 720 may further be configured to, in response to an indication of the user to terminate sharing of the audio, restore a set identification and/or send a set identification restore message to the second user device. In an embodiment, the set identification restore message may indicate that the second user device has restored the original set identification.
The set advertising unit 730 may be configured to advertise an audio sharing confirmation message. In an embodiment, the audio sharing confirmation message may include the predetermined set identification.
The connection unit 740 may be configured to establish a short-range wireless connection with the first user device. Alternatively or additionally, the connection unit 740 may further be configured to, after the second audio playing device has advertised the audio sharing confirmation message, disconnect the short-range wireless connection from the second user device. In an embodiment, the disconnecting of the short-range wireless connection may include disconnecting at least a Bluetooth CIS connection. In an optional or additional embodiment, the connection unit 740 may further be configured to, in response to an indication of the user to terminate sharing of the audio, disconnect the short-range wireless connection with the first user device. Alternatively or additionally, the connection unit 740 may further be configured to establish a short-range wireless connection with the second user device. In an embodiment, the establishing the short-range wireless connection may include establishing at least the Bluetooth CIS connection.
The data packet reception unit 750 may be configured to receive an audio data packet sent by the first user device using the short-range wireless connection with the first user device.
In an embodiment, each of the first user device 500 of
Referring to
Referring to
According to another exemplary embodiment of the present disclosure, there is provided an audio sharing system, including the first user device, the second user device and the audio playing device as described with reference to
According to another exemplary embodiment of the present disclosure, there is provided an electronic device, including a memory on which computer executable instructions are stored and a processor executing the methods described with reference to
According to another exemplary embodiment of the present disclosure, there is provided a computer-readable medium on which computer executable instructions are stored and executing the methods described with reference to
According to an exemplary embodiment of the present disclosure, by advertising, scanning, configuring, switching and restoring a set identification, a plurality of audio playing devices may be switched efficiently and flexibly among user devices as audio sources. Moreover, since an audio may be shared with a single audio playing device of a plurality of audio playing devices through another user device, a plurality of audio links may be shared with a plurality of users with a relatively small overhead when compared to related audio playing devices. Consequently, audio reception may be maintained with a previously connected user device through an audio playing device of a plurality of audio playing devices that may not be connected with the another user device. Alternatively or additionally, after terminating the audio sharing, the audio playing device may automatically restore the connection with the previous user device without excessive operations of the user, and thus, may improve user convenience and may enhance user experience.
According to an exemplary embodiment of the present disclosure, there is provided a computer readable storage medium storing instructions that, when executed by at least one processor, cause the at least one processor to execute the method of wirelessly sharing an audio, according to an exemplary embodiment of the present disclosure. The computer readable storage medium may include, but not be limited to, read-only memory (ROM), programmable ROM (PROM), electrically erasable PROM (EEPROM), random access memory (RAM), dynamic RAM (DRAM), static RAM (SRAM), flash, non-volatile memory (NVM), compactable disk ROM (CD-ROM), compact disc-recordable (CD-R or CD+R), compact disc-rewritable (CD-RW or CD+RW), digital versatile disc ROM (DVD-ROM), digital versatile disc-recordable (DVD-R or DVD+R), digital versatile disc-rewritable (DVD-RW or DVD+RW), digital versatile disc RAM (DVD-RAM), Blu-ray disc ROM (BD-ROM), Blu-ray disc-recordable (BD-R), BD-R Low-to-High (BD-R LTH), Blu-ray disc recordable (BD-RE), Blu-ray or optical disc storage, hard disk drive (HDD), solid state drive (SSD), card storage (such as, but not limited to, multimedia cards, secure digital (SD) cards or extreme digital (XD) cards), magnetic tapes, floppy disks, magneto-optical data storage devices, optical data storage devices, hard disks, solid state disks, and the like. The computer readable storage medium may be configured to store a computer program and any relevant data, data files and data structures in a non-transitory manner and to provide the computer program and any relevant data, data files and data structures to the processor or computer, so that the processor or computer may execute the computer program. The computer program stored in the above computer readable storage medium may run in an environment deployed in computer devices such as a client, a host, an agent device and a server. Alternatively or additionally, the computer program and any relevant data, data files and data structures may be distributed over networked computer systems, so that the computer program and any relevant data, data files and data structures are stored, accessed and executed in a distributed manner by one or more processors or computers.
Although the present disclosure has been illustrated and described with reference to specific exemplary embodiments, it is to be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the present disclosure as defined by the claims and the equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
202311007002.9 | Aug 2023 | CN | national |