CN117692886A - Device connection method, device, electronic device and storage medium - Google Patents

Device connection method, device, electronic device and storage medium Download PDF

Info

Publication number
CN117692886A
CN117692886A CN202211058467.2A CN202211058467A CN117692886A CN 117692886 A CN117692886 A CN 117692886A CN 202211058467 A CN202211058467 A CN 202211058467A CN 117692886 A CN117692886 A CN 117692886A
Authority
CN
China
Prior art keywords
audio data
playing
electronic device
target audio
bluetooth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211058467.2A
Other languages
Chinese (zh)
Inventor
包建全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202211058467.2A priority Critical patent/CN117692886A/en
Priority to PCT/CN2023/104970 priority patent/WO2024045877A1/en
Publication of CN117692886A publication Critical patent/CN117692886A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a device connection method, a device, an electronic device and a storage medium. The method comprises the steps that a low-power Bluetooth connection is established between the first electronic device and the Bluetooth device, and the method comprises the following steps: under the condition that the first electronic equipment plays the first target audio data, first playing capability information of the Bluetooth equipment is obtained, the first playing capability information is used for indicating the audio type supported to play by the Bluetooth equipment to the first electronic equipment, and a playing strategy of the first target audio data is determined according to the first playing capability information and the audio type of the first target audio data. According to the method and the device, the low-power consumption Bluetooth connection between the Bluetooth device and the Bluetooth device is established, the playing capability information of the Bluetooth device is obtained, and the playing strategy for the played audio data is determined according to the playing capability information and the audio type of the audio data played by the Bluetooth device, so that the audio playing effect and the user experience can be improved.

Description

