Control method for playing back and device in a kind of audio-video frequency playing system
Technical field
The present invention relates to the broadcasting controlling parties in audio and video playing technical field more particularly to a kind of audio-video frequency playing system
Method and device.
Background technique
Audio-video frequency playing system is made of more playback equipments, an audio-video frequency playing system can be used as one it is whole
Identical song is played simultaneously in body running, i.e., all playback equipments in audio-video frequency playing system.In addition, audio-video frequency playing system
Interior playback equipment, can also form several broadcasting groups, and each broadcasting group plays different music respectively.Such as an audio-video
There are A, B, C, D, E and F totally 6 playback equipments in play system, wherein playback equipment A and B form a broadcasting group 1, and broadcasting is set
Standby C and D forms a broadcasting group 2, and playback equipment E and F form a broadcasting group 3.Playback equipment A in broadcasting group 1 is synchronous with B
Identical song is played, identical song, the playback equipment E in broadcasting group 3 is played simultaneously in the playback equipment C and D in broadcasting group 2
Identical song is played simultaneously with F, but broadcasting group 1, broadcasting group 2 and broadcasting group 3 are independent from each other, they can play identical
Song, different songs can also be played respectively.Each broadcasting group can be by the control of different audiogenic devices, can also be by phase
With the control of audiogenic device.
However, when being grouped according to the actual situation to the playback equipment in audio-video frequency playing system, different audiogenic devices
In corresponding broadcasting group, there may be an identical playback equipment, in the case of this kind, be playing one in the identical playback equipment
When the audio-video of audiogenic device, and receive the audio-video number that another broadcasting group belonging to the identical playback equipment corresponds to audiogenic device
According to the identical playback equipment will appear broadcasting confusion, influence user experience.
Summary of the invention
In view of this, the purpose of the present invention is to propose to control method for playing back and device in a kind of audio-video frequency playing system,
To solve in audio-video frequency playing system, the shared playback equipment of different broadcasting groups occurs playing chaotic problem.
To achieve the above object, the present invention adopts the following technical scheme:
On the one hand, the embodiment of the invention provides the control method for playing back in a kind of audio-video frequency playing system, comprising:
When receiving the playing request of the first audiogenic device, according to preconfigured grouping information, described first is determined
The corresponding target broadcasting group of audiogenic device;
If detecting, at least one playback equipment is playing audio-video in the target broadcasting group, plays rule by default
It then controls at least one described playback equipment and plays target audio-video.
On the other hand, the embodiment of the invention provides the broadcast control devices in a kind of audio-video frequency playing system, comprising:
Target broadcasting group determining module, for when receiving the playing request of the first audiogenic device, according to being pre-configured with
Grouping information, determine the corresponding target broadcasting group of first audiogenic device;
Target audio and video playing control module, if for detecting that at least one playback equipment is just in the target broadcasting group
In playing audio-video, then at least one described playback equipment is controlled by default play rules and play target audio-video.
The beneficial effects of the present invention are: control method for playing back and device in audio-video frequency playing system provided by the invention,
When a user sends playing request to audio-video frequency playing system by an audiogenic device, audio-video frequency playing system is just according in advance
The grouping information of configuration determines the corresponding target broadcasting group of the audiogenic device, if detecting at least one in the target broadcasting group
Playback equipment is playing audio-video, i.e., at least one playback equipment is used by another user, then audio and video playing system
System controls at least one playback equipment by default play rules and plays determining audio-video, solves audio-video frequency playing system
In, the shared playback equipment of different broadcasting groups occurs playing chaotic problem.
Detailed description of the invention
Exemplary embodiments of the present invention will be described in detail referring to the drawings by general below, makes those skilled in the art
Become apparent from above-mentioned and other feature and advantage of the invention, in attached drawing:
Fig. 1 is the flow diagram of the control method for playing back in the audio-video frequency playing system that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of the control method for playing back in audio-video frequency playing system provided by Embodiment 2 of the present invention;
Fig. 3 is the first grouping schematic diagram of audio-video frequency playing system provided by Embodiment 2 of the present invention;
Fig. 4 is second of grouping schematic diagram of audio-video frequency playing system provided by Embodiment 2 of the present invention;
Fig. 5 is the flow diagram of the control method for playing back in the audio-video frequency playing system that the embodiment of the present invention three provides;
Fig. 6 is the structural block diagram of the broadcast control device in the audio-video frequency playing system that the embodiment of the present invention four provides;
Fig. 7 is the structural schematic diagram of the playback equipment in the audio-video frequency playing system that the embodiment of the present invention four provides.
Specific embodiment
To further illustrate the technical scheme of the present invention below with reference to the accompanying drawings and specific embodiments.It is understood that
It is that specific embodiment described herein is used only for explaining the present invention rather than limiting the invention.It further needs exist for illustrating
, only the parts related to the present invention are shown for ease of description, in attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow diagram of the control method for playing back in the audio-video frequency playing system that the embodiment of the present invention one provides.
The case where this method playback equipment playing audio-video that multiple broadcasting groups share suitable for audio-video frequency playing system, this method can
To be executed by the broadcast control device in audio-video frequency playing system.The device can be by the mode of software and/or hardware Lai real
Existing, the main playback equipment (playback equipment connecting with router) or each broadcasting being configured in audio-video frequency playing system are set
In standby.As shown in Figure 1, this method comprises:
Step 101, when receiving the playing request of the first audiogenic device, according to preconfigured grouping information, determine
The corresponding target broadcasting group of first audiogenic device.
Audiogenic device in the present invention is the equipment that can export audio and/or video data.
Wherein, grouping information may include audiogenic device information and each playback equipment information in corresponding broadcasting group, audiogenic device
Information includes audiogenic device Bluetooth address, and playback equipment information includes playback equipment Bluetooth address.
It is pre-configured with grouping information can include: source of sound belonging to the multiple broadcasting groups and each broadcasting group divided according to user is set
Standby information generates the grouping information table of playback equipment information and audiogenic device information corresponding relationship in each broadcasting group, is configured at
In main playback equipment.
Illustratively, any playback equipment in audio-video frequency playing system receives the playing request of the first audiogenic device
When, just notify main playback equipment, main playback equipment that can determine that the first audiogenic device is corresponding according to preconfigured grouping information
Target broadcasting group.
Specifically, determining the corresponding target broadcasting group of the first audiogenic device according to preconfigured grouping information can include:
Obtain the first audiogenic device Bluetooth address;According to grouping information, it is corresponding to obtain the first audiogenic device Bluetooth address
At least one playback equipment Bluetooth address;It will be played composed by least one corresponding playback equipment of playback equipment Bluetooth address
Group is determined as target broadcasting group.
If step 102 detects that at least one playback equipment is playing audio-video in target broadcasting group, broadcast by default
It puts at least one playback equipment of rule control and plays target audio-video.
Wherein, target audio-video determines that the target audio-video may include at least one section of audio-video by default play rules,
But every section of audio-video is played in the different periods.For at least one playback equipment, every section of audio-video completes broadcasting
In whole process, this section of audio-video be it is unique existing, i.e., in the entire playing process of this section of audio-video, at least one broadcasting
Equipment can only play this section of audio-video.Correspondingly, controlling at least one playback equipment by default play rules plays target sound view
Frequently, it can control at least one playback equipment according to bluetooth signal intensity and only play indigo plant belonging at least one playback equipment
The audio-video of the strongest audiogenic device of tooth signal also can control at least one playback equipment as unit of one section of audio-video, wheel
The audio-video of audiogenic device belonging to stream broadcasting at least one playback equipment can also be controlled according to the priority of audiogenic device
Make the audio-video that at least one playback equipment only plays the audiogenic device of highest priority belonging at least one playback equipment.
The control method for playing back in audio-video frequency playing system that the embodiment of the present invention one provides, when a user passes through a source of sound
When equipment sends playing request to audio-video frequency playing system, audio-video frequency playing system is just according to preconfigured grouping information, really
The fixed corresponding target broadcasting group of the audiogenic device, if detecting, at least one playback equipment is playing sound in the target broadcasting group
Video, i.e. at least one playback equipment are used by another user, then audio-video frequency playing system presses default play rules control
It makes at least one playback equipment and plays determining audio-video, solve in audio-video frequency playing system, what different broadcasting groups shared
Playback equipment occurs playing chaotic problem.
In addition, before controlling at least one playback equipment by default play rules and playing target audio-video, further includes:
If the reception playback equipment that judgement receives the audio, video data of the first audiogenic device is not belonging to target broadcasting group, control
System receives playback equipment and only forwards the audio, video data of the first audiogenic device to target broadcasting group.For example, playback equipment first is responsible for
The audio, video data of the first audiogenic device is received, target broadcasting group is made of playback equipment second and playback equipment third, playback equipment
When first receives the audio, video data of the first audiogenic device, according to the instruction of main playback equipment, which is transmitted to
Playback equipment second and playback equipment third play, and playback equipment first does not play the audio, video data.
Embodiment two
Fig. 2 is the flow diagram of the control method for playing back in audio-video frequency playing system provided by Embodiment 2 of the present invention.
Step is controlled at least one playback equipment by default play rules and is played target sound view by the present embodiment based on embodiment one
Frequency optimizes are as follows: determines corresponding second audiogenic device of audio-video being played on;According to grouping information, the second audiogenic device is determined
The number of playback equipment in corresponding broadcasting group;According to number, the audio-video that at least one playback equipment plays is determined.
Correspondingly, as shown in Fig. 2, the method for the present embodiment the following steps are included:
Step 201, when receiving the playing request of the first audiogenic device, according to preconfigured grouping information, determine
The corresponding target broadcasting group of first audiogenic device.
If step 202 detects that at least one playback equipment is playing audio-video in target broadcasting group, it is determined that
Corresponding second audiogenic device of the audio-video of broadcasting.
Illustratively, main playback equipment can monitor the data flow of audio-video being played on, track forwarding and broadcasting
The playback equipment for the audio-video put, then the audiogenic device information with the playback equipment bluetooth connection is obtained by the playback equipment,
So that it is determined that corresponding second audiogenic device of audio-video being played on;The broadcasting of audio-video can also be playing by inquiring
Group directly determines above-mentioned second audiogenic device according to grouping information.
Step 203, according to grouping information, determine that the second audiogenic device corresponds to the number of playback equipment in broadcasting group.
Illustratively, the quantity information for having playback equipment in every group of broadcasting group, main playback equipment be can record in grouping information
After the grouping information for finding the second audiogenic device, it can determine that the second audiogenic device corresponds in broadcasting group by parsing quantity information
The number of playback equipment;Or the playback equipment information of broadcasting group is corresponded to according to the second audiogenic device, count playback equipment letter
The number of breath, the i.e. number of playback equipment.
Step 204, according to number, determine at least one playback equipment play audio-video.
Specifically, determining that the second audiogenic device corresponds to the number of playback equipment in broadcasting group, equal at least about one broadcasting
When the number of equipment, the audio, video data that the first audiogenic device is sent, other playback equipments being transferred in target broadcasting group
It plays, wherein other playback equipments are the playback equipments in target broadcasting group in addition at least one playback equipment, at this point, at least
One playback equipment continues to play above-mentioned audio-video being played on.
Illustratively, referring to Fig. 3, audio-video frequency playing system includes broadcasting group first 3 and broadcasting group second 4, wherein broadcasting group first 3
It is made of playback equipment first 5 and playback equipment second 6, broadcasting group second 4 is only made of playback equipment second 6, and the first audiogenic device 1 is corresponding
Broadcasting group first 3, the corresponding broadcasting group second 4 of the second audiogenic device 2.Obviously, playback equipment second 6 is that broadcasting group first 3 and broadcasting group second 4 are total
Playback equipment (i.e. at least one playback equipment), at this point, the second audiogenic device 2 corresponds to of playback equipment in broadcasting group
Number, is 1 equal at least about the number of a playback equipment, and the audio, video data that the first audiogenic device 1 is sent only is set in broadcasting
It is played in standby first 5, playback equipment second 6 continues to play the audio, video data that the second audiogenic device 2 is sent.
In addition, being set determining that the second audiogenic device corresponds to the number of playback equipment in broadcasting group greater than at least one broadcasting
When standby number, the first bluetooth signal intensity of the first audiogenic device and the second Bluetooth signal of the second audiogenic device are obtained
Intensity;
When the difference for determining the first bluetooth signal intensity and the second bluetooth signal intensity is greater than preset threshold, control is at least
One playback equipment receives and plays audio, video data transmitted by the biggish audiogenic device of bluetooth signal intensity.
Illustratively, referring to fig. 4, audio-video frequency playing system includes broadcasting group first 3 and broadcasting group second 4, wherein broadcasting group first 3
It is made of playback equipment first 5 and playback equipment second 6, broadcasting group second 4 is made of playback equipment second 6 and playback equipment the third 7, the first sound
Source device 1 corresponds to broadcasting group first 3, the corresponding broadcasting group second 4 of the second audiogenic device 2.Obviously, playback equipment second 6 is 3 He of broadcasting group first
The shared playback equipment (i.e. at least one playback equipment) of broadcasting group second 4, the second audiogenic device 2 correspond to playback equipment in broadcasting group
Number be 2, the number of at least one playback equipment is 1, and the second audiogenic device correspond to a of playback equipment in broadcasting group
Number, greater than the number of at least one playback equipment, at this point, main playback equipment instruction playback equipment first 5 detects the first audiogenic device 1
Bluetooth signal intensity (i.e. the first bluetooth signal intensity), instruction playback equipment second 6 detect the second audiogenic device 2 Bluetooth signal
Intensity (i.e. the second bluetooth signal intensity).Main playback equipment obtains the first bluetooth signal intensity and the second bluetooth signal intensity, really
Fixed first bluetooth signal intensity is greater than the second bluetooth signal intensity, by the first bluetooth signal intensity and the second bluetooth signal intensity
Difference and preset threshold comparison, when the difference is greater than preset threshold, control playback equipment second 6 stops receiving the second audiogenic device
2 audio, video datas sent start the audio, video data for receiving and playing the transmission of the first audiogenic device 1.
Control method for playing back in audio-video frequency playing system provided by the embodiment of the present invention two is regarded according to sound is being sent
The number of playback equipment, determines that different broadcasting groups are common in the corresponding broadcasting group of the audiogenic device (i.e. the second audiogenic device) of frequency evidence
The audio-video that plays of playback equipment, specifically, correspond to the number of playback equipment in broadcasting group in the second audiogenic device, equal to extremely
When the number of a few playback equipment, at least one playback equipment continues to play the audio-video of the second audiogenic device, and using up can
User more than energy can hear the audio-video that respectively selection plays;Of playback equipment in broadcasting group is corresponded in the second audiogenic device
Number, greater than at least one playback equipment number when, determine that at least one broadcasting is set according to the bluetooth signal intensity of audiogenic device
The standby audio-video played, to prevent playing out the poor audio-video of sound quality.
Embodiment three
Fig. 5 is the flow diagram of the control method for playing back in the audio-video frequency playing system that the embodiment of the present invention three provides.
Step is controlled at least one playback equipment by default play rules and is played target sound view by the present embodiment based on embodiment one
Frequency optimize are as follows: according to grouping information determine at least one playback equipment belonging to all audiogenic devices;From all audiogenic devices
Determine that the current audiogenic device for sending playing request, current audiogenic device include at least the first audiogenic device;Pass through audio/video
Long-range control configuration file agreement controls current audiogenic device and sends audio, video data in turn and broadcasts at least one playback equipment
It puts.
In the present embodiment, at least one playback equipment can be a broadcasting group, and multiple audiogenic devices share the broadcasting group.
Correspondingly, as shown in figure 5, the method for the present embodiment the following steps are included:
Step 301, when receiving the playing request of the first audiogenic device, according to preconfigured grouping information, determine
The corresponding target broadcasting group of first audiogenic device.
If step 302 detects that at least one playback equipment is playing audio-video in target broadcasting group, according to grouping
Information determines all audiogenic devices belonging at least one playback equipment.
Illustratively, the corresponding source of sound of each playback equipment at least one playback equipment is searched according to grouping information to set
It is standby, the intersection part in the corresponding audiogenic device of above-mentioned each playback equipment is determined as institute belonging at least one playback equipment
There is audiogenic device.For example, at least one playback equipment is made of playback equipment first and second, playback equipment first belongs to the first sound simultaneously
Source device, the second audiogenic device and third audiogenic device, playback equipment second belongs to the second audiogenic device simultaneously and third source of sound is set
Standby, then intersection part is the second audiogenic device and third audiogenic device, therefore, the second audiogenic device and third audiogenic device be to
All audiogenic devices belonging to a few playback equipment.
Step 303 determines the current audiogenic device for sending playing request from all audiogenic devices.
Wherein, current audiogenic device may include multiple audiogenic devices, but include at least the first audiogenic device.
Step 304 remotely controls configuration file agreement by audio/video, controls current audiogenic device and sends sound in turn
Video data is played at least one playback equipment.
Wherein, audio/video remotely control configuration file (Audio/Video Remote Control Profile,
AVRCP), i.e., audio/video remotely controls specification, it defines how the feature of control Streaming Media, including pause, stops, opening
Dynamic playback, volume control and other kinds of remote control operation.
In this operation, the settable sequence for being easy to act as preceding audiogenic device wheel stream broadcasting of main playback equipment, and control current source of sound
Equipment plays one section of audio-video every time.Specifically, main broadcaster, which is put, to be set when monitoring that a certain audiogenic device sends audio, video data
It is standby to send control instruction to the corresponding playback equipment of current audiogenic device, control the corresponding playback equipment of above-mentioned a certain audiogenic device
By the AVRCP of itself bluetooth, the above-mentioned a certain audiogenic device of Reverse Turning Control sends audio, video data, while controlling other broadcastings and setting
The standby AVRCP by respective bluetooth, the corresponding audiogenic device pause of Reverse Turning Control send audio, video data, are achieved in and work as
Preceding audiogenic device sends audio, video data in turn and plays at least one playback equipment.Wherein, other playback equipments are except above-mentioned
The corresponding playback equipment of current audiogenic device outside a certain audiogenic device.
Control method for playing back in audio-video frequency playing system provided by the embodiment of the present invention three, by controlling multiple sources of sound
Equipment sends audio, video data to shared playback equipment in turn, solves in audio-video frequency playing system, and different broadcasting groups share
Playback equipment occur playing chaotic problem.
Example IV
Fig. 6 is the structural block diagram of the broadcast control device in the audio-video frequency playing system that the embodiment of the present invention four provides.Such as
Shown in Fig. 6, which includes target broadcasting group determining module 10 and target audio and video playing control module 20.
Wherein, target broadcasting group determining module 10, for when receiving the playing request of the first audiogenic device, according to pre-
The grouping information first configured determines the corresponding target broadcasting group of the first audiogenic device;
Target audio and video playing control module 20, if for detecting that at least one playback equipment is in target broadcasting group
Playing audio-video then controls at least one playback equipment by default play rules and plays target audio-video.
In the present embodiment, above-mentioned grouping information includes audiogenic device information and each playback equipment information in corresponding broadcasting group,
Audiogenic device information includes audiogenic device Bluetooth address, and playback equipment information includes playback equipment Bluetooth address.
Correspondingly, target broadcasting group determining module 10 includes:
First audiogenic device Bluetooth address acquiring unit, for obtaining the first audiogenic device Bluetooth address;
Playback equipment Bluetooth address acquiring unit, for obtaining the first audiogenic device Bluetooth address pair according to grouping information
At least one the playback equipment Bluetooth address answered;
Target broadcasting group determination unit, for being formed at least one corresponding playback equipment of playback equipment Bluetooth address
Broadcasting group, be determined as target broadcasting group.
Preferably, above-mentioned target audio and video playing control module 20 includes:
Second audiogenic device determination unit, for determining corresponding second audiogenic device of audio-video being played on;
Playback equipment number determination unit, for determining that the second audiogenic device corresponds to and being broadcast in broadcasting group according to grouping information
Put the number of equipment;
Audio-video determination unit, the audio-video played for according to above-mentioned number, determining at least one playback equipment.
Further, above-mentioned audio-video determination unit is specifically used for:
When determining that above-mentioned number is equal at least about the number of a playback equipment, by the audio-video of the first audiogenic device transmission
Data, other playback equipments being transferred in target broadcasting group play.
In addition, above-mentioned audio-video determination unit also particularly useful for:
When determining that above-mentioned number is greater than the number of at least one playback equipment, the first bluetooth of the first audiogenic device is obtained
Second bluetooth signal intensity of signal strength and the second audiogenic device;
When the difference for determining the first bluetooth signal intensity and the second bluetooth signal intensity is greater than preset threshold, control is at least
One playback equipment receives and plays audio, video data transmitted by the biggish audiogenic device of bluetooth signal intensity.
Optionally, above-mentioned target audio and video playing control module 20 further include:
All audiogenic device determination units, for according to grouping information determine at least one playback equipment belonging to all sounds
Source device;
Current audiogenic device determination unit, for determining that the current source of sound for sending playing request is set from all audiogenic devices
Standby, current audiogenic device includes at least the first audiogenic device;
Audio, video data sends control unit, and for remotely controlling configuration file agreement by audio/video, control is current
Audiogenic device sends audio, video data in turn and plays at least one playback equipment.
Preferably, above scheme, the broadcast control device of the present embodiment are based on further include:
Playback equipment playing control module is received, plays target controlling at least one playback equipment by default play rules
Before audio-video, if the reception playback equipment that judgement receives the audio, video data of the first audiogenic device is not belonging to target broadcasting group,
Then controlling and receiving playback equipment only forwards the audio, video data of the first audiogenic device to target broadcasting group.
Broadcast control device provided by the embodiment of the present invention four, which can be used for executing provided by the embodiment of the present invention, to be broadcast
Place control method has corresponding function and beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to this
Inventive method embodiment.
In addition, as shown in fig. 7, in audio-video frequency playing system every playback equipment specifically include that processor, bluetooth module,
Network interface, audio amplification block, loudspeaker and memory;
The processor is the core of playback equipment, for executing control program, communicates, coordinates with each functional module in periphery
With the work for controlling each functional module.
The bluetooth module allows playback equipment by Bluetooth technology and is likewise supplied with bluetooth for realizing Bluetooth communication
The equipment (such as smart phone) of function establishes connection, obtains audio, video data or control data.What bluetooth module will acquire
Audio, video data and control data are transferred to processor, and the audio, video data for also transmitting processor and control data are sent
To other bluetooth equipments.
The network interface can make wired network interface, can also make the radio network interface for meeting 802.11 specifications,
The processor may be coupled to internet by network interface, obtain network flow-medium audio, video data.By network interface,
The especially form of wireless network, more playback equipments can form a wireless audio and video play system, realize audio-video
It is played simultaneously.Under normal conditions, each controlling terminal is also to be connected by wireless network (such as WIFI) into audio-video frequency playing system,
Operation control is carried out to the playback equipment in audio-video frequency playing system and system.
The analog audio signal that the audio amplification block is used to send over processor carries out power amplification, with driving
Loudspeaker sounding.
The loudspeaker is sound-reducing component, and quantity can be one or more.
Some configuration datas of program and audio-video frequency playing system that the reservoir is executed for storage processor,
Such as network connection data, information volume, grouping information and the audio-video list played etc..
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.