WO2022120539A1 - Parameter setting method and apparatus, device, and storage medium - Google Patents

Parameter setting method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2022120539A1
WO2022120539A1 PCT/CN2020/134350 CN2020134350W WO2022120539A1 WO 2022120539 A1 WO2022120539 A1 WO 2022120539A1 CN 2020134350 W CN2020134350 W CN 2020134350W WO 2022120539 A1 WO2022120539 A1 WO 2022120539A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
audio
qos
audio stream
qos parameters
Prior art date
Application number
PCT/CN2020/134350
Other languages
French (fr)
Chinese (zh)
Inventor
董建利
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2020/134350 priority Critical patent/WO2022120539A1/en
Priority to CN202080106957.8A priority patent/CN116490923A/en
Publication of WO2022120539A1 publication Critical patent/WO2022120539A1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants

Definitions

  • the embodiments of the present application relate to the field of Bluetooth technology, and in particular, to a parameter setting method, apparatus, device, and storage medium.
  • SIG Bluetooth Special Interest Group, Bluetooth Special Interest Group
  • LE Low Energy, low power consumption Audio (audio) standard.
  • the LE Audio standard contains a series of Profile (configuration file)/Service (service), each service is responsible for different functions.
  • LE Unicast (unicast) Audio mainly involves Profile/Service including BAP (Basic Audio Profile, basic audio profile), ASCS (Audio Stream Control Service, audio stream control service), ASCS is ASE (Audio Stream Endpoint, audio stream endpoint) ) defines the state machine.
  • ASE refers to the stream endpoint that exists on the Audio Sink (audio sink) side.
  • ASCS defines a series of operations (operations) for the Audio Source (audio source) to operate the ASE on the audio sink side, so as to configure and control the audio stream. Purpose.
  • Audio Source sets the QoS (Quality of Service, quality of service) parameter of the audio stream, configure the QoS parameter to the audio receiver, and start the audio stream, so that the audio receiver controls the audio stream according to the QoS parameter. audio stream.
  • QoS Quality of Service
  • quality of service Quality of service
  • the audio source cannot reconfigure the QoS parameters corresponding to the audio stream to the audio sink, which cannot satisfy the user's requirement for switching the QoS parameters of the audio stream.
  • Embodiments of the present application provide a parameter setting method, apparatus, device, and storage medium.
  • the technical solution is as follows:
  • the embodiment of the present application provides a parameter setting method, the method includes:
  • the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
  • an embodiment of the present application provides a parameter setting device, and the device includes:
  • the first setting module is configured to set n QoS parameters according to the first parameter setting command, the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
  • an embodiment of the present application provides a device, the device includes: a processor, and a transceiver connected to the processor; wherein:
  • the processor is configured to set n quality of service QoS parameters according to the first parameter setting command, the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
  • an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is configured to be executed by a processor of a device to implement the above-mentioned parameter setting method.
  • an embodiment of the present application provides a chip, where the chip includes a programmable logic circuit and/or program instructions, when the chip runs on a device, it is used to implement the above parameter setting method.
  • an embodiment of the present application provides a computer program product, which is used to implement the above-mentioned parameter setting method when the computer program product runs on a device.
  • one audio stream in the audio group corresponds to one QoS parameter, so as to avoid the situation that the audio stream corresponding to the QoS parameter switched to subsequently does not change and cause the switching failure, and the QoS corresponding to the audio stream is improved.
  • Validity of parameter switching in the embodiment of the present application, after the audio stream is started, although the QoS parameters are switched, the audio group is still switched between the inactive state and the active state, so that the embodiment of the present application can be compatible with the original CIG state machine and related operations , to improve the adaptability and compatibility of the scheme.
  • FIG. 1 is a schematic diagram of a state machine and related operations of an ASE provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a state machine of a CIG and related operations provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a configuration and startup process of QoS parameters of an audio stream provided by an embodiment of the present application
  • FIG. 4 is a schematic diagram of an application system provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a configuration, startup and switching process of an audio stream provided by an embodiment of the present application
  • FIG. 8 is a schematic diagram of a state machine and related operations of an extended CIG provided by an embodiment of the present application.
  • FIG. 9 is a block diagram of a parameter setting device provided by an embodiment of the present application.
  • FIG. 10 is a block diagram of a parameter setting device provided by another embodiment of the present application.
  • FIG. 11 is a structural block diagram of a device provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a configuration, startup, and switching process of an audio stream provided by another embodiment of the present application.
  • FIG. 13 is a schematic diagram of a configuration, activation, and switching process of an audio stream provided by another embodiment of the present application.
  • the network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application.
  • the evolution of new business scenarios and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • ASE includes the following states: Codec Configured, QoS Configured, Disabling, Enabling, Streaming, Releasing (release), Idle (idle).
  • ASCS defines a series of operations for the audio source to operate the ASE on the audio sink side.
  • the following operations are defined in ASCS for audio sources to operate ASE: Config Codec operation, Config QoS operation, Enable operation (start operation), Receiver Start Ready operation, Disable operation, Receiver Stop Ready operation, Update Metadata operation, Release operation operation), Released operation (release end operation).
  • the LE Audio standard provides some commands (commands) to provide profiles/services with the ability to configure CIG (Connected Isochronous Group, connection-based synchronization group).
  • CIG includes the following states: Configured (configured), Active (activated), Inactive (inactive), No CIG (no CIG); CIG includes the following related operations: LE Set CIG Parameters command (LE set CIG parameter command), LE Remove CIG command (LE remove CIG command), LE Create CIS command (LE create CIS command), Disconnect command (cancel connection command).
  • LE Audio standard specifies some requirements for the use of the LE set parameter command, as shown below.
  • the CIG_ID (Identifier, identification) parameter identifies a CIG. This parameter is allocated by the central host (Central's Host) and passed to the peripheral host (Peripheral's Host) through the link layer (Link Layer) during the process of creating the CIS. If the CIG_ID does not exist, the Controller should first create a new CIG. Once the CIG is created (either by this command or a previous command), the controller should modify or add the CIS configuration in the CIG indicated by CIG_ID and update all parameters applicable to the CIG. If the host issues this command when the CIG is not in a configurable state, the controller shall return the error code "command not allowed" (0x0C).
  • the LE set parameter command can only be processed correctly when the CIG does not exist, or when the CIG already exists and is in the configuration state, otherwise it returns a failure.
  • the configuration and startup process of the QoS parameters of the audio stream are as follows.
  • the unicast client When the target CIG does not exist, that is, when the state of the CIG is no CIG, the unicast client sends a codec configuration request to the unicast server (Unicast Server) to request Configure the operation of codec configuration A. In response to the codec configuration request, the unicast server sends a codec configuration notification (Notification) to the unicast client. At this time, the ASE in the unicast server enters the codec configuration state.
  • the unicast client initiates the LE setting CIG parameter command, it creates a CIG_ID, and creates a CIS_ID1 and a QoS parameter A corresponding to the CIS_ID1 under the CIG_ID.
  • the CIG state switches from the no-CIG state to the configuration state.
  • the unicast client sends a QoS parameter configuration request to the unicast server to request the operation of configuring the QoS parameter A.
  • the unicast server sends a QoS parameter configuration notification to the unicast client.
  • the ASE enters the QoS parameter configuration state.
  • the unicast client can start audio streaming, so that the ASE enters the streaming state and the CIG enters the active state.
  • the unicast client can choose to disable or release the audio stream, that is, the unicast client sends a disable request or a release request to the unicast server.
  • the unicast server sends a notification to the unicast client in response to the request of the unicast client, so that the ASE enters the codec configuration state and the CIG enters the inactive state.
  • the LE setting parameter command can only be processed correctly when the CIG does not exist, or when the CIG already exists and is in the configuration state, otherwise it will return a failure. Therefore, when the CIG is active or inactive, the unicast client does not correctly handle the LE setting parameters. As shown in Figure 3, after starting the audio stream and when the CIG is in an inactive state, the unicast client initiates a LE parameter setting command to set the QoS parameter B corresponding to CIS_ID1. However, it is precisely because the CIG is in an inactive state. In the active state, the unicast client does not process the command correctly, so the connection layer returns an error code of "command not allowed".
  • the unicast client cannot reconfigure the QoS parameters corresponding to the audio stream to the unicast server, which cannot meet the user's requirement for switching the QoS parameters of the audio stream.
  • the ASE has been in the codec configuration state for a period of time.
  • the CIG is in the configuration state, that is, the QoS parameters of the audio stream can be configured; the audio stream is disabled
  • the ASE is also in the codec configuration state, but at this time, the CIG is in an inactive state, that is, the QoS parameters of the audio stream cannot be configured. Therefore, when the ASE is in the codec configuration state, can the audio The behavior of configuring the QoS parameters of the flow is inconsistent.
  • CIG is referred to as an audio group
  • CIS is referred to as an audio stream
  • FIG. 4 shows a schematic diagram of an application system provided by an embodiment of the present application.
  • the application system includes: a client device 10 and a server device 20 .
  • the client device 10 refers to a device on which a unicast client is installed and running.
  • the client device 10 is the above-mentioned audio source (Audio Source).
  • This embodiment of the present application does not limit the device type of the client device 10.
  • the client device 10 includes: a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device, a PC (Personal Computer) , personal computer), smart TV, smart car and other equipment.
  • the server device 20 is configured to provide a unicast service for the unicast client.
  • the server device 20 is the above-mentioned audio sink (Audio Sink).
  • This embodiment of the present application does not limit the device type of the server device 20.
  • the unicast server 20 includes: a server, a computer, a computer, a host, and other devices.
  • the server device 20 may be a server, a server cluster composed of multiple servers, or a cloud computing center.
  • the client device 10 and the server device 20 communicate with each other through BLE (Bluetooth Low Energy, Bluetooth Low Energy).
  • BLE Bluetooth Low Energy, Bluetooth Low Energy
  • the unicast client installed and running in the client device 10 can send a request to the server device 20 through BLE to request the operation of configuring the ASE in the server device 20, and the server device 20 responds to the unicast client It can send a notification to the unicast client and switch the state of the ASE.
  • FIG. 5 shows a flowchart of a parameter setting method provided by an embodiment of the present application.
  • the method can be applied to a client, optionally, the client is the above-mentioned unicast client.
  • the technical solution of the present application will be described by taking the method applied to a unicast client as an example.
  • the method includes the following steps.
  • Step 510 Set n QoS parameters according to the first parameter setting command, where the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and n is an integer greater than 1 or equal to 1.
  • the first parameter setting command is used to set relevant parameters of the first audio group, optionally, the first parameter setting command is the LE Set CIG Parameters command.
  • the first audio group is in a state of no audio group, namely No CIG; before initiating the first parameter setting command, and there is In the case of the first audio group, the first audio group is in a configured state, that is, Configured.
  • the first parameter setting command can trigger the first audio group to switch from the no-audio group state to the configuration state.
  • the unicast client may set n QoS parameters corresponding to the first audio group according to the first parameter setting command, where n is an integer greater than 1 or equal to 1, that is, in this embodiment of the present application, unicast
  • the client sets a plurality of QoS parameters corresponding to the first audio group according to the first parameter setting command, which also ensures that the purpose of QoS parameter switching can be achieved subsequently.
  • the unicast client can also set at least one of the following information according to the first parameter setting command: the identifier of the first audio group.
  • the above step 510 includes: in the case that the server supports at least two QoS parameters for the first audio group, setting n QoS parameters according to the first parameter setting command.
  • the first audio group includes a plurality of audio streams.
  • different audio streams in the first audio group correspond to different QoS parameters among the n QoS parameters.
  • one audio stream in the first audio group corresponds to one QoS parameter among the n QoS parameters.
  • the unicast client can combine these two conditions to set n QoS parameters, that is, the unicast client ensures that different audio streams correspond to different QoS parameters, and that one audio stream corresponds to one QoS parameter. It should be understood that the embodiments of the present application do not limit one QoS parameter to correspond to one audio stream or to multiple different audio streams.
  • one audio stream is defined to correspond to one QoS parameter to ensure that it can be switched to different audio streams in the future. To achieve the purpose of switching QoS parameters.
  • the unicast client can set the corresponding QoS parameter for each audio stream in the first audio group, or set the corresponding QoS parameter for each audio stream in the first audio group.
  • Some audio streams in the audio group are set with corresponding QoS parameters, that is, the number of audio streams included in the first audio group is greater than or equal to n.
  • the method further includes: sending a first parameter configuration request to the server, where the first parameter configuration request includes the first QoS parameter among the n QoS parameters.
  • the unicast client After the unicast client completes setting multiple QoS parameters for the first audio group, it can initiate a configuration QoS operation, that is, the Config QoS operation.
  • the unicast client sends a first parameter configuration request to the server to configure n
  • the first QoS parameter among the QoS parameters is configured to the server, so that the first parameter configuration request includes the first QoS parameter.
  • the first parameter configuration request further includes at least one of the following contents: an identifier of the first audio group, and an identifier of the audio stream corresponding to the first QoS parameter.
  • the unicast client may initiate a configuration codec operation, that is, configure the codec configuration for the server.
  • the server sends a first codec configuration request to configure the first codec configuration to the server.
  • the QoS parameter configured by the unicast client to the server corresponds to the first codec configuration, that is, the first QoS parameter corresponds to the first codec configuration.
  • the configuration codec operation is a Config Codec operation.
  • the ASE in the server switches to the QoS configuration operation.
  • the ASE in the server will switch to the QoS configuration operation.
  • ASE will switch to the startup state, and after the startup is complete, it will enter the streaming state.
  • the unicast client sends the first parameter configuration request to the server, it further includes: starting the audio stream corresponding to the first QoS parameter in the first audio group .
  • the unicast client before starting the first audio stream, configures multiple QoS parameters for the first audio group. It can be seen from the state machine of ASE and related operations that after the first audio group is started, and when the first audio group is in an inactive state, the unicast client can initiate a create CIS command, that is, LE Create CIS command, to switch to other audio streams in the first audio group. Therefore, during the playback of the audio stream, if the unicast client needs to switch QoS parameters, the unicast client can initiate a disable operation or release operation to disable or release the audio stream corresponding to the first QoS parameter, and then The audio stream corresponding to the first QoS parameter is switched to the audio stream corresponding to other QoS parameters.
  • a create CIS command that is, LE Create CIS command
  • the above method further includes: when the first audio group is in an inactive state, sending a second parameter configuration request to the server, where the second parameter configuration request includes the second parameter of the n QoS parameters. QoS parameters; wherein, the audio stream corresponding to the first QoS parameter in the first audio group is different from the audio stream corresponding to the second QoS parameter in the first audio group.
  • the unicast client After disabling or releasing the audio stream corresponding to the first QoS parameter, the unicast client is in an inactive state. At this time, the unicast client can initiate the configuration of QoS parameters again. Optionally, the unicast client sends the first QoS parameter to the server.
  • the second parameter configuration request is used to configure the second QoS parameter among the n QoS parameters to the server, so that the second parameter configuration request includes the second QoS parameter.
  • the second parameter configuration request further includes at least one of the following contents: the identifier of the first audio group, and the identifier of the audio stream corresponding to the second QoS parameter.
  • the unicast client may initiate a configuration codec operation, that is, configure the codec configuration for the server.
  • the server sends a second codec configuration request to configure the second codec configuration to the server.
  • the QoS parameter configured by the unicast client to the server corresponds to the second codec configuration, that is, the second QoS parameter corresponds to the second codec configuration.
  • the ASE in the server switches to the QoS configuration operation.
  • the ASE in the server will switch to the QoS configuration operation.
  • ASE will switch to the startup state, and after the startup is complete, it will enter the streaming state.
  • the method further includes: starting the audio stream corresponding to the second QoS parameter in the first audio group.
  • the technical solutions provided by the embodiments of the present application configure multiple QoS parameters for the audio group before starting the audio stream in the audio group, so as to ensure that after the audio stream is started subsequently, it is possible to switch to different QoS parameters to Play the audio stream, avoid the problem that when the audio group is in the inactive state, it can only switch back and forth between the active state and the inactive state, but cannot configure the QoS parameters, and cannot switch the QoS parameters of the audio stream, and flexibly adjust the QoS of the audio stream.
  • parameter which satisfies the requirement of the user to switch the QoS parameters of the audio stream.
  • one audio stream in the audio group corresponds to one QoS parameter, so as to avoid the situation that the audio stream corresponding to the QoS parameter switched to subsequently does not change and cause the switching failure, and the QoS corresponding to the audio stream is improved.
  • Validity of parameter switching in the embodiment of the present application, after the audio stream is started, although the QoS parameters are switched, the audio group is still switched between the inactive state and the active state, so that the embodiment of the present application can be compatible with the original CIG state machine and related operations , to improve the adaptability and compatibility of the scheme.
  • FIG. 6 shows a schematic diagram of a configuration, activation, and switching process of an audio stream provided by an embodiment of the present application.
  • the unicast client When the target CIG does not exist, that is, when the state of the CIG is no CIG, the unicast client sends a codec configuration request to the unicast server to request the operation of configuring codec configuration A. In response to the codec configuration request, the unicast server sends a codec configuration notification to the unicast client. At this time, the ASE in the unicast server enters the codec configuration state.
  • the unicast client When the unicast client initiates the LE setting CIG parameter command, it creates a CIG_ID, and creates the following three groups of CIS and QoS parameters under the CIG_ID: CIS_ID1 and its corresponding QoS parameters A, CIS_ID2 and its corresponding QoS parameters B, CIS_ID3 and its corresponding QoS parameter C.
  • QoS parameter A corresponds to codec configuration A
  • QoS parameter B corresponds to codec configuration B
  • QoS parameter C corresponds to codec configuration C.
  • the state of the CIG is switched from the no-CIG state to the configuration state.
  • the unicast client sends a QoS parameter configuration request to the unicast server, so as to request the operation of configuring the QoS parameter A corresponding to the codec configuration A.
  • the unicast server sends a QoS parameter configuration notification to the unicast client.
  • the ASE enters the QoS parameter configuration state.
  • the unicast client can start the audio stream corresponding to the QoS parameter A, that is, the audio stream of CIS_ID1, so that the ASE enters the streaming state and the CIG enters the active state.
  • the unicast client can choose to disable or release the audio stream, that is, the unicast client sends a disable request or a release request to the unicast server.
  • the unicast server sends a notification to the unicast client in response to the request of the unicast client, so that the ASE enters the codec configuration state and the CIG enters the inactive state.
  • the unicast client may send a codec configuration request to the unicast server again to request the operation of configuring codec configuration B.
  • the unicast server sends a codec configuration notification to the unicast client.
  • the ASE in the unicast server enters the codec configuration state.
  • the unicast client sends a QoS parameter configuration request to the unicast server, so as to request an operation of configuring the QoS parameter B corresponding to the codec configuration B.
  • the unicast server sends a QoS parameter configuration notification to the unicast client.
  • the ASE enters the QoS parameter configuration state.
  • the unicast client initiates the start operation to trigger the audio stream to enter the streaming state again.
  • the started audio stream is the audio stream corresponding to the QoS parameter B, that is, the audio stream of CIS_ID2, so as to realize the playback of the audio stream again. Based on this, the effect of switching the QoS parameters can be achieved after the audio stream is started.
  • FIG. 7 shows a flowchart of a parameter setting method provided by an embodiment of the present application.
  • the method can be applied to a client, optionally, the client is the above-mentioned unicast client.
  • the method includes the following steps.
  • Step 710 after the first audio stream in the first audio group is started, and in the case that the first audio group is in the configuration state, set the third QoS parameter according to the second parameter setting command, and the third QoS parameter refers to the first QoS parameter.
  • QoS parameters corresponding to the audio stream are set.
  • the embodiments of the present application provide an extended CIG state machine and related operations, so as to realize that after the audio stream is started, the audio group can still be switched back to the configuration state, so as to realize the reconfiguration of QoS parameters.
  • the unicast client sets the third QoS according to the second parameter setting command parameter.
  • the third QoS parameter refers to the QoS parameter corresponding to the first audio stream, that is, in the embodiment of the present application, the QoS parameter corresponding to the first audio stream is changed after the first audio stream is started.
  • the audio group when the audio stream is started, the audio group is in the active state. After that, if the QoS parameter of the audio stream needs to be switched, the unicast client releases or disables the audio stream. At this time , the audio group is inactive. As shown in FIG. 8 , the state machine and related operations of the extended CIG provided by the embodiment of the present application realize the switching between the inactive state and the configuration state of the audio group. When the audio group is in the inactive state Then, the unicast client initiates the LE setting QoS parameter command, so that the audio group can be controlled to switch from the inactive state to the configuration state, so as to realize the reconfiguration of the QoS parameters of the audio stream.
  • the above step 710 includes: after the first audio stream is started and in the case that the first audio group is in an inactive state, initiating a second parameter setting command; when the first audio group is in the configuration In the case of the second parameter setting command, the third QoS parameter is set according to the second parameter setting command; wherein, when the client initiates the second parameter setting command, the first audio group is switched from the inactive state to the configuration state.
  • the above-mentioned initiating the second parameter setting command includes: after the first audio stream is started, initiating a disconnection command; in the case that the first audio group is in an inactive state, initiating a second parameter setting command; wherein, in the When the first audio stream is started, the first audio group is in an active state; when the client initiates a disconnection command, the first audio group is switched from an active state to an inactive state.
  • the method further includes: sending a third parameter configuration request to the server, where the third parameter configuration request includes a third QoS parameter.
  • the third parameter configuration request further includes at least one of the following contents: an identifier of the first audio group and an identifier of the first audio stream.
  • the ASE in the server switches to the QoS configuration operation.
  • the ASE in the server will switch to the QoS configuration operation.
  • ASE will switch to the startup state, and after the startup is complete, it will enter the streaming state.
  • the method further includes: restarting the first audio stream.
  • the technical solutions provided by the embodiments of the present application by extending the state machine of the CIG and related operations, and modifying the original LE to set the CIG parameter command restrictions, realize that after the audio stream in the audio group is started, the audio The group jumps out of the back and forth between the inactive state and the active state, and the audio group is switched from the inactive state to the configuration state through the LE setting CIG parameter command, so as to realize the reconfiguration of the QoS parameters of the audio stream and realize the flexible adjustment of audio
  • the QoS parameters of the stream meet the needs of the user to switch the QoS parameters of the audio stream.
  • the parameter setting method provided by the embodiment of the present application includes the following contents.
  • the unicast client When the target CIG does not exist, that is, when the state of the CIG is no CIG, the unicast client sends a codec configuration request to the unicast server to request the operation of configuring codec configuration A. In response to the codec configuration request, the unicast server sends a codec configuration notification to the unicast client. At this time, the ASE in the unicast server enters the codec configuration state.
  • the unicast client initiates the LE to set the CIG parameter command, it creates a CIG_ID, and creates a CIS_ID1 and its corresponding QoS parameter A under the CIG_ID.
  • the state of the CIG is switched from the no-CIG state to the configuration state.
  • the unicast client sends a QoS parameter configuration request to the unicast server, so as to request the operation of configuring the QoS parameter A corresponding to the codec configuration A.
  • the unicast server sends a QoS parameter configuration notification to the unicast client.
  • the ASE enters the QoS parameter configuration state.
  • the unicast client can start the audio stream corresponding to the QoS parameter A, that is, the audio stream of CIS_ID1, so that the ASE enters the streaming state and the CIG enters the active state.
  • the unicast client can choose to disable or release the audio stream, that is, the unicast client sends a disable request or a release request to the unicast server.
  • the unicast server sends a notification to the unicast client in response to the request of the unicast client, so that the ASE enters the codec configuration state and the CIG enters the inactive state.
  • the unicast client can send a codec configuration request to the unicast server again to request the operation of configuring codec configuration D.
  • the unicast server sends a codec configuration notification to the unicast client.
  • the ASE in the unicast server enters the codec configuration state.
  • the unicast client initiates the LE setting CIG parameter command, so that the CIG switches from the inactive state to the configuration state, and the unicast client can reconfigure the QoS parameters for the CIS (ie CIS_ID1) corresponding to the QoS parameter A.
  • the QoS parameter reconfigured by the unicast client for the CIS_ID1 is the QoS parameter D.
  • the unicast client sends a QoS parameter configuration request to the unicast server, so as to request an operation of configuring the QoS parameter D corresponding to the codec configuration D.
  • the unicast server sends a QoS parameter configuration notification to the unicast client.
  • the ASE enters the QoS parameter configuration state.
  • the unicast client initiates the start operation to trigger the audio stream CIS_ID1 to enter the streaming state again.
  • the embodiments of the present application respectively describe the embodiment in FIG. 5 and the embodiment in FIG. 7, and the solutions introduced in the embodiment in FIG. 5 and the embodiment in FIG. 7 can be used as separate embodiments respectively.
  • the technical solutions provided by the embodiment in FIG. 5 and the embodiment in FIG. 7 can also be used in combination. That is, the technical solution for switching QoS parameters corresponding to different audio streams provided by the embodiment of FIG. 5 may also be based on the extended CIG state machine and related operations provided by the embodiment of FIG. 7 . It should be understood that this should also fall within the protection scope of the present application.
  • the parameter setting method provided by the embodiment of the present application includes the following contents.
  • the unicast client When the target CIG does not exist, that is, when the state of the CIG is no CIG, the unicast client sends a codec configuration request to the unicast server to request the operation of configuring codec configuration A.
  • the unicast server sends a codec configuration notification to the unicast client in response to the codec configuration request.
  • the ASE in the unicast server enters the codec configuration state.
  • the unicast client When the unicast client initiates the LE setting CIG parameter command, it creates a CIG_ID, and creates the following three groups of CIS and QoS parameters under the CIG_ID: CIS_ID1 and its corresponding QoS parameters A, CIS_ID2 and its corresponding QoS parameters B, CIS_ID3 and its corresponding QoS parameter C.
  • QoS parameter A corresponds to codec configuration A
  • QoS parameter B corresponds to codec configuration B
  • QoS parameter C corresponds to codec configuration C.
  • the state of the CIG is switched from the no-CIG state to the configuration state.
  • the unicast client sends a QoS parameter configuration request to the unicast server, so as to request the operation of configuring the QoS parameter A corresponding to the codec configuration A.
  • the unicast server sends a QoS parameter configuration notification to the unicast client.
  • the ASE enters the QoS parameter configuration state.
  • the unicast client can start the audio stream corresponding to the QoS parameter A, that is, the audio stream of CIS_ID1, so that the ASE enters the streaming state and the CIG enters the active state.
  • the unicast client can choose to disable or release the audio stream, that is, the unicast client sends a disable request or a release request to the unicast server.
  • the unicast server sends a notification to the unicast client in response to the request of the unicast client, so that the ASE enters the codec configuration state and the CIG enters the inactive state.
  • the unicast client can switch the QoS parameter A using other QoS parameters configured for the CIG before starting the audio stream.
  • the unicast client can also set the CIG parameter command through the LE to control the CIG to switch from the inactive state to the configured state, thereby Configure new QoS parameters for the CIG, and then switch QoS parameter A with the new QoS parameters.
  • the unicast client switches the QoS parameter A by using other QoS parameters configured for the CIG before starting the audio stream, please refer to the description of the above-mentioned embodiment in FIG. 6 .
  • the following describes the situation that the unicast client configures new QoS parameters for the CIG.
  • the unicast client may send a codec configuration request to the unicast server again to request an operation of configuring codec configuration E.
  • the unicast server sends a codec configuration notification to the unicast client.
  • the ASE in the unicast server enters the codec configuration state.
  • the unicast client initiates the LE setting CIG parameter command, so that the CIG switches from the inactive state to the configuration state, and the unicast client can reconfigure the QoS parameters for the CIS (ie CIS_ID1) corresponding to the QoS parameter A.
  • the QoS parameter reconfigured by the unicast client for the CIS_ID1 is the QoS parameter E.
  • the unicast client sends a QoS parameter configuration request to the unicast server to request the operation of configuring the QoS parameter E corresponding to the codec configuration E.
  • the unicast server sends a QoS parameter configuration notification to the unicast client.
  • the ASE enters the QoS parameter configuration state.
  • the unicast client initiates the start operation to trigger the audio stream CIS_ID1 to enter the streaming state again.
  • FIG. 9 shows a block diagram of a parameter setting apparatus provided by an embodiment of the present application.
  • the apparatus has the function of implementing the above-mentioned example of the client-side method.
  • the functions can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the apparatus may be the client device described above, or may be set in the client device, so as to implement the above-mentioned method for setting parameters on the client side.
  • the apparatus 900 may include: a first setting module 910 .
  • the first setting module 910 is configured to set n QoS parameters according to the first parameter setting command, where the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
  • different audio streams in the first audio group correspond to different QoS parameters among the n QoS parameters.
  • one audio stream in the first audio group corresponds to one QoS parameter of the n QoS parameters.
  • the number of audio streams included in the first audio group is greater than or equal to the n.
  • the first setting module 910 is configured to: in the case that the server supports at least two QoS parameters for the first audio group, set the n QoS parameters according to the first parameter setting command parameter.
  • the apparatus 900 further includes: a first sending module 920, configured to send a first parameter configuration request to the server, where the first parameter configuration request includes the n QoS parameters The first QoS parameter in .
  • the first QoS parameter corresponds to a first codec configuration; wherein, the first codec configuration is the codec configuration included in the first codec configuration request sent by the client to the server .
  • the apparatus 900 further includes: a first activation module 930, configured to activate an audio stream corresponding to the first QoS parameter in the first audio group.
  • the apparatus 900 further includes: a second sending module 940, configured to send a second parameter to the server when the first audio group is in an inactive state A configuration request, the second parameter configuration request includes a second QoS parameter among the n QoS parameters; wherein, the audio stream corresponding to the first QoS parameter in the first audio group is different from the first QoS parameter. Two audio streams corresponding to the QoS parameters in the first audio group.
  • the second QoS parameter corresponds to a second codec configuration; wherein, the second codec configuration is the codec configuration included in the second codec configuration request sent by the client to the server .
  • the apparatus 900 further includes: a second activation module 950, configured to activate the audio stream corresponding to the second QoS parameter in the first audio group.
  • the apparatus 900 further includes: a second setting module 960 for after the first audio stream in the first audio group is started, and in the first audio group In the configuration state, a third QoS parameter is set according to the second parameter setting command, where the third QoS parameter refers to a QoS parameter corresponding to the first audio stream.
  • the second setting module 960 includes: a command initiating unit 962, configured to be in an inactive state after the first audio stream is started and the first audio group is in an inactive state If the first audio group is in the configuration state, receive the second parameter setting command; the second setting unit 964 is configured to set the third parameter according to the second parameter setting command when the first audio group is in the configuration state QoS parameters; wherein, when the client receives the second parameter setting command, the first audio group is switched from an inactive state to the configuration state.
  • the command initiating unit 962 is configured to: after the first audio stream is started, initiate a disconnection command; when the first audio group is in the inactive state In the case of initiating the second parameter setting command; wherein, in the case that the first audio stream is started, the first audio group is in an active state; in the case that the client initiates the cancel connection command , the first audio group is switched from the active state to the inactive state.
  • the apparatus 900 further includes: a third sending module 970, configured to send a third parameter configuration request to the server, where the third parameter configuration request includes the third QoS parameter .
  • the apparatus 900 further includes: a third starting module 980, configured to restart the first audio stream.
  • the apparatus is provided in a client.
  • the client is a unicast client.
  • the technical solutions provided by the embodiments of the present application configure multiple QoS parameters for the audio group before starting the audio stream in the audio group, so as to ensure that after the audio stream is started subsequently, it is possible to switch to different QoS parameters to Play the audio stream, avoid the problem that when the audio group is in the inactive state, it can only switch back and forth between the active state and the inactive state, but cannot configure the QoS parameters, and cannot switch the QoS parameters of the audio stream, and flexibly adjust the QoS of the audio stream.
  • parameter which satisfies the requirement of the user to switch the QoS parameters of the audio stream.
  • one audio stream in the audio group corresponds to one QoS parameter, so as to avoid the situation that the audio stream corresponding to the QoS parameter switched to subsequently does not change and cause the switching failure, and the QoS corresponding to the audio stream is improved.
  • Validity of parameter switching in the embodiment of the present application, after the audio stream is started, although the QoS parameters are switched, the audio group is still switched between the inactive state and the active state, so that the embodiment of the present application can be compatible with the original CIG state machine and related operations , to improve the adaptability and compatibility of the scheme.
  • the technical solutions provided by the embodiments of the present application by extending the state machine of the CIG and related operations, modify the original LE to set the CIG parameter command restrictions, so that after the audio stream in the audio group is started, the audio group jumps out of the Switch back and forth between the active state and the active state, and switch the audio group from the inactive state back to the configuration state through the LE setting CIG parameter command, so as to realize the reconfiguration of the QoS parameters of the audio stream, and realize the flexible adjustment of the QoS of the audio stream.
  • parameter which satisfies the requirement of the user to switch the QoS parameters of the audio stream.
  • the device provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated to different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • FIG. 11 shows a schematic structural diagram of a device 110 provided by an embodiment of the present application.
  • the device can be the above-mentioned client device, and thus, the device can be used to execute the above-mentioned parameter setting method on the client device side.
  • the device 110 may include: a processor 111, and a transceiver 112 connected to the processor 111; wherein:
  • the processor 111 includes one or more processing cores, and the processor 111 executes various functional applications and information processing by running software programs and modules.
  • Transceiver 112 includes a receiver and a transmitter.
  • the transceiver 112 is a communication chip.
  • device 110 also includes: a memory and a bus.
  • the memory is connected to the processor through a bus.
  • the memory can be used to store a computer program, and the processor is used to execute the computer program, so as to implement various steps performed by the client device in the above method embodiments.
  • volatile or non-volatile storage devices include but are not limited to: RAM (Random-Access Memory, random access memory) and ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory) ), flash memory or other solid-state storage technology, CD-ROM (Compact Disc Read-Only Memory), DVD (Digital Video Disc, high-density digital video disc) or other optical storage, tape cassettes, tapes, disk storage or other magnetic storage devices. in:
  • the processor 111 is configured to set n QoS parameters according to the first parameter setting command, the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
  • different audio streams in the first audio group correspond to different QoS parameters among the n QoS parameters.
  • one audio stream in the first audio group corresponds to one QoS parameter of the n QoS parameters.
  • the number of audio streams included in the first audio group is greater than or equal to the n.
  • the processor 111 is configured to: set the n QoS parameters according to the first parameter setting command when the server supports at least two QoS parameters for the first audio group.
  • the transceiver 112 is configured to: send a first parameter configuration request to the server, where the first parameter configuration request includes the first QoS parameter among the n QoS parameters.
  • the first QoS parameter corresponds to a first codec configuration; wherein, the first codec configuration is the codec configuration included in the first codec configuration request sent by the client to the server .
  • the processor 111 is further configured to: start an audio stream corresponding to the first QoS parameter in the first audio group.
  • the transceiver 112 is further configured to: when the first audio group is in an inactive state, send a second parameter configuration request to the server, where the second parameter configuration request includes The second QoS parameter in the n QoS parameters; wherein, the audio stream corresponding to the first QoS parameter in the first audio group is different from the second QoS parameter in the first audio group the corresponding audio stream.
  • the second QoS parameter corresponds to a second codec configuration; wherein the second codec configuration is the codec configuration included in the second codec configuration request sent by the client to the server .
  • the processor 111 is further configured to: start an audio stream corresponding to the second QoS parameter in the first audio group.
  • the processor 111 is further configured to: after the first audio stream in the first audio group is started, and in the case that the first audio group is in the configuration state, according to the second parameter
  • the setting command sets a third QoS parameter, where the third QoS parameter refers to a QoS parameter corresponding to the first audio stream.
  • the transceiver 112 is further configured to initiate the second parameter setting command after the first audio stream is started and when the first audio group is in an inactive state;
  • the processor 111 is further configured to set the third QoS parameter according to the second parameter setting command when the first audio group is in the configuration state; wherein the client initiates the In the case of the second parameter setting command, the first audio group is switched from the inactive state to the configuration state.
  • the transceiver 112 is further configured to: after the first audio stream is started, initiate a disconnection command; in the case that the first audio group is in the inactive state, initiate the a second parameter setting command; wherein, when the first audio stream is started, the first audio group is in an active state; when the client initiates the cancel connection command, the first audio The group switches from the active state to the inactive state.
  • the transceiver 112 is further configured to: send a third parameter configuration request to the server, where the third parameter configuration request includes the third QoS parameter.
  • the processor 111 is further configured to: restart the first audio stream.
  • a client is installed in the device, and the client is configured to execute the above-mentioned parameter setting method on the client device side.
  • the client is a unicast client.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is used to be executed by a processor of a device to implement the above-mentioned method for setting parameters on the client device side .
  • An embodiment of the present application further provides a chip, the chip includes a programmable logic circuit and/or program instructions, and when the chip runs on a device, it is used to implement the above-mentioned parameter setting method on the client device side.
  • the embodiment of the present application also provides a computer program product, which is used to implement the above-mentioned parameter setting method on the client device side when the computer program product runs on the device.
  • Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • a storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Communication Control (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A parameter setting method and apparatus (900), a device (110), and a storage medium, relating to the technical field of Bluetooth. Said method comprises: setting n QoS parameters according to a first parameter setting command, wherein the n QoS parameters refer to QoS parameters corresponding to a first audio group, and n is an integer greater than 1 or equal to 1 (510). According to said method, before an audio stream in an audio group is started, a plurality of QoS parameters are configured for the audio group, so as to ensure that after the audio stream is started subsequently, the audio stream can be switched to different QoS parameters for playing back the audio stream, thereby avoiding the problems that the audio group can only switch, after the audio group is in an inactive state, between an activate state and the inactive state and the QoS parameters cannot be configured and the QoS parameters of the audio stream cannot be switched, achieving flexible adjustment of the QoS parameters of the audio stream, and satisfying the requirements of a user switching the QoS parameters of the audio stream.

Description

参数设置方法、装置、设备及存储介质Parameter setting method, device, equipment and storage medium 技术领域technical field
本申请实施例涉及蓝牙技术领域,特别涉及一种参数设置方法、装置、设备及存储介质。The embodiments of the present application relate to the field of Bluetooth technology, and in particular, to a parameter setting method, apparatus, device, and storage medium.
背景技术Background technique
为提升蓝牙音频特性、规范蓝牙应用产品的使用等,SIG(Bluetooth Special Interest Group,蓝牙技术联盟)提出了LE(Low Energy,低功耗)Audio(音频)标准。In order to improve Bluetooth audio characteristics and standardize the use of Bluetooth application products, SIG (Bluetooth Special Interest Group, Bluetooth Special Interest Group) proposed the LE (Low Energy, low power consumption) Audio (audio) standard.
LE Audio标准包含一系列的Profile(配置文件)/Service(服务),每个service负责不同的功能。LE Unicast(单播)Audio主要涉及的Profile/Service包括BAP(Basic Audio Profile,基本音频配置文件)、ASCS(Audio Stream Control Service,音频流控制服务),ASCS为ASE(Audio Stream Endpoint,音频流端点)定义了状态机。ASE是指存在于Audio Sink(音频接收器)端的流端点,ASCS定义了一系列的operation(操作)用于Audio Source(音频源)来操作音频接收器端的ASE,以达到配置和控制音频流的目的。示例性地,Audio Source设置好音频流的QoS(Quality of Service,服务质量)参数之后,将该QoS参数配置给音频接收器,并启动该音频流,从而音频接收器按照该QoS参数来控制该音频流。The LE Audio standard contains a series of Profile (configuration file)/Service (service), each service is responsible for different functions. LE Unicast (unicast) Audio mainly involves Profile/Service including BAP (Basic Audio Profile, basic audio profile), ASCS (Audio Stream Control Service, audio stream control service), ASCS is ASE (Audio Stream Endpoint, audio stream endpoint) ) defines the state machine. ASE refers to the stream endpoint that exists on the Audio Sink (audio sink) side. ASCS defines a series of operations (operations) for the Audio Source (audio source) to operate the ASE on the audio sink side, so as to configure and control the audio stream. Purpose. Exemplarily, after Audio Source sets the QoS (Quality of Service, quality of service) parameter of the audio stream, configure the QoS parameter to the audio receiver, and start the audio stream, so that the audio receiver controls the audio stream according to the QoS parameter. audio stream.
然而,在相关技术中,音频流在启动之后,音频源将无法重新向音频接收器配置该音频流对应的QoS参数,无法满足用户切换音频流的QoS参数的需求。However, in the related art, after the audio stream is started, the audio source cannot reconfigure the QoS parameters corresponding to the audio stream to the audio sink, which cannot satisfy the user's requirement for switching the QoS parameters of the audio stream.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种参数设置方法、装置、设备及存储介质。所述技术方案如下:Embodiments of the present application provide a parameter setting method, apparatus, device, and storage medium. The technical solution is as follows:
一方面,本申请实施例提供了一种参数设置方法,所述方法包括:On the one hand, the embodiment of the present application provides a parameter setting method, the method includes:
按照第一参数设置命令设置n个QoS参数,所述n个QoS参数是指第一音频组对应的QoS参数,所述n为大于1或等于1的整数。Set n QoS parameters according to the first parameter setting command, the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
另一方面,本申请实施例提供了一种参数设置装置,所述装置包括:On the other hand, an embodiment of the present application provides a parameter setting device, and the device includes:
第一设置模块,用于按照第一参数设置命令设置n个QoS参数,所述n个QoS参数是指第一音频组对应的QoS参数,所述n为大于1或等于1的整数。The first setting module is configured to set n QoS parameters according to the first parameter setting command, the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
再一方面,本申请实施例提供了一种设备,所述设备包括:处理器,以及与所述处理器相连的收发器;其中:In another aspect, an embodiment of the present application provides a device, the device includes: a processor, and a transceiver connected to the processor; wherein:
所述处理器,用于按照第一参数设置命令设置n个服务质量QoS参数,所述n个QoS参数是指第一音频组对应的QoS参数,所述n为大于1或等于1的整数。The processor is configured to set n quality of service QoS parameters according to the first parameter setting command, the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
又一方面,本申请实施例提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序用于被设备的处理器执行,以实现如上述参数设置方法。In another aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is configured to be executed by a processor of a device to implement the above-mentioned parameter setting method.
还一方面,本申请实施例提供了一种芯片,所述芯片包括可编程逻辑电路和/或程序指令,当所述芯片在设备上运行时,用于实现如上述参数设置方法。In another aspect, an embodiment of the present application provides a chip, where the chip includes a programmable logic circuit and/or program instructions, when the chip runs on a device, it is used to implement the above parameter setting method.
还一方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在设备上运行时,用于实现如上述参数设置方法。In another aspect, an embodiment of the present application provides a computer program product, which is used to implement the above-mentioned parameter setting method when the computer program product runs on a device.
本申请实施例提供的技术方案可以包括如下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
通过在启动音频组中的音频流之前,为音频组配置多个QoS参数,从而确保后续启动音频流之后,能够切换至不同的QoS参数以播放音频流,规避音频组处于非激活状态后仅能在 激活状态和非激活状态之间来回转换而无法配置QoS参数、无法实现切换音频流的QoS参数的问题,实现了灵活调整音频流的QoS参数,满足了用户切换音频流的QoS参数的需求。并且,本申请实施例中,音频组中的一个音频流与一个QoS参数对应,从而避免后续切换至的QoS参数对应的音频流没有发生改变而导致切换失败的情况,提升了音频流对应的QoS参数切换的有效性。另外,本申请实施例中,音频流在启动之后,虽然切换QoS参数,但是音频组仍然在非激活状态和激活状态之间转换,从而本申请实施例可以兼容原有的CIG状态机及相关操作,提升方案的适应性和兼容性。By configuring multiple QoS parameters for the audio group before starting the audio stream in the audio group, it ensures that after the audio stream is started subsequently, it can switch to different QoS parameters to play the audio stream, avoiding that the audio group can only be used when the audio group is inactive. Switching back and forth between the active state and the inactive state cannot configure the QoS parameters and switch the QoS parameters of the audio stream. It realizes the flexible adjustment of the QoS parameters of the audio stream, and meets the needs of users to switch the QoS parameters of the audio stream. In addition, in the embodiment of the present application, one audio stream in the audio group corresponds to one QoS parameter, so as to avoid the situation that the audio stream corresponding to the QoS parameter switched to subsequently does not change and cause the switching failure, and the QoS corresponding to the audio stream is improved. Validity of parameter switching. In addition, in the embodiment of the present application, after the audio stream is started, although the QoS parameters are switched, the audio group is still switched between the inactive state and the active state, so that the embodiment of the present application can be compatible with the original CIG state machine and related operations , to improve the adaptability and compatibility of the scheme.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本申请一个实施例提供的ASE的状态机以及相关操作的示意图;1 is a schematic diagram of a state machine and related operations of an ASE provided by an embodiment of the present application;
图2是本申请一个实施例提供的CIG的状态机以及相关操作的示意图;2 is a schematic diagram of a state machine of a CIG and related operations provided by an embodiment of the present application;
图3是本申请一个实施例提供的音频流的QoS参数的配置和启动过程的示意图;3 is a schematic diagram of a configuration and startup process of QoS parameters of an audio stream provided by an embodiment of the present application;
图4是本申请一个实施例提供的应用系统的示意图;4 is a schematic diagram of an application system provided by an embodiment of the present application;
图5是本申请一个实施例提供的参数设置方法的流程图;5 is a flowchart of a parameter setting method provided by an embodiment of the present application;
图6是本申请一个实施例提供的音频流的配置、启动及切换过程的示意图;6 is a schematic diagram of a configuration, startup and switching process of an audio stream provided by an embodiment of the present application;
图7是本申请一个实施例提供的参数设置方法的流程图;7 is a flowchart of a parameter setting method provided by an embodiment of the present application;
图8是本申请一个实施例提供的扩展后的CIG的状态机以及相关操作的示意图;8 is a schematic diagram of a state machine and related operations of an extended CIG provided by an embodiment of the present application;
图9是本申请一个实施例提供的参数设置装置的框图;9 is a block diagram of a parameter setting device provided by an embodiment of the present application;
图10是本申请另一个实施例提供的参数设置装置的框图;10 is a block diagram of a parameter setting device provided by another embodiment of the present application;
图11是本申请一个实施例提供的设备的结构框图;11 is a structural block diagram of a device provided by an embodiment of the present application;
图12是本申请另一个实施例提供的音频流的配置、启动及切换过程的示意图;12 is a schematic diagram of a configuration, startup, and switching process of an audio stream provided by another embodiment of the present application;
图13是本申请又一个实施例提供的音频流的配置、启动及切换过程的示意图。FIG. 13 is a schematic diagram of a configuration, activation, and switching process of an audio stream provided by another embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
本申请实施例描述的网络架构以及业务场景是为了更加清楚地说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. The evolution of new business scenarios and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
由上述背景技术的介绍说明可知,ASCS为ASE定义了状态机。在一个示例中,如图1所示,ASE包括如下几个状态:Codec Configured(编解码配置)、QoS Configured(服务质量配置)、Disabling(禁用)、Enabling(启动)、Streaming(流)、Releasing(释放)、Idle(空闲)。As can be seen from the above description of the background technology, the ASCS defines a state machine for the ASE. In an example, as shown in Figure 1, ASE includes the following states: Codec Configured, QoS Configured, Disabling, Enabling, Streaming, Releasing (release), Idle (idle).
为实现ASE在各个状态之间切换,ASCS定义了一系列的操作用于音频源来操作音频接收器端的ASE。在一个示例中,如图1所示,ASCS中定义了如下几个操作以用于音频源来操作ASE:Config Codec operation(配置编解码操作)、Config QoS operation(配置服务质量操作)、Enable operation(启动操作)、Receiver Start Ready operation(接收器启动就绪操作)、Disable operation(禁用操作)、Receiver Stop Ready operation(接收器停止就绪操作)、Update Metadata operation(更新元数据操作)、Release operation(释放操作)、Released operation(释放结束操作)。In order to realize the switching of ASE between various states, ASCS defines a series of operations for the audio source to operate the ASE on the audio sink side. In one example, as shown in Figure 1, the following operations are defined in ASCS for audio sources to operate ASE: Config Codec operation, Config QoS operation, Enable operation (start operation), Receiver Start Ready operation, Disable operation, Receiver Stop Ready operation, Update Metadata operation, Release operation operation), Released operation (release end operation).
在一个示例中,音频源设置好音频流的QoS参数之后,将该QoS参数配置给音频接收器,并启动该音频流,从而音频接收器按照该QoS参数来控制该音频流。针对音频源,LE Audio 标准提供了一些command(命令)以为profile/service提供配置CIG(Connected Isochronous Group,基于连接的同步组)的能力。In one example, after the audio source sets the QoS parameters of the audio stream, configure the QoS parameters to the audio sink, and start the audio stream, so that the audio sink controls the audio stream according to the QoS parameters. For audio sources, the LE Audio standard provides some commands (commands) to provide profiles/services with the ability to configure CIG (Connected Isochronous Group, connection-based synchronization group).
请参考图2,其示出了本申请一个实施例提供的CIG的状态机以及相关操作。从图2中可以看出,CIG包括如下几个状态:Configured(配置)、Active(激活)、Inactive(非激活)、No CIG(无CIG);CIG包括如下几个相关操作:LE Set CIG Parameters command(LE设置CIG参数命令)、LE Remove CIG command(LE移除CIG命令)、LE Create CIS command(LE创建CIS命令)、Disconnect command(取消连接命令)。其中,LE Audio标准规定了LE设置参数命令使用的一些必要条件(requirement),如下所示。Please refer to FIG. 2 , which shows a state machine and related operations of the CIG provided by an embodiment of the present application. As can be seen from Figure 2, CIG includes the following states: Configured (configured), Active (activated), Inactive (inactive), No CIG (no CIG); CIG includes the following related operations: LE Set CIG Parameters command (LE set CIG parameter command), LE Remove CIG command (LE remove CIG command), LE Create CIS command (LE create CIS command), Disconnect command (cancel connection command). Among them, the LE Audio standard specifies some requirements for the use of the LE set parameter command, as shown below.
CIG_ID(Identifier,标识)参数标识一个CIG,这个参数由中央主机(Central’s Host)分配,并在创建CIS的过程中通过链路层(Link Layer)传递给外围主机(Peripheral’s Host)。如果CIG_ID不存在,则控制器(Controller)应首先创建一个新的CIG。一旦创建了CIG(无论是通过此命令还是以前的命令),控制器都应在CIG_ID指示的CIG中修改或添加CIS配置,并更新适用于CIG的所有参数。如果在CIG不在可配置状态时主机发出此命令,则控制器应返回错误代码“命令不允许”(0x0C)。The CIG_ID (Identifier, identification) parameter identifies a CIG. This parameter is allocated by the central host (Central's Host) and passed to the peripheral host (Peripheral's Host) through the link layer (Link Layer) during the process of creating the CIS. If the CIG_ID does not exist, the Controller should first create a new CIG. Once the CIG is created (either by this command or a previous command), the controller should modify or add the CIS configuration in the CIG indicated by CIG_ID and update all parameters applicable to the CIG. If the host issues this command when the CIG is not in a configurable state, the controller shall return the error code "command not allowed" (0x0C).
因此,LE设置参数命令只能在CIG不存在时,或者CIG已经存在并处于配置状态时才能被正确处理,否则都返回失败。Therefore, the LE set parameter command can only be processed correctly when the CIG does not exist, or when the CIG already exists and is in the configuration state, otherwise it returns a failure.
在一个示例中,基于上述CIG的状态机以及相关操作、ASE的状态机以及相关操作,如图3所示,音频流的QoS参数的配置和启动过程如下所示。In an example, based on the state machine and related operations of the CIG and the state machine and related operations of the ASE, as shown in FIG. 3 , the configuration and startup process of the QoS parameters of the audio stream are as follows.
单播客户端(Unicast Client)在目标CIG不存在的情况下,也即,在CIG的状态为无CIG状态的情况下,向单播服务端(Unicast Server)发送编解码配置请求,以请求进行配置编解码配置A的操作。单播服务端响应于编解码配置请求,向单播客户端发送编解码配置通知(Notification),此时,单播服务端中的ASE进入编解码配置状态。单播客户端在发起LE设置CIG参数命令的情况下,创建CIG_ID,并在CIG_ID下创建CIS_ID1以及该CIS_ID1对应的QoS参数A,此时,CIG的状态由无CIG状态切换至配置状态。之后,单播客户端向单播服务端发送QoS参数配置请求,以请求进行配置QoS参数A的操作。单播服务端响应于QoS参数配置请求,向单播客户端发送QoS参数配置通知,此时,ASE进入QoS参数配置状态。When the target CIG does not exist, that is, when the state of the CIG is no CIG, the unicast client sends a codec configuration request to the unicast server (Unicast Server) to request Configure the operation of codec configuration A. In response to the codec configuration request, the unicast server sends a codec configuration notification (Notification) to the unicast client. At this time, the ASE in the unicast server enters the codec configuration state. When the unicast client initiates the LE setting CIG parameter command, it creates a CIG_ID, and creates a CIS_ID1 and a QoS parameter A corresponding to the CIS_ID1 under the CIG_ID. At this time, the CIG state switches from the no-CIG state to the configuration state. After that, the unicast client sends a QoS parameter configuration request to the unicast server to request the operation of configuring the QoS parameter A. In response to the QoS parameter configuration request, the unicast server sends a QoS parameter configuration notification to the unicast client. At this time, the ASE enters the QoS parameter configuration state.
可选地,单播客户端可以启动音频流,从而ASE进入流状态,CIG进入激活状态。之后,单播客户端可以选择禁用或释放音频流,即单播客户端向单播服务端发送禁用请求或释放请求。单播服务端响应于单播客户端的请求,向单播客户端发送通知,从而ASE进入编解码配置状态,CIG进入非激活状态。Optionally, the unicast client can start audio streaming, so that the ASE enters the streaming state and the CIG enters the active state. After that, the unicast client can choose to disable or release the audio stream, that is, the unicast client sends a disable request or a release request to the unicast server. The unicast server sends a notification to the unicast client in response to the request of the unicast client, so that the ASE enters the codec configuration state and the CIG enters the inactive state.
由上述介绍说明可知,LE设置参数命令只能在CIG不存在时,或者CIG已经存在并处于配置状态时才能被正确处理,否则都返回失败。因此,在CIG处于激活状态或非激活状态时,单播客户端并不能正确处理LE设置参数。如图3所示,在启动音频流之后,且在CIG处于非激活状态的情况下,单播客户端发起LE参数设置命令,以设置CIS_ID1对应的QoS参数B,然而,正是由于CIG处于非激活状态,单播客户端并不能正确处理该命令,从而连接层返回“命令不允许”的错误代码。It can be seen from the above description that the LE setting parameter command can only be processed correctly when the CIG does not exist, or when the CIG already exists and is in the configuration state, otherwise it will return a failure. Therefore, when the CIG is active or inactive, the unicast client does not correctly handle the LE setting parameters. As shown in Figure 3, after starting the audio stream and when the CIG is in an inactive state, the unicast client initiates a LE parameter setting command to set the QoS parameter B corresponding to CIS_ID1. However, it is precisely because the CIG is in an inactive state. In the active state, the unicast client does not process the command correctly, so the connection layer returns an error code of "command not allowed".
因此,在上述示例中,音频流在启动之后,单播客户端将无法重新向单播服务端配置该音频流对应的QoS参数,无法满足用户切换音频流的QoS参数的需求。并且,如图3所示,音频流在启动之前,ASE曾有一段时间处于编解码配置状态,此时,CIG处于配置状态,即能够对该音频流的QoS参数进行配置;音频流在被禁用或释放之后,ASE也处于编解码配置状态,但此时,CIG处于非激活状态,即不能够对该音频流的QoS参数进行配置,从而,ASE同处于编解码配置状态时,是否能够对音频流的QoS参数进行配置的行为却不一致。Therefore, in the above example, after the audio stream is started, the unicast client cannot reconfigure the QoS parameters corresponding to the audio stream to the unicast server, which cannot meet the user's requirement for switching the QoS parameters of the audio stream. And, as shown in Figure 3, before the audio stream is started, the ASE has been in the codec configuration state for a period of time. At this time, the CIG is in the configuration state, that is, the QoS parameters of the audio stream can be configured; the audio stream is disabled Or after the release, the ASE is also in the codec configuration state, but at this time, the CIG is in an inactive state, that is, the QoS parameters of the audio stream cannot be configured. Therefore, when the ASE is in the codec configuration state, can the audio The behavior of configuring the QoS parameters of the flow is inconsistent.
基于此,本申请实施例提供了一种参数设置方法,可以用于解决上述技术问题。下面,通过几个实施例对本申请提供的技术方案进行介绍说明。需要说明的一点是,本申请实施例中为了便于表述,将CIG称为音频组、将CIS称为音频流,本领域技术人员应当能够理解其 含义。Based on this, the embodiment of the present application provides a parameter setting method, which can be used to solve the above technical problem. Hereinafter, the technical solutions provided by the present application will be introduced and described through several embodiments. It should be noted that, in the embodiments of the present application, for ease of expression, CIG is referred to as an audio group, and CIS is referred to as an audio stream, and those skilled in the art should be able to understand the meaning.
请参考图4,其示出了本申请一个实施例提供的应用系统的示意图。该应用系统包括:客户端设备10和服务端设备20。Please refer to FIG. 4 , which shows a schematic diagram of an application system provided by an embodiment of the present application. The application system includes: a client device 10 and a server device 20 .
客户端设备10是指安装运行有单播客户端的设备,可选地,客户端设备10为上述音频源(Audio Source)。本申请实施例对客户端设备10的设备类型不作限定,可选地,客户端设备10包括:手机、平板电脑、游戏主机、电子书阅读器、多媒体播放设备、可穿戴设备、PC(Personal Computer,个人计算机)、智能电视、智能车载等设备。The client device 10 refers to a device on which a unicast client is installed and running. Optionally, the client device 10 is the above-mentioned audio source (Audio Source). This embodiment of the present application does not limit the device type of the client device 10. Optionally, the client device 10 includes: a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device, a PC (Personal Computer) , personal computer), smart TV, smart car and other equipment.
服务端设备20用于为单播客户端提供单播服务,可选地,服务端设备20为上述音频接收器(Audio Sink)。本申请实施例对服务端设备20的设备类型不作限定,可选地,单播服务端20包括:服务器、计算机、电脑、主机等设备。可选地,在服务端设备20为服务器的情况下,服务端设备20可以是一台服务器,也可以是由多台服务器组成的服务器集群,还可以是一个云计算中心。The server device 20 is configured to provide a unicast service for the unicast client. Optionally, the server device 20 is the above-mentioned audio sink (Audio Sink). This embodiment of the present application does not limit the device type of the server device 20. Optionally, the unicast server 20 includes: a server, a computer, a computer, a host, and other devices. Optionally, in the case where the server device 20 is a server, the server device 20 may be a server, a server cluster composed of multiple servers, or a cloud computing center.
可选地,客户端设备10和服务端设备20之间通过BLE(Bluetooth Low Energy,低功耗蓝牙)进行相互通信。在一个示例中,客户端设备10中安装运行的单播客户端可以通过BLE向服务端设备20发送请求,以请求进行配置服务端设备20中ASE的操作,服务端设备20响应于单播客户端的请求,可以向单播客户端发送通知(Notification),并切换ASE的状态。Optionally, the client device 10 and the server device 20 communicate with each other through BLE (Bluetooth Low Energy, Bluetooth Low Energy). In an example, the unicast client installed and running in the client device 10 can send a request to the server device 20 through BLE to request the operation of configuring the ASE in the server device 20, and the server device 20 responds to the unicast client It can send a notification to the unicast client and switch the state of the ASE.
请参考图5,其示出了本申请一个实施例提供的参数设置方法的流程图。该方法可以应用于客户端中,可选地,该客户端为上述单播客户端。下面,以该方法应用于单播客户端为例对本申请的技术方案进行介绍说明。该方法包括如下几个步骤。Please refer to FIG. 5 , which shows a flowchart of a parameter setting method provided by an embodiment of the present application. The method can be applied to a client, optionally, the client is the above-mentioned unicast client. Hereinafter, the technical solution of the present application will be described by taking the method applied to a unicast client as an example. The method includes the following steps.
步骤510,按照第一参数设置命令设置n个QoS参数,n个QoS参数是指第一音频组对应的QoS参数,n为大于1或等于1的整数。Step 510: Set n QoS parameters according to the first parameter setting command, where the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and n is an integer greater than 1 or equal to 1.
第一参数设置命令用于设置第一音频组的相关参数,可选地,第一参数设置命令为LE Set CIG Parameters command。可选地,在发起第一参数设置命令之前,且在不存在第一音频组的情况下,第一音频组处于无音频组状态,即No CIG;在发起第一参数设置命令之前,且存在第一音频组的情况下,第一音频组处于配置状态,即Configured。第一参数设置命令能够触发第一音频组从无音频组状态切换至配置状态。The first parameter setting command is used to set relevant parameters of the first audio group, optionally, the first parameter setting command is the LE Set CIG Parameters command. Optionally, before initiating the first parameter setting command, and in the absence of the first audio group, the first audio group is in a state of no audio group, namely No CIG; before initiating the first parameter setting command, and there is In the case of the first audio group, the first audio group is in a configured state, that is, Configured. The first parameter setting command can trigger the first audio group to switch from the no-audio group state to the configuration state.
本申请实施例中,单播客户端可以按照第一参数设置命令设置第一音频组对应的n个QoS参数,n为大于1或等于1的整数,也即,本申请实施例中,单播客户端按照第一参数设置命令设置第一音频组对应的多个QoS参数,也确保后续能够实现QoS参数切换的目的。可选地,在发起第一参数设置命令之前,且在不存在第一音频组的情况下,单播客户端还可以按照第一参数设置命令设置以下至少一项信息:第一音频组的标识,即CIG_ID;第一音频组中包括的音频流,以及音频流的标识,即CIS_ID。此外,由于服务端支持QoS参数的情况不一,若服务端仅支持一个QoS参数,则单播客户端为第一音频组设置多个QoS参数也不能达到后续切换不同的QoS参数的目的。因此,在一个示例中,上述步骤510,包括:在服务端针对第一音频组支持至少两个QoS参数的情况下,按照第一参数设置命令设置n个QoS参数。In this embodiment of the present application, the unicast client may set n QoS parameters corresponding to the first audio group according to the first parameter setting command, where n is an integer greater than 1 or equal to 1, that is, in this embodiment of the present application, unicast The client sets a plurality of QoS parameters corresponding to the first audio group according to the first parameter setting command, which also ensures that the purpose of QoS parameter switching can be achieved subsequently. Optionally, before initiating the first parameter setting command and in the absence of the first audio group, the unicast client can also set at least one of the following information according to the first parameter setting command: the identifier of the first audio group. , that is, CIG_ID; the audio stream included in the first audio group, and the identification of the audio stream, that is, CIS_ID. In addition, since the server supports different QoS parameters, if the server supports only one QoS parameter, the unicast client setting multiple QoS parameters for the first audio group cannot achieve the purpose of switching different QoS parameters subsequently. Therefore, in an example, the above step 510 includes: in the case that the server supports at least two QoS parameters for the first audio group, setting n QoS parameters according to the first parameter setting command.
第一音频组包括多个音频流。可选地,第一音频组中不同的音频流与n个QoS参数中不同的QoS参数对应。可选地,第一音频组中的一个音频流与n个QoS参数中的一个QoS参数对应。可选地,单播客户端可以结合这两个条件来设置n个QoS参数,也即,单播客户端确保不同的音频流与不同的QoS参数对应,且确保一个音频流对应一个QoS参数。应理解,本申请实施例并不限定一个QoS参数对应一个音频流,还是对应多个不同的音频流,此处限定一个音频流对应一个QoS参数,是为了确保后续能够切换至不同的音频流,实现切换QoS参数的目的。The first audio group includes a plurality of audio streams. Optionally, different audio streams in the first audio group correspond to different QoS parameters among the n QoS parameters. Optionally, one audio stream in the first audio group corresponds to one QoS parameter among the n QoS parameters. Optionally, the unicast client can combine these two conditions to set n QoS parameters, that is, the unicast client ensures that different audio streams correspond to different QoS parameters, and that one audio stream corresponds to one QoS parameter. It should be understood that the embodiments of the present application do not limit one QoS parameter to correspond to one audio stream or to multiple different audio streams. Here, one audio stream is defined to correspond to one QoS parameter to ensure that it can be switched to different audio streams in the future. To achieve the purpose of switching QoS parameters.
基于“一个音频流对应一个QoS参数”这一条件,在设置n个QoS参数时,单播客户端可以为第一音频组中的每一个音频流都设置对应的QoS参数,也可以为第一音频组中的部分 音频流设置对应的QoS参数,也即,第一音频组中包括的音频流的数量大于或等于n。Based on the condition that "one audio stream corresponds to one QoS parameter", when setting n QoS parameters, the unicast client can set the corresponding QoS parameter for each audio stream in the first audio group, or set the corresponding QoS parameter for each audio stream in the first audio group Some audio streams in the audio group are set with corresponding QoS parameters, that is, the number of audio streams included in the first audio group is greater than or equal to n.
在一个示例中,上述步骤510之后,还包括:向服务端发送第一参数配置请求,第一参数配置请求包括n个QoS参数中的第一QoS参数。In an example, after step 510, the method further includes: sending a first parameter configuration request to the server, where the first parameter configuration request includes the first QoS parameter among the n QoS parameters.
单播客户端在为第一音频组设置完成多个QoS参数后,可以发起配置QoS操作,即Config QoS operation,可选地,单播客户端向服务端发送第一参数配置请求,以将n个QoS参数中的第一QoS参数配置给服务端,从而,第一参数配置请求中包括第一QoS参数。可选地,第一参数配置请求中还包括以下至少一项内容:第一音频组的标识、第一QoS参数对应的音频流的标识。After the unicast client completes setting multiple QoS parameters for the first audio group, it can initiate a configuration QoS operation, that is, the Config QoS operation. Optionally, the unicast client sends a first parameter configuration request to the server to configure n The first QoS parameter among the QoS parameters is configured to the server, so that the first parameter configuration request includes the first QoS parameter. Optionally, the first parameter configuration request further includes at least one of the following contents: an identifier of the first audio group, and an identifier of the audio stream corresponding to the first QoS parameter.
本申请实施例中,单播客户端在将第一QoS参数配置给服务端之前,可以先发起配置编解码操作,也即,为服务端配置编解码配置,可选地,单播客户端向服务端发送第一编解码配置请求,以向服务端配置第一编解码配置。基于此,可选地,单播客户端向服务端配置的QoS参数与第一编解码配置对应,即第一QoS参数与第一编解码配置相对应。可选地,配置编解码操作为Config Codec operation。In this embodiment of the present application, before configuring the first QoS parameter to the server, the unicast client may initiate a configuration codec operation, that is, configure the codec configuration for the server. The server sends a first codec configuration request to configure the first codec configuration to the server. Based on this, optionally, the QoS parameter configured by the unicast client to the server corresponds to the first codec configuration, that is, the first QoS parameter corresponds to the first codec configuration. Optionally, the configuration codec operation is a Config Codec operation.
在单播客户端发起配置QoS操作的情况下,服务端中的ASE切换至QoS配置操作,依据ASE的状态机及相关操作,此时,若单播客户端发起启动操作,则服务端中的ASE将切换至启动状态,并在启动结束后,进入流状态。基于此,为了达到音频流播放的效果,在一个示例中,上述单播客户端向服务端发送第一参数配置请求之后,还包括:启动第一QoS参数在第一音频组中对应的音频流。When the unicast client initiates the QoS configuration operation, the ASE in the server switches to the QoS configuration operation. According to the state machine of the ASE and related operations, at this time, if the unicast client initiates the start operation, the ASE in the server will switch to the QoS configuration operation. ASE will switch to the startup state, and after the startup is complete, it will enter the streaming state. Based on this, in order to achieve the effect of playing the audio stream, in an example, after the unicast client sends the first parameter configuration request to the server, it further includes: starting the audio stream corresponding to the first QoS parameter in the first audio group .
本申请实施例中,单播客户端在启动第一音频流之前,为第一音频组配置了多个QoS参数。由ASE的状态机及相关操作可见,在第一音频组启动之后,且在第一音频组处于非激活状态的情况下,单播客户端可以发起创建CIS命令,即LE Create CIS command,以切换至第一音频组中的其它音频流。因此,在音频流播放过程中,单播客户端若存在切换QoS参数的需求,则单播客户端可以在发起禁用操作或释放操作,以禁用或释放第一QoS参数对应的音频流之后,从第一QoS参数对应的音频流切换至其它QoS参数对应的音频流。In this embodiment of the present application, before starting the first audio stream, the unicast client configures multiple QoS parameters for the first audio group. It can be seen from the state machine of ASE and related operations that after the first audio group is started, and when the first audio group is in an inactive state, the unicast client can initiate a create CIS command, that is, LE Create CIS command, to switch to other audio streams in the first audio group. Therefore, during the playback of the audio stream, if the unicast client needs to switch QoS parameters, the unicast client can initiate a disable operation or release operation to disable or release the audio stream corresponding to the first QoS parameter, and then The audio stream corresponding to the first QoS parameter is switched to the audio stream corresponding to other QoS parameters.
基于此,在一个示例中,上述方法还包括:在第一音频组处于非激活状态的情况下,向服务端发送第二参数配置请求,第二参数配置请求包括n个QoS参数中的第二QoS参数;其中,第一QoS参数在第一音频组中对应的音频流,不同于第二QoS参数在第一音频组中对应的音频流。Based on this, in an example, the above method further includes: when the first audio group is in an inactive state, sending a second parameter configuration request to the server, where the second parameter configuration request includes the second parameter of the n QoS parameters. QoS parameters; wherein, the audio stream corresponding to the first QoS parameter in the first audio group is different from the audio stream corresponding to the second QoS parameter in the first audio group.
在禁用或释放第一QoS参数对应的音频流之后,单播客户端处于非激活状态,此时,单播客户端可以再次发起配置QoS参数,可选地,单播客户端向服务端发送第二参数配置请求,以将n个QoS参数中的第二QoS参数配置给服务端,从而,第二参数配置请求中包括第二QoS参数。可选地,第二参数配置请求中还包括以下至少一项内容:第一音频组的标识、第二QoS参数对应的音频流的标识。After disabling or releasing the audio stream corresponding to the first QoS parameter, the unicast client is in an inactive state. At this time, the unicast client can initiate the configuration of QoS parameters again. Optionally, the unicast client sends the first QoS parameter to the server. The second parameter configuration request is used to configure the second QoS parameter among the n QoS parameters to the server, so that the second parameter configuration request includes the second QoS parameter. Optionally, the second parameter configuration request further includes at least one of the following contents: the identifier of the first audio group, and the identifier of the audio stream corresponding to the second QoS parameter.
本申请实施例中,单播客户端在将第二QoS参数配置给服务端之前,可以先发起配置编解码操作,也即,为服务端配置编解码配置,可选地,单播客户端向服务端发送第二编解码配置请求,以向服务端配置第二编解码配置。基于此,可选地,单播客户端向服务端配置的QoS参数与第二编解码配置对应,即第二QoS参数与第二编解码配置相对应。In this embodiment of the present application, before configuring the second QoS parameter to the server, the unicast client may initiate a configuration codec operation, that is, configure the codec configuration for the server. The server sends a second codec configuration request to configure the second codec configuration to the server. Based on this, optionally, the QoS parameter configured by the unicast client to the server corresponds to the second codec configuration, that is, the second QoS parameter corresponds to the second codec configuration.
在单播客户端发起配置QoS操作的情况下,服务端中的ASE切换至QoS配置操作,依据ASE的状态机及相关操作,此时,若单播客户端发起启动操作,则服务端中的ASE将切换至启动状态,并在启动结束后,进入流状态。基于此,为了再次达到音频流播放的效果,在一个示例中,上述向服务端发送第二参数配置请求之后,还包括:启动第二QoS参数在第一音频组中对应的音频流。When the unicast client initiates the QoS configuration operation, the ASE in the server switches to the QoS configuration operation. According to the state machine of the ASE and related operations, at this time, if the unicast client initiates the start operation, the ASE in the server will switch to the QoS configuration operation. ASE will switch to the startup state, and after the startup is complete, it will enter the streaming state. Based on this, in order to achieve the effect of playing the audio stream again, in an example, after sending the second parameter configuration request to the server, the method further includes: starting the audio stream corresponding to the second QoS parameter in the first audio group.
综上所述,本申请实施例提供的技术方案,通过在启动音频组中的音频流之前,为音频组配置多个QoS参数,从而确保后续启动音频流之后,能够切换至不同的QoS参数以播放音频流,规避音频组处于非激活状态后仅能在激活状态和非激活状态之间来回转换而无法配置QoS参数、无法实现切换音频流的QoS参数的问题,实现了灵活调整音频流的QoS参数,满 足了用户切换音频流的QoS参数的需求。并且,本申请实施例中,音频组中的一个音频流与一个QoS参数对应,从而避免后续切换至的QoS参数对应的音频流没有发生改变而导致切换失败的情况,提升了音频流对应的QoS参数切换的有效性。另外,本申请实施例中,音频流在启动之后,虽然切换QoS参数,但是音频组仍然在非激活状态和激活状态之间转换,从而本申请实施例可以兼容原有的CIG状态机及相关操作,提升方案的适应性和兼容性。To sum up, the technical solutions provided by the embodiments of the present application configure multiple QoS parameters for the audio group before starting the audio stream in the audio group, so as to ensure that after the audio stream is started subsequently, it is possible to switch to different QoS parameters to Play the audio stream, avoid the problem that when the audio group is in the inactive state, it can only switch back and forth between the active state and the inactive state, but cannot configure the QoS parameters, and cannot switch the QoS parameters of the audio stream, and flexibly adjust the QoS of the audio stream. parameter, which satisfies the requirement of the user to switch the QoS parameters of the audio stream. In addition, in the embodiment of the present application, one audio stream in the audio group corresponds to one QoS parameter, so as to avoid the situation that the audio stream corresponding to the QoS parameter switched to subsequently does not change and cause the switching failure, and the QoS corresponding to the audio stream is improved. Validity of parameter switching. In addition, in the embodiment of the present application, after the audio stream is started, although the QoS parameters are switched, the audio group is still switched between the inactive state and the active state, so that the embodiment of the present application can be compatible with the original CIG state machine and related operations , to improve the adaptability and compatibility of the scheme.
下面,以一个示例对上述图5实施例进行介绍说明。请参考图6,其示出了本申请一个实施例提供的音频流的配置、启动及切换过程的示意图。Hereinafter, the above-mentioned embodiment in FIG. 5 will be described by taking an example. Please refer to FIG. 6 , which shows a schematic diagram of a configuration, activation, and switching process of an audio stream provided by an embodiment of the present application.
单播客户端在目标CIG不存在的情况下,也即,在CIG的状态为无CIG状态的情况下,向单播服务端发送编解码配置请求,以请求进行配置编解码配置A的操作。单播服务端响应于编解码配置请求,向单播客户端发送编解码配置通知,此时,单播服务端中的ASE进入编解码配置状态。单播客户端在发起LE设置CIG参数命令的情况下,创建CIG_ID,并在CIG_ID下创建以下三组CIS和QoS参数:CIS_ID1及其对应的QoS参数A、CIS_ID2及其对应的QoS参数B、CIS_ID3及其对应的QoS参数C。并且,QoS参数A对应编解码配置A、QoS参数B对应编解码配置B、QoS参数C对应编解码配置C。When the target CIG does not exist, that is, when the state of the CIG is no CIG, the unicast client sends a codec configuration request to the unicast server to request the operation of configuring codec configuration A. In response to the codec configuration request, the unicast server sends a codec configuration notification to the unicast client. At this time, the ASE in the unicast server enters the codec configuration state. When the unicast client initiates the LE setting CIG parameter command, it creates a CIG_ID, and creates the following three groups of CIS and QoS parameters under the CIG_ID: CIS_ID1 and its corresponding QoS parameters A, CIS_ID2 and its corresponding QoS parameters B, CIS_ID3 and its corresponding QoS parameter C. Moreover, QoS parameter A corresponds to codec configuration A, QoS parameter B corresponds to codec configuration B, and QoS parameter C corresponds to codec configuration C.
此时,CIG的状态由无CIG状态切换至配置状态。之后,单播客户端向单播服务端发送QoS参数配置请求,以请求进行配置与编解码配置A对应的QoS参数A的操作。单播服务端响应于QoS参数配置请求,向单播客户端发送QoS参数配置通知,此时,ASE进入QoS参数配置状态。At this time, the state of the CIG is switched from the no-CIG state to the configuration state. After that, the unicast client sends a QoS parameter configuration request to the unicast server, so as to request the operation of configuring the QoS parameter A corresponding to the codec configuration A. In response to the QoS parameter configuration request, the unicast server sends a QoS parameter configuration notification to the unicast client. At this time, the ASE enters the QoS parameter configuration state.
可选地,单播客户端可以启动QoS参数A对应的音频流,即CIS_ID1这一音频流,从而ASE进入流状态,CIG进入激活状态。之后,在单播客户端存在切换QoS参数的需求的情况下,单播客户端可以选择禁用或释放音频流,即单播客户端向单播服务端发送禁用请求或释放请求。单播服务端响应于单播客户端的请求,向单播客户端发送通知,从而ASE进入编解码配置状态,CIG进入非激活状态。Optionally, the unicast client can start the audio stream corresponding to the QoS parameter A, that is, the audio stream of CIS_ID1, so that the ASE enters the streaming state and the CIG enters the active state. Afterwards, when the unicast client needs to switch QoS parameters, the unicast client can choose to disable or release the audio stream, that is, the unicast client sends a disable request or a release request to the unicast server. The unicast server sends a notification to the unicast client in response to the request of the unicast client, so that the ASE enters the codec configuration state and the CIG enters the inactive state.
在CIG处于非激活状态的情况下,单播客户端可以向单播服务器再次发送编解码配置请求,以请求进行配置编解码配置B的操作。单播服务端响应于编解码配置请求,向单播客户端发送编解码配置通知,此时,单播服务端中的ASE进入编解码配置状态。之后,单播客户端向单播服务端发送QoS参数配置请求,以请求进行配置与编解码配置B对应的QoS参数B的操作。单播服务端响应于QoS参数配置请求,向单播客户端发送QoS参数配置通知,此时,ASE进入QoS参数配置状态。单播客户端发起启动操作即可再次触发音频流进入流状态,此时,启动的音频流为QoS参数B对应的音频流,即CIS_ID2这一音频流,从而再次实现音频流的播放。基于此,可以实现在音频流启动之后,切换QoS参数的效果。When the CIG is in an inactive state, the unicast client may send a codec configuration request to the unicast server again to request the operation of configuring codec configuration B. In response to the codec configuration request, the unicast server sends a codec configuration notification to the unicast client. At this time, the ASE in the unicast server enters the codec configuration state. After that, the unicast client sends a QoS parameter configuration request to the unicast server, so as to request an operation of configuring the QoS parameter B corresponding to the codec configuration B. In response to the QoS parameter configuration request, the unicast server sends a QoS parameter configuration notification to the unicast client. At this time, the ASE enters the QoS parameter configuration state. The unicast client initiates the start operation to trigger the audio stream to enter the streaming state again. At this time, the started audio stream is the audio stream corresponding to the QoS parameter B, that is, the audio stream of CIS_ID2, so as to realize the playback of the audio stream again. Based on this, the effect of switching the QoS parameters can be achieved after the audio stream is started.
请参考图7,其示出了本申请一个实施例提供的参数设置方法的流程图。该方法可以应用于客户端中,可选地,该客户端为上述单播客户端。该方法包括如下几个步骤。Please refer to FIG. 7 , which shows a flowchart of a parameter setting method provided by an embodiment of the present application. The method can be applied to a client, optionally, the client is the above-mentioned unicast client. The method includes the following steps.
步骤710,在第一音频组中的第一音频流启动之后,且在第一音频组处于配置状态的情况下,按照第二参数设置命令设置第三QoS参数,第三QoS参数是指第一音频流对应的QoS参数。 Step 710, after the first audio stream in the first audio group is started, and in the case that the first audio group is in the configuration state, set the third QoS parameter according to the second parameter setting command, and the third QoS parameter refers to the first QoS parameter. QoS parameters corresponding to the audio stream.
由上述图3实施例和图2可见,基于原有的CIG的状态机及相关操作,在音频流启动之后,若需要实现播放音频组中的音频流,则该音频组的状态只能在激活状态和非激活状态之间切换。从而,在音频流启动之后,基于原有的CIG的状态机及相关操作,音频组无法处于配置状态,进而也无法实现QoS参数的配置。As can be seen from the above-mentioned Fig. 3 embodiment and Fig. 2, based on the state machine of the original CIG and related operations, after the audio stream is started, if the audio stream in the audio group needs to be played, the state of the audio group can only be activated. Toggle between state and inactive state. Therefore, after the audio stream is started, based on the state machine of the original CIG and related operations, the audio group cannot be in the configuration state, and thus the configuration of the QoS parameters cannot be realized.
为解决上述问题,本申请实施例提供了扩展的CIG的状态机及相关操作,以实现在音频流启动之后,音频组仍然可以切换回配置状态,从而实现对QoS参数的重配置。基于此,本申请实施例中,在第一音频组中的第一音频流启动之后,且在第一音频组处于配置状态的情况下,单播客户端按照第二参数设置命令设置第三QoS参数。其中,第三QoS参数是指第一 音频流对应的QoS参数,也即,本申请实施例是在第一音频流启动之后,更改第一音频流对应的QoS参数。To solve the above problem, the embodiments of the present application provide an extended CIG state machine and related operations, so as to realize that after the audio stream is started, the audio group can still be switched back to the configuration state, so as to realize the reconfiguration of QoS parameters. Based on this, in this embodiment of the present application, after the first audio stream in the first audio group is started and the first audio group is in the configuration state, the unicast client sets the third QoS according to the second parameter setting command parameter. Wherein, the third QoS parameter refers to the QoS parameter corresponding to the first audio stream, that is, in the embodiment of the present application, the QoS parameter corresponding to the first audio stream is changed after the first audio stream is started.
按照原有的CIG的状态机和相关操作,在启动音频流的情况下,音频组处于激活状态,之后,若需求切换音频流的QoS参数,则单播客户端释放或禁用音频流,此时,音频组处于非激活状态。如图8所示,本申请实施例所提供的扩展的CIG的状态机及相关操作,正是实现了音频组在非激活状态和配置状态之间的切换,在音频组处于非激活状态的情况下,单播客户端发起LE设置QoS参数命令,从而可以控制音频组由非激活状态切换至配置状态,以实现对音频流的QoS参数的重配置。According to the original CIG state machine and related operations, when the audio stream is started, the audio group is in the active state. After that, if the QoS parameter of the audio stream needs to be switched, the unicast client releases or disables the audio stream. At this time , the audio group is inactive. As shown in FIG. 8 , the state machine and related operations of the extended CIG provided by the embodiment of the present application realize the switching between the inactive state and the configuration state of the audio group. When the audio group is in the inactive state Then, the unicast client initiates the LE setting QoS parameter command, so that the audio group can be controlled to switch from the inactive state to the configuration state, so as to realize the reconfiguration of the QoS parameters of the audio stream.
基于此,在一个示例中,上述步骤710,包括:在第一音频流启动之后,且在第一音频组处于非激活状态的情况下,发起第二参数设置命令;在第一音频组处于配置状态的情况下,按照第二参数设置命令设置第三QoS参数;其中,在客户端发起第二参数设置命令的情况下,第一音频组由非激活状态切换至配置状态。可选地,上述发起第二参数设置命令,包括:在第一音频流启动之后,发起取消连接命令;在第一音频组处于非激活状态的情况下,发起第二参数设置命令;其中,在第一音频流启动的情况下,第一音频组处于激活状态;在客户端发起取消连接命令的情况下,第一音频组由激活状态切换至非激活状态。Based on this, in an example, the above step 710 includes: after the first audio stream is started and in the case that the first audio group is in an inactive state, initiating a second parameter setting command; when the first audio group is in the configuration In the case of the second parameter setting command, the third QoS parameter is set according to the second parameter setting command; wherein, when the client initiates the second parameter setting command, the first audio group is switched from the inactive state to the configuration state. Optionally, the above-mentioned initiating the second parameter setting command includes: after the first audio stream is started, initiating a disconnection command; in the case that the first audio group is in an inactive state, initiating a second parameter setting command; wherein, in the When the first audio stream is started, the first audio group is in an active state; when the client initiates a disconnection command, the first audio group is switched from an active state to an inactive state.
单播客户端在重配置第一音频流对应的QoS参数之后,需要将重配置得到的QoS参数配置给服务端。基于此,在一个示例中,上述步骤510之后,还包括:向服务端发送第三参数配置请求,第三参数配置请求包括第三QoS参数。可选地,第三参数配置请求中还包括以下至少一项内容:第一音频组的标识、第一音频流的标识。After reconfiguring the QoS parameters corresponding to the first audio stream, the unicast client needs to configure the reconfigured QoS parameters to the server. Based on this, in an example, after step 510, the method further includes: sending a third parameter configuration request to the server, where the third parameter configuration request includes a third QoS parameter. Optionally, the third parameter configuration request further includes at least one of the following contents: an identifier of the first audio group and an identifier of the first audio stream.
在单播客户端发起配置QoS操作的情况下,服务端中的ASE切换至QoS配置操作,依据ASE的状态机及相关操作,此时,若单播客户端发起启动操作,则服务端中的ASE将切换至启动状态,并在启动结束后,进入流状态。基于此,为了再次达到音频流播放的效果,在一个示例中,上述向服务端发送第三参数配置请求之后,还包括:重新启动第一音频流。When the unicast client initiates the QoS configuration operation, the ASE in the server switches to the QoS configuration operation. According to the state machine of the ASE and related operations, at this time, if the unicast client initiates the start operation, the ASE in the server will switch to the QoS configuration operation. ASE will switch to the startup state, and after the startup is complete, it will enter the streaming state. Based on this, in order to achieve the effect of playing the audio stream again, in an example, after sending the third parameter configuration request to the server, the method further includes: restarting the first audio stream.
综上所述,本申请实施例提供的技术方案,通过扩展CIG的状态机及相关操作,修改原有的LE设置CIG参数命令的限制条件,实现在音频组中的音频流启动之后,该音频组跳出非激活状态和激活状态之间的来回转换,并通过LE设置CIG参数命令实现音频组由非激活状态切换回配置状态,从而实现对音频流的QoS参数进行重配置,实现了灵活调整音频流的QoS参数,满足了用户切换音频流的QoS参数的需求。To sum up, the technical solutions provided by the embodiments of the present application, by extending the state machine of the CIG and related operations, and modifying the original LE to set the CIG parameter command restrictions, realize that after the audio stream in the audio group is started, the audio The group jumps out of the back and forth between the inactive state and the active state, and the audio group is switched from the inactive state to the configuration state through the LE setting CIG parameter command, so as to realize the reconfiguration of the QoS parameters of the audio stream and realize the flexible adjustment of audio The QoS parameters of the stream meet the needs of the user to switch the QoS parameters of the audio stream.
下面,以一个示例对上述图7实施例进行介绍说明。基于图7所示的扩展后的CIG的状态机及相关操作,请参考图12,本申请实施例所提供的参数设置方法包括如下内容。Hereinafter, the above-mentioned embodiment of FIG. 7 will be introduced and described by taking an example. Based on the state machine and related operations of the expanded CIG shown in FIG. 7 , please refer to FIG. 12 , the parameter setting method provided by the embodiment of the present application includes the following contents.
单播客户端在目标CIG不存在的情况下,也即,在CIG的状态为无CIG状态的情况下,向单播服务端发送编解码配置请求,以请求进行配置编解码配置A的操作。单播服务端响应于编解码配置请求,向单播客户端发送编解码配置通知,此时,单播服务端中的ASE进入编解码配置状态。单播客户端在发起LE设置CIG参数命令的情况下,创建CIG_ID,并在CIG_ID下创建CIS_ID1及其对应的QoS参数A。When the target CIG does not exist, that is, when the state of the CIG is no CIG, the unicast client sends a codec configuration request to the unicast server to request the operation of configuring codec configuration A. In response to the codec configuration request, the unicast server sends a codec configuration notification to the unicast client. At this time, the ASE in the unicast server enters the codec configuration state. When the unicast client initiates the LE to set the CIG parameter command, it creates a CIG_ID, and creates a CIS_ID1 and its corresponding QoS parameter A under the CIG_ID.
此时,CIG的状态由无CIG状态切换至配置状态。之后,单播客户端向单播服务端发送QoS参数配置请求,以请求进行配置与编解码配置A对应的QoS参数A的操作。单播服务端响应于QoS参数配置请求,向单播客户端发送QoS参数配置通知,此时,ASE进入QoS参数配置状态。At this time, the state of the CIG is switched from the no-CIG state to the configuration state. After that, the unicast client sends a QoS parameter configuration request to the unicast server, so as to request the operation of configuring the QoS parameter A corresponding to the codec configuration A. In response to the QoS parameter configuration request, the unicast server sends a QoS parameter configuration notification to the unicast client. At this time, the ASE enters the QoS parameter configuration state.
可选地,单播客户端可以启动QoS参数A对应的音频流,即CIS_ID1这一音频流,从而ASE进入流状态,CIG进入激活状态。之后,在单播客户端存在切换QoS参数的需求的情况下,单播客户端可以选择禁用或释放音频流,即单播客户端向单播服务端发送禁用请求或释放请求。单播服务端响应于单播客户端的请求,向单播客户端发送通知,从而ASE进入编解码配置状态,CIG进入非激活状态。Optionally, the unicast client can start the audio stream corresponding to the QoS parameter A, that is, the audio stream of CIS_ID1, so that the ASE enters the streaming state and the CIG enters the active state. Afterwards, when the unicast client needs to switch QoS parameters, the unicast client can choose to disable or release the audio stream, that is, the unicast client sends a disable request or a release request to the unicast server. The unicast server sends a notification to the unicast client in response to the request of the unicast client, so that the ASE enters the codec configuration state and the CIG enters the inactive state.
在CIG处于非激活状态的情况下,单播客户端可以向单播服务器再次发送编解码配置请 求,以请求进行配置编解码配置D的操作。单播服务端响应于编解码配置请求,向单播客户端发送编解码配置通知,此时,单播服务端中的ASE进入编解码配置状态。When the CIG is in an inactive state, the unicast client can send a codec configuration request to the unicast server again to request the operation of configuring codec configuration D. In response to the codec configuration request, the unicast server sends a codec configuration notification to the unicast client. At this time, the ASE in the unicast server enters the codec configuration state.
之后,单播客户端发起LE设置CIG参数命令,从而CIG从非激活状态切换至配置状态,并且,单播客户端可以为QoS参数A对应的CIS(即CIS_ID1)重配置QoS参数。本申请实施例中,单播客户端为CIS_ID1重配置的QoS参数为QoS参数D。之后,单播客户端向单播服务端发送QoS参数配置请求,以请求进行配置与编解码配置D对应的QoS参数D的操作。单播服务端响应于QoS参数配置请求,向单播客户端发送QoS参数配置通知,此时,ASE进入QoS参数配置状态。单播客户端发起启动操作即可再次触发CIS_ID1这一音频流进入流状态。After that, the unicast client initiates the LE setting CIG parameter command, so that the CIG switches from the inactive state to the configuration state, and the unicast client can reconfigure the QoS parameters for the CIS (ie CIS_ID1) corresponding to the QoS parameter A. In the embodiment of the present application, the QoS parameter reconfigured by the unicast client for the CIS_ID1 is the QoS parameter D. After that, the unicast client sends a QoS parameter configuration request to the unicast server, so as to request an operation of configuring the QoS parameter D corresponding to the codec configuration D. In response to the QoS parameter configuration request, the unicast server sends a QoS parameter configuration notification to the unicast client. At this time, the ASE enters the QoS parameter configuration state. The unicast client initiates the start operation to trigger the audio stream CIS_ID1 to enter the streaming state again.
需要说明的一点是,本申请实施例为了方便描述,分别对图5实施例和图7实施例进行了介绍说明,图5实施例和图7实施例中所介绍的方案可以分别单独实施例使用,但是实际应用中,图5实施例和图7实施例所提供的技术方案也可以结合使用。也即,图5实施例所提供的切换不同的音频流对应的QoS参数的技术方案,也可以基于图7实施例所提供的扩展后的CIG的状态机及相关操作。应理解,这也应当属于本申请的保护范围之内。It should be noted that, for the convenience of description, the embodiments of the present application respectively describe the embodiment in FIG. 5 and the embodiment in FIG. 7, and the solutions introduced in the embodiment in FIG. 5 and the embodiment in FIG. 7 can be used as separate embodiments respectively. , but in practical applications, the technical solutions provided by the embodiment in FIG. 5 and the embodiment in FIG. 7 can also be used in combination. That is, the technical solution for switching QoS parameters corresponding to different audio streams provided by the embodiment of FIG. 5 may also be based on the extended CIG state machine and related operations provided by the embodiment of FIG. 7 . It should be understood that this should also fall within the protection scope of the present application.
下面,介绍说明图5实施例和图7实施例的结合。在一个示例中,基于图5实施例和图7实施例的结合,请参考图13,本申请实施例提供的参数设置方法包括如下内容。Next, the combination of the embodiment of FIG. 5 and the embodiment of FIG. 7 will be described. In an example, based on the combination of the embodiment in FIG. 5 and the embodiment in FIG. 7 , please refer to FIG. 13 , the parameter setting method provided by the embodiment of the present application includes the following contents.
单播客户端在目标CIG不存在的情况下,也即,在CIG的状态为无CIG状态的情况下,向单播服务端发送编解码配置请求,以请求进行配置编解码配置A的操作。单播服务端响应于编解码配置请求,向单播客户端发送编解码配置通知,此时,单播服务端中的ASE进入编解码配置状态。单播客户端在发起LE设置CIG参数命令的情况下,创建CIG_ID,并在CIG_ID下创建以下三组CIS和QoS参数:CIS_ID1及其对应的QoS参数A、CIS_ID2及其对应的QoS参数B、CIS_ID3及其对应的QoS参数C。并且,QoS参数A对应编解码配置A、QoS参数B对应编解码配置B、QoS参数C对应编解码配置C。When the target CIG does not exist, that is, when the state of the CIG is no CIG, the unicast client sends a codec configuration request to the unicast server to request the operation of configuring codec configuration A. The unicast server sends a codec configuration notification to the unicast client in response to the codec configuration request. At this time, the ASE in the unicast server enters the codec configuration state. When the unicast client initiates the LE setting CIG parameter command, it creates a CIG_ID, and creates the following three groups of CIS and QoS parameters under the CIG_ID: CIS_ID1 and its corresponding QoS parameters A, CIS_ID2 and its corresponding QoS parameters B, CIS_ID3 and its corresponding QoS parameter C. Moreover, QoS parameter A corresponds to codec configuration A, QoS parameter B corresponds to codec configuration B, and QoS parameter C corresponds to codec configuration C.
此时,CIG的状态由无CIG状态切换至配置状态。之后,单播客户端向单播服务端发送QoS参数配置请求,以请求进行配置与编解码配置A对应的QoS参数A的操作。单播服务端响应于QoS参数配置请求,向单播客户端发送QoS参数配置通知,此时,ASE进入QoS参数配置状态。At this time, the state of the CIG is switched from the no-CIG state to the configuration state. After that, the unicast client sends a QoS parameter configuration request to the unicast server, so as to request the operation of configuring the QoS parameter A corresponding to the codec configuration A. In response to the QoS parameter configuration request, the unicast server sends a QoS parameter configuration notification to the unicast client. At this time, the ASE enters the QoS parameter configuration state.
可选地,单播客户端可以启动QoS参数A对应的音频流,即CIS_ID1这一音频流,从而ASE进入流状态,CIG进入激活状态。之后,在单播客户端存在切换QoS参数的需求的情况下,单播客户端可以选择禁用或释放音频流,即单播客户端向单播服务端发送禁用请求或释放请求。单播服务端响应于单播客户端的请求,向单播客户端发送通知,从而ASE进入编解码配置状态,CIG进入非激活状态。Optionally, the unicast client can start the audio stream corresponding to the QoS parameter A, that is, the audio stream of CIS_ID1, so that the ASE enters the streaming state and the CIG enters the active state. Afterwards, when the unicast client needs to switch QoS parameters, the unicast client can choose to disable or release the audio stream, that is, the unicast client sends a disable request or a release request to the unicast server. The unicast server sends a notification to the unicast client in response to the request of the unicast client, so that the ASE enters the codec configuration state and the CIG enters the inactive state.
基于上述图5实施例,在启动音频流之后,且CIG处于非激活状态的情况下,单播客户端可以采用启动音频流之前为CIG配置的其它QoS参数切换QoS参数A。但基于上述图7实施例,在启动音频流之后,且CIG处于非激活状态的情况下,单播客户端还可以通过LE设置CIG参数命令,以控制CIG从非激活状态切换至配置状态,从而为CIG配置新的QoS参数,然后采用新的QoS参数切换QoS参数A。针对单播客户端采用启动音频流之前为CIG配置的其它QoS参数切换QoS参数A这一情况,请参见上述图6实施例的介绍说明。下面,对单播客户端为CIG配置新的QoS参数这一情况进行介绍说明。Based on the above embodiment in FIG. 5 , after starting the audio stream and the CIG is in an inactive state, the unicast client can switch the QoS parameter A using other QoS parameters configured for the CIG before starting the audio stream. However, based on the above embodiment in FIG. 7 , after starting the audio stream and the CIG is in the inactive state, the unicast client can also set the CIG parameter command through the LE to control the CIG to switch from the inactive state to the configured state, thereby Configure new QoS parameters for the CIG, and then switch QoS parameter A with the new QoS parameters. For the situation that the unicast client switches the QoS parameter A by using other QoS parameters configured for the CIG before starting the audio stream, please refer to the description of the above-mentioned embodiment in FIG. 6 . The following describes the situation that the unicast client configures new QoS parameters for the CIG.
在CIG处于非激活状态的情况下,单播客户端可以向单播服务器再次发送编解码配置请求,以请求进行配置编解码配置E的操作。单播服务端响应于编解码配置请求,向单播客户端发送编解码配置通知,此时,单播服务端中的ASE进入编解码配置状态。When the CIG is in an inactive state, the unicast client may send a codec configuration request to the unicast server again to request an operation of configuring codec configuration E. In response to the codec configuration request, the unicast server sends a codec configuration notification to the unicast client. At this time, the ASE in the unicast server enters the codec configuration state.
之后,单播客户端发起LE设置CIG参数命令,从而CIG从非激活状态切换至配置状态,并且,单播客户端可以为QoS参数A对应的CIS(即CIS_ID1)重配置QoS参数。本申请实施例中,单播客户端为CIS_ID1重配置的QoS参数为QoS参数E。之后,单播客户端向单播 服务端发送QoS参数配置请求,以请求进行配置与编解码配置E对应的QoS参数E的操作。单播服务端响应于QoS参数配置请求,向单播客户端发送QoS参数配置通知,此时,ASE进入QoS参数配置状态。单播客户端发起启动操作即可再次触发CIS_ID1这一音频流进入流状态。After that, the unicast client initiates the LE setting CIG parameter command, so that the CIG switches from the inactive state to the configuration state, and the unicast client can reconfigure the QoS parameters for the CIS (ie CIS_ID1) corresponding to the QoS parameter A. In the embodiment of the present application, the QoS parameter reconfigured by the unicast client for the CIS_ID1 is the QoS parameter E. Afterwards, the unicast client sends a QoS parameter configuration request to the unicast server to request the operation of configuring the QoS parameter E corresponding to the codec configuration E. In response to the QoS parameter configuration request, the unicast server sends a QoS parameter configuration notification to the unicast client. At this time, the ASE enters the QoS parameter configuration state. The unicast client initiates the start operation to trigger the audio stream CIS_ID1 to enter the streaming state again.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are apparatus embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
请参考图9,其示出了本申请一个实施例提供的参数设置装置的框图。该装置具有实现上述客户端侧方法示例的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该装置可以是上文介绍的客户端设备,也可以设置在客户端设备中,以用于实现上述客户端侧的参数设置方法。如图9所示,该装置900可以包括:第一设置模块910。Please refer to FIG. 9 , which shows a block diagram of a parameter setting apparatus provided by an embodiment of the present application. The apparatus has the function of implementing the above-mentioned example of the client-side method. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The apparatus may be the client device described above, or may be set in the client device, so as to implement the above-mentioned method for setting parameters on the client side. As shown in FIG. 9 , the apparatus 900 may include: a first setting module 910 .
第一设置模块910,用于按照第一参数设置命令设置n个QoS参数,所述n个QoS参数是指第一音频组对应的QoS参数,所述n为大于1或等于1的整数。The first setting module 910 is configured to set n QoS parameters according to the first parameter setting command, where the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
在一个示例中,所述第一音频组中不同的音频流与所述n个QoS参数中不同的QoS参数对应。In one example, different audio streams in the first audio group correspond to different QoS parameters among the n QoS parameters.
在一个示例中,所述第一音频组中的一个音频流与所述n个QoS参数中的一个QoS参数对应。In one example, one audio stream in the first audio group corresponds to one QoS parameter of the n QoS parameters.
在一个示例中,所述第一音频组中包括的音频流的数量大于或等于所述n。In one example, the number of audio streams included in the first audio group is greater than or equal to the n.
在一个示例中,所述第一设置模块910,用于:在服务端针对所述第一音频组支持至少两个QoS参数的情况下,按照所述第一参数设置命令设置所述n个QoS参数。In an example, the first setting module 910 is configured to: in the case that the server supports at least two QoS parameters for the first audio group, set the n QoS parameters according to the first parameter setting command parameter.
在一个示例中,如图10所示,所述装置900还包括:第一发送模块920,用于向服务端发送第一参数配置请求,所述第一参数配置请求包括所述n个QoS参数中的第一QoS参数。In an example, as shown in FIG. 10 , the apparatus 900 further includes: a first sending module 920, configured to send a first parameter configuration request to the server, where the first parameter configuration request includes the n QoS parameters The first QoS parameter in .
在一个示例中,所述第一QoS参数与第一编解码配置相对应;其中,所述第一编解码配置为客户端向所述服务器发送的第一编解码配置请求中包括的编解码配置。In an example, the first QoS parameter corresponds to a first codec configuration; wherein, the first codec configuration is the codec configuration included in the first codec configuration request sent by the client to the server .
在一个示例中,如图10所示,所述装置900还包括:第一启动模块930,用于启动所述第一QoS参数在所述第一音频组中对应的音频流。In an example, as shown in FIG. 10 , the apparatus 900 further includes: a first activation module 930, configured to activate an audio stream corresponding to the first QoS parameter in the first audio group.
在一个示例中,如图10所示,所述装置900还包括:第二发送模块940,用于在所述第一音频组处于非激活状态的情况下,向所述服务端发送第二参数配置请求,所述第二参数配置请求包括所述n个QoS参数中的第二QoS参数;其中,所述第一QoS参数在所述第一音频组中对应的音频流,不同于所述第二QoS参数在所述第一音频组中对应的音频流。In an example, as shown in FIG. 10 , the apparatus 900 further includes: a second sending module 940, configured to send a second parameter to the server when the first audio group is in an inactive state A configuration request, the second parameter configuration request includes a second QoS parameter among the n QoS parameters; wherein, the audio stream corresponding to the first QoS parameter in the first audio group is different from the first QoS parameter. Two audio streams corresponding to the QoS parameters in the first audio group.
在一个示例中,所述第二QoS参数与第二编解码配置相对应;其中,所述第二编解码配置为客户端向所述服务器发送的第二编解码配置请求中包括的编解码配置。In an example, the second QoS parameter corresponds to a second codec configuration; wherein, the second codec configuration is the codec configuration included in the second codec configuration request sent by the client to the server .
在一个示例中,如图10所示,所述装置900还包括:第二启动模块950,用于启动所述第二QoS参数在所述第一音频组中对应的音频流。In an example, as shown in FIG. 10 , the apparatus 900 further includes: a second activation module 950, configured to activate the audio stream corresponding to the second QoS parameter in the first audio group.
在一个示例中,如图10所示,所述装置900还包括:第二设置模块960,用于在所述第一音频组中的第一音频流启动之后,且在所述第一音频组处于配置状态的情况下,按照第二参数设置命令设置第三QoS参数,所述第三QoS参数是指所述第一音频流对应的QoS参数。In one example, as shown in FIG. 10 , the apparatus 900 further includes: a second setting module 960 for after the first audio stream in the first audio group is started, and in the first audio group In the configuration state, a third QoS parameter is set according to the second parameter setting command, where the third QoS parameter refers to a QoS parameter corresponding to the first audio stream.
在一个示例中,如图10所示,所述第二设置模块960,包括:命令发起单元962,用于在所述第一音频流启动之后,且在所述第一音频组处于非激活状态的情况下,接收所述第二参数设置命令;第二设置单元964,用于在所述第一音频组处于所述配置状态的情况下,按照所述第二参数设置命令设置所述第三QoS参数;其中,在所述客户端接收到所述第二参数设置命令的情况下,所述第一音频组由非激活状态切换至所述配置状态。In an example, as shown in FIG. 10 , the second setting module 960 includes: a command initiating unit 962, configured to be in an inactive state after the first audio stream is started and the first audio group is in an inactive state If the first audio group is in the configuration state, receive the second parameter setting command; the second setting unit 964 is configured to set the third parameter according to the second parameter setting command when the first audio group is in the configuration state QoS parameters; wherein, when the client receives the second parameter setting command, the first audio group is switched from an inactive state to the configuration state.
在一个示例中,如图10所示,所述命令发起单元962,用于:在所述第一音频流启动之后,发起取消连接命令;在所述第一音频组处于所述非激活状态的情况下,发起所述第二参数设置命令;其中,在所述第一音频流启动的情况下,所述第一音频组处于激活状态;在所述客户端发起所述取消连接命令的情况下,所述第一音频组由所述激活状态切换至所述非激 活状态。In an example, as shown in FIG. 10 , the command initiating unit 962 is configured to: after the first audio stream is started, initiate a disconnection command; when the first audio group is in the inactive state In the case of initiating the second parameter setting command; wherein, in the case that the first audio stream is started, the first audio group is in an active state; in the case that the client initiates the cancel connection command , the first audio group is switched from the active state to the inactive state.
在一个示例中,如图10所示,所述装置900还包括:第三发送模块970,用于向服务端发送第三参数配置请求,所述第三参数配置请求包括所述第三QoS参数。In an example, as shown in FIG. 10 , the apparatus 900 further includes: a third sending module 970, configured to send a third parameter configuration request to the server, where the third parameter configuration request includes the third QoS parameter .
在一个示例中,如图10所示,所述装置900还包括:第三启动模块980,用于重新启动所述第一音频流。In an example, as shown in FIG. 10 , the apparatus 900 further includes: a third starting module 980, configured to restart the first audio stream.
在一个示例中,所述装置设置在客户端中。In one example, the apparatus is provided in a client.
在一个示例中,所述客户端为单播客户端。In one example, the client is a unicast client.
综上所述,本申请实施例提供的技术方案,通过在启动音频组中的音频流之前,为音频组配置多个QoS参数,从而确保后续启动音频流之后,能够切换至不同的QoS参数以播放音频流,规避音频组处于非激活状态后仅能在激活状态和非激活状态之间来回转换而无法配置QoS参数、无法实现切换音频流的QoS参数的问题,实现了灵活调整音频流的QoS参数,满足了用户切换音频流的QoS参数的需求。并且,本申请实施例中,音频组中的一个音频流与一个QoS参数对应,从而避免后续切换至的QoS参数对应的音频流没有发生改变而导致切换失败的情况,提升了音频流对应的QoS参数切换的有效性。另外,本申请实施例中,音频流在启动之后,虽然切换QoS参数,但是音频组仍然在非激活状态和激活状态之间转换,从而本申请实施例可以兼容原有的CIG状态机及相关操作,提升方案的适应性和兼容性。To sum up, the technical solutions provided by the embodiments of the present application configure multiple QoS parameters for the audio group before starting the audio stream in the audio group, so as to ensure that after the audio stream is started subsequently, it is possible to switch to different QoS parameters to Play the audio stream, avoid the problem that when the audio group is in the inactive state, it can only switch back and forth between the active state and the inactive state, but cannot configure the QoS parameters, and cannot switch the QoS parameters of the audio stream, and flexibly adjust the QoS of the audio stream. parameter, which satisfies the requirement of the user to switch the QoS parameters of the audio stream. In addition, in the embodiment of the present application, one audio stream in the audio group corresponds to one QoS parameter, so as to avoid the situation that the audio stream corresponding to the QoS parameter switched to subsequently does not change and cause the switching failure, and the QoS corresponding to the audio stream is improved. Validity of parameter switching. In addition, in the embodiment of the present application, after the audio stream is started, although the QoS parameters are switched, the audio group is still switched between the inactive state and the active state, so that the embodiment of the present application can be compatible with the original CIG state machine and related operations , to improve the adaptability and compatibility of the scheme.
此外,本申请实施例提供的技术方案,通过扩展CIG的状态机及相关操作,修改原有的LE设置CIG参数命令的限制条件,实现在音频组中的音频流启动之后,该音频组跳出非激活状态和激活状态之间的来回转换,并通过LE设置CIG参数命令实现音频组由非激活状态切换回配置状态,从而实现对音频流的QoS参数进行重配置,实现了灵活调整音频流的QoS参数,满足了用户切换音频流的QoS参数的需求。In addition, the technical solutions provided by the embodiments of the present application, by extending the state machine of the CIG and related operations, modify the original LE to set the CIG parameter command restrictions, so that after the audio stream in the audio group is started, the audio group jumps out of the Switch back and forth between the active state and the active state, and switch the audio group from the inactive state back to the configuration state through the LE setting CIG parameter command, so as to realize the reconfiguration of the QoS parameters of the audio stream, and realize the flexible adjustment of the QoS of the audio stream. parameter, which satisfies the requirement of the user to switch the QoS parameters of the audio stream.
需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that, when the device provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated to different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
请参考图11,其示出了本申请一个实施例提供的设备110的结构示意图。该设备可以为上述客户端设备,从而,该设备可以用于执行上述客户端设备侧的参数设置方法。具体来讲,该设备110可以包括:处理器111,以及与所述处理器111相连的收发器112;其中:Please refer to FIG. 11 , which shows a schematic structural diagram of a device 110 provided by an embodiment of the present application. The device can be the above-mentioned client device, and thus, the device can be used to execute the above-mentioned parameter setting method on the client device side. Specifically, the device 110 may include: a processor 111, and a transceiver 112 connected to the processor 111; wherein:
处理器111包括一个或者一个以上处理核心,处理器111通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 111 includes one or more processing cores, and the processor 111 executes various functional applications and information processing by running software programs and modules.
收发器112包括接收器和发射器。可选地,收发器112是一块通信芯片。 Transceiver 112 includes a receiver and a transmitter. Optionally, the transceiver 112 is a communication chip.
在一个示例中,设备110还包括:存储器和总线。存储器通过总线与处理器相连。存储器可用于存储计算机程序,处理器用于执行该计算机程序,以实现上述方法实施例中的客户端设备执行的各个步骤。In one example, device 110 also includes: a memory and a bus. The memory is connected to the processor through a bus. The memory can be used to store a computer program, and the processor is used to execute the computer program, so as to implement various steps performed by the client device in the above method embodiments.
此外,存储器可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:RAM(Random-Access Memory,随机存储器)和ROM(Read-Only Memory,只读存储器)、EPROM(Erasable Programmable Read-Only Memory,可擦写可编程只读存储器)、EEPROM(Electrically Erasable Programmable Read-Only Memory,电可擦写可编程只读存储器)、闪存或其他固态存储其技术,CD-ROM(Compact Disc Read-Only Memory,只读光盘)、DVD(Digital Video Disc,高密度数字视频光盘)或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。其中:In addition, the memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof. Volatile or non-volatile storage devices include but are not limited to: RAM (Random-Access Memory, random access memory) and ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory, Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory) ), flash memory or other solid-state storage technology, CD-ROM (Compact Disc Read-Only Memory), DVD (Digital Video Disc, high-density digital video disc) or other optical storage, tape cassettes, tapes, disk storage or other magnetic storage devices. in:
所述处理器111,用于按照第一参数设置命令设置n个QoS参数,所述n个QoS参数是指第一音频组对应的QoS参数,所述n为大于1或等于1的整数。The processor 111 is configured to set n QoS parameters according to the first parameter setting command, the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
在一个示例中,所述第一音频组中不同的音频流与所述n个QoS参数中不同的QoS参数对应。In one example, different audio streams in the first audio group correspond to different QoS parameters among the n QoS parameters.
在一个示例中,所述第一音频组中的一个音频流与所述n个QoS参数中的一个QoS参数对应。In one example, one audio stream in the first audio group corresponds to one QoS parameter of the n QoS parameters.
在一个示例中,所述第一音频组中包括的音频流的数量大于或等于所述n。In one example, the number of audio streams included in the first audio group is greater than or equal to the n.
在一个示例中,所述处理器111,用于:在服务端针对所述第一音频组支持至少两个QoS参数的情况下,按照所述第一参数设置命令设置所述n个QoS参数。In an example, the processor 111 is configured to: set the n QoS parameters according to the first parameter setting command when the server supports at least two QoS parameters for the first audio group.
在一个示例中,所述收发器112,用于:向服务端发送第一参数配置请求,所述第一参数配置请求包括所述n个QoS参数中的第一QoS参数。In an example, the transceiver 112 is configured to: send a first parameter configuration request to the server, where the first parameter configuration request includes the first QoS parameter among the n QoS parameters.
在一个示例中,所述第一QoS参数与第一编解码配置相对应;其中,所述第一编解码配置为客户端向所述服务器发送的第一编解码配置请求中包括的编解码配置。In an example, the first QoS parameter corresponds to a first codec configuration; wherein, the first codec configuration is the codec configuration included in the first codec configuration request sent by the client to the server .
在一个示例中,所述处理器111,还用于:启动所述第一QoS参数在所述第一音频组中对应的音频流。In an example, the processor 111 is further configured to: start an audio stream corresponding to the first QoS parameter in the first audio group.
在一个示例中,所述收发器112,还用于:在所述第一音频组处于非激活状态的情况下,向所述服务端发送第二参数配置请求,所述第二参数配置请求包括所述n个QoS参数中的第二QoS参数;其中,所述第一QoS参数在所述第一音频组中对应的音频流,不同于所述第二QoS参数在所述第一音频组中对应的音频流。In an example, the transceiver 112 is further configured to: when the first audio group is in an inactive state, send a second parameter configuration request to the server, where the second parameter configuration request includes The second QoS parameter in the n QoS parameters; wherein, the audio stream corresponding to the first QoS parameter in the first audio group is different from the second QoS parameter in the first audio group the corresponding audio stream.
在一个示例中,所述第二QoS参数与第二编解码配置相对应;其中,所述第二编解码配置为客户端向所述服务器发送的第二编解码配置请求中包括的编解码配置。In an example, the second QoS parameter corresponds to a second codec configuration; wherein the second codec configuration is the codec configuration included in the second codec configuration request sent by the client to the server .
在一个示例中,所述处理器111,还用于:启动所述第二QoS参数在所述第一音频组中对应的音频流。In an example, the processor 111 is further configured to: start an audio stream corresponding to the second QoS parameter in the first audio group.
在一个示例中,所述处理器111,还用于:在所述第一音频组中的第一音频流启动之后,且在所述第一音频组处于配置状态的情况下,按照第二参数设置命令设置第三QoS参数,所述第三QoS参数是指所述第一音频流对应的QoS参数。In an example, the processor 111 is further configured to: after the first audio stream in the first audio group is started, and in the case that the first audio group is in the configuration state, according to the second parameter The setting command sets a third QoS parameter, where the third QoS parameter refers to a QoS parameter corresponding to the first audio stream.
在一个示例中,所述收发器112,还用于在所述第一音频流启动之后,且在所述第一音频组处于非激活状态的情况下,发起所述第二参数设置命令;所述处理器111,还用于在所述第一音频组处于所述配置状态的情况下,按照所述第二参数设置命令设置所述第三QoS参数;其中,在所述客户端发起所述第二参数设置命令的情况下,所述第一音频组由非激活状态切换至所述配置状态。In one example, the transceiver 112 is further configured to initiate the second parameter setting command after the first audio stream is started and when the first audio group is in an inactive state; The processor 111 is further configured to set the third QoS parameter according to the second parameter setting command when the first audio group is in the configuration state; wherein the client initiates the In the case of the second parameter setting command, the first audio group is switched from the inactive state to the configuration state.
在一个示例中,所述收发器112,还用于:在所述第一音频流启动之后,发起取消连接命令;在所述第一音频组处于所述非激活状态的情况下,发起所述第二参数设置命令;其中,在所述第一音频流启动的情况下,所述第一音频组处于激活状态;在所述客户端发起所述取消连接命令的情况下,所述第一音频组由所述激活状态切换至所述非激活状态。In an example, the transceiver 112 is further configured to: after the first audio stream is started, initiate a disconnection command; in the case that the first audio group is in the inactive state, initiate the a second parameter setting command; wherein, when the first audio stream is started, the first audio group is in an active state; when the client initiates the cancel connection command, the first audio The group switches from the active state to the inactive state.
在一个示例中,所述收发器112,还用于:向服务端发送第三参数配置请求,所述第三参数配置请求包括所述第三QoS参数。In an example, the transceiver 112 is further configured to: send a third parameter configuration request to the server, where the third parameter configuration request includes the third QoS parameter.
在一个示例中,所述处理器111,还用于:重新启动所述第一音频流。In an example, the processor 111 is further configured to: restart the first audio stream.
在一个示例中,所述设备中安装有客户端,所述客户端用于执行上述客户端设备侧的参数设置方法。In an example, a client is installed in the device, and the client is configured to execute the above-mentioned parameter setting method on the client device side.
在一个示例中,所述客户端为单播客户端。In one example, the client is a unicast client.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序用于被设备的处理器执行,以实现如上述客户端设备侧的参数设置方法。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is used to be executed by a processor of a device to implement the above-mentioned method for setting parameters on the client device side .
本申请实施例还提供了一种芯片,所述芯片包括可编程逻辑电路和/或程序指令,当所述芯片在设备上运行时,用于实现如上述客户端设备侧的参数设置方法。An embodiment of the present application further provides a chip, the chip includes a programmable logic circuit and/or program instructions, and when the chip runs on a device, it is used to implement the above-mentioned parameter setting method on the client device side.
本申请实施例还提供了一种计算机程序产品,当计算机程序产品在设备上运行时,用于实现如上述客户端设备侧的参数设置方法。The embodiment of the present application also provides a computer program product, which is used to implement the above-mentioned parameter setting method on the client device side when the computer program product runs on the device.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should realize that, in one or more of the above examples, the functions described in the embodiments of the present application may be implemented by hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only exemplary embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (38)

  1. 一种参数设置方法,其特征在于,所述方法包括:A parameter setting method, characterized in that the method comprises:
    按照第一参数设置命令设置n个服务质量QoS参数,所述n个QoS参数是指第一音频组对应的QoS参数,所述n为大于1或等于1的整数。Set n quality of service QoS parameters according to the first parameter setting command, the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
  2. 根据权利要求1所述的方法,其特征在于,所述第一音频组中不同的音频流与所述n个QoS参数中不同的QoS参数对应。The method according to claim 1, wherein different audio streams in the first audio group correspond to different QoS parameters among the n QoS parameters.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一音频组中的一个音频流与所述n个QoS参数中的一个QoS参数对应。The method according to claim 1 or 2, wherein one audio stream in the first audio group corresponds to one QoS parameter in the n QoS parameters.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述第一音频组中包括的音频流的数量大于或等于所述n。The method according to any one of claims 1 to 3, wherein the number of audio streams included in the first audio group is greater than or equal to the n.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述按照第一参数设置命令设置n个QoS参数,包括:The method according to any one of claims 1 to 4, wherein the setting of n QoS parameters according to the first parameter setting command comprises:
    在服务端针对所述第一音频组支持至少两个QoS参数的情况下,按照所述第一参数设置命令设置所述n个QoS参数。In the case that the server supports at least two QoS parameters for the first audio group, the n QoS parameters are set according to the first parameter setting command.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述按照第一参数设置命令设置n个QoS参数之后,还包括:The method according to any one of claims 1 to 5, wherein after setting n QoS parameters according to the first parameter setting command, the method further comprises:
    向服务端发送第一参数配置请求,所述第一参数配置请求包括所述n个QoS参数中的第一QoS参数。Send a first parameter configuration request to the server, where the first parameter configuration request includes the first QoS parameter among the n QoS parameters.
  7. 根据权利要求6所述的方法,其特征在于,所述第一QoS参数与第一编解码配置相对应;The method according to claim 6, wherein the first QoS parameter corresponds to a first codec configuration;
    其中,所述第一编解码配置为客户端向所述服务器发送的第一编解码配置请求中包括的编解码配置。The first codec configuration is the codec configuration included in the first codec configuration request sent by the client to the server.
  8. 根据权利要求6或7所述的方法,其特征在于,所述向服务端发送第一参数配置请求之后,还包括:The method according to claim 6 or 7, wherein after the sending the first parameter configuration request to the server, the method further comprises:
    启动所述第一QoS参数在所述第一音频组中对应的音频流。Starting an audio stream corresponding to the first QoS parameter in the first audio group.
  9. 根据权利要求1至8任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 8, wherein the method further comprises:
    在所述第一音频组处于非激活状态的情况下,向所述服务端发送第二参数配置请求,所述第二参数配置请求包括所述n个QoS参数中的第二QoS参数;When the first audio group is in an inactive state, sending a second parameter configuration request to the server, where the second parameter configuration request includes a second QoS parameter in the n QoS parameters;
    其中,所述第一QoS参数在所述第一音频组中对应的音频流,不同于所述第二QoS参数在所述第一音频组中对应的音频流。The audio stream corresponding to the first QoS parameter in the first audio group is different from the audio stream corresponding to the second QoS parameter in the first audio group.
  10. 根据权利要求9所述的方法,其特征在于,所述第二QoS参数与第二编解码配置相对应;The method according to claim 9, wherein the second QoS parameter corresponds to a second codec configuration;
    其中,所述第二编解码配置为客户端向所述服务器发送的第二编解码配置请求中包括的编解码配置。The second codec configuration is the codec configuration included in the second codec configuration request sent by the client to the server.
  11. 根据权利要求9或10所述的方法,其特征在于,所述向所述服务端发送第二参数配 置请求之后,还包括:method according to claim 9 or 10, is characterized in that, after described sending the second parameter configuration request to described server, also comprises:
    启动所述第二QoS参数在所述第一音频组中对应的音频流。Starting the audio stream corresponding to the second QoS parameter in the first audio group.
  12. 根据权利要求1至11任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 11, wherein the method further comprises:
    在所述第一音频组中的第一音频流启动之后,且在所述第一音频组处于配置状态的情况下,按照第二参数设置命令设置第三QoS参数,所述第三QoS参数是指所述第一音频流对应的QoS参数。After the first audio stream in the first audio group is started, and when the first audio group is in the configuration state, a third QoS parameter is set according to the second parameter setting command, and the third QoS parameter is Refers to the QoS parameter corresponding to the first audio stream.
  13. 根据权利要求12所述的方法,其特征在于,所述按照第二参数设置命令设置第三QoS参数,包括:The method according to claim 12, wherein the setting the third QoS parameter according to the second parameter setting command comprises:
    在所述第一音频流启动之后,且在所述第一音频组处于非激活状态的情况下,发起所述第二参数设置命令;Initiating the second parameter setting command after the first audio stream is started and in the case that the first audio group is in an inactive state;
    在所述第一音频组处于所述配置状态的情况下,按照所述第二参数设置命令设置所述第三QoS参数;When the first audio group is in the configuration state, set the third QoS parameter according to the second parameter setting command;
    其中,在所述客户端发起所述第二参数设置命令的情况下,所述第一音频组由非激活状态切换至所述配置状态。Wherein, when the client initiates the second parameter setting command, the first audio group is switched from an inactive state to the configuration state.
  14. 根据权利要求13所述的方法,其特征在于,所述发起所述第二参数设置命令,包括:The method according to claim 13, wherein the initiating the second parameter setting command comprises:
    在所述第一音频流启动之后,发起取消连接命令;After the first audio stream is started, a cancel connection command is initiated;
    在所述第一音频组处于所述非激活状态的情况下,发起所述第二参数设置命令;Initiating the second parameter setting command when the first audio group is in the inactive state;
    其中,在所述第一音频流启动的情况下,所述第一音频组处于激活状态;在所述客户端发起所述取消连接命令的情况下,所述第一音频组由所述激活状态切换至所述非激活状态。Wherein, when the first audio stream is started, the first audio group is in an active state; when the client initiates the cancel connection command, the first audio group is in the active state Switch to the inactive state.
  15. 根据权利要求12至14任一项所述的方法,其特征在于,所述按照第二参数设置命令设置第三QoS参数之后,还包括:The method according to any one of claims 12 to 14, wherein after setting the third QoS parameter according to the second parameter setting command, the method further comprises:
    向服务端发送第三参数配置请求,所述第三参数配置请求包括所述第三QoS参数。Send a third parameter configuration request to the server, where the third parameter configuration request includes the third QoS parameter.
  16. 根据权利要求15所述的方法,其特征在于,所述向服务端发送第三参数配置请求之后,还包括:The method according to claim 15, wherein after the sending the third parameter configuration request to the server, the method further comprises:
    重新启动所述第一音频流。The first audio stream is restarted.
  17. 根据权利要求1至16任一项所述的方法,其特征在于,所述方法应用于客户端中。The method according to any one of claims 1 to 16, wherein the method is applied in a client.
  18. 根据权利要求17所述的方法,其特征在于,所述客户端为单播客户端。The method according to claim 17, wherein the client is a unicast client.
  19. 一种参数设置装置,其特征在于,所述装置包括:A parameter setting device, characterized in that the device comprises:
    第一设置模块,用于按照第一参数设置命令设置n个服务质量QoS参数,所述n个QoS参数是指第一音频组对应的QoS参数,所述n为大于1或等于1的整数。The first setting module is configured to set n quality of service QoS parameters according to the first parameter setting command, the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
  20. 根据权利要求19所述的装置,其特征在于,所述第一音频组中不同的音频流与所述n个QoS参数中不同的QoS参数对应。The apparatus according to claim 19, wherein different audio streams in the first audio group correspond to different QoS parameters among the n QoS parameters.
  21. 根据权利要求19或20所述的装置,其特征在于,所述第一音频组中的一个音频流与所述n个QoS参数中的一个QoS参数对应。The apparatus according to claim 19 or 20, wherein one audio stream in the first audio group corresponds to one QoS parameter in the n QoS parameters.
  22. 根据权利要求19至21任一项所述的装置,其特征在于,所述第一音频组中包括的 音频流的数量大于或等于所述n。The apparatus according to any one of claims 19 to 21, wherein the number of audio streams included in the first audio group is greater than or equal to the n.
  23. 根据权利要求19至22任一项所述的装置,其特征在于,所述第一设置模块,用于:The device according to any one of claims 19 to 22, wherein the first setting module is used for:
    在服务端针对所述第一音频组支持至少两个QoS参数的情况下,按照所述第一参数设置命令设置所述n个QoS参数。In the case that the server supports at least two QoS parameters for the first audio group, the n QoS parameters are set according to the first parameter setting command.
  24. 根据权利要求19至23任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 19 to 23, wherein the device further comprises:
    第一发送模块,用于向服务端发送第一参数配置请求,所述第一参数配置请求包括所述n个QoS参数中的第一QoS参数。The first sending module is configured to send a first parameter configuration request to the server, where the first parameter configuration request includes the first QoS parameter among the n QoS parameters.
  25. 根据权利要求24所述的装置,其特征在于,所述第一QoS参数与第一编解码配置相对应;The apparatus according to claim 24, wherein the first QoS parameter corresponds to a first codec configuration;
    其中,所述第一编解码配置为客户端向所述服务器发送的第一编解码配置请求中包括的编解码配置。The first codec configuration is the codec configuration included in the first codec configuration request sent by the client to the server.
  26. 根据权利要求24或25所述的装置,其特征在于,所述装置还包括:The device according to claim 24 or 25, wherein the device further comprises:
    第一启动模块,用于启动所述第一QoS参数在所述第一音频组中对应的音频流。A first activation module, configured to activate the audio stream corresponding to the first QoS parameter in the first audio group.
  27. 根据权利要求18至26任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 18 to 26, wherein the device further comprises:
    第二发送模块,用于在所述第一音频组处于非激活状态的情况下,向所述服务端发送第二参数配置请求,所述第二参数配置请求包括所述n个QoS参数中的第二QoS参数;A second sending module, configured to send a second parameter configuration request to the server when the first audio group is in an inactive state, where the second parameter configuration request includes the n QoS parameters the second QoS parameter;
    其中,所述第一QoS参数在所述第一音频组中对应的音频流,不同于所述第二QoS参数在所述第一音频组中对应的音频流。The audio stream corresponding to the first QoS parameter in the first audio group is different from the audio stream corresponding to the second QoS parameter in the first audio group.
  28. 根据权利要求27所述的装置,其特征在于,所述第二QoS参数与第二编解码配置相对应;The apparatus according to claim 27, wherein the second QoS parameter corresponds to a second codec configuration;
    其中,所述第二编解码配置为客户端向所述服务器发送的第二编解码配置请求中包括的编解码配置。The second codec configuration is the codec configuration included in the second codec configuration request sent by the client to the server.
  29. 根据权利要求27或28所述的装置,其特征在于,所述装置还包括:The device according to claim 27 or 28, wherein the device further comprises:
    第二启动模块,用于启动所述第二QoS参数在所述第一音频组中对应的音频流。A second activation module, configured to activate the audio stream corresponding to the second QoS parameter in the first audio group.
  30. 根据权利要求19至29任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 19 to 29, wherein the device further comprises:
    第二设置模块,用于在所述第一音频组中的第一音频流启动之后,且在所述第一音频组处于配置状态的情况下,按照第二参数设置命令设置第三QoS参数,所述第三QoS参数是指所述第一音频流对应的QoS参数。a second setting module, configured to set a third QoS parameter according to a second parameter setting command after the first audio stream in the first audio group is started and when the first audio group is in a configuration state, The third QoS parameter refers to the QoS parameter corresponding to the first audio stream.
  31. 根据权利要求30所述的装置,其特征在于,所述第二设置模块,包括:The device according to claim 30, wherein the second setting module comprises:
    命令发起单元,用于在所述第一音频流启动之后,且在所述第一音频组处于非激活状态的情况下,发起所述第二参数设置命令;A command initiating unit, configured to initiate the second parameter setting command after the first audio stream is started and when the first audio group is in an inactive state;
    第二设置单元,用于在所述第一音频组处于所述配置状态的情况下,按照所述第二参数设置命令设置所述第三QoS参数;a second setting unit, configured to set the third QoS parameter according to the second parameter setting command when the first audio group is in the configuration state;
    其中,在所述客户端发起所述第二参数设置命令的情况下,所述第一音频组由非激活状态切换至所述配置状态。Wherein, when the client initiates the second parameter setting command, the first audio group is switched from an inactive state to the configuration state.
  32. 根据权利要求31所述的装置,其特征在于,所述命令发起单元,用于:The apparatus according to claim 31, wherein the command initiating unit is configured to:
    在所述第一音频流启动之后,发起取消连接命令;After the first audio stream is started, a cancel connection command is initiated;
    在所述第一音频组处于所述非激活状态的情况下,发起所述第二参数设置命令;Initiating the second parameter setting command when the first audio group is in the inactive state;
    其中,在所述第一音频流启动的情况下,所述第一音频组处于激活状态;在所述客户端发起所述取消连接命令的情况下,所述第一音频组由所述激活状态切换至所述非激活状态。Wherein, when the first audio stream is started, the first audio group is in an active state; when the client initiates the cancel connection command, the first audio group is in the active state Switch to the inactive state.
  33. 根据权利要求30至32任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 30 to 32, wherein the device further comprises:
    第三发送模块,用于向服务端发送第三参数配置请求,所述第三参数配置请求包括所述第三QoS参数。A third sending module, configured to send a third parameter configuration request to the server, where the third parameter configuration request includes the third QoS parameter.
  34. 根据权利要求33所述的装置,其特征在于,所述装置还包括:The apparatus of claim 33, wherein the apparatus further comprises:
    第三启动模块,用于重新启动所述第一音频流。The third starting module is used for restarting the first audio stream.
  35. 根据权利要求19至34任一项所述的装置,其特征在于,所述装置设置在客户端中。The apparatus according to any one of claims 19 to 34, wherein the apparatus is provided in a client.
  36. 根据权利要求35所述的装置,其特征在于,所述客户端为单播客户端。The apparatus according to claim 35, wherein the client is a unicast client.
  37. 一种设备,其特征在于,所述设备包括:处理器,以及与所述处理器相连的收发器;其中:A device, characterized in that the device comprises: a processor, and a transceiver connected to the processor; wherein:
    所述处理器,用于按照第一参数设置命令设置n个服务质量QoS参数,所述n个QoS参数是指第一音频组对应的QoS参数,所述n为大于1或等于1的整数。The processor is configured to set n quality of service QoS parameters according to the first parameter setting command, the n QoS parameters refer to the QoS parameters corresponding to the first audio group, and the n is an integer greater than 1 or equal to 1.
  38. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序用于被设备的处理器执行,以实现如权利要求1至18任一项所述的参数设置方法。A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, and the computer program is used to be executed by a processor of a device to realize the parameters according to any one of claims 1 to 18 Set method.
