CN105427873A - Main playing device switching method and associated devices - Google Patents

Main playing device switching method and associated devices Download PDF

Info

Publication number
CN105427873A
CN105427873A CN201510753414.6A CN201510753414A CN105427873A CN 105427873 A CN105427873 A CN 105427873A CN 201510753414 A CN201510753414 A CN 201510753414A CN 105427873 A CN105427873 A CN 105427873A
Authority
CN
China
Prior art keywords
playback equipment
broadcasting group
management
network
target
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
CN201510753414.6A
Other languages
Chinese (zh)
Other versions
CN105427873B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510753414.6A priority Critical patent/CN105427873B/en
Publication of CN105427873A publication Critical patent/CN105427873A/en
Application granted granted Critical
Publication of CN105427873B publication Critical patent/CN105427873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • G11B19/027Remotely controlled
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B31/00Arrangements for the associated working of recording or reproducing apparatus with related apparatus

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Multimedia (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to the technical field of electronics, and discloses a main playing device switching method and associated devices applied to a wireless playing system. The method comprises the following steps: when a playing management device detects whether the environment information of a playing group changes, obtaining the network state of each playing device in the playing groups; selecting a target playing device with the best network from the playing group according to the network states; and when judging that the target playing device is not the current main playing device of the playing group, setting the target playing device as the main playing device of the playing group. Through the main playing device switching method, the playing management device is capable of automatically switching the playing device with the best network as the main playing device when the environment information of the playing group changes, so as to improving the multimedia resource playing fluency of each playing device in the playing group.

Description

A kind of changing method of main playback equipment and relevant device
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of changing method and relevant device of main playback equipment.
Background technology
The radio play system (as wireless sound box system) be made up of multiple playback equipment (as audio amplifier) is just more and more subject to the welcome of consumer.In radio play system, have and only have a management playback equipment (the MPP audio amplifier as in wireless sound box system) to be connected with control terminal (as mobile phone), for managing other playback equipments.Under normal circumstances, multiple broadcasting group can be divided in radio play system, general in each broadcasting group exist a main playback equipment (can be called host audio amplifier in wireless sound box system), be mainly used in downloading multimedia resource from internet, other playback equipments in broadcasting group then obtain multimedia resource and play from main playback equipment.Download because main playback equipment plays multimedia resource in broadcasting group, the fluency of each playback equipment play multimedia resource in broadcasting group can be affected.
Under normal circumstances, the switching of main playback equipment needs user to operate on control terminal, main playback equipment may be caused like this to switch not in time, thus reduce the fluency of multimedia resource broadcasting.
Summary of the invention
The embodiment of the invention discloses a kind of changing method and relevant device of main playback equipment, the switching of main playback equipment can be carried out in time, improve the fluency that multimedia resource is play.
The embodiment of the invention discloses a kind of changing method of main playback equipment, be applied to radio play system, comprise:
Whether the environmental information that management playback equipment detects broadcasting group changes;
When the environmental information of described broadcasting group changes, described management playback equipment obtains the network state of each playback equipment in described broadcasting group, and from described broadcasting group, chooses the target playback equipment of network optimum according to described network state;
Described management playback equipment judges that whether described target playback equipment is the current main playback equipment of described broadcasting group;
If not, described target playback equipment is set as the main playback equipment of described broadcasting group by described management playback equipment.
As a kind of feasible embodiment, whether the environmental information that described management playback equipment detects broadcasting group changes, and comprising:
Management playback equipment detects the playback equipment that in broadcasting group, whether location changes;
If so, described management playback equipment determines that the environmental information of described broadcasting group changes.
As the embodiment that another kind is feasible, whether the environmental information that described management playback equipment detects broadcasting group changes, and comprising:
Whether management playback equipment detects in broadcasting group exists playback equipment that is newly-increased and/or that reduce;
If so, described management playback equipment determines that the environmental information of described broadcasting group changes.
As the embodiment that another is feasible, described network state comprises internetwork connection mode, and the described target playback equipment choosing network optimum according to described network state from described broadcasting group, comprising:
Described management playback equipment judges whether there is the first playback equipment that described internetwork connection mode is wired connection in described broadcasting group;
If so, the quantity of described first playback equipment determined by described management playback equipment;
When the quantity of described first playback equipment is one, described first playback equipment is defined as the target playback equipment of network optimum by described management playback equipment.
As the embodiment that another is feasible, described method also comprises:
When the quantity of described first playback equipment is multiple, described management playback equipment obtains the configuration parameter of each described first playback equipment;
The playback equipment configuring optimum in described first playback equipment, according to the configuration parameter of each described first playback equipment, is defined as the target playback equipment of network optimum by described management playback equipment.
As the embodiment that another is feasible, described method also comprises:
When there is not described first playback equipment in described broadcasting group, described management playback equipment each playback equipment in described broadcasting group sends destination network addresses, and obtains the access time delay that described destination network addresses accessed by described each playback equipment;
Described management playback equipment chooses the second the shortest playback equipment of described access time delay from described broadcasting group, and described second playback equipment is defined as the target playback equipment of network optimum.
As the embodiment that another is feasible, when the environmental information of described broadcasting group changes, described method also comprises:
Whether described management playback equipment detects in described broadcasting group exists just at the playback equipment of play multimedia resource, if not, described management playback equipment performs the network state of each playback equipment in described acquisition described broadcasting group, and from described broadcasting group, choose the step of the target playback equipment of network optimum according to described network state.
Accordingly, the embodiment of the invention discloses a kind of management playback equipment, be applied to radio play system, comprise:
Whether detecting unit, change for the environmental information detecting broadcasting group;
Acquiring unit, during for detecting that the environmental information of described broadcasting group changes at described detecting unit, obtains the network state of each playback equipment in described broadcasting group;
Choose unit, for choosing the target playback equipment of network optimum from described broadcasting group according to described network state;
Judging unit, for judging that whether described target playback equipment is the current main playback equipment of described broadcasting group;
Setup unit, during for judging described target playback equipment at described judging unit for described broadcasting group current main playback equipment, is set as the main playback equipment of described broadcasting group by described target playback equipment.
As a kind of feasible embodiment, the concrete the mode whether environmental information that described detecting unit detects broadcasting group changes is:
Detect the playback equipment that in broadcasting group, whether location changes;
If so, determine that the environmental information of described broadcasting group changes.
As the embodiment that another kind is feasible, the concrete the mode whether environmental information that described detecting unit detects broadcasting group changes is:
Detect in broadcasting group and whether there is playback equipment that is newly-increased and/or that reduce;
If so, determine that the environmental information of described broadcasting group changes.
As the embodiment that another is feasible, described network state comprises internetwork connection mode, described in choose unit and comprise judgment sub-unit and determine subelement, wherein:
Whether described judgment sub-unit, exist for judging the first playback equipment that described internetwork connection mode is wired connection in described broadcasting group;
Describedly determine subelement, during for judging to there is described first playback equipment in described broadcasting group in described judgment sub-unit, determine the quantity of described first playback equipment;
Describedly determine subelement, also for when the quantity determining described first playback equipment is one, described first playback equipment is defined as the target playback equipment of network optimum.
As the embodiment that another is feasible, described in choose unit and also comprise the first acquisition subelement, wherein:
Described first obtain subelement, for described determine that subelement determines that the quantity of described first playback equipment is multiple time, obtain the configuration parameter of each described first playback equipment;
Describedly determine subelement, also for the configuration parameter according to each described first playback equipment, optimum playback equipment will be configured in described first playback equipment be defined as the target playback equipment of network optimum.
As the embodiment that another is feasible, described in choose unit also comprise send subelement and second obtain subelement, wherein:
Described transmission subelement, during for judging there is not described first playback equipment in described broadcasting group in described judgment sub-unit, in described broadcasting group, each playback equipment sends destination network addresses;
Described second obtains subelement, accesses the access time delay of described destination network addresses for obtaining described each playback equipment;
Describedly determining subelement, also for choosing the second the shortest playback equipment of described access time delay from described broadcasting group, and described second playback equipment being defined as the target playback equipment of network optimum.
As the embodiment that another is feasible, described detecting unit, also for when detecting that the environmental information of described broadcasting group changes, detect in described broadcasting group and whether exist just at the playback equipment of play multimedia resource, if not, the operation that described acquiring unit performs the network state obtaining each playback equipment in described broadcasting group is triggered.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, management playback equipment is there is in radio play system, this management playback equipment is when detecting whether the environmental information of broadcasting group changes, the network state of each playback equipment in this broadcasting group can be obtained, and from this broadcasting group, the target playback equipment of network optimum is chosen according to this network state, when judging this target playback equipment not for main playback equipment that this broadcasting group is current, this target playback equipment is set as the main playback equipment of this broadcasting group.By the embodiment of the present invention, the playback equipment of network optimum when the environmental information of broadcasting group changes, can be switched to main playback equipment by management playback equipment automatically, thus can improve the fluency of each playback equipment play multimedia resource in broadcasting group.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the changing method of a kind of main playback equipment disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the changing method of another kind of main playback equipment disclosed in the embodiment of the present invention;
Fig. 3 is a kind of structural representation managing playback equipment disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of the disclosed another kind of management playback equipment of the embodiment of the present invention;
Fig. 5 is the structural representation of the embodiment of the present invention another management playback equipment disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of changing method and relevant device of main playback equipment, the switching of main playback equipment can be carried out in time, improve the fluency that multimedia resource is play.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the changing method of a kind of main playback equipment disclosed in the embodiment of the present invention.Wherein, the method shown in Fig. 1 can be applied to radio play system, as wireless music system, wireless sound box system etc.As shown in Figure 1, the changing method of this main playback equipment can comprise the following steps:
Whether the environmental information that S101, management playback equipment detect broadcasting group changes, and if so, performs step S102; If not, process ends.
In the embodiment of the present invention, radio play system is made up of multiple playback equipment, and in radio play system, there is the management playback equipment that has management function, can manage other playback equipments, user is controlled whole radio play system by the volume, multimedia resource broadcasting switching etc. controlling this management playback equipment.Wherein, this multimedia resource can be video file, music file etc., and the embodiment of the present invention does not limit.
In radio play system, management playback equipment is connected by router or internet with control terminal, control terminal is provided with the control application software of radio play system, user can operate in control application software, the instruction any several playback equipment being formed a broadcasting group is sent to management playback equipment, therefore, after management playback equipment receives, just several playback equipments of specifying can be formed a broadcasting group, the playback equipment in same broadcasting group can synchronous play multimedia resource.Further, in a broadcasting group, there is a main playback equipment, for downloading multimedia resource from internet, other playback equipments in broadcasting group then obtain multimedia resource and play from main playback equipment.Therefore, this management playback equipment also can as main playback equipment.Wherein, playback equipment can include but not limited to that audio amplifier, MP3, MP4, mobile phone, player etc. have the terminal device of multi-media player function, and control terminal can include but not limited to that smart mobile phone, panel computer, palm PC, intelligent glasses, Intelligent bracelet, intelligent watch etc. can according to the terminal devices of application software.
For example, in wireless sound box system, MP audio amplifier is the playback equipment in radio play system, and the MPP audio amplifier with management function is the management playback equipment in radio play system, and the HOST audio in audio amplifier group is the main broadcaster's equipment in radio play system.Therefore, MPP audio amplifier is the MP audio amplifier with management function, and HOST audio amplifier is the MP audio amplifier having and download Multimedia Resource Function.But MPP audio amplifier also can simultaneously as HOST audio amplifier, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, environmental information can comprise composition whether change etc. of the playback equipment in the network connection status of each playback equipment in broadcasting group, the positional information of each broadcasting group and broadcasting group, and the embodiment of the present invention does not limit.This broadcasting group can refer to all broadcasting groups in radio play system, also can refer to any one broadcasting group, and can also be the broadcasting group that user specifies, the embodiment of the present invention limit.
As a kind of feasible embodiment, the concrete the mode whether environmental information that management playback equipment detects broadcasting group changes can comprise the following steps:
Step 11) manage the playback equipment that in playback equipment detection broadcasting group, whether location changes;
Step 12) playback equipment that changes when location in broadcasting group, management playback equipment determines that the environmental information of this broadcasting group changes.
In specific implementation, respective positional information can be reported management playback equipment by each playback equipment in radio play system in real time.Therefore, manage playback equipment and can detect whether the position of each playback equipment changes.When managing playback equipment and the playback equipment that location changes being detected, the network of the playback equipment that position changes also can change, as the change of network signal, the change etc. of network stabilization.Therefore, when managing playback equipment and the playback equipment that location in broadcasting group changes being detected, just can determine that the environmental information of this broadcasting group changes.
Optionally, management playback equipment can also detect the positional information of router, when the position of router changes, in broadcasting group, the network of each playback equipment also can change, as better in the signal from the playback equipment close to router, and from the dtr signal etc. of the playback equipment away from router.Therefore, when managing playback equipment and detecting that the positional information of router changes, also can determine that the environmental information of this broadcasting group changes.
As the embodiment that another kind is feasible, the concrete the mode whether environmental information that management playback equipment detects broadcasting group changes can also comprise the following steps:
Step 21) manage in playback equipment detection broadcasting group whether there is playback equipment that is newly-increased and/or that reduce;
Step 22) when there is newly-increased and/or playback equipment that is that reduce in broadcasting group, management playback equipment determines that the environmental information of this broadcasting group changes.
In specific implementation, if the composition of the playback equipment in broadcasting group has adjustment, as newly increased playback equipment, or decrease playback equipment, or substituted for playback equipment, so broadcasting group all can notify to manage playback equipment.Therefore, management playback equipment will detect in broadcasting group to there is playback equipment that is newly-increased and/or that reduce, just can determine that the environmental information of this broadcasting group changes.
S102, management playback equipment obtain the network state of each playback equipment in this broadcasting group, and from this broadcasting group, choose the target playback equipment of network optimum according to network state.
In the embodiment of the present invention, network state can include but not limited to internetwork connection mode, network access time delay, downloading rate etc.Therefore, when managing playback equipment and detecting that the environmental information of broadcasting group changes, the network state of each playback equipment in this broadcasting group will be obtained.Then according to the network state of each playback equipment, from this broadcasting group, the target playback equipment of network optimum is chosen.
Wherein, target playback equipment can be the playback equipment that in broadcasting group, downloading rate is the fastest, also can be the playback equipment that in broadcasting group, network access time delay is the shortest, and can also be the best playback equipment of hardware configuration, the embodiment of the present invention limit.
S103, management playback equipment judge that whether this target playback equipment is the current main playback equipment of this broadcasting group, if so, process ends; If not, step S104 is performed.
In the embodiment of the present invention, management playback equipment, after the target playback equipment selecting network optimum, can compare this target playback equipment and whether the current main playback equipment of this broadcasting group is same playback equipment further.If so, the switching that playback equipment does not carry out main playback equipment is managed; If not, just using this target playback equipment as the up-to-date main playback equipment of this broadcasting group.
This target playback equipment is set as the main playback equipment of this broadcasting group by S104, management playback equipment, and process ends.
In the embodiment of the present invention, when managing playback equipment and judging this target playback equipment not for main playback equipment that this broadcasting group is current, this playback equipment just can be set as the main playback equipment of this broadcasting group by management playback equipment, thus carries out multimedia resource download.
Visible, in the method described by Fig. 1, management playback equipment is there is in radio play system, this management playback equipment is when detecting whether the environmental information of broadcasting group changes, the network state of each playback equipment in this broadcasting group can be obtained, and from this broadcasting group, the target playback equipment of network optimum is chosen according to this network state, when judging this target playback equipment not for main playback equipment that this broadcasting group is current, this target playback equipment is set as the main playback equipment of this broadcasting group.By the embodiment of the present invention, the playback equipment of network optimum when the environmental information of broadcasting group changes, can be switched to main playback equipment by management playback equipment automatically, thus can improve the fluency of each playback equipment play multimedia resource in broadcasting group.Meanwhile, the main playback equipment of switching is the playback equipment of network optimum in broadcasting group, can ensure the stability that multimedia resource is downloaded like this, thus can promote Consumer's Experience.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the changing method of another kind of main playback equipment disclosed in the embodiment of the present invention.Wherein, the method shown in Fig. 2 can be applied to radio play system, as wireless music system, wireless sound box system etc.As shown in Figure 2, the changing method of this main playback equipment can comprise the following steps:
Whether the environmental information that S201, management playback equipment detect broadcasting group changes, and if so, performs step S202; If not, process ends.
Whether S202, management playback equipment detect in this broadcasting group and exist just in the playback equipment of play multimedia resource, if so, process ends; If not, step S203 is performed.
In the embodiment of the present invention, when carrying out the switching of main playback equipment, can all not have to switch during play multimedia resource by all playback equipments in broadcasting group, the stability play when can ensure like this to play online, thus the fluency improving multimedia resource broadcasting.
Therefore, when management playback equipment is when detecting that the environmental information of broadcasting group changes, can judge whether there is the playback equipment worked in this broadcasting group further.If existed, so only carry out the switching of main playback equipment when all playback equipments all do not work; If there is no, this management playback equipment can obtain the network state of each playback equipment in this broadcasting group further.
Optionally, manage playback equipment and detect in this broadcasting group whether to exist also can be just performed after having chosen target playback equipment in the step of the playback equipment of play multimedia resource again.That is, management playback equipment is when detecting that the environmental information of broadcasting group changes, first choose the target playback equipment of network optimum, if this target playback equipment and the current main playback equipment of this broadcasting group are not same playback equipment, so whether management playback equipment detects further in this broadcasting group again and exists just at the playback equipment of play multimedia resource, and the embodiment of the present invention does not limit.
S203, management playback equipment obtain the network state of each playback equipment in this broadcasting group, and from this broadcasting group, choose the target playback equipment of network optimum according to network state.
As a kind of feasible embodiment, when network state comprises internetwork connection mode, the target playback equipment of network optimum chosen by management playback equipment from this broadcasting group concrete mode according to network state can comprise the following steps:
Step 31) management playback equipment judge in this broadcasting group, whether to there is the first playback equipment that internetwork connection mode is wired connection;
Step 32) when there is the first playback equipment in this broadcasting group, the quantity of the first playback equipment determined by management playback equipment;
Step 33) when the quantity of the first playback equipment is one, this first playback equipment is defined as the target playback equipment of network optimum by management playback equipment.
In specific implementation, management playback equipment is after the internetwork connection mode having detected each target playback equipment, and can judge whether there is the first playback equipment in target playback equipment, the internetwork connection mode of this first playback equipment is wired connection.It should be noted that, this first playback equipment does not refer to the quantity of playback equipment, and refers to that internetwork connection mode is the playback equipment of this class of wired connection.
Therefore, when judging to there is the first playback equipment in this target playback equipment, management playback equipment can determine the quantity of the first playback equipment; And when there is not the first playback equipment in this target playback equipment, management playback equipment can notify that user specifies main playback equipment, also can obtain downloading rate is the fastest, signal is the strongest playback equipment as main playback equipment from the playback equipment of wireless connections, the embodiment of the present invention does not limit.
Concrete, when the quantity of the first playback equipment is one, this first playback equipment just can be defined as the target playback equipment of network optimum by management playback equipment.Can ensure that main broadcaster puts the stability of equipment connection network like this, thus the stability from the Internet download multimedia resource can be improved.
As the embodiment that another kind is feasible, the target playback equipment of network optimum chosen by management playback equipment from this broadcasting group concrete mode according to network state can also comprise the following steps:
Step 34) when the quantity of the first playback equipment is multiple, management playback equipment obtains the configuration parameter of each first playback equipment;
Step 35) manage playback equipment according to the configuration parameter of each first playback equipment, the playback equipment configuring optimum in the first playback equipment is defined as the target playback equipment of network optimum.
In specific implementation, because main broadcaster's playback equipment needs to download multimedia resource from internet, so not only the network stabilization of main playback equipment will be ensured, also need the configuration of main playback equipment higher.Therefore, when the quantity of the first playback equipment is multiple, management playback equipment can obtain the configuration parameter of each first playback equipment.Wherein, management playback equipment can prestore often kind of model of playback equipment, and the configuration parameter corresponding to often kind of model, also the priority of often kind of model can be prestored, configuration parameter as model A is defaulted as the highest, the configuration parameter of model B is higher than the configuration parameter of model C, but lower than the configuration parameter of model A etc.Therefore, management playback equipment only needs the model obtaining each first playback equipment, just can obtain the configuration parameter of each first playback equipment.
Therefore, management playback equipment, after the configuration parameter getting each first playback equipment, according to configuration parameter, can be chosen the playback equipment that configuration is optimum, and this playback equipment is defined as the target playback equipment of network optimum from the first playback equipment.
It should be noted that, configuration parameter can include but not limited to the parameter such as model (as belonging to which brand), treble parameter, Hz-KHz, degree of distortion, sensitivity, power bracket, signal to noise ratio (S/N ratio) of playback equipment.Therefore, management playback equipment, after the configuration parameter getting each first playback equipment, can obtain the highest playback equipment of priority according to the model priority preset, be configuration optimum; Also according to power bracket, the playback equipment of the maximum playback equipment of power bracket as configuration optimum can be chosen; According to sensitivity, can also choose the most suitable playback equipment of sensitivity, management playback equipment specifically chooses the target playback equipment of the optimum playback equipment of configuration as network optimum according to which kind of configuration parameter, and the embodiment of the present invention does not limit.
As the embodiment that another is feasible, the target playback equipment of network optimum chosen by management playback equipment from this broadcasting group concrete mode according to network state can also comprise the following steps:
Step 36) when there is not the first playback equipment in this broadcasting group, management playback equipment each playback equipment in this broadcasting group sends destination network addresses, and obtains the access time delay that this destination network addresses accessed by each playback equipment;
Step 37) management playback equipment chooses the second the shortest playback equipment of access time delay from this broadcasting group, and this second playback equipment is defined as the target playback equipment of network optimum.
In specific implementation, when there is not the first playback equipment in target playback equipment, namely illustrate that the internetwork connection mode of each target playback equipment is wireless connections.Therefore, in order to choose the main playback equipment can stablized and download multimedia resource, management playback equipment can send destination network addresses by each playback equipment in this broadcasting group.Each playback equipment, can by the access time delay of the mode test access network of ping destination network addresses after receiving this destination network addresses.Wherein, the router gateway of this destination network addresses when can be each playback equipment carry out interconnection network by connection route device, also can be any one multimedia resource download address, the embodiment of the present invention limit.
Therefore, when after each playback equipment ping destination address, the access time of the access destination network address can be obtained separately, be the access time delay of accesses network.Then respective access time delay can be reported management playback equipment by each playback equipment, manage playback equipment thus the access time delay that this destination network addresses accessed by each playback equipment can be got, and second the playback equipment the shortest access time being defined as the target playback equipment of network optimum.
S204, management playback equipment judge that whether this target playback equipment is the current main playback equipment of this broadcasting group, if so, process ends; If not, step S205 is performed.
This target playback equipment is set as the main playback equipment of this broadcasting group by S205, management playback equipment, and process ends.
Visible, in the method described by Fig. 2, management playback equipment is detecting that the environmental information of broadcasting group changes, and during current not playback equipment play multimedia resource, automatically the playback equipment of network optimum is switched to main playback equipment, the fluency of each playback equipment play multimedia resource in broadcasting group can be improved like this, during to avoid playing online, multimedia resource loads incomplete situation, thus lifting user plays experience.
Refer to Fig. 3, Fig. 3 is a kind of structural representation managing playback equipment disclosed in the embodiment of the present invention.Wherein, the management playback equipment 300 shown in Fig. 3 can be applied to radio play system, as wireless music system, wireless sound box system etc.As shown in Figure 3, this management playback equipment 300 can comprise with lower unit:
Whether detecting unit 301, change for the environmental information detecting broadcasting group.
As a kind of feasible embodiment, the concrete the mode whether environmental information that detecting unit 301 detects broadcasting group changes can be:
Detect the playback equipment that in broadcasting group, whether location changes;
When the playback equipment that location in broadcasting group changes, determine that the environmental information of this broadcasting group changes.
As the embodiment that another kind is feasible, the concrete the mode whether environmental information that detecting unit 301 detects broadcasting group changes can also be:
Detect in broadcasting group and whether there is playback equipment that is newly-increased and/or that reduce;
When there is newly-increased and/or playback equipment that is that reduce in broadcasting group, determine that the environmental information of this broadcasting group changes.
Acquiring unit 302, for when above-mentioned detecting unit 301 detects that the environmental information of this broadcasting group changes, obtains the network state of each playback equipment in this broadcasting group.
Choose unit 303, for choosing the target playback equipment of network optimum from this broadcasting group according to network state.
Judging unit 304, for judging that above-mentioned whether choose target playback equipment that unit 303 chooses be the current main playback equipment of this broadcasting group.
Setup unit 305, during for judging this target playback equipment at above-mentioned judging unit 304 not for main playback equipment that this broadcasting group is current, is set as the main playback equipment of this broadcasting group by this target playback equipment.
See also Fig. 4, Fig. 4 is the structural representation of the disclosed another kind of management playback equipment of the embodiment of the present invention.Wherein, the management playback equipment 300 shown in Fig. 4 optimizes to obtain on the basis of the management playback equipment 300 shown in Fig. 3.As shown in Figure 4, network state can comprise internetwork connection mode, therefore, chooses unit 303 and can comprise judgment sub-unit 3031, determines subelement 3032, obtain subelement 3033 and send subelement 3034, wherein:
Whether judgment sub-unit 3031, exist for judging the first playback equipment that internetwork connection mode is wired connection in this broadcasting group.
Determining subelement 3032, during for judging to there is the first playback equipment in this broadcasting group in above-mentioned judgment sub-unit 3031, determining the quantity of the first playback equipment.
Determine subelement 3032, also for when the data determining this first playback equipment are one, this first playback equipment is defined as the target playback equipment of network optimum.
Obtain subelement 3033, for above-mentioned determine that subelement 3032 determines that the data of this first playback equipment are multiple time, obtain the configuration parameter of each first playback equipment.
Determine subelement 3032, also for the configuration parameter according to each first playback equipment, the playback equipment configuring optimum is defined as the target playback equipment of network optimum in the first playback equipment.
Send subelement 3034, during for judging there is not the first playback equipment in this broadcasting group at above-mentioned judging unit 3031, in this broadcasting group, each playback equipment sends destination network addresses.
In the embodiment of the present invention, send subelement 3034 after playback equipment each in this broadcasting group sends destination network addresses, acquisition subelement 3033 can be triggered and start, to obtain the access time delay that this destination network addresses accessed by each playback equipment.
Obtaining subelement 3033, also accessing the access time delay of this destination network addresses for obtaining each playback equipment.
Determining subelement 3032, also for choosing the second the shortest playback equipment of access time delay from this broadcasting group, and this second playback equipment being defined as the target playback equipment of network optimum.
In the embodiment of the present invention, detecting unit 301, also for when detecting that the environmental information of this broadcasting group changes, detect in this broadcasting group and whether exist just at the playback equipment of play multimedia resource, if not, the operation that above-mentioned acquiring unit 302 performs the network state obtaining each playback equipment in this broadcasting group is triggered.
Optionally, detecting unit 301, can also when above-mentioned judging unit 304 judges target playback equipment not for main playback equipment that this broadcasting group is current, detect in this broadcasting group and whether exist just at the playback equipment of play multimedia resource, if not, the operation that above-mentioned setup unit 304 performs the main playback equipment this target playback equipment being set as this broadcasting group is triggered.
Visible, in the management playback equipment described by Fig. 3 and Fig. 4, management playback equipment is detecting whether the environmental information of broadcasting group changes, and during current not playback equipment play multimedia resource, the network state of each playback equipment in this broadcasting group can be obtained, and from this broadcasting group, the target playback equipment of network optimum is chosen according to this network state, when judging this target playback equipment not for main playback equipment that this broadcasting group is current, this target playback equipment is set as the main playback equipment of this broadcasting group.By the embodiment of the present invention, the playback equipment of network optimum when the environmental information of broadcasting group changes, can be switched to main playback equipment by management playback equipment automatically, thus can improve the fluency of each playback equipment play multimedia resource in broadcasting group.Meanwhile, the main playback equipment of switching is the playback equipment of network optimum in broadcasting group, can ensure the stability that multimedia resource is downloaded like this, thus can promote Consumer's Experience.
Refer to Fig. 5, Fig. 5 is the structural representation of the embodiment of the present invention another management playback equipment disclosed.Wherein, the management playback equipment 500 shown in Fig. 5 can be applied to radio play system, as wireless music system, and wireless sound box system etc.This management playback equipment 500 can comprise at least one processor 501, as CPU, communication interface 502, storer 503 and at least one communication bus 504, storer 503 can be high-speed RAM storer, also can be nonvolatile memory (non-volatilememory), as at least one magnetic disk memory, optionally, storer 503 can also be that at least one is positioned at the memory storage away from aforementioned processor 501.Wherein:
Communication bus 504 is for realizing the connection communication between these assemblies such as processor 501, communication interface 502 and storer 503.
Store batch processing code in storer 503, and processor 501 is for calling the program code stored in storer 503, performs following operation:
Whether the environmental information detecting broadcasting group changes;
When the environmental information of this broadcasting group changes, obtained the network state of each playback equipment in this broadcasting group by communication interface 502, and from this broadcasting group, choose the target playback equipment of network optimum according to network state;
Judge that whether this target playback equipment is the current main playback equipment of this broadcasting group;
When this target playback equipment is not for main playback equipment that this broadcasting group is current, this target playback equipment is set as the main playback equipment of this broadcasting group.
As a kind of feasible embodiment, the concrete the mode whether environmental information that processor 501 detects broadcasting group changes can be:
Detect the playback equipment that in broadcasting group, whether location changes;
When the playback equipment that location in broadcasting group changes, determine that the environmental information of this broadcasting group changes.
As the embodiment that another kind is feasible, the concrete the mode whether environmental information that processor 501 detects broadcasting group changes can be:
Detect in broadcasting group and whether there is playback equipment that is newly-increased and/or that reduce;
When there is newly-increased and/or playback equipment that is that reduce in broadcasting group, determine that the environmental information of this broadcasting group changes.
As the embodiment that another is feasible, this network state can comprise internetwork connection mode, and the target playback equipment of network optimum chosen by processor 501 from this broadcasting group concrete mode according to network state can be:
Judge in this broadcasting group, whether to there is the first playback equipment that internetwork connection mode is wired connection;
When there is the first playback equipment in this broadcasting group, determine the quantity of the first playback equipment;
When the quantity of the first playback equipment is one, this first playback equipment is defined as the target playback equipment of network optimum.
As the embodiment that another is feasible, the target playback equipment of network optimum chosen by processor 501 from this broadcasting group concrete mode according to network state can also be:
When the quantity of the first playback equipment is multiple, obtained the configuration parameter of each first playback equipment by communication interface 502;
According to the configuration parameter of each first playback equipment, the playback equipment configuring optimum is defined as the target playback equipment of network optimum in the first playback equipment.
As the embodiment that another is feasible, the target playback equipment of network optimum chosen by processor 501 from this broadcasting group concrete mode according to network state can also be:
When there is not the first playback equipment in this broadcasting group, sending destination network addresses by communication interface 502 each playback equipment in this broadcasting group, and obtaining the access time delay that this destination network addresses accessed by each playback equipment;
From this broadcasting group, choose the second the shortest playback equipment of access time delay, and this second playback equipment is defined as the target playback equipment of network optimum.
As the embodiment that another is feasible, processor 501, when detecting that the environmental information of broadcasting group changes, also for calling the program code stored in storer 503, performs following operation:
Detect in this broadcasting group and whether exist just at the playback equipment of play multimedia resource, if not, perform the network state being obtained each playback equipment in this broadcasting group by communication interface 502, and from this broadcasting group, choose the operation of the target playback equipment of network optimum according to network state.
Visible, in the management playback equipment described by Fig. 5, management playback equipment is detecting whether the environmental information of broadcasting group changes, and during current not playback equipment play multimedia resource, the network state of each playback equipment in this broadcasting group can be obtained, and from this broadcasting group, the target playback equipment of network optimum is chosen according to this network state, when judging this target playback equipment not for main playback equipment that this broadcasting group is current, this target playback equipment is set as the main playback equipment of this broadcasting group.By the embodiment of the present invention, the playback equipment of network optimum when the environmental information of broadcasting group changes, can be switched to main playback equipment by management playback equipment automatically, thus can improve the fluency of each playback equipment play multimedia resource in broadcasting group.Meanwhile, the main playback equipment of switching is the playback equipment of network optimum in broadcasting group, can ensure the stability that multimedia resource is downloaded like this, thus can promote Consumer's Experience.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (14)

