CN113015106A - Stereo playing method and device for broadcast networking and electronic equipment - Google Patents

Stereo playing method and device for broadcast networking and electronic equipment Download PDF

Info

Publication number
CN113015106A
CN113015106A CN202110418759.1A CN202110418759A CN113015106A CN 113015106 A CN113015106 A CN 113015106A CN 202110418759 A CN202110418759 A CN 202110418759A CN 113015106 A CN113015106 A CN 113015106A
Authority
CN
China
Prior art keywords
playing
stereo
playing device
slave
playback
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110418759.1A
Other languages
Chinese (zh)
Other versions
CN113015106B (en
Inventor
产江林
张亦农
高占东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing ZGmicro Co Ltd
Original Assignee
Nanjing ZGmicro Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing ZGmicro Co Ltd filed Critical Nanjing ZGmicro Co Ltd
Priority to CN202110418759.1A priority Critical patent/CN113015106B/en
Publication of CN113015106A publication Critical patent/CN113015106A/en
Application granted granted Critical
Publication of CN113015106B publication Critical patent/CN113015106B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/12Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application provides a stereo playing setting method and device for broadcast networking and electronic equipment, and belongs to the technical field of wireless communication. The stereo playing setting method provided by the embodiment of the application executes the following operations through playing equipment in the broadcast networking: entering a stereo play mode according to a first input executed by a user; the first playing equipment is used as main playing equipment to be in wireless communication connection with sound source equipment; the first playing device sends a team formation request to other playing devices in the broadcast networking; according to the received replies of other playing devices, selecting one playing device as a slave playing device of the first playing device; wherein, the first playing device is a playing device in a broadcast networking; the main playing equipment can be automatically determined without manual setting of a user, and the main playing equipment and other equipment in the broadcast networking are grouped together to realize common playing.

Description

Stereo playing method and device for broadcast networking and electronic equipment
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a stereo play setting method and apparatus for broadcast networking, and an electronic device.
Background
Currently, more and more products supporting bluetooth broadcast networking are, as shown in fig. 3, a typical bluetooth broadcast networking mode, in which a master playback device is connected to a sound source device to receive a sound source signal, and the sound source signal is transmitted to one or more slave playback devices for playback in a bluetooth broadcast manner. In addition, with the development of bluetooth headset technology, TWS (acronym for True Wireless Stereo) technology has been widely used in bluetooth audio playback scenarios. The TWS technology enables the wireless playback device to achieve a stereo effect in a team form, for example, signal line connection is not required between each bluetooth speaker, and the wireless playback device only plays through two or more bluetooth speakers to achieve the stereo effect; such as a stereo effect through two wirelessly connected bluetooth headsets, etc.
Moreover, the requirements of users for audio playing are different for different user groups and different application scenarios. For example, sometimes all playing devices (such as sound boxes) in the environment need to play music synchronously through bluetooth broadcast networking; sometimes, a plurality of playing devices in an environment are expected to form a pair, wherein one playing device plays a left sound channel and the other playing device plays a right sound channel, and the playing devices do not interfere with each other; it is sometimes desirable for each playback device to play independently.
However, when the current product is used to pair stereo playback devices, there are only two speaker devices in the environment, and the setting operation can only be completed through controls on a mobile phone or other control terminal connected to the main speaker. For a user, it is difficult to distinguish which speaker device is a master speaker and which speaker device is a slave speaker in a plurality of speaker devices in a bluetooth broadcast networking, which may cause a great trouble to a setting operation of the user.
Disclosure of Invention
The application provides a stereo playing setting method and device for broadcast networking and electronic equipment, and aims to solve the problem of playing setting of a plurality of playing devices in the broadcast networking.
In order to achieve the purpose, the following scheme is adopted in the application:
in one aspect, an embodiment of the present application provides a stereo play setting method for broadcast networking, where the method includes:
enabling a first playing device to enter a stereo playing mode according to a first operation executed by a user;
the first playing equipment is used as main playing equipment to be in wireless communication connection with sound source equipment;
the first playing device sends a team formation request to other playing devices in the broadcast networking;
according to the received replies of other playing devices, selecting one playing device as a slave playing device of the first playing device;
wherein the first playback device is a playback device in a broadcast networking.
Optionally, after selecting one playing device as the slave playing device of the first playing device according to the reply of the other device, the method further includes:
transmitting the sound channel information of the master playing device to the slave playing device;
and configuring the sound channels of the master playing device and the slave playing device according to the sound channel confirmation information sent by the slave playing device.
Optionally, after selecting one playing device as the slave playing device according to the received reply from the other playing devices, the method further includes:
the master playing device generates a new synchronous word and sends the new synchronous word to the slave playing device;
after receiving the synchronization word confirmation information fed back by the slave playing device, communicating with the slave playing device based on a new synchronization word after a preset time;
the new sync word is different from a default sync word used for the broadcast networking communication and is unique in the broadcast networking;
the master playback device sends a queue formation request based on the default sync word and/or communicates with the slave playback device before communicating with the slave playback device based on the new sync word.
Optionally, after selecting one playing device as the slave playing device according to the received reply from the other playing devices, the method further includes:
storing the new synchronous words and the successfully configured sound channel information into historical team formation information;
when configuring the sound channel of the main playing device, when the history team formation information does not exist in the main playing device, setting the current sound channel of the main playing device as a left sound channel or a right sound channel;
and when the history team forming information exists in the main playing device, taking the history sound channel stored in the history team forming information as the current sound channel of the main playing device.
Optionally, configuring the channels of the master playback device and the slave playback device according to the channel confirmation information sent by the slave playback device includes:
if the sound channel of the slave playing device is different from the sound channel of the master playing device, the sound channel configuration is successful;
and if the sound channel of the slave playing equipment is the same as that of the master playing equipment, adjusting the master playing equipment and the slave playing equipment to different sound channels.
Optionally, the sending a team formation request to other playing devices in the broadcast networking includes:
if the historical team formation information is stored in the first playing device, the first playing device is connected with another playing device according to the historical team formation information after entering a stereo playing mode, and the playing is carried out together.
Optionally, the method further includes:
if the first playing device is in the stereo playing mode and has successfully formed a team with another playing device, the first playing device also exits the stereo playing mode when the another playing device exits the stereo playing mode.
In one aspect, an embodiment of the present application provides a stereo playing setting device for broadcast networking, including:
the first processing module is used for enabling first playing equipment in the broadcast networking to enter a stereo playing mode according to a first operation executed by a user;
the connecting module is used for performing wireless communication connection with sound source equipment by taking the first playing equipment as main playing equipment in a stereo playing mode;
the receiving and sending module is used for sending a team formation request to other playing devices in a broadcast networking through the first playing device in a stereo playing mode;
and the second processing module is used for selecting one playing device as the slave playing device of the first playing device according to the replies of other devices.
In one aspect, an embodiment of the present application provides a playback device, including:
entering a stereo playing mode according to a first operation executed by a user;
as a main playing device, the sound source device is in wireless communication connection with the sound source device;
sending a team formation request to other playing devices in the broadcast networking;
and selecting one play device as the slave play device according to the replies of other devices.
In one aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the program realizes the steps of the stereo play setting method for the broadcast networking when being executed by the processor.
In one aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the stereo play setting method for broadcast networking are implemented.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise: the following operations are performed by a playback device in a broadcast networking: enabling a first playing device to enter a stereo playing mode according to a first operation executed by a user; the first playing equipment is used as main playing equipment to be in wireless communication connection with sound source equipment; the first playing device sends a team formation request to other playing devices in the broadcast networking; according to the received replies of other playing devices, selecting one playing device as a slave playing device of the first playing device; wherein, the first playing device is a playing device in a broadcast networking; the main playing equipment can be automatically determined without manual setting of a user, and the main playing equipment and other equipment in the broadcast networking are grouped together to realize common playing.
Drawings
Fig. 1 is a flowchart of a stereo play setting method for broadcast networking according to an embodiment of the present disclosure;
fig. 2 is a schematic process diagram of a master playback device sending a team formation request according to an embodiment of the present application;
fig. 3 is a schematic diagram of information transfer relationship between a playback device and a sound source device in 1-N mode;
fig. 4 is a time slot diagram of a playback device switching from a 1-N mode to a stereo playback mode according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a package format of 2-DH1 according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a stereo playing setting device for broadcast networking according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a stereo playback setting apparatus for broadcast networking according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings of the embodiments of the present application. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the application without making any creative effort, shall fall within the protection scope of the application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In addition, the technical features mentioned in the different embodiments of the present application described below may be combined with each other as long as they do not conflict with each other.
The stereo playing setting method for the broadcast networking can be applied to the Bluetooth networking with a plurality of playing devices, the playing devices in the networking are grouped according to the requirements of users, and audio playing is carried out in a pairwise grouping mode and/or a 1-N mode.
The stereo playing setting method for the broadcast networking is not only suitable for wireless communication based on a Bluetooth wireless communication protocol, but also suitable for other wireless communication fields such as WIFI.
Referring to fig. 1, a flowchart illustration of a stereo play setting method for broadcast networking according to an embodiment of the present application is shown, including:
step 101, enabling a first playing device to enter a stereo playing mode according to a first operation executed by a user.
Specifically, a user selects a playing device in the broadcast networking, the selected device is a first playing device, and the selected playing device enters a stereo playing mode according to a first operation performed by the user, for example: after a user presses a 'Play' key on the playing equipment for a long time, the playing equipment enters a stereo playing mode; if the user clicks the 'start up' key and the historical team formation record is recorded on the first playing device, the first playing device directly enters the stereo playing mode.
And 102, taking the first playing device as a main playing device to carry out wireless communication connection with a sound source device.
Specifically, for convenience of description, after the first playing device enters the stereo playing mode, the first playing device is defaulted as a master playing device, the playing device is wirelessly connected to a sound source device (the sound source device is used for providing sound source signals, such as a mobile phone, a computer, an MP3, and the like), the slave device serving as the sound source device receives the signal from the sound source device and is responsible for sending corresponding channel data to another playing device (hereinafter, referred to as a second playing device) for formation with the sound source device, and when the first playing device communicates with the second playing device, the first playing device serves as the master device, and the second playing device serves as the slave device.
Step 103, the first playing device sends a team formation request to other playing devices in the broadcast networking.
Illustratively, the first playing device serves as a main playing device, and sends a team formation request to other playing devices accessing the broadcast networking, so as to obtain information of available playing devices, and complete playing of stereo sound in a form of a group of 2 playing devices with another available playing device in the broadcast networking.
And 104, selecting one playing device as a slave playing device of the first playing device according to the received reply of the other device.
Specifically, there may be a plurality of playback devices available in the broadcast networking, and after sending the request for grouping, the first playback device may receive replies from a plurality of playback devices that are not grouped, and the first playback device selects one of the playback devices as its slave playback device to perform channel grouping.
For example, the method of selecting the slave playback devices may be that the first playback device selects one of the playback devices as the slave playback device for channel grouping according to a predetermined rule, such as the playback device that replies to the grouping request with the received first playback device as the slave playback device; or taking the playing device closest to the received reply as a slave playing device; or the playing device with the best signal quality in the received reply is used as the slave playing device, and the like.
According to the stereo configuration method for the broadcast networking, the main playing device can be automatically determined without manual setting of a user, and the main playing device and other devices in the broadcast networking are played together after being formed into a team, so that the playing setting of the user is greatly facilitated, and the user experience is improved.
Optionally, after determining the slave playback device according to the reply from the other device, the method further includes:
transmitting the sound channel information of the master playing device to the slave playing device;
and configuring the sound channels of the master playing device and the slave playing device according to the sound channel confirmation information sent by the slave playing device.
Illustratively, after entering the team stereo playback mode, two playback devices (e.g., two speakers and two headphones) enter a peer-to-peer communication mode in which the two playback devices communicate with each other based on a control channel (control train).
As will be understood by those skilled in the art, the Control train is a Control channel defined by the bluetooth wireless communication protocol and capable of implementing data interaction such as Control commands.
Optionally, after selecting one playing device as the slave playing device according to the received reply from the other playing devices, the method further includes:
generating a new synchronous word by the master playing device and sending the new synchronous word to the slave playing device;
after receiving the synchronization word confirmation information fed back by the slave playing device, communicating with the slave playing device based on a new synchronization word after a preset time;
the new sync word is different from a default sync word used for broadcast networking communications and is unique in the broadcast networking;
the master playback device sends a queue formation request based on the default sync word and/or communicates with the slave playback device before communicating with the slave playback device based on the new sync word.
Specifically, in the 1-N mode, all devices in the broadcast networking communicate based on a default synchronization word, and after the 1-N mode is switched to the stereo play mode, before a new synchronization word is configured, the default synchronization word in the 1-N mode used for communication between the master play device and the slave play device is communicated; for example, the master playback device sends a new sync word to the slave playback device via the default sync word.
Specifically, after the preset time, the master playback device communicates with the slave playback device based on the new sync word, which can ensure that the master playback device and the slave playback device communicate through the old sync word (such as the default sync word) before the new sync word is used, and can ensure that the master playback device and the slave playback device can receive information of each other before the team formation is completed, thereby avoiding missing information reception caused by inconsistent use time of the new sync word.
Illustratively, before the master playback device and the slave playback device communicate with each other based on the new sync word, the master playback device and the slave playback device perform the following operations, respectively:
the method comprises the steps that a main playing device generates a new synchronous word, the new synchronous word is sent to a slave playing device through an old synchronous word, feedback information of the slave device is received, and communication is carried out based on the new synchronous word after preset time (such as delay of 500 ms) elapses;
and the slave playing device receives the new synchronous word sent by the master device, sends feedback information to the master playing device through the old synchronous word, and performs communication based on the new synchronous word after a preset time (such as after 500ms delay).
For example, the bluetooth master playback device (Dut1) and the bluetooth slave playback device (Dut2) wirelessly communicate via bluetooth, and the channel team formation process is further described as follows:
dut1 Host generates 6 byte new synchronous word according to local Bluetooth address, and broadcasts out by default synchronous word in 1-N mode through control channel;
dut2, after receiving the synchronization word, Dut2 Host sends the synchronization word confirmation information to Dut1 through the control channel by adopting the default synchronization word, stores the new synchronization word, and after delaying for 500ms, carries out communication based on the new synchronization word;
dut1 receives the sync word confirmation message and after 500ms delays it to communicate with Dut2 based on the new sync word.
Specifically, the above steps are a synchronization word configuration process, two playing devices performing channel grouping first adopt a default synchronization word in a 1-N mode to complete channel grouping, and when the two groups are played in a left-right channel mode, in order to prevent interference by other devices in the broadcast networking, a new synchronization word is configured, and the new synchronization word is used for communication between the two paired master and slave playing devices. For example, there are 9 playing devices in the broadcast networking, the first playing device and the second playing device channel team (group 1, sync word 1), the third playing device and the fourth playing device channel team (group 2, sync word 2), the fifth playing device and the sixth playing device channel team (group 3, sync word 3), the remaining 3 playing devices continue to keep playing in 1-N mode (sync word 0), after successful configuration, the sync words 0, 1, 2, 3 are different, and each playing device and the playing device in 1-N mode do not affect each other.
It can be understood that the Host and the Controller are terms in the bluetooth software/protocol, the Host mainly refers to the upper layer bluetooth protocol software, and the Controller refers to the lower layer bluetooth protocol software; each bluetooth device has its own Host and Controller code.
Optionally, after selecting one playing device as the slave playing device according to the received reply from the other playing devices, the method further includes:
storing the new synchronous words and the successfully configured sound channel information into historical team formation information;
when configuring the sound channel of the main playing device, when the history team formation information does not exist in the main playing device, setting the current sound channel of the main playing device as a left sound channel or a right sound channel;
and when the history team forming information exists in the main playing device, taking the history sound channel stored in the history team forming information as the current sound channel of the main playing device.
Specifically, after the playing device selected by the user is used as the main device, if the historical team formation information does not exist in the main playing device, the main playing device is defaulted to play the left channel; and if the playing equipment has the historical team forming information, confirming the sound channel played by the playing equipment according to the record in the historical team forming information.
For example, if in the history team recording, the playing device selected by the user at this time plays the right channel as the slave device in the last team, then in this playing, since the user selects this playing device, the playing device enters the team stereo playing mode first, and thus the device plays the right channel as the master device in this playing.
Optionally, configuring the channels of the master playback device and the slave playback device according to the channel confirmation information sent by the slave playback device includes:
if the sound channel of the slave playing device is different from the sound channel of the master playing device, the sound channel configuration is successful;
and if the sound channel of the slave playing equipment is the same as that of the master playing equipment, adjusting the master playing equipment and the slave playing equipment to different sound channels.
Specifically, since stereo playback is required, that is, two playback devices can not be the left channel or the right channel, and they must play back different channels, it is necessary to ensure that the channels of the master playback device and the slave playback device are different when configuring.
If the master playing device is the right channel at this time, the channel information is sent to the slave playing device, and if the slave playing device is the left channel at this time, the slave playing device returns channel confirmation information, and the channel configuration is successful; if the slave playing device is also the right channel at this time, an error occurs, the user can be prompted to control the channel repetition at the end, the channel configuration can be completed by manually modifying the channels of the master playing device and the slave playing device by the user, and the channel of one of the playing devices can be automatically switched to ensure that the two playing devices play different channels to complete the configuration.
It should be noted that, there is no precedence relationship between the steps of setting the synchronization word and configuring the left and right channels in the above steps, and a new synchronization word may be configured first, and then the left and right channel information of the master playback device and the slave playback device may be configured.
Optionally, the sending the team formation request to other playing devices in the broadcast networking includes:
if the historical team formation information is stored in the first playing device, the first playing device is connected with another playing device according to the historical team formation information after entering a stereo playing mode, and stereo playing is carried out together.
Optionally, the sending the team formation request to other playing devices in the broadcast networking includes:
if the historical team formation information is stored on the playing device, the playing device is connected with another corresponding playing device in the team formation information after entering a stereo playing mode, and the playing device and the other playing device play together.
Specifically, the playing device with the historical team formation information directly enters a stereo playing mode after receiving a first operation executed by a user, and completes channel team formation by another playing device directly corresponding to the historical team formation information, and plays the audio channel with the channel configuration recorded in the historical team formation information; illustratively, the first operation is as follows: the user clicks 'power on', the user inputs an instruction to enter the broadcast networking, and the like.
Specifically, if there is a playing device a with historical team formation information, when a first operation performed by a user is received to enter a stereo playing mode and a team is formed with another playing device B, if a team formation failure occurs, for example: another playback device B is not nearby, and another playback device B has a failed lamp; under the condition, prompting a user that a problem occurs in a control end team, wherein the user can perform related manual setting, if the user does not perform related operation, a playing device A with historical team forming records cannot complete team forming within preset team forming time, generating prompting information, and automatically switching to a 1-N mode for playing; if the playing device B appears in the connection range later, the user can operate the playing device B or the playing device a to become the master device to perform the team formation again.
Specifically, if the history team formation information is stored in the main playback device, after the main playback device enters the stereo playback mode, the main playback device sends a team formation request to other playback devices in the broadcast networking based on the synchronization word in the history team formation information.
At this time, among other playing devices in the broadcast networking, the playing device which does not enter the stereo playing mode is based on the default synchronous word communication in the 1-N mode, so that the team formation request cannot be received; and if the synchronous word of one of the other playing devices is the same as the synchronous word of the main playing device, the other playing devices entering the stereo playing mode can receive the team formation request and further complete the team formation with the main playing device.
It should be noted that the playback device that first enters the stereo playback mode will be connected to the sound source device as the main playback device.
The method greatly facilitates the sound effect configuration of the user, the playing equipment with the historical team formation information automatically determines the master playing equipment, the slave playing equipment and the respective responsible sound channels after starting up, and completes the stereo playing of the two channel teams, so that the current playing equipment configuration (such as sound effect configuration under a complex scene) of the user can be quickly restored and repeatedly used without secondary setting, the user experience degree is greatly improved, and the sound configuration efficiency of the user is improved.
Exemplarily, referring to fig. 2, a process of sending a team formation request by a master playback device is shown, and the stereo playback setting method provided in the embodiment of the present application is further described:
in the 1-N mode, a user selects one playing device in a scene as a first playing device, and a first operation executed by the user enables the first playing device to enter a stereo playing mode, and the first playing device is used as a main playing device.
The first playing device broadcasts a 'team formation request' command through a control channel, receives team formation replies of other playing devices within preset time, determines one of the teamformation replies as a slave playing device, and enters playing configuration (configures a synchronous word and a sound channel).
It is understood that the playback devices in the broadcast network that have entered stereo playback mode and have been queued with other playback devices will not reply to the queue request from the first playback device, i.e., only playback devices in the broadcast network that have not been queued and/or have no history of queue records will reply to the queue request from the first playback device.
Optionally, the method further includes:
if the first playing device is in the stereo playing mode and has successfully formed a team with another playing device, the first playing device also exits the stereo playing mode when the another playing device exits the stereo playing mode.
Specifically, no matter the master playing device or the slave playing device, as long as any one of the two playing devices with the channel grouping relationship exits the stereo playing mode, the other playing device also exits the stereo playing mode, which is convenient for the user to switch between the stereo playing mode and the 1-N playing mode, and only any one device in the group needs to be switched to enter the 1-N mode, the device grouped with the device also automatically enters the 1-N mode.
Illustratively, in the stereo play mode, if the first play device needs to exit the stereo play mode based on the second operation of the user, the first play device sends an exit request to the second play device, and the second play device replies a confirmation message; the first playing device exits the stereo playing mode after receiving the confirmation message, and the second playing device also exits the stereo playing mode.
Optionally, the historical team formation information of the playing device is cleared according to a third operation performed by the user.
Illustratively, if the user presses the "Play" key on the playback device for a long time, the playback device exits the sound source team mode and clears the historical team information on the device.
Illustratively, if the first playback device deletes the historical team information (sync word and channel information) that is stored in the historical team information and that communicates with the second playback device in the stereo playback mode, based on a third operation by the user; similarly, the second playback device deletes the historical team formation information. After the stereo playing mode is entered next time, the two playing devices need to be re-queued for stereo playing.
It is noted that the user may complete the channel grouping of the playback device by performing corresponding input on the playback device, and may also complete the channel grouping of the playback device by the sound source device (e.g., through the mobile app).
Fig. 4 shows a time slot diagram for switching a playback apparatus from a 1-N mode to a stereo playback mode, the playback apparatus transmitting a team information, which contains a sync word information, using a 2-DH1 packet in a control channel (control train). Each 2-DH1 occupies 1 slot, Tx-indicates that the master playback device sends information; rx-indicates that the master playback device receives information (receives information transmitted from the slave device), wherein the master playback device transmits information and the slave playback device receives information in the Tx slot; in Rx time slot, the slave playback device sends information to the master device, and the master playback device receives the information, that is, both time slots can send information.
FIG. 5 is a diagram of a 2-DH1 packet format in an embodiment where 0-72-90-474 is the number of bits of data, in bits. Wherein, each 2-DH1 packet includes a sync word field in the access code.
To sum up, the stereo play setting method for broadcast networking provided by the embodiment of the present application enables a user to complete channel configuration without manually determining a master play device, where the play device in any networking is selected by the user, and if the play device has history team formation information, the play device directly serves as the master device to automatically connect slave play devices corresponding to the history team formation information to form left and right channels to perform stereo play after entering a stereo play mode, and if no history team formation information exists, the device that first enters the stereo play mode serves as the master play device, a team formation request is automatically sent to other available devices in the networking, and after automatically determining the slave play device, channel configuration and synchronization word update are completed, so that communication of each multicast play device in the broadcast networking is not interfered with each other; the complexity of setting operation of the user can be greatly reduced, so that the setting of the playing equipment in the networking is simpler and more efficient, and the rapid setting of various users in each playing scene is met.
Referring to fig. 6, an embodiment of the present application provides a stereo playback setting apparatus 60 for broadcast networking, including:
a first processing module 61, configured to enable a first playing device in the broadcast networking to enter a stereo playing mode according to a first operation performed by a user;
a connection module 62, configured to perform wireless communication connection with a sound source device by using the first playing device as a main playing device in a stereo playing mode;
a transceiver module 63, configured to send a team formation request to other playing devices in a broadcast networking through the first playing device in a stereo playing mode;
and a second processing module 64, configured to select one playback device as a slave playback device of the first playback device according to the replies from other devices.
Optionally, the second processing module 64 is further configured to:
transmitting the sound channel information of the master playing device to the slave playing device;
and configuring the sound channels of the main playing device and the slave playing device according to the sound channel confirmation information sent by the slave playing device.
Optionally, the transceiver module 63 is further configured to, after selecting one playing device as a slave playing device according to the received reply from the other playing devices:
generating a new synchronous word by the master playing device and sending the new synchronous word to the slave playing device;
after receiving the synchronization word confirmation information fed back by the slave playing device, communicating with the slave playing device based on a new synchronization word after a preset time;
the new sync word is different from a default sync word used for broadcast networking communications and is unique in the broadcast networking;
the master playback device sends a queue formation request based on the default sync word and/or communicates with the slave playback device before communicating with the slave playback device based on the new sync word.
Optionally, the second processing module 64 is further configured to, after selecting one playback device as a slave playback device according to the received reply from the other playback devices:
storing the new synchronous words and the successfully configured sound channel information into historical team formation information;
when configuring the sound channel of the main playing device, when the history team formation information does not exist in the main playing device, setting the current sound channel of the main playing device as a left sound channel or a right sound channel;
and when the history team forming information exists in the main playing device, taking the history sound channel stored in the history team forming information as the current sound channel of the main playing device.
Optionally, the second processing module 64 is further configured to:
if the sound channel of the slave playing device is different from the sound channel of the master playing device, the sound channel configuration is successful;
and if the sound channel of the slave playing equipment is the same as that of the master playing equipment, adjusting the master playing equipment and the slave playing equipment to different sound channels.
Optionally, the second processing module 64 is further configured to:
if the historical team formation information is stored in the first playing device, the first playing device is connected with another playing device according to the historical team formation information after entering a stereo playing mode, and stereo playing is carried out together.
Optionally, with reference to fig. 7, the apparatus 60 further comprises an automatic exit module 65:
if the first playing device is in the stereo playing mode and has successfully formed a team with another playing device, the first playing device also exits the stereo playing mode when the another playing device exits the stereo playing mode.
The stereo play setting device for broadcast networking provided by the embodiment of the application and the stereo play setting method for broadcast networking provided by the embodiment of the application have the same technical effects, and are not repeated here.
Referring to fig. 8, an electronic device 80 is further provided in this embodiment of the present application, and includes a processor 81, a memory 82, and a computer program stored in the memory 82 and capable of running on the processor 81, where the computer program is executed by the processor 81 to implement the processes of the above-mentioned embodiment of the stereo play setting method for broadcast networking, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above embodiment of the stereo play setting method for broadcast networking, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of this invention are intended to be covered by the scope of the invention as expressed herein.

Claims (11)

1. A stereo playing setting method for broadcast networking is characterized by comprising the following steps:
enabling a first playing device to enter a stereo playing mode according to a first operation executed by a user;
the first playing equipment is used as main playing equipment to be in wireless communication connection with sound source equipment;
the first playing device sends a team formation request to other playing devices in the broadcast networking;
according to the received replies of other playing devices, selecting one playing device as a slave playing device of the first playing device;
wherein the first playback device is a playback device in a broadcast networking.
2. The stereo play setting method as claimed in claim 1, wherein the selecting one of the playing devices as the slave playing device according to the received reply from the other playing device comprises:
transmitting the sound channel information of the master playing device to the slave playing device;
and configuring the sound channels of the master playing device and the slave playing device according to the sound channel confirmation information sent by the slave playing device.
3. The stereo playback setting method according to claim 1 or 2, wherein, after selecting one playback device as the slave playback device according to the received responses from the other playback devices, the method further comprises:
the master playing device generates a new synchronous word and sends the new synchronous word to the slave playing device;
after receiving the synchronization word confirmation information fed back by the slave playing device, communicating with the slave playing device based on a new synchronization word after a preset time;
the new sync word is different from a default sync word used for the broadcast networking communication and is unique in the broadcast networking;
the master playback device sends a queue formation request based on the default sync word and/or communicates with the slave playback device before communicating with the slave playback device based on the new sync word.
4. The stereo play setting method as claimed in claim 3, wherein the step of selecting one of the playing devices as the slave playing device according to the received reply from the other playing device further comprises:
storing the new synchronous words and the successfully configured sound channel information into historical team formation information;
when configuring the sound channel of the main playing device, when the history team formation information does not exist in the main playing device, setting the current sound channel of the main playing device as a left sound channel or a right sound channel; and when the history team forming information exists in the main playing device, taking the history sound channel stored in the history team forming information as the current sound channel of the main playing device.
5. The stereo playback setting method as claimed in claim 4, wherein the configuring of the channels of the master playback device and the slave playback device according to the channel confirmation information sent by the slave playback device comprises:
if the sound channel of the slave playing device is different from the sound channel of the master playing device, the sound channel configuration is successful;
and if the sound channel of the slave playing equipment is the same as that of the master playing equipment, adjusting the master playing equipment and the slave playing equipment to different sound channels.
6. The stereo playback setup method of claim 5, wherein sending a team request to other playback devices in the broadcast networking comprises:
if the historical team formation information is stored in the first playing device, the first playing device is connected with another playing device according to the historical team formation information after entering a stereo playing mode, and stereo playing is carried out together.
7. The stereo playback setting method as defined in claim 1, further comprising:
if the first playing device is in the stereo playing mode and has successfully formed a team with another playing device, the first playing device also exits the stereo playing mode when the another playing device exits the stereo playing mode.
8. A stereo playing setting device for broadcast networking is characterized by comprising:
the first processing module is used for enabling first playing equipment in the broadcast networking to enter a stereo playing mode according to a first operation executed by a user;
the connecting module is used for performing wireless communication connection with sound source equipment by taking the first playing equipment as main playing equipment in a stereo playing mode;
the receiving and sending module is used for sending a team formation request to other playing devices in a broadcast networking through the first playing device in a stereo playing mode;
and the second processing module is used for selecting one playing device as the slave playing device of the first playing device according to the replies of other devices.
9. A playback device, comprising:
entering a stereo playing mode according to a first operation executed by a user;
as a main playing device, the sound source device is in wireless communication connection with the sound source device;
sending a team formation request to other playing devices in the broadcast networking;
and selecting one play device as the slave play device according to the replies of other devices.
10. An electronic device, comprising: processor, memory and program stored on and executable on said memory, said program when executed by said processor implementing the steps of the stereo playback setting method of broadcast networking according to any of claims 1 to 7.
11. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the stereo playback setting method of broadcast networking according to any one of claims 1 to 7.
CN202110418759.1A 2021-04-19 2021-04-19 Stereo playing method and device for broadcast networking and electronic equipment Active CN113015106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110418759.1A CN113015106B (en) 2021-04-19 2021-04-19 Stereo playing method and device for broadcast networking and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110418759.1A CN113015106B (en) 2021-04-19 2021-04-19 Stereo playing method and device for broadcast networking and electronic equipment

Publications (2)

Publication Number Publication Date
CN113015106A true CN113015106A (en) 2021-06-22
CN113015106B CN113015106B (en) 2023-04-21

Family

ID=76388626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110418759.1A Active CN113015106B (en) 2021-04-19 2021-04-19 Stereo playing method and device for broadcast networking and electronic equipment

Country Status (1)

Country Link
CN (1) CN113015106B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023051272A1 (en) * 2021-09-28 2023-04-06 华为技术有限公司 Device networking and sound channel configuration method and electronic device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1605637A2 (en) * 2004-06-08 2005-12-14 Bose Corporation Managing an audio network
US20110274141A1 (en) * 2007-10-25 2011-11-10 Nokia Corporation Method of and apparatus for synchronization
CN104934050A (en) * 2015-06-29 2015-09-23 深圳市奋达科技股份有限公司 Audio networking playing method and system based on wireless network
CN105072564A (en) * 2015-07-30 2015-11-18 广东欧珀移动通信有限公司 Audio playing method and device based on Bluetooth connection
CN105185391A (en) * 2015-08-27 2015-12-23 三星电子(中国)研发中心 Method and device for multi-user sound box control
CN105282829A (en) * 2015-11-04 2016-01-27 广东欧珀移动通信有限公司 Network connecting method and wireless speaker
CN108696842A (en) * 2017-03-02 2018-10-23 北京小鸟听听科技有限公司 A kind of equipment and its network-building method, output method
CN109842508A (en) * 2017-11-27 2019-06-04 华为技术有限公司 The method that multiple terminals cooperates, terminal device and multiple terminals cooperative system
CN111343526A (en) * 2020-05-18 2020-06-26 恒玄科技(北京)有限公司 Wireless communication method of sound box assembly and sound box assembly for wireless communication
CN111757218A (en) * 2019-03-29 2020-10-09 深圳市冠旭电子股份有限公司 Audio file playing method, distributed sound system and main sound box
CN111954123A (en) * 2020-08-13 2020-11-17 上海富芮坤微电子有限公司 Method, system, medium, and wireless audio device for information synchronization of wireless audio devices

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1605637A2 (en) * 2004-06-08 2005-12-14 Bose Corporation Managing an audio network
US20110274141A1 (en) * 2007-10-25 2011-11-10 Nokia Corporation Method of and apparatus for synchronization
CN104934050A (en) * 2015-06-29 2015-09-23 深圳市奋达科技股份有限公司 Audio networking playing method and system based on wireless network
CN105072564A (en) * 2015-07-30 2015-11-18 广东欧珀移动通信有限公司 Audio playing method and device based on Bluetooth connection
CN105185391A (en) * 2015-08-27 2015-12-23 三星电子(中国)研发中心 Method and device for multi-user sound box control
CN105282829A (en) * 2015-11-04 2016-01-27 广东欧珀移动通信有限公司 Network connecting method and wireless speaker
CN108696842A (en) * 2017-03-02 2018-10-23 北京小鸟听听科技有限公司 A kind of equipment and its network-building method, output method
CN109842508A (en) * 2017-11-27 2019-06-04 华为技术有限公司 The method that multiple terminals cooperates, terminal device and multiple terminals cooperative system
CN111757218A (en) * 2019-03-29 2020-10-09 深圳市冠旭电子股份有限公司 Audio file playing method, distributed sound system and main sound box
CN111343526A (en) * 2020-05-18 2020-06-26 恒玄科技(北京)有限公司 Wireless communication method of sound box assembly and sound box assembly for wireless communication
CN111954123A (en) * 2020-08-13 2020-11-17 上海富芮坤微电子有限公司 Method, system, medium, and wireless audio device for information synchronization of wireless audio devices

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023051272A1 (en) * 2021-09-28 2023-04-06 华为技术有限公司 Device networking and sound channel configuration method and electronic device

Also Published As

Publication number Publication date
CN113015106B (en) 2023-04-21

Similar Documents

Publication Publication Date Title
KR101655456B1 (en) Ad-hoc adaptive wireless mobile sound system and method therefor
CN111901730B (en) TWS earphone interaction method and system and TWS earphone
CN102456347B (en) Realization system and method for split-type multi-channel synchronous play for multimedia file based on wireless transmission technology
US20170086233A1 (en) Connection method for multimedia playing device, main device, and control terminal
CN109922540B (en) Wireless transceiver group communication method, device group, system and storage medium
CN111885553B (en) Bluetooth device communication method and related device
WO2020107691A1 (en) Bluetooth connection method and device
US20180189025A1 (en) Control method, audio device, and information storage medium
WO2017029946A1 (en) Audio system, audio device, and audio device setting method
US20220321368A1 (en) Method, device, computer program, and recording medium for audio processing in wireless communication system
US9137835B2 (en) Communication apparatus, communication method, and communication system
CN105812185B (en) A kind of communication connecting method of playback equipment
JP6737272B2 (en) Communication device, communication method, program, and communication system
CN113015106B (en) Stereo playing method and device for broadcast networking and electronic equipment
WO2017029947A1 (en) Audio system, audio device, and audio signal playback method
US10817249B2 (en) Audio system control method, control terminal device, and information storage medium
CN111049709B (en) Bluetooth-based interconnected loudspeaker box control method, equipment and storage medium
US20220229628A1 (en) Method, device and computer program for controlling audio data in wireless communication system, and recording medium therefor
US20220353616A1 (en) Method, device, and computer program for controlling and managing state of peripheral device in wireless communication system, and recording medium therefor
CN112105005A (en) Method and device for controlling Bluetooth equipment to play
WO2020172830A1 (en) Wireless connection method, device group, system, and storage medium
CN202772917U (en) Multimedia-file split-type multi-channel synchronized broadcast implement system based on wireless transmission technology
US20220256314A1 (en) Method, apparatus and computer program for broadcast discovery service in wireless communication system, and recording medium therefor
CN114885261A (en) Earphone assembly, wireless audio playing system and communication method thereof
US20220253273A1 (en) Method, device, and computer program for audio routing in wireless communication system, and recording medium therefor

Legal Events

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