Device connection method, device, electronic device and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a device connection method, a device, an electronic device, and a storage medium.
Background
With the development of science and technology, electronic devices are increasingly widely used, and have more and more functions, and become one of the necessities in daily life. At present, the electronic device can play the audio data output by the Bluetooth device, however, the transmission failure of the audio data between the electronic device and the Bluetooth device is easy to occur, so that the audio playing effect is poor, and the use experience of a user is poor.
Disclosure of Invention
In view of the above, the present application proposes a device connection method, a device, an electronic device, and a storage medium, so as to solve the above problem.
In a first aspect, an embodiment of the present application provides a method for connecting devices, which is applied to a first electronic device, where the first electronic device establishes a bluetooth low energy connection with a bluetooth device, and the method includes: acquiring first playing capability information of the Bluetooth device under the condition that the first electronic device plays first target audio data, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device; and determining a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data.
In a second aspect, an embodiment of the present application provides a connection method of a device, which is applied to a bluetooth device, where the bluetooth device establishes a bluetooth low energy connection with a first electronic device, and the method includes: and sending first playing capability information of the Bluetooth device to the first electronic device, so that the first electronic device determines a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition of playing the first target audio data, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device.
In a third aspect, an embodiment of the present application provides a device connection apparatus, which is applied to a first electronic device, where the first electronic device establishes a bluetooth low energy connection with a bluetooth device, and the apparatus includes: the playing capability information acquisition module is used for acquiring first playing capability information of the Bluetooth device under the condition that the first electronic device plays first target audio data, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device; and the play strategy determining module is used for determining the play strategy of the first target audio data according to the first play capability information and the audio type of the first target audio data.
In a fourth aspect, an embodiment of the present application provides a connection device of a device, which is applied to a bluetooth device, where the bluetooth device establishes a bluetooth low energy connection with a first electronic device, and the device includes: the information sending module is used for sending first playing capability information of the Bluetooth device to the first electronic device so that the first electronic device can determine a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition that the first target audio data is played, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device.
In a fifth aspect, embodiments of the present application provide an electronic device comprising a memory coupled to a processor and a processor, the memory storing instructions that when executed by the processor perform the above-described method.
In a sixth aspect, embodiments of the present application provide a computer readable storage medium having program code stored therein, the program code being callable by a processor to perform the above method.
According to the method, the device, the electronic equipment and the storage medium for connecting the equipment, under the condition that the first electronic equipment plays the first target audio data, the first playing capability information of the Bluetooth equipment is obtained, the first playing capability information is used for indicating the audio type supported by the Bluetooth equipment to play to the first electronic equipment, and according to the first playing capability information and the audio type of the first target audio data, the playing strategy of the first target audio data is determined, so that the playing capability information of the Bluetooth equipment is obtained by establishing low-power Bluetooth connection with the Bluetooth equipment, and according to the playing capability information and the audio type of the audio data played by the Bluetooth equipment, the playing strategy of the audio data played by the Bluetooth equipment is determined, and therefore the audio playing effect and the user experience can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates an application environment diagram of a connection method that may be used for devices provided by embodiments of the present application;
FIG. 2 illustrates yet another application environment schematic diagram of a connection method that may be used for devices provided by embodiments of the present application;
fig. 3 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application;
fig. 4 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application;
fig. 5 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application;
fig. 6 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application;
FIG. 7 is a diagram showing an example of a method of connecting devices according to an embodiment of the present application;
FIG. 8 is a diagram showing an example of a method of connecting devices according to an embodiment of the present application;
fig. 9 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application;
FIG. 10 is a diagram showing an example of a method of connecting devices according to an embodiment of the present application;
FIG. 11 is a flow chart illustrating a method for connecting devices according to an embodiment of the present disclosure;
FIG. 12 is a diagram showing an example of a method of connecting devices provided in an embodiment of the present application;
FIG. 13 shows a block diagram of a connection device of an apparatus according to an embodiment of the present application;
FIG. 14 shows a block diagram of a connection arrangement of a device according to an embodiment of the present application;
fig. 15 shows a block diagram of an electronic device for performing a method of connecting devices according to an embodiment of the present application;
fig. 16 shows a storage unit for storing or carrying program codes for implementing the connection method of the device according to the embodiment of the present application.
Detailed Description
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application.
With the abundance of living content, the number of electronic devices owned by users is increasing, and technologies of bluetooth devices such as bluetooth sound and bluetooth headphones (such as true wireless bluetooth headphones (True Wireless Stereo, TWS)) are rapidly advancing. In order to facilitate the work and life of users, the current bluetooth device can support to connect a plurality of electronic devices at the same time, and how to process service switching of a plurality of electronic devices through one bluetooth device is a problem that is very important for user experience at present. Meanwhile, with the development of bluetooth technology, bluetooth low energy Audio (Bluetooth Low Energy Audio, BLE Audio) technology will bring wireless Audio services with lower power consumption, lower cost, higher quality and lower delay to people, which requires that bluetooth devices supporting LE Audio can also be connected to multiple electronic devices at the same time, and can be flexibly switched among the several electronic devices.
The inventor finds that even after the Bluetooth device supporting LE Audio establishes low-power consumption Bluetooth connection with the electronic device, audio data played by the electronic device is difficult to ensure continuous transmission to the Bluetooth device for output, so that the playing effect of the Audio data is poor, and the use experience of a user is poor. In order to solve the problems, the inventor discovers through long-term research and proposes a method, a device, an electronic device and a storage medium for connecting devices, which are provided by the embodiment of the invention, through establishing low-power consumption Bluetooth connection with Bluetooth devices, playing capability information of the Bluetooth devices is obtained, and according to the playing capability information and the audio type of audio data played by the inventor, a playing strategy for the played audio data is determined, so that the audio playing effect and the user experience can be improved. The connection method of the specific device is described in detail in the following embodiments.
An application environment of a connection method applicable to the device provided in the embodiment of the present application will be described below.
Referring to fig. 1, fig. 1 is a schematic view of an application environment of a connection method of a device according to an embodiment of the present application. As shown in fig. 1, the first electronic device 100 and the bluetooth device 200 are included, where the first electronic device 100 may include a smart phone, a tablet computer, a notebook computer, a personal computer, an audio-visual device, a wearable electronic device, and other audio source devices, which are not limited herein, the bluetooth device 200 may include an audio playing device such as a bluetooth sound device, a bluetooth headset, and where the bluetooth device 200 is a bluetooth headset, the bluetooth headset may include one bluetooth device, or may include a pair of bluetooth devices, which are not limited herein. As one way, a BLE connection may be established between the first electronic device 100 and the bluetooth device 200, based on which information interaction may be performed between the first electronic device 100 and the bluetooth device 200.
Referring to fig. 2, fig. 2 is a schematic view of another application environment of a connection method of a device according to an embodiment of the present application. As shown in fig. 2, the first electronic device 100, the bluetooth device 200, and the second electronic device 300 are included, where the second electronic device may include a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein. As a way, bluetooth devices 200 and first electronic device 100 and second electronic device 200 are connected by bluetooth with low energy, and based on this, bluetooth devices 200 can perform information interaction with first electronic device 100 and also perform information interaction with second electronic device 300.
The bluetooth device 200 is a bluetooth device supporting LE Audio, the first electronic device 100 is an electronic device supporting LE Audio, and the second electronic device 300 is an electronic device supporting LE Audio. As one way, the bluetooth device 200 supports a server role (unicasting server) of LE Audio, the first electronic device 100 supports a client role (unicasting client) of LE Audio, and the second electronic device 300 supports a client role (unicasting client) of LE Audio. The unicast server is another one of LE Audio BAP roles and is mainly used for transmitting the broadcast and establishing the connection with the unicast client.
Referring to fig. 3, fig. 3 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application. The method is used for acquiring the playing capability information of the Bluetooth equipment by establishing low-power Bluetooth connection with the Bluetooth equipment, and determining the playing strategy aiming at the played audio data according to the playing capability information and the audio type of the audio data played by the Bluetooth equipment, so that the audio playing effect and the user experience can be improved. In a specific embodiment, the connection method of the device is applied to the connection apparatus 400 of the device as shown in fig. 13 and the first electronic device 100 (fig. 15) configured with the connection apparatus 400. The specific flow of the present embodiment will be described below by taking the first electronic device as an example, and it will be understood that the first electronic device applied in the present embodiment may include a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein. As will be described in detail below with respect to the flow shown in fig. 3, the method for connecting the device may specifically include the following steps:
step S110: and under the condition that the first electronic equipment plays the first target audio data, acquiring first playing capability information of the Bluetooth equipment, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth equipment to the first electronic equipment.
In this embodiment, a BLE connection may be established between the first electronic device and the bluetooth device.
As one way, the bluetooth device may be placed in the earphone box, and when detecting that the earphone box is uncapped, a BLE connection between the first electronic device and the bluetooth device may be established. As yet another way, the bluetooth device may be placed in the earphone box, and when it is detected that the bluetooth device is removed from the earphone box, a BLE connection between the first electronic device and the bluetooth device may be established. As yet another way, the bluetooth device may be placed in the earphone box, and when it is detected that the bluetooth device is taken out of the earphone box, whether the bluetooth device is in a wearing state may be detected, and when it is detected that the bluetooth device is in the wearing state, a BLE connection between the first electronic device and the bluetooth device may be established.
In this embodiment, under the condition that the first electronic device and the bluetooth device establish BLE connection, whether the first electronic device plays audio data or not may be detected, where if it is detected that the first electronic device plays first target audio data, first playing capability information of the bluetooth device may be obtained, where the first playing capability information is used to indicate to the first electronic device that the bluetooth device supports audio types that are played.
The audio types supported by the bluetooth device may include a music media type, a call communication type, a game type, and the like, which are not limited herein.
In one manner, if the first electronic device is detected to play the first target audio data, the first electronic device may acquire the private protocol parameter of the bluetooth device, and based on the private protocol parameter, the first electronic device may know the audio type supported by the bluetooth device to play.
As yet another approach, if the first electronic device is detected to play the first target audio data, the first electronic device may obtain an available audio context (Available Audio Contexts) of the bluetooth device, based on which the first electronic device may be aware of the audio types supported by the bluetooth device for play.
In this embodiment, the bluetooth device may transmit a low-power-consumption audio broadcast, and the first electronic device may receive the low-power-consumption audio broadcast transmitted by the bluetooth device, so as to obtain information such as a bluetooth address of the bluetooth device from the low-power-consumption audio broadcast, and then establish a BLE connection with the bluetooth device based on the information such as the bluetooth address of the bluetooth device.
As a way, the bluetooth device may be placed in the earphone box, when detecting that the earphone box is uncapped, the low-power-consumption audio broadcast may be emitted, and when the first electronic device receives the low-power-consumption audio broadcast, the first electronic device may establish a BLE connection with the bluetooth device in response to the low-power-consumption audio broadcast. As yet another approach, the bluetooth device may be placed in a headset box, and when it is detected that the bluetooth device is removed from the headset box, a low power audio broadcast may be transmitted, and when the low power audio broadcast is received by the first electronic device, a BLE connection with the bluetooth device may be established in response to the low power audio broadcast. As still another way, the bluetooth device may be placed in the earphone box, and when it is detected that the bluetooth device is taken out from the earphone box, whether the bluetooth device is in a wearing state may be detected, and when it is detected that the bluetooth device is in the wearing state, a low-power-consumption audio broadcast may be emitted, and when the first electronic device receives the low-power-consumption audio broadcast, a BLE connection with the bluetooth device may be established in response to the low-power-consumption audio broadcast.
In this embodiment, in the case of establishing a BLE connection with a bluetooth device, the first electronic device may read a relevant attribute of the bluetooth device based on the BLE connection, where the relevant attribute may include a state of an available audio context of the bluetooth device and an audio stream endpoint. Correspondingly, under the condition that the first electronic device acquires the state of the available audio context of the Bluetooth device, the state of the available audio context can be saved so as to be used as a reference for whether a connection synchronous stream with the Bluetooth device is established later, so that the rationality of the first electronic device for initiating a synchronous stream connection request is improved, and the power consumption of the first electronic device is reduced.
Step S120: and determining a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data.
In this embodiment, when determining the first playing capability of the bluetooth device, the first electronic device may determine the playing policy of the first target audio data according to the first playing capability information and the audio type of the first target audio data.
In some embodiments, the first electronic device may obtain an audio type of the first target audio data when playing the first target audio data, and the first electronic device may obtain an audio type supported by the bluetooth device when determining the first playing capability of the bluetooth device. Based on the comparison result, the first electronic device can compare the audio type supported by the bluetooth device to the audio type of the first target audio data, and determine the playing strategy of the first audio data according to the comparison result.
As an implementation manner, if the comparison result indicates that the bluetooth device does not support playing the audio type of the first target audio data, the first target audio data may not be output through the bluetooth device; if the comparison result indicates that the Bluetooth device supports playing the audio type of the first target audio data, the first target audio data can be output through the Bluetooth device.
According to the method for connecting the devices, under the condition that the first electronic device plays the first target audio data, first playing capability information of the Bluetooth device is obtained, the first playing capability information is used for indicating the audio type supported by the Bluetooth device to play to the first electronic device, and according to the first playing capability information and the audio type of the first target audio data, a playing strategy of the first target audio data is determined, so that the playing capability information of the Bluetooth device is obtained through establishing low-power Bluetooth connection with the Bluetooth device, and according to the playing capability information and the audio type of the audio data played by the Bluetooth device, the playing strategy of the audio data which is aimed at the playing is determined, and therefore the audio playing effect and the user experience can be improved.
Referring to fig. 4, fig. 4 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application. The method is applied to the first electronic device, and will be described in detail with respect to the flow shown in fig. 4, where the method for connecting devices specifically includes the following steps:
step S210: and under the condition that the first electronic equipment plays the first target audio data, acquiring first playing capability information of the Bluetooth equipment, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth equipment to the first electronic equipment.
The specific description of step S210 is referred to step S110, and will not be repeated here.
Step S220: and if the first playing capability information indicates that the Bluetooth device supports playing the audio type of the first target audio data, the first target audio data is sent to the Bluetooth device.
In this embodiment, if it is determined that the first playback capability information indicates that the bluetooth device supports playback of the audio type of the first target audio data, the first target audio data may be sent to the bluetooth device to output the first target audio data through the bluetooth device. For example, assuming that the audio type of the first target audio data is "music type" and the first playback capability information indicates that the bluetooth device supports "music type", the first target audio data may be transmitted to the bluetooth device.
In some embodiments, determining that the first playback capability information indicates that the bluetooth device supports playback of the audio type of the first target audio data may establish a connection synchronization stream between the first electronic device and the bluetooth device to send the first target audio data to the bluetooth device over the connection synchronization stream. The connection synchronization stream may include CIS, BIS, etc., and is not limited herein.
As an implementation manner, if it is determined that the first playback capability information indicates that the bluetooth device supports playback of the audio type of the first target audio data, the first electronic device may initiate a synchronous stream connection request to the bluetooth device, and the bluetooth device may establish a connection synchronous stream with the first electronic device in response to the synchronous stream connection request. In the case where it is determined that a connection synchronization stream between the bluetooth device and the first electronic device has been established, then the first target audio data of the first electronic device may be transmitted to the bluetooth device based on the connection synchronization stream to output the first target audio data through the bluetooth device.
Step S230: and if the first playing capability information indicates that the Bluetooth equipment does not support playing the audio type of the first target audio data, monitoring the change of the first playing capability information of the Bluetooth equipment.
In this embodiment, if it is determined that the first playback capability information indicates that the bluetooth device does not support playing the audio type of the first target audio data, the first target audio data may not be sent to the bluetooth device, and a change of the first playback capability information of the bluetooth device may be monitored. For example, assuming that the audio type of the first target audio data is "music type" and the first playback capability information indicates that the bluetooth device does not support "music type", the first target audio data may not be transmitted to the bluetooth device and a change in the first playback capability information of the bluetooth device is monitored.
As one way, if it is determined that the first playback capability information indicates that the bluetooth device does not support playing the audio type of the first target audio data, the first target audio data may be played out, and a change of the first playback capability information of the bluetooth device may be monitored. Wherein the playing out the first target audio data may include: the first target audio data is played through a speaker of the first electronic device.
As yet another way, if it is determined that the first playback capability information indicates that the bluetooth device does not support playback of the audio type of the first target audio data, playback of the first target audio data may be paused, and a change in the first playback capability information of the bluetooth device may be monitored. Wherein pausing the playing of the first target audio data may include: the playing is paused at the current playing of the first target audio data, the playing of the first audio playing data is exited, etc., without limitation.
As still another way, if it is determined that the first playback capability information indicates that the bluetooth device does not support playback of the audio type of the first target audio data, the first target audio data may be sent to other bluetooth devices, where the first electronic device establishes a bluetooth low energy connection with the other bluetooth devices. The first electronic device may establish low-power consumption bluetooth connection with the bluetooth device and other bluetooth devices, respectively, and then, when determining that the first playback capability information indicates that the bluetooth device does not support playing the audio type of the first target audio data, determine whether the other bluetooth device supports playing the audio type of the first target audio data, and if determining that the other bluetooth device supports playing the audio type of the first target audio data, send the first target audio data to the other bluetooth device so as to output the first target audio data through the other bluetooth device.
In some embodiments, the first playback capability information may include an available audio context, and the playback policy of the first target audio data may be determined according to state information of an audio type of the available audio context corresponding to the audio type of the first target audio data.
After the bluetooth device supporting LE Audio establishes BLE connection with the electronic device, the electronic device may obtain an "available Audio context (such as media, conversational, game) of the bluetooth device and an Audio stream endpoint (Audio Stream Endpoint, ASE) supported by the bluetooth device, including Sink ASE and Source ASE, by querying a service (service) and an attribute (attribute) of the bluetooth device, and may configure the corresponding ASE to a corresponding state (i.e., QOS Configured state). When the electronic device and the Bluetooth device have business, a connection synchronous stream is created between the electronic device and the Bluetooth device, and the ASE state is changed into a corresponding state (i.e. Streaming state), and then the audio data can be transmitted in the connection synchronous stream. When the "available audio context" of the bluetooth device is "available" (for example, media in available audio contexts is "YES") and is sent to the currently connected electronic device, the currently connected electronic device may establish a connection synchronization stream with the bluetooth device; when the "available audio context" of the bluetooth device is "unavailable" (e.g., media in available audio contexts is "NO") and is sent to the currently connected electronic device, the electronic device will not establish a connection sync stream with the bluetooth device.
In this embodiment, a BLE connection is established between the first electronic device and the bluetooth device, and the first electronic device may obtain relevant information of the bluetooth device from the bluetooth device based on the BLE connection, for example, the first electronic device may obtain ASE conditions supported by the bluetooth device from the bluetooth device based on the BLE connection, status information of audio types in an available audio context of the bluetooth device, and so on.
In some implementations, the available audio context of the bluetooth device may include a plurality of audio types therein, wherein the plurality of audio types may include a first audio type, a second audio type, a third audio type … …, and an nth audio type. The state information of the audio type in the available audio context of the bluetooth device may include state information of each audio type in the available audio context of the bluetooth device, for example, state information of a first audio type, state information of a second audio type, state information of a third audio type … …, and state information of an nth audio type. In this embodiment, the state information of the audio type in the available audio context is used to indicate whether the audio type in the available audio context is available, i.e., the state information of the audio type in the available audio context is "available/YES", the state information indicating the audio type in the available audio context is an available state, the state information indicating the audio type in the available audio context is "unavailable/NO", and the state information indicating the audio type in the available audio context is an unavailable state.
In some implementations, the first electronic device, upon determining the audio type of the first target audio data, can then detect state information for the audio type corresponding to the audio type of the first target audio data in an available audio context of the bluetooth device. If the state information of the audio type corresponding to the audio type of the first target audio data in the available audio context of the bluetooth device is detected to be in an unavailable state, the audio type of the first target audio data can be determined, the bluetooth device cannot provide the output of the audio data for the first electronic device, and the first electronic device can play the first target audio data outwards, pause playing or play the first target audio data through other bluetooth devices.
For example, assuming that the audio type of the first target audio data is media, state information of media in an available audio context of the bluetooth device may be detected. If the state information of media in the available audio context of the bluetooth device is detected to be NO, it may be determined that the bluetooth device cannot provide the first electronic device with output of the first target audio data for the media, and the first electronic device may process the first target audio data in a manner of playing out, pausing playing, playing through other bluetooth devices, and the like.
In some embodiments, the state change of the available audio context of the bluetooth device may be monitored while the first target audio data is being played, paused, played by other bluetooth devices, etc., i.e., the change of the state information of the audio type corresponding to the audio type of the first target audio data in the available audio context of the bluetooth device may be monitored. As an implementation manner, the bluetooth device is always connected with the first electronic device, the bluetooth device monitors a state change of an available audio context of the bluetooth device, when the state change of the available audio context of the bluetooth device is monitored, the state of the available audio context of the bluetooth device can be updated, the updated state of the available audio context is sent to the first electronic device based on the BLE connection, and accordingly, the first electronic device can determine whether state information of an audio type corresponding to the audio type of the first target audio data in the available audio context is switched from an unavailable state to an available state based on the updated state of the available audio context.
In some embodiments, the first electronic device may monitor the state change of the available audio context in real time, may monitor the state change of the available audio context at preset time intervals, may monitor the state change of the available audio context at preset time points, or may monitor the state change of the available audio context at other preset rules, etc., which is not limited herein.
As one way, the first electronic device may include a bluetooth module and an audio module, and the bluetooth module may transmit the state of the available audio context of the bluetooth device to the audio module if the state of the available audio context of the bluetooth device is acquired. The audio module can determine the audio type of the first target audio data played by the audio module, judge whether the state information of the audio type corresponding to the audio type of the first target audio data in the available audio context of the Bluetooth device is in an available state, and if the state information is determined to be in an unavailable state, play the first target audio data outwards, pause or play the first target audio data through other Bluetooth devices, and inform the Bluetooth module to monitor the state change of the available audio context.
In some implementations, the state of the audio type corresponding to the audio type of the first target audio data in the available audio context of the bluetooth device being the unavailable state may include: an audio type of the audio type corresponding to the first target audio data in the available audio context of the bluetooth device is occupied by the second electronic device. The bluetooth device may further establish BLE connection with the second electronic device, and the second electronic device establishes a connection synchronization stream with the bluetooth device earlier than the first electronic device, so as to transmit third target audio data of the second electronic device, which is the same as the first target audio data in audio type. At this time, the bluetooth device may update the state of the audio type corresponding to the audio type of the first target audio data in the available audio context thereof from the available state to the unavailable state, and send the updated state to the first electronic device, and the first electronic device may consider the state of the audio type corresponding to the audio type of the first target audio data in the available audio context of the bluetooth device to be the unavailable state.
In some implementations, the state of the first audio scene in the available audio context of the bluetooth device as the unavailable state may include: the audio type corresponding to the audio type of the second target audio data in the available audio context of the bluetooth device is occupied by the second electronic device, wherein the audio type corresponding to the audio type of the second target audio data has a higher priority than the audio type corresponding to the audio type of the first target audio data. The Bluetooth device may also establish a BLE connection with the second electronic device, and the second electronic device establishes a connection synchronization stream with the Bluetooth device earlier than the first electronic device, so as to transmit second target audio data of the second electronic device. At this time, the bluetooth device may update the states of the audio type corresponding to the audio type of the second target audio data and the audio type corresponding to the audio type of the first target audio data in the available audio context thereof from the available state to the unavailable state, and send the updated states to the first electronic device, and the first electronic device may consider the state of the audio type corresponding to the audio type of the first target audio data in the available audio context of the bluetooth device to be the unavailable state.
Step S240: and if the monitored first playing capability information of the Bluetooth device indicates that the Bluetooth device is switched from the audio type which does not support playing the first target audio data to the audio type which supports playing the first target audio data, the first target audio data is sent to the Bluetooth device.
In this embodiment, in the process of monitoring the change of the first playing capability information by the first electronic device, if it is monitored that the first playing capability information indicates that the bluetooth device switches from an audio type that does not support playing the first target audio data to an audio type that supports playing the first target audio data, the first target audio data may be sent to the bluetooth device, so as to output the first target audio data through the bluetooth device. For example, assuming that the audio type of the first target audio data is "music type", and the first playback capability information indicates that the bluetooth device switches from not supporting "music type" to supporting "music type", the first target audio data may be transmitted to the bluetooth device.
In some embodiments, determining that the first playback capability information indicates that the bluetooth device switches from an audio type that does not support playback of the first target audio data to an audio type that supports playback of the first target audio data may establish a connection synchronization stream between the first electronic device and the bluetooth device to send the first target audio data to the bluetooth device over the connection synchronization stream.
As a way, the first electronic device may include a bluetooth module and an audio module, where the bluetooth module monitors a state change of the available audio context, and when monitoring a state of the updated available audio context sent by the bluetooth device based on the BLE connection, the audio module may synchronize the state of the updated available audio context to the audio module, and the audio module detects whether the state of the updated available audio context indicates that the bluetooth device does not support playing of the audio type of the first target audio data to an audio type that supports playing of the first target audio data, and if the state of the available audio context indicates that the bluetooth device does not support playing of the audio type of the first target audio data to an audio type that supports playing of the first target audio data, the bluetooth module is notified to establish a connection synchronization stream with the bluetooth device. The first electronic device may initiate a synchronous stream connection request to the bluetooth device, and the bluetooth device may establish a connection synchronous stream with the first electronic device in response to the synchronous stream connection request. In the case where it is determined that a connection synchronization stream between the bluetooth device and the first electronic device has been established, then the first target audio data of the first electronic device may be transmitted to the bluetooth device based on the connection synchronization stream to output the first target audio data through the bluetooth device.
According to the method for connecting the devices, under the condition that the first electronic device plays the first target audio data, first playing capability information of the Bluetooth device is obtained, the first playing capability information is used for indicating the audio type supported by the Bluetooth device to play to the first electronic device, if the first playing capability information indicates that the Bluetooth device supports playing the audio type of the first target audio data, the first target audio data is sent to the Bluetooth device, if the first playing capability information indicates that the Bluetooth device does not support playing the audio type of the first target audio data, the change of the first playing capability information of the Bluetooth device is monitored, and if the first playing capability information of the Bluetooth device indicates that the Bluetooth device is switched from the audio type which does not support playing the first target audio data to the audio type which supports playing the first target audio data, the first target audio data is sent to the Bluetooth device. Compared with the connection method of the device shown in fig. 3, the present embodiment further performs different processing on the audio data according to whether the first playing capability information supports different audio types of the audio data, so as to improve the audio playing effect.
Referring to fig. 5, fig. 5 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application. The method is used for acquiring the playing capability information of the Bluetooth equipment by establishing low-power Bluetooth connection with the Bluetooth equipment, and determining the playing strategy aiming at the played audio data according to the playing capability information and the audio type of the audio data played by the Bluetooth equipment, so that the audio playing effect and the user experience can be improved. In a specific embodiment, the connection method of the device is applied to the connection apparatus 500 of the device as shown in fig. 14 and the bluetooth device 200 (fig. 15) configured with the connection apparatus 500 of the device. In the following, a specific flow of the present embodiment will be described by taking a bluetooth device as an example, and it will be understood that the bluetooth device applied in the present embodiment may include bluetooth audio, bluetooth headset, and the like, which are not limited herein. As will be described in detail below with respect to the flowchart shown in fig. 5, the method for connecting the device may specifically include the following steps:
step S410: and sending first playing capability information of the Bluetooth device to the first electronic device, so that the first electronic device determines a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition of playing the first target audio data, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device.
The specific description of step S410 is referred to step S110-step S120, and will not be repeated here.
According to the method for connecting the devices, the first playing capability information of the Bluetooth device is sent to the first electronic device, so that the first electronic device determines a playing strategy for the played audio data according to the first playing capability information and the audio type of the first target audio data under the condition of playing the first target audio data, wherein the first playing capability information is used for indicating the audio type of the Bluetooth device supporting playing to the first electronic device, and accordingly the playing capability information of the Bluetooth device is obtained through establishing low-power Bluetooth connection with the Bluetooth device, and the playing strategy for the played audio data is determined according to the playing capability information and the audio type of the audio data played by the first electronic device, so that the audio playing effect and the user experience can be improved.
Referring to fig. 6, fig. 6 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application. The method is applied to the bluetooth device, and will be described in detail with respect to the flow shown in fig. 6, where the method for connecting the device specifically includes the following steps:
Step S510: and sending first playing capability information of the Bluetooth device to the first electronic device, so that the first electronic device determines a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition of playing the first target audio data, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device.
The specific description of step S510 refers to steps S110-S120, and is not repeated here.
Step S520: and under the condition that the Bluetooth device plays the first target audio data, sending second playing capability information of the Bluetooth device to the second electronic device, wherein the second playing capability information is used for indicating the audio type supported by the Bluetooth device to play to the second electronic device, and the second playing capability information indicates the audio type not supported by the Bluetooth device to play the first target audio data.
The bluetooth device may establish a BLE connection with the first electronic device and a BLE connection with the second electronic device.
As a way, the bluetooth device may be placed in the earphone box, and when the cover of the earphone box is detected, a BLE connection between the first electronic device and the bluetooth device may be established, and a BLE connection between the second electronic device and the bluetooth device may be established. As yet another way, the bluetooth device may be placed in the earphone box, and when it is detected that the bluetooth device is removed from the earphone box, a BLE connection between the second electronic device and the bluetooth device may be established, and a BLE connection between the bluetooth devices of the second electronic device may be established. As still another way, the bluetooth device may be placed in the earphone box, and when it is detected that the bluetooth device is taken out from the earphone box, whether the bluetooth device is in a wearing state may be detected, and when it is detected that the bluetooth device is in a wearing state, a BLE connection between the first electronic device and the bluetooth device may be established, and a BLE connection between the second electronic device and the bluetooth device may be established.
In some embodiments, the bluetooth device may transmit a low energy audio broadcast, and the second electronic device may receive the low energy audio broadcast transmitted by the bluetooth device, so as to obtain information such as a bluetooth address of the bluetooth device from the low energy audio broadcast, and then establish a BLE connection with the bluetooth device based on the information such as the bluetooth address of the bluetooth device. In the case of establishing a BLE connection with a bluetooth device, the second electronic device may then read a relevant attribute of the bluetooth device based on the BLE connection, where the relevant attribute may include a state of an available audio context of the bluetooth device and an audio stream endpoint. Correspondingly, under the condition that the second electronic device acquires the state of the available audio context of the Bluetooth device, the state of the available audio context can be saved so as to be used as a reference for whether the connection synchronous stream with the Bluetooth device is established later, so that the rationality of the second electronic device for initiating the synchronous stream connection request is improved, and the power consumption of the second electronic device is reduced.
In this embodiment, different playing capability information is set for different electronic devices by the bluetooth device, where the different playing capability information is used to indicate the audio type that the corresponding electronic device supports playing. As a way, a first electronic device may be set to correspond to first playback capability information, and a second electronic device may be set to correspond to second playback capability information, that is, the first playback capability information is used to indicate to the first electronic device that the bluetooth device supports the audio type played, and the second electronic device is used to indicate to the second electronic device that the bluetooth device supports the audio type played.
If the bluetooth device does not support the preemption of playing the audio data of the same type, in this embodiment, the bluetooth device may send second playing capability information of the bluetooth device to the second electronic device under the condition that the bluetooth device plays the first target audio data, where the second playing capability information indicates that the bluetooth device does not support the audio type of playing the first target audio data. Wherein, playing the first target audio data by the bluetooth device may include: and establishing a connection synchronous stream between the first electronic equipment and the first electronic equipment so as to receive and play the first target audio data sent by the first electronic equipment through the connection synchronous stream.
When the bluetooth device determines that a connection synchronization stream is established with the first electronic device and receives the first target audio data sent by the first electronic device based on the connection synchronization stream, the bluetooth device may consider that the bluetooth device does not support playing of an audio type corresponding to the first target audio data for other electronic devices (such as a second electronic device) except the first electronic device, and then the bluetooth device may send second playing capability information indicating that the bluetooth device does not support playing of the audio type of the first target audio data to the second electronic device, so as to make reference for whether the second electronic device subsequently establishes the connection synchronization stream with the bluetooth device.
Referring to fig. 7, fig. 7 is a diagram illustrating an exemplary method for connecting devices according to an embodiment of the present application. As shown in fig. 7, an example of this is a scenario in which a bluetooth headset is connected to a first electronic device and a second electronic device, respectively, and the first electronic device plays music.
Step S530: and under the condition that the Bluetooth device stops playing the first target audio data, updating the second playing capability information to obtain first updating information, wherein the first updating information is used for indicating the second electronic device that the Bluetooth device supports playing the audio type of the first target audio data.
In this embodiment, in a case where the bluetooth device stops playing the first target audio data, the second playback capability information may be updated to obtain first update information, where the first update information is used to indicate to the second electronic device that the bluetooth device supports playing the audio type of the first target audio data. Wherein, stopping playing the first target audio data by the bluetooth device may include: and disconnecting the connection synchronization stream with the first electronic device to stop playing the first target audio data.
Under the condition that the bluetooth device stops playing the first target audio data, it can be considered that the bluetooth device can support playing the audio type corresponding to the first target audio data for all electronic devices (such as the first electronic device and the second electronic device), and then the bluetooth device can update the second playing capability information (update the second playing capability information from the audio type indicating that the playing of the first target audio data is not supported to the audio type supporting the playing of the first target audio data) to obtain the first updating information, and send the first updating information to the second electronic device for the second electronic device to use whether to establish a connection synchronous stream with the bluetooth device later as a reference.
Step S540: and sending the first updating information to the second electronic equipment.
In this embodiment, when the bluetooth device obtains the first update information, the bluetooth device may send the first update information to the second electronic device, for example, the bluetooth device may send the first update information to the second electronic device based on BLE connection with the second electronic device, and at this time, if the second electronic device has a requirement for playing audio data, the first update information may be played through the bluetooth device.
In this embodiment, in the case where it is determined that a connection synchronization stream between the bluetooth device and the second electronic device has been established, audio data played by the second electronic device may be sent to the bluetooth device based on the connection synchronization stream to output the audio data of the second electronic device through the bluetooth device.
Referring to fig. 8, fig. 8 is a diagram illustrating an exemplary method for connecting devices according to an embodiment of the present application. As shown in fig. 8, an example of this is that a bluetooth device is connected to a first electronic device and a second electronic device, where the first electronic device plays music first, the second electronic device plays music later, and the second electronic device cannot preempt the scene of the first electronic device.
According to the method for connecting the devices, first playing capability information of the Bluetooth device is sent to the first electronic device, so that the first electronic device can determine a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition that the first target audio data is played, the first playing capability information is used for indicating the audio type of the Bluetooth device supporting playing to the first electronic device, second playing capability information of the Bluetooth device is sent to the second electronic device under the condition that the Bluetooth device plays the first target audio data, the second playing capability information is used for indicating the audio type of the Bluetooth device not supporting playing the first target audio data, the second playing capability information is updated to obtain first updating information under the condition that the Bluetooth device stops playing the first target audio data, the first updating information is used for indicating the audio type of the Bluetooth device supporting playing the first target audio data to the second electronic device, and the first updating information is sent to the second electronic device. Compared with the connection method of the devices shown in fig. 5, the embodiment also determines the second playing capability information sent to the second electronic device according to the playing condition of the bluetooth device on the first target audio data, so as to avoid preemption between multiple electronic devices for the same type of page, and reduce the power consumption of the second electronic device.
Referring to fig. 9, fig. 9 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application. The method is applied to the bluetooth device, and will be described in detail with respect to the flow shown in fig. 9, where the method for connecting the device specifically includes the following steps:
step S610: and sending first playing capability information of the Bluetooth device to the first electronic device, so that the first electronic device determines a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition of playing the first target audio data, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device.
The specific description of step S610 refers to steps S110-S120, and is not repeated here.
Step S620: and under the condition that the Bluetooth device plays the first target audio data, receiving a first connection request initiated by the second electronic device, wherein the first connection request is sent by the second electronic device when the second target audio data is played, and the audio type of the first target audio data is the same as the audio type of the second target audio data.
The bluetooth device may establish a BLE connection with the first electronic device and a BLE connection with the second electronic device.
In this embodiment, when the bluetooth device plays the first target audio data, if the second electronic device is playing the second target audio data (the audio type of the first target audio data is the same as the audio type of the second target audio data), and the second electronic device desires to play the second target audio data through the bluetooth device, the second electronic device may initiate a first connection request to the bluetooth device, and accordingly, the bluetooth device may receive the first connection request. Wherein, playing the first target audio data by the bluetooth device may include: and establishing a connection synchronous stream between the first electronic equipment and the first electronic equipment so as to receive and play the first target audio data sent by the first electronic equipment through the connection synchronous stream.
In this embodiment, under the condition that the BLE connection is established between the second electronic device and the bluetooth device, whether to play the second target audio data may be detected, if it is detected that the second electronic device plays the second target audio data, the second electronic device may determine, based on the stored second audio playing capability information of the bluetooth device, whether the second audio playing capability information indicates that the bluetooth device supports playing the audio type of the second target audio data, where if it is determined that the bluetooth device supports playing the audio type of the second target audio data (e.g., the audio type of the bluetooth device corresponding to the audio type of the first target audio data is occupied by the first electronic device, and the bluetooth device does not update the second available audio playing capability information of the bluetooth device to the second electronic device), the audio type of the second target audio data may be determined, and the bluetooth device may provide the second electronic device with output of the audio data, and then the second electronic device may initiate the first connection request to the bluetooth device.
Step S630: and in response to the first connection request, updating the first playing capability information to obtain second updating information, wherein the second updating information is used for indicating to the first electronic equipment that the Bluetooth equipment does not support playing the audio type of the first target audio data.
In this embodiment, when the bluetooth device receives the first connection request, the bluetooth device may update the first playback capability information in response to the first connection request to obtain second update information, where the second update information is used to indicate to the first electronic device that the bluetooth device does not support the audio type of the first target audio data.
If the bluetooth device supports the preemption of playing the audio data of the same type, the bluetooth device may stop playing the first target audio data of the first electronic device when receiving a request for playing the second target audio data of the same type initiated by the second electronic device, and then the bluetooth device may update the first playing capability information from the audio type supporting playing the first target audio data to the audio type not supporting playing the first target audio data.
Step S640: and sending the second updating information to the first electronic equipment so as to stop playing the first target audio data at the Bluetooth equipment.
In this embodiment, when the bluetooth device obtains the second update information, the second update information may be sent to the first electronic device, so that the bluetooth device stops playing the first target audio data. In one manner, when the bluetooth device sends the second update information to the first electronic device, the first electronic device may disconnect the connection synchronization stream with the bluetooth device in response to the second update information, and at this time, the bluetooth device may not continue to receive the first target audio data sent by the first electronic device, i.e. stop playing the first target audio data.
In some embodiments, in a case where it is determined that the bluetooth device disconnects the connection synchronization stream with the first electronic device, the connection synchronization stream of the bluetooth device and the second electronic device may be established, at which time the second electronic device may send second target audio data to the bluetooth device to play the second target audio data through the bluetooth device.
Referring to fig. 10, fig. 10 is a diagram illustrating an exemplary method for connecting devices according to an embodiment of the present application. As shown in fig. 10, an example of this is that a bluetooth device is connected to a first electronic device and a second electronic device, where the first electronic device plays music first, the second electronic device plays music later, and the second electronic device preempts the scene of the first electronic device.
According to the method for connecting the devices, first playing capability information of the Bluetooth device is sent to the first electronic device, so that the first electronic device can determine a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition that the first target audio data is played, the first playing capability information is used for indicating the audio type of the Bluetooth device supporting playing to the first electronic device, a first connection request initiated by the second electronic device is received under the condition that the Bluetooth device plays the first target audio data, the first connection request is sent by the second electronic device when the second target audio data is played, the audio type of the first target audio data is identical to the audio type of the second target audio data, the first playing capability information is updated to obtain second updating information in response to the first connection request, the second updating information is used for indicating the Bluetooth device not supporting playing of the audio type of the first target audio data to the first electronic device, and the second updating information is sent to the first electronic device to stop playing of the first target audio data at the Bluetooth device. Compared with the connection method of the devices shown in fig. 5, the embodiment also realizes the preemption of the same type of service among a plurality of electronic devices, and improves the use experience of users.
Referring to fig. 11, fig. 11 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application. The method is applied to the bluetooth device, and will be described in detail with respect to the flow shown in fig. 11, where the method for connecting the device specifically includes the following steps:
step S710: and sending first playing capability information of the Bluetooth device to the first electronic device, so that the first electronic device determines a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition of playing the first target audio data, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device.
The specific description of step S710 is referred to step S110-step S120, and will not be repeated here.
Step S720: and under the condition that the Bluetooth device plays the first target audio data, receiving a second connection request initiated by the second electronic device, wherein the second connection request is sent by the second electronic device when playing third target audio data, and the priority of the audio type of the third target audio data is higher than that of the first target audio data.
The bluetooth device may establish a BLE connection with the first electronic device and a BLE connection with the second electronic device.
In this embodiment, if the second electronic device is playing the first target audio data (the priority of the audio type of the third target audio data is higher than the priority of the audio type of the first target audio data, for example, the audio type of the third target audio data is conditional and the audio type of the first target audio data is media) and the second electronic device desires to play the third target audio data through the bluetooth device, the second electronic device may initiate a second connection request to the bluetooth device, and accordingly, the bluetooth device may receive the second connection request. Wherein, playing the first target audio data by the bluetooth device may include: and establishing a connection synchronous stream between the first electronic equipment and the first electronic equipment so as to receive and play the first target audio data sent by the first electronic equipment through the connection synchronous stream.
In this embodiment, under the condition that the second electronic device and the bluetooth device establish BLE connection, whether third target audio data are played may be detected, if it is detected that the third target audio data are played, the second electronic device may determine, based on the stored second audio playing capability information of the bluetooth device, whether the second audio playing capability information indicates that the bluetooth device supports playing the audio type of the third target audio data, where if it is determined that the bluetooth device supports playing the audio type of the third target audio data, the audio type for the third target audio data may be determined, and if the bluetooth device may provide output of the audio data for the second electronic device, the second electronic device may initiate a second connection request to the bluetooth device.
Step S730: and stopping playing the first target audio data and playing the third target audio data in response to the second connection request.
In this embodiment, when the bluetooth device receives the second connection request, the bluetooth device may stop playing the first target audio data and play the third target audio data. In one mode, when the bluetooth device receives the second connection request, the bluetooth device may respond to the second connection request to disconnect the connection synchronization stream with the first electronic device, at this time, the bluetooth device may not continue to receive the first target audio data sent by the first electronic device, that is, stop playing the first target audio data, and when the bluetooth device receives the second connection request, may respond to the second connection request to establish the connection synchronization stream with the second electronic device, at this time, the bluetooth device may receive third target audio data sent by the second electronic device, that is, play the third target audio data.
In some embodiments, if the bluetooth device supports the preemption of playing the same type of audio data, the bluetooth device may update the first playing capability information to obtain third update information and send the third update information to the first electronic device, and update the second playing capability information to obtain fourth update information to send the fourth update information to the second electronic device, where the third update information is used to indicate to the first electronic device that the bluetooth device does not support playing the audio type of the first target audio data, and the fourth update information is used to indicate to the second electronic device that the bluetooth device does not support playing the audio type of the first target audio data. Based on the third update information, the first electronic device may determine that the bluetooth device cannot support playing the audio type of the first target audio data, but may support playing the audio type of the third target audio data, and the second electronic device may determine that the bluetooth device cannot support playing the audio type of the first target audio data, based on the third update information.
In some embodiments, if the bluetooth device does not support the preemption of playing the same type of audio data, the bluetooth device may update the first playback capability information to obtain fifth update information and send the fifth update information to the first electronic device, and update the second playback capability information to obtain third update information to send the third update information to the second electronic device, where the fifth update information is used to indicate to the first electronic device that the bluetooth device does not support playing the audio type of the first target audio data and the audio type of the third target audio data. Based on the third update information, the first electronic device may determine that the bluetooth device cannot support playing the audio type of the first target audio data and cannot support playing the audio type of the third target audio data, and the second electronic device may determine that the bluetooth device cannot support playing the audio type of the first target audio data based on the third update information.
Referring to fig. 12, fig. 12 is a diagram illustrating an exemplary method for connecting devices according to an embodiment of the present application. As shown in fig. 12, an example bluetooth headset is connected to a first electronic device and a second electronic device, where the first electronic device plays music first and the second electronic device then performs a conversation.
According to the method for connecting the devices, first playing capability information of the Bluetooth device is sent to the first electronic device, so that the first electronic device determines a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition that the first target audio data is played, the first playing capability information is used for indicating the audio type of the Bluetooth device supporting playing to the first electronic device, a second connection request initiated by the second electronic device is received under the condition that the Bluetooth device plays the first target audio data, the second connection request is sent by the second electronic device when the third target audio data is played, the audio type of the third target audio data is higher than the audio type of the first target audio data, and the playing of the first target audio data and the playing of the third target audio data are stopped in response to the second connection request. Compared with the connection method of the devices shown in fig. 5, the embodiment achieves preemption of different priority type services among a plurality of electronic devices, and improves the use experience of users.
Referring to fig. 13, fig. 13 is a block diagram of a connection device of a device according to an embodiment of the present application, where the connection device 400 of the device is applied to the first electronic device, and the first electronic device establishes a bluetooth low energy connection with a bluetooth device, and the block diagram shown in fig. 13 will be described below, and the connection device 400 of the device includes: a playback capability information acquisition module 410 and a playback policy determination module 420, wherein:
The playback capability information obtaining module 410 is configured to obtain, when the first electronic device plays back the first target audio data, first playback capability information of the bluetooth device, where the first playback capability information is used to indicate to the first electronic device that the bluetooth device supports audio types that are played back.
The play policy determining module 420 is configured to determine a play policy of the first target audio data according to the first play capability information and the audio type of the first target audio data.
Further, the play policy determining module 420 includes: a first audio data transmission sub-module, wherein:
and the first audio data sending sub-module is used for sending the first target audio data to the Bluetooth device if the first playing capability information indicates that the Bluetooth device supports playing the audio type of the first target audio data.
Further, the play policy determining module 420 includes: the system comprises a playing capability information change monitoring sub-module and a second audio data sending sub-module, wherein:
and the playing capability information change monitoring sub-module is used for monitoring the change of the first playing capability information of the Bluetooth device if the first playing capability information indicates that the Bluetooth device does not support playing the audio type of the first target audio data.
And the second audio data sending sub-module is used for sending the first target audio data to the Bluetooth device if the first playing capability information of the Bluetooth device is monitored to indicate that the Bluetooth device is switched from an audio type which does not support playing the first target audio data to an audio type which supports playing the first target audio data.
Further, the first audio data transmission sub-module/the second audio data transmission sub-module includes: a connection establishment sub-module, wherein:
and the connection establishing unit is used for establishing a connection synchronous flow between the Bluetooth device and the Bluetooth device so as to send the first target audio data to the Bluetooth device through the connection synchronous flow.
Further, the play policy determining module 420 includes: an audio data play sub-module, an audio data pause sub-module and a third audio data transmission sub-module, wherein:
and the audio data playing sub-module is used for playing the first target audio data if the first playing capability information indicates that the Bluetooth equipment does not support playing the audio type of the first target audio data.
And the audio data pause sub-module is used for pausing the playing of the first target audio data if the first playing capability information indicates that the Bluetooth equipment does not support the playing of the audio type of the first target audio data.
And the third audio data sending sub-module is used for sending the first target audio data to other Bluetooth devices if the first playing capability information indicates that the Bluetooth device does not support playing the audio type of the first target audio data, wherein the first electronic device and the other Bluetooth devices are connected with low-power consumption Bluetooth.
Further, the first playback capability information includes an available audio context, and the playback policy determining module 420 includes: a play policy determination submodule in which:
and the play strategy determination submodule is used for determining the play strategy of the first target audio data according to the state information of the audio type corresponding to the audio type of the first target audio data in the available audio context.
Referring to fig. 14, fig. 14 is a flow chart illustrating a method for connecting devices according to an embodiment of the present application. The device connection apparatus 500 is applied to the above bluetooth device, where the bluetooth device establishes a bluetooth low energy connection with the first electronic device, and the following details will be described with respect to the flowchart shown in fig. 14, where the device connection apparatus 500 includes: an information sending module 510, wherein:
The information sending module 510 is configured to send first playing capability information of the bluetooth device to the first electronic device, so that the first electronic device determines, when playing first target audio data, a playing policy of the first target audio data according to the first playing capability information and an audio type of the first target audio data, where the first playing capability information is used to indicate to the first electronic device that the bluetooth device supports the audio type that is played.
Further, the bluetooth device further establishes a bluetooth low energy connection with a second electronic device, and the connection apparatus 500 of the device further includes:
the second playing capability information sending module is configured to send second playing capability information of the bluetooth device to the second electronic device under the condition that the bluetooth device plays the first target audio data, where the second playing capability information is used to indicate to the second electronic device that the bluetooth device supports playing an audio type, and the second playing capability information indicates that the bluetooth device does not support playing an audio type of the first target audio data.
Further, the bluetooth device further establishes a bluetooth low energy connection with a second electronic device, and the connection apparatus 500 of the device further includes: the device comprises a first update information acquisition module and a first update information transmission module, wherein:
the first updating information obtaining module is used for updating the second playing capability information to obtain first updating information under the condition that the Bluetooth device stops playing the first target audio data, wherein the first updating information is used for indicating the audio type of the first target audio data supported by the Bluetooth device to the second electronic device.
And the first updating information sending module is used for sending the first updating information to the second electronic equipment.
Further, the bluetooth device further establishes a bluetooth low energy connection with a second electronic device, and the connection apparatus 500 of the device further includes: the device comprises a first connection request receiving module, a second update information obtaining module and a second update information sending module, wherein:
the first connection request receiving module is used for receiving a first connection request initiated by the second electronic device under the condition that the Bluetooth device plays the first target audio data, wherein the first connection request is sent by the second electronic device when the second target audio data is played, and the audio type of the first target audio data is the same as the audio type of the second target audio data.
And a second update information obtaining module, configured to update the first playback capability information in response to the first connection request to obtain second update information, where the second update information is used to indicate to the first electronic device that the bluetooth device does not support playback of the audio type of the first target audio data.
And the second updating information sending module is used for sending the second updating information to the first electronic equipment so as to stop playing the first target audio data at the Bluetooth equipment.
Further, the bluetooth device further establishes a bluetooth low energy connection with a second electronic device, and the connection apparatus 500 of the device further includes: a second connection request receiving module and a second connection request responding module, wherein:
and the second connection request receiving module is used for receiving a second connection request initiated by the second electronic equipment under the condition that the Bluetooth equipment plays the first target audio data, wherein the second connection request is sent by the second electronic equipment when third target audio data is played, and the priority of the audio type of the third target audio data is higher than that of the first target audio data.
And the second connection request response module is used for responding to the second connection request, stopping playing the first target audio data and playing the third target audio data.
Further, the connection device 500 of the apparatus further includes: a third update information sending module and a fourth update information sending module, wherein:
a third update information sending module, configured to update the first playback capability information to obtain third update information, send the third update information to the first electronic device, and update the second playback capability information to obtain fourth update information, send the fourth update information to the second electronic device, where the third update information is used to indicate to the first electronic device that the bluetooth device does not support playing the audio type of the first target audio data, and the fourth update information is used to indicate to the second electronic device that the bluetooth device does not support playing the audio type of the first target audio data.
A fourth update information sending module, configured to update the first playback capability information to obtain fifth update information, and update the second playback capability information to obtain the third update information, and send the third update information to the second electronic device, where the fifth update information is used to indicate to the first electronic device that the bluetooth device does not support playing the audio type of the first target audio data and the audio type of the third target audio data.
Further, the connection device 500 of the apparatus further includes: a connection establishment module, wherein:
and the connection establishment module is used for establishing a connection synchronous stream with the first electronic equipment so as to receive and play the first target audio data through the connection synchronous stream.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In several embodiments provided herein, the coupling of the modules to each other may be electrical, mechanical, or other.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
Referring to fig. 15, a block diagram of an electronic device 100 according to an embodiment of the present application is shown. The electronic device 600 includes the first electronic device 100 described above, and may also include the bluetooth device 200, which is not limited herein. The electronic device 600 in the present application may include one or more of the following components: a processor 610, a memory 620, and one or more application programs, wherein the one or more application programs may be stored in the memory 620 and configured to be executed by the one or more processors 610, the one or more program(s) configured to perform the method as described in the foregoing method embodiments.
Wherein the processor 610 may include one or more processing cores. The processor 610 utilizes various interfaces and lines to connect various portions of the overall electronic device 600, perform various functions of the electronic device 600, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 620, and invoking data stored in the memory 620. Alternatively, the processor 610 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 610 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing the content to be displayed; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 610 and may be implemented solely by a single communication chip.
The Memory 620 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Memory 620 may be used to store instructions, programs, code sets, or instruction sets. The memory 620 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc. The storage data area may also store data created by the electronic device 600 in use (e.g., phonebook, audiovisual data, chat log data), and the like.
Referring to fig. 16, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable medium 700 has stored therein program code which may be invoked by a processor to perform the methods described in the method embodiments above.
The computer readable storage medium 700 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 700 comprises a non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 700 has memory space for program code 710 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 710 may be compressed, for example, in a suitable form.
In summary, in the case that the first electronic device plays the first target audio data, the connection method, the device, the electronic device and the storage medium of the device provided in the embodiments of the present application acquire first playing capability information of the bluetooth device, where the first playing capability information is used to indicate to the first electronic device that the bluetooth device supports audio types of playing, and determine, according to the first playing capability information and the audio types of the first target audio data, a playing policy of the first target audio data, so that, by establishing a bluetooth low energy connection with the bluetooth device, the playing capability information of the bluetooth device is acquired, and according to the playing capability information and the audio types of the audio data that are played by the first electronic device, a playing policy for the audio data that is played is determined, thereby improving an audio playing effect and a user experience.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, one of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (17)