1. a changing method for main playback equipment, is applied to radio play system, it is characterized in that, comprising:
Whether the environmental information that management playback equipment detects broadcasting group changes;
When the environmental information of described broadcasting group changes, described management playback equipment obtains the network state of each playback equipment in described broadcasting group, and from described broadcasting group, chooses the target playback equipment of network optimum according to described network state;
Described management playback equipment judges that whether described target playback equipment is the current main playback equipment of described broadcasting group;
If not, described target playback equipment is set as the main playback equipment of described broadcasting group by described management playback equipment.
2. method according to claim 1, is characterized in that, whether the environmental information that described management playback equipment detects broadcasting group changes, and comprising:
Management playback equipment detects the playback equipment that in broadcasting group, whether location changes;
If so, described management playback equipment determines that the environmental information of described broadcasting group changes.
3. method according to claim 1, is characterized in that, whether the environmental information that described management playback equipment detects broadcasting group changes, and comprising:
Whether management playback equipment detects in broadcasting group exists playback equipment that is newly-increased and/or that reduce;
If so, described management playback equipment determines that the environmental information of described broadcasting group changes.
4. the method according to any one of claims 1 to 3, is characterized in that, described network state comprises internetwork connection mode, and the described target playback equipment choosing network optimum according to described network state from described broadcasting group, comprising:
Described management playback equipment judges whether there is the first playback equipment that described internetwork connection mode is wired connection in described broadcasting group;
If so, the quantity of described first playback equipment determined by described management playback equipment;
When the quantity of described first playback equipment is one, described first playback equipment is defined as the target playback equipment of network optimum by described management playback equipment.
5. method according to claim 4, is characterized in that, described method also comprises:
When the quantity of described first playback equipment is multiple, described management playback equipment obtains the configuration parameter of each described first playback equipment;
The playback equipment configuring optimum in described first playback equipment, according to the configuration parameter of each described first playback equipment, is defined as the target playback equipment of network optimum by described management playback equipment.
6. method according to claim 4, is characterized in that, described method also comprises:
When there is not described first playback equipment in described broadcasting group, described management playback equipment each playback equipment in described broadcasting group sends destination network addresses, and obtains the access time delay that described destination network addresses accessed by described each playback equipment;
Described management playback equipment chooses the second the shortest playback equipment of described access time delay from described broadcasting group, and described second playback equipment is defined as the target playback equipment of network optimum.
7. the method according to any one of claim 1 ~ 6, is characterized in that, when the environmental information of described broadcasting group changes, described method also comprises:
Whether described management playback equipment detects in described broadcasting group exists just at the playback equipment of play multimedia resource, if not, described management playback equipment performs the network state of each playback equipment in described acquisition described broadcasting group, and from described broadcasting group, choose the step of the target playback equipment of network optimum according to described network state.
8. a management playback equipment, is applied to wireless playing equipment, it is characterized in that, comprising:
Whether detecting unit, change for the environmental information detecting broadcasting group;
Acquiring unit, during for detecting that the environmental information of described broadcasting group changes at described detecting unit, obtains the network state of each playback equipment in described broadcasting group;
Choose unit, for choosing the target playback equipment of network optimum from described broadcasting group according to described network state;
Judging unit, for judging that whether described target playback equipment is the current main playback equipment of described broadcasting group;
Setup unit, during for judging described target playback equipment at described judging unit for described broadcasting group current main playback equipment, is set as the main playback equipment of described broadcasting group by described target playback equipment.
9. management playback equipment according to claim 8, is characterized in that, the concrete the mode whether environmental information that described detecting unit detects broadcasting group changes is:
Detect the playback equipment that in broadcasting group, whether location changes;
If so, determine that the environmental information of described broadcasting group changes.
10. management playback equipment according to claim 8, is characterized in that, the concrete the mode whether environmental information that described detecting unit detects broadcasting group changes is:
Detect in broadcasting group and whether there is playback equipment that is newly-increased and/or that reduce;
If so, determine that the environmental information of described broadcasting group changes.
Management playback equipment described in 11. according to Claim 8 ~ 10 any one, is characterized in that, described network state comprises internetwork connection mode, described in choose unit and comprise judgment sub-unit and determine subelement, wherein:
Whether described judgment sub-unit, exist for judging the first playback equipment that described internetwork connection mode is wired connection in described broadcasting group;
Describedly determine subelement, during for judging to there is described first playback equipment in described broadcasting group in described judgment sub-unit, determine the quantity of described first playback equipment;
Describedly determine subelement, also for when the quantity determining described first playback equipment is one, described first playback equipment is defined as the target playback equipment of network optimum.
12. management playback equipments according to claim 11, is characterized in that, described in choose unit and also comprise the first acquisition subelement, wherein:
Described first obtain subelement, for described determine that subelement determines that the quantity of described first playback equipment is multiple time, obtain the configuration parameter of each described first playback equipment;
Describedly determine subelement, also for the configuration parameter according to each described first playback equipment, optimum playback equipment will be configured in described first playback equipment be defined as the target playback equipment of network optimum.
13. management playback equipments according to claim 11, is characterized in that, described in choose unit also comprise send subelement and second obtain subelement, wherein:
Described transmission subelement, during for judging there is not described first playback equipment in described broadcasting group in described judgment sub-unit, in described broadcasting group, each playback equipment sends destination network addresses;
Described second obtains subelement, accesses the access time delay of described destination network addresses for obtaining described each playback equipment;
Describedly determining subelement, also for choosing the second the shortest playback equipment of described access time delay from described broadcasting group, and described second playback equipment being defined as the target playback equipment of network optimum.
Management playback equipment described in 14. according to Claim 8 ~ 13 any one, is characterized in that,
Described detecting unit, also for when detecting that the environmental information of described broadcasting group changes, detect in described broadcasting group and whether exist just at the playback equipment of play multimedia resource, if not, the operation that described acquiring unit performs the network state obtaining each playback equipment in described broadcasting group is triggered.
CN201510753414.6A 2015-11-04 2015-11-04 A kind of switching method and relevant device of main playback equipment Active CN105427873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510753414.6A CN105427873B (en) 2015-11-04 2015-11-04 A kind of switching method and relevant device of main playback equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510753414.6A CN105427873B (en) 2015-11-04 2015-11-04 A kind of switching method and relevant device of main playback equipment