PCT/CN2020/134350 2020-12-07 2020-12-07 Parameter setting method and apparatus, device, and storage medium WO2022120539A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/134350 WO2022120539A1 (en) 2020-12-07 2020-12-07 Parameter setting method and apparatus, device, and storage medium
CN202080106957.8A CN116490923A (en) 2020-12-07 2020-12-07 Parameter setting method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/134350 WO2022120539A1 (en) 2020-12-07 2020-12-07 Parameter setting method and apparatus, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2022120539A1 true WO2022120539A1 (en) 2022-06-16

Family

ID=81972805

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/134350 WO2022120539A1 (en) 2020-12-07 2020-12-07 Parameter setting method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN116490923A (en)
WO (1) WO2022120539A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024085664A1 (en) * 2022-10-18 2024-04-25 삼성전자 주식회사 Electronic device and method for transmitting and/or receiving data on basis of configuration change in electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832482A (en) * 2005-03-08 2006-09-13 美国博通公司 Method and system of supporting interoperability in network between at least two devices
US20080287063A1 (en) * 2007-05-16 2008-11-20 Texas Instruments Incorporated Controller integrated audio codec for advanced audio distribution profile audio streaming applications
CN102075440A (en) * 2011-02-23 2011-05-25 湖南大学 Service-quality-sensitive 802.11e multimedia data grouping scheduling method
CN102625150A (en) * 2012-03-16 2012-08-01 中国科学院计算技术研究所 Media playing system and method
CN103426432A (en) * 2012-05-14 2013-12-04 德克萨斯仪器股份有限公司 Bandwidth dependent audio quality adjustment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1832482A (en) * 2005-03-08 2006-09-13 美国博通公司 Method and system of supporting interoperability in network between at least two devices
US20080287063A1 (en) * 2007-05-16 2008-11-20 Texas Instruments Incorporated Controller integrated audio codec for advanced audio distribution profile audio streaming applications
CN102075440A (en) * 2011-02-23 2011-05-25 湖南大学 Service-quality-sensitive 802.11e multimedia data grouping scheduling method
CN102625150A (en) * 2012-03-16 2012-08-01 中国科学院计算技术研究所 Media playing system and method
CN103426432A (en) * 2012-05-14 2013-12-04 德克萨斯仪器股份有限公司 Bandwidth dependent audio quality adjustment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024085664A1 (en) * 2022-10-18 2024-04-25 삼성전자 주식회사 Electronic device and method for transmitting and/or receiving data on basis of configuration change in electronic device