1. A method for connecting devices, applied to a first electronic device, wherein the first electronic device establishes a bluetooth low energy connection with a bluetooth device, the method comprising:
acquiring first playing capability information of the Bluetooth device under the condition that the first electronic device plays first target audio data, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device;
and determining a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data.
2. The method of claim 1, wherein the determining the playback strategy for the first target audio data based on the first playback capability information and the audio type of the first target audio data comprises:
and if the first playing capability information indicates that the Bluetooth device supports playing the audio type of the first target audio data, the first target audio data is sent to the Bluetooth device.
3. The method of claim 1, wherein the determining the playback strategy for the first target audio data based on the first playback capability information and the audio type of the first target audio data comprises:
If the first playing capability information indicates that the Bluetooth device does not support playing the audio type of the first target audio data, monitoring the change of the first playing capability information of the Bluetooth device;
and if the monitored first playing capability information of the Bluetooth device indicates that the Bluetooth device is switched from the audio type which does not support playing the first target audio data to the audio type which supports playing the first target audio data, the first target audio data is sent to the Bluetooth device.
4. A method according to claim 2 or 3, wherein said transmitting said first target audio data to said bluetooth device comprises:
and establishing a connection synchronous stream between the Bluetooth device and the Bluetooth device so as to send the first target audio data to the Bluetooth device through the connection synchronous stream.
5. A method according to any of claims 1-3, wherein said determining a play strategy for said first target audio data based on said first playability information and an audio type of said first target audio data comprises:
if the first playing capability information indicates that the Bluetooth device does not support playing the audio type of the first target audio data, playing the first target audio data; or alternatively
If the first playing capability information indicates that the Bluetooth device does not support playing the audio type of the first target audio data, suspending playing the first target audio data; or alternatively
And if the first playing capability information indicates that the Bluetooth device does not support playing the audio type of the first target audio data, the first target audio data is sent to other Bluetooth devices, wherein the first electronic device and the other Bluetooth devices are connected with low-power consumption Bluetooth.
6. A method according to any of claims 1-3, wherein the first playback capability information comprises an available audio context, and wherein the determining a playback strategy for the first target audio data based on the first playback capability information and the audio type of the first target audio data comprises:
and determining a playing strategy of the first target audio data according to the state information of the audio type corresponding to the audio type of the first target audio data in the available audio context.
7. A method for connecting a device, applied to a bluetooth device, wherein the bluetooth device establishes a bluetooth low energy connection with a first electronic device, the method comprising:
And sending first playing capability information of the Bluetooth device to the first electronic device, so that the first electronic device determines a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition of playing the first target audio data, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device.
8. The method of claim 7, wherein the bluetooth device further establishes a bluetooth low energy connection with a second electronic device, the method further comprising:
and under the condition that the Bluetooth device plays the first target audio data, sending second playing capability information of the Bluetooth device to the second electronic device, wherein the second playing capability information is used for indicating the audio type supported by the Bluetooth device to play to the second electronic device, and the second playing capability information indicates the audio type not supported by the Bluetooth device to play the first target audio data.
9. The method of claim 8, further comprising, after said sending the second playback capability information of the bluetooth device to the second electronic device:
Updating the second playing capability information to obtain first updating information under the condition that the Bluetooth device stops playing the first target audio data, wherein the first updating information is used for indicating the second electronic device that the Bluetooth device supports playing the audio type of the first target audio data;
and sending the first updating information to the second electronic equipment.
10. The method of claim 7, wherein the bluetooth device further establishes a bluetooth low energy connection with a second electronic device, further comprising:
receiving a first connection request initiated by the second electronic device under the condition that the Bluetooth device plays the first target audio data, wherein the first connection request is sent by the second electronic device when playing the second target audio data, and the audio type of the first target audio data is the same as the audio type of the second target audio data;
updating the first playing capability information to obtain second updating information in response to the first connection request, wherein the second updating information is used for indicating to the first electronic device that the Bluetooth device does not support playing the audio type of the first target audio data;
And sending the second updating information to the first electronic equipment so as to stop playing the first target audio data at the Bluetooth equipment.
11. The method of claim 7, wherein the bluetooth device further establishes a bluetooth low energy connection with a second electronic device, the method further comprising:
receiving a second connection request initiated by the second electronic device under the condition that the Bluetooth device plays the first target audio data, wherein the second connection request is sent by the second electronic device when playing third target audio data, and the priority of the audio type of the third target audio data is higher than that of the first target audio data;
and stopping playing the first target audio data and playing the third target audio data in response to the second connection request.
12. The method of claim 11, wherein the method further comprises:
updating the first playing capability information to obtain third updating information and sending the third updating information to the first electronic device and updating the second playing capability information to obtain fourth updating information to the second electronic device, wherein the third updating information is used for indicating to the first electronic device that the Bluetooth device does not support playing of the audio type of the first target audio data, and the fourth updating information is used for indicating to the second electronic device that the Bluetooth device does not support playing of the audio type of the first target audio data; or alternatively
Updating the first playback capability information to obtain fifth update information to the first electronic device, and updating the second playback capability information to obtain the third update information to the second electronic device, wherein the fifth update information is used for indicating to the first electronic device that the bluetooth device does not support playing of the audio type of the first target audio data and the audio type of the third target audio data.
13. The method of any of claims 8-12, wherein the bluetooth device playing the first target audio data comprises:
and establishing a connection synchronous stream between the first electronic equipment and the first electronic equipment so as to receive and play the first target audio data through the connection synchronous stream.
14. A device connection apparatus for use with a first electronic device, the first electronic device having a bluetooth low energy connection established with a bluetooth device, the apparatus comprising:
the playing capability information acquisition module is used for acquiring first playing capability information of the Bluetooth device under the condition that the first electronic device plays first target audio data, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device;
And the play strategy determining module is used for determining the play strategy of the first target audio data according to the first play capability information and the audio type of the first target audio data.
15. A device connection apparatus for a bluetooth device, the bluetooth device establishing a bluetooth low energy connection with a first electronic device, the apparatus comprising:
the information sending module is used for sending first playing capability information of the Bluetooth device to the first electronic device so that the first electronic device can determine a playing strategy of the first target audio data according to the first playing capability information and the audio type of the first target audio data under the condition that the first target audio data is played, wherein the first playing capability information is used for indicating the audio type supported to play by the Bluetooth device to the first electronic device.
16. An electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that when executed by the processor perform the method of any of claims 1-13.
17. A computer readable storage medium having stored therein program code which is callable by a processor to perform the method according to any one of claims 1-13.
CN202211058467.2A 2022-08-30 2022-08-30 Device connection method, device, electronic device and storage medium Pending CN117692886A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211058467.2A CN117692886A (en) 2022-08-30 2022-08-30 Device connection method, device, electronic device and storage medium
PCT/CN2023/104970 WO2024045877A1 (en) 2022-08-30 2023-06-30 Device connection method and apparatus, and electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211058467.2A CN117692886A (en) 2022-08-30 2022-08-30 Device connection method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN117692886A true CN117692886A (en) 2024-03-12