Publications (2)

Publication Number Publication Date
CN105427873A true CN105427873A (en) 2016-03-23
CN105427873B CN105427873B (en) 2018-01-23

Family

ID=55506027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510753414.6A Active CN105427873B (en) 2015-11-04 2015-11-04 A kind of switching method and relevant device of main playback equipment

Country Status (1)

Country Link
CN (1) CN105427873B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488289A (en) * 2016-10-08 2017-03-08 广东欧珀移动通信有限公司 Audio sync player method, apparatus and system
CN107507634A (en) * 2017-08-22 2017-12-22 维沃移动通信有限公司 A kind of method for playing music and electronic equipment
CN113596526A (en) * 2021-07-28 2021-11-02 汉桑(南京)科技有限公司 Method and system for determining main playing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244676A (en) * 2010-05-14 2011-11-16 Lg电子株式会社 Electronic device and method of sharing contents thereof with other devices
CN103634312A (en) * 2013-11-26 2014-03-12 广州晶锐信息技术有限公司 Device management method for realizing multi-audio fast synchrony based on audio sharing
CN104575539A (en) * 2014-12-29 2015-04-29 广东欧珀移动通信有限公司 Music playing control method and device
CN105007201A (en) * 2015-05-27 2015-10-28 广东欧珀移动通信有限公司 Method for accessing network, wireless sound box and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244676A (en) * 2010-05-14 2011-11-16 Lg电子株式会社 Electronic device and method of sharing contents thereof with other devices
CN103634312A (en) * 2013-11-26 2014-03-12 广州晶锐信息技术有限公司 Device management method for realizing multi-audio fast synchrony based on audio sharing
CN104575539A (en) * 2014-12-29 2015-04-29 广东欧珀移动通信有限公司 Music playing control method and device
CN105007201A (en) * 2015-05-27 2015-10-28 广东欧珀移动通信有限公司 Method for accessing network, wireless sound box and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488289A (en) * 2016-10-08 2017-03-08 广东欧珀移动通信有限公司 Audio sync player method, apparatus and system
CN106488289B (en) * 2016-10-08 2019-07-16 Oppo广东移动通信有限公司 Audio sync playback method, apparatus and system
CN107507634A (en) * 2017-08-22 2017-12-22 维沃移动通信有限公司 A kind of method for playing music and electronic equipment
CN113596526A (en) * 2021-07-28 2021-11-02 汉桑(南京)科技有限公司 Method and system for determining main playing device