Also Published As

Publication number Publication date
CN116490923A (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN106302616B (en) Network awakening method, remote server and network switching equipment
US10630786B2 (en) Method for maintaining a persistent miracast session over wireless link
WO2017193612A1 (en) Apparatus employing mobile terminal to operate electronic apparatus, system, and method
CN108111520B (en) Media playing resource processing method, device and terminal
US6163817A (en) Dynamically disabling and enabling of devices in consumer system with multiple communication protocols
US20180192122A1 (en) Enhanced home media experience using a wireless media hub
US20180026992A1 (en) Virtual network function (vnf) hardware trust in a network function virtualization (nfv) software defined network (sdn)
WO2022120539A1 (en) Parameter setting method and apparatus, device, and storage medium
US20190190779A1 (en) Method and apparatus for restoring network device to factory defaults, and network device
US20220286731A1 (en) Multimedia apparatus and cast method
CN103686540A (en) Active wireless network sound equipment and use method thereof
US9807450B2 (en) Apparatus and method for media play in home network
EP1241827B1 (en) Control of home network devices
US20210084089A1 (en) Audio streaming from host bluetooth device to multiple receiving bluetooth devices
WO2018019167A1 (en) Set top box-based live sharing method and system
US20110004670A1 (en) Electronic apparatus and control method for remotely processing files
CN115167806B (en) Network audio broadcast gradual change audio processing method and server
TW202007173A (en) Multimedia streaming and routing apparatus and operation method of the same
US20230047176A1 (en) Facilitating streaming in a local network with a client-server architecture
KR20230086561A (en) Application loaded with path change software, and method for changing audio stream output path of android audio system using the same
WO2016165596A1 (en) Multimedia file control method and system
TWI666929B (en) Multimedia streaming and network apparatus and operation method of the same
WO2015109844A1 (en) Portable broadband wireless device
US11109209B2 (en) Bluetooth device, method of operating bluetooth device, and non-transitory computer readable storage medium
WO2022267625A1 (en) Connected isochronous stream information feedback method and apparatus, and storage medium and electronic device

Legal Events

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

Ref document number: 20964486

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202080106957.8

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20964486

Country of ref document: EP

Kind code of ref document: A1