Family

ID=90100296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211058467.2A Pending CN117692886A (en) 2022-08-30 2022-08-30 Device connection method, device, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN117692886A (en)
WO (1) WO2024045877A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257500B (en) * 2018-09-30 2021-06-15 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and storage medium
CN109890018A (en) * 2019-01-29 2019-06-14 深圳傲智天下信息科技有限公司 Blue-tooth transmission method, bluetooth transceiver and the computer readable storage medium of audio
CN113126948B (en) * 2019-12-30 2023-09-01 华为技术有限公司 Audio playing method and related equipment
CN114205336A (en) * 2020-09-01 2022-03-18 华为技术有限公司 Cross-device audio playing method, mobile terminal, electronic device and storage medium
CN112269557A (en) * 2020-10-14 2021-01-26 合肥联宝信息技术有限公司 Audio output method and device

Also Published As

Publication number Publication date
WO2024045877A1 (en) 2024-03-07

Similar Documents

Publication Publication Date Title
CN109445740B (en) Audio playing method and device, electronic equipment and storage medium
US9906574B2 (en) Method, server, client and system for data presentation in a multiplayer session
WO2019090726A1 (en) Method for selecting bluetooth device, terminal, and system
CN107360458B (en) Play control method, device, storage medium and terminal
EP4013003A1 (en) Communication protocol switching method, apparatus and system
US9357215B2 (en) Audio output distribution
CN113766477A (en) Device connection method, device, electronic device and computer readable medium
EP3556121B1 (en) Methods and apparatus for managing control data
CN109379490B (en) Audio playing method and device, electronic equipment and computer readable medium
WO2023061127A1 (en) Communication method and apparatus, earphone set, and computer readable medium
KR20140029740A (en) Method and apparatus for transferring files during video telephony in electronic device
CN113038316A (en) Earphone control method and device, Bluetooth earphone and storage medium
KR20150006500A (en) Operating Method For Nearby Function and Electronic Device supporting the same
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
CN113840269B (en) Multimedia data transmission method and device, electronic equipment and storage medium
WO2024119947A1 (en) Bluetooth communication method and apparatus, electronic device, and computer-readable medium
WO2024055738A1 (en) Method and apparatus for audio data sharing, and electronic device and storage medium
WO2013078614A1 (en) Audio compression algorithm selection method, device and communication system in scenario of virtual desktop
CN111182518A (en) Processing method and device
US9485458B2 (en) Data processing method and device
CN114501239B (en) Master-slave switching method and device of earphone, bluetooth earphone and storage medium
CN117692886A (en) Device connection method, device, electronic device and storage medium
CN113038317B (en) Earphone control method and device, bluetooth earphone and storage medium
CN113271385A (en) Call forwarding method
CN113395576A (en) Scene switching method, computer equipment and storage medium

Legal Events

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