Also Published As

Publication number Publication date
CN105427873B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN105337822B (en) A kind of selection method and relevant device of main playback equipment
US9749329B2 (en) Network connection managing device, system and method
CN105142010A (en) Bluetooth connection selection method of multi-play device and main play device
CN104575539A (en) Music playing control method and device
CN105630586A (en) Information processing method and electronic device
EP3166343A1 (en) Audio playing method and apparatus for multiple playing devices
CN104918069A (en) Play scene reduction method, system, playing terminal and control terminal
CN108347719B (en) Bluetooth device connection method, device, storage medium, mobile terminal and server
US9596717B1 (en) MiFi control method and device
CN105682011A (en) Playback device Bluetooth module control method and device, and audio and video playing system
CN103856374A (en) Data transmission method, terminal and home interconnected system
CN104778959A (en) Control method for play equipment and terminal
CN104657201A (en) Method, device, equipment and system for pushing application program
CN104965730A (en) Version upgrading method and system
CN105072146A (en) Music information sharing method and device
CN105427873A (en) Main playing device switching method and associated devices
CN105072176A (en) Wireless connection method and device for playing system
CN105187230A (en) Server switching method and server switching device
CN104660683A (en) Data transmission control method, device and system
CN105025390A (en) Play scene storage method and system, play terminal and control terminal
CN105703987B (en) A kind of audio-video frequency playing system control method and device
CN105679350A (en) Audio playing method and device
CN106257928A (en) Audio file acquisition methods, update notification sending method, equipment and system
CN105681886A (en) Playback device Bluetooth connection control method and device, and playback device
CN116193413B (en) Bluetooth connection method, system, storage medium and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder