CN103546697A - Peer-to-peer control playing method of star structure - Google Patents

Peer-to-peer control playing method of star structure Download PDF

Info

Publication number
CN103546697A
CN103546697A CN201310476171.7A CN201310476171A CN103546697A CN 103546697 A CN103546697 A CN 103546697A CN 201310476171 A CN201310476171 A CN 201310476171A CN 103546697 A CN103546697 A CN 103546697A
Authority
CN
China
Prior art keywords
playback equipment
playing
playback
master control
equipment
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
CN201310476171.7A
Other languages
Chinese (zh)
Other versions
CN103546697B (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.)
Aidipu Technology Co., Ltd
Central platform
Original Assignee
Beijing East Ideapool Technology Development Co Ltd
China Central TV Station
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 Beijing East Ideapool Technology Development Co Ltd, China Central TV Station filed Critical Beijing East Ideapool Technology Development Co Ltd
Priority to CN201310476171.7A priority Critical patent/CN103546697B/en
Publication of CN103546697A publication Critical patent/CN103546697A/en
Application granted granted Critical
Publication of CN103546697B publication Critical patent/CN103546697B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a peer-to-peer control playing method of a star structure. The method is used for improving safety of multi-machine playing in the prior art and playing efficiency, and accordingly smoothness of playing is guaranteed. The method includes that playing resource information is shared among playing devices; a master control playing device establishes playing relationships between various playing devices and corresponding playing resource information and the various playing devices according to playing needs; after receiving a playing command, the master control playing device converts the playing relationships into a plurality of playing commands used for instructing the playing devices to play corresponding playing resource information according to the playing command; the master control playing device sends the playing commands used for instructing various slave control playing devices to corresponding slave control playing devices, and all playing devices control playing and synchronize playing states according to the playing commands and stored playing resources; and when the master control playing device is abnormal, a novel master control playing device is selected from other slave control playing devices according to a preset rule.

Description

A kind of equity of star structure is controlled player method
Technical field
The present invention relates to communication technical field, the equity that is specifically related to a kind of star structure is controlled player method.
Background technology
Along with high Qinghua degree and scene complexity in modern studio system application improve day by day, the quantity of mosaic display screen more and more (from several to up to a hundred not etc.) in the background large-screen using in studio, by a plurality of display screens be stitched together ultra high-definition resolution broadcasting demand and by the display screen of a plurality of dispersions, to play different high definition playing resource rapid to complete the broadcasting demand growth of specific combined effect.
Owing to being subject to the impact of unit hardware bandwidth and calculated performance, using single machine processing and playing so many playing resource becomes an impossibility, so, need many machines to coordinate above-mentioned work.The video playback of take in playing resource is example, the conventional method adopting is now: by controls with play two functions and separate, using a controller to control many players plays, be specially and use a controller to issue different play command to a plurality of controlled players, player is play corresponding video after receiving order.There is obvious shortcoming in this scheme: security of system is low: due to separating of control and playing function, player can only complete the action that takes orders and then play, if controller occurs abnormal, all players all will, in de-tubulose state, cannot be unified Play Control to each player owing to not having the function of control.
Summary of the invention
The embodiment of the present invention provides a kind of equity of star structure to control player method, in order to solve the aforementioned problems in the prior, guarantees carrying out smoothly of playing process.
The embodiment of the present invention provides a kind of equity of star structure to control player method, and the method comprises:
After communication connection between each playback equipment has been set up, between playback equipment, carry out sharing of playing resource information, and carry out each other the detection of operating state in real time, in all playback equipments, one of them is the master control playback equipment that plays master control function, and other are from control playback equipment;
Described master control playback equipment, after obtaining the playing resource information of all other playback equipments, is set up the playback relationship between each playback equipment and corresponding playing resource and each playback equipment according to broadcasting demand;
Described master control playback equipment, after receiving play instruction, converts described playback relationship to be used to indicate the play command that each playback equipment is play corresponding playing resource to according to play instruction;
Described master control playback equipment sends to corresponding each from control playback equipment by being used to indicate each play command from control playback equipment, and all playback equipments are controlled and play according to the playing resource of play command and self storage;
When the operating state that described master control playback equipment detected is abnormal, according to preset rules, from other, from control playback equipment, select new master control playback equipment.
In technique scheme of the present invention, by the major state of playback equipment being set and from control state, make playback equipment not only there is the function of broadcasting, can also at playback equipment, have the function of control during in major state, play the effect of traditional controller.
Preferably, the communication connection procedure of above-mentioned each playback equipment comprises:
When starting, passes through by each playback equipment Web broadcast initiation message, each playback equipment having started receives after this initiation message, the network of self is connected to parameter feedback to the new playback equipment starting, and connect the new playback equipment starting according to the network connection parameter comprising in initiation message;
The new equipment starting connects parameter according to the network of described feedback and connects corresponding playback equipment.
In technique scheme of the present invention, each playback equipment is connected parameter to complete the connection procedure of network by the playback equipment Internet with having started after startup.
Usually, each playback equipment is equipped with unique identification, described network connects parameter and comprises for characterizing the unique identification of the playback equipment of transmission information, arbitrary playback equipment is receiving initiation message or is starting after feedback message, according to described sign, set up the device data structure that represents corresponding playback equipment, and this device data structure is added in facility information list, arbitrary playback equipment adds the device data structure that represents self in facility information list to after startup, after all playback equipments all start, each playback equipment has obtained the facility information list that represents all playback equipments.
In the above-mentioned technical solutions of this embodiment, facility information list is all preserved in each playback equipment inside, and this table for example, for recording some specifying informations of each equipment of network, playing resource information, identification informations etc., are convenient to the specifying information that each playback equipment is grasped each equipment in network.The process that in the present embodiment, each playback equipment connects by network has obtained the unique identification of other equipment, and has set up device data structure and be kept in facility information list.
Preferably, between playback equipment, carry out the information sharing of playing resource, specifically comprise:
After each playback equipment starts, according to presetting filter condition, collect the information of playing resource in the machine, and described playing resource information is added in the device data structure that represents this player;
At arbitrary other playback equipments, connect after this playback equipment, the information of all described playing resource of collecting is sent to this other playback equipment of connection in the mode of the Resources list;
Described other playback equipments are received after the Resources list, search device data structure corresponding in facility information list, and the playing resource information in described the Resources list is stored in the device data structure finding according to the sign comprising in described the Resources list.
In technique scheme of the present invention, the process of a resource-sharing has been proposed, each playback equipment sends to other playback equipment in network in the mode of the Resources list the playing resource information of self, each playback equipment has received the Resources list of other playback equipments like this, and is stored in corresponding device data structure.
Preferably, when the playing resource in arbitrary described playback equipment changes, this playback equipment upgrades the Resources list of oneself, then sends to other playback equipments that are attached thereto;
After other playback equipments reception the Resources lists, upgrade the device data structure of corresponding playback equipment in facility information list separately.
In above-mentioned technique scheme, after the playing resource in each playback equipment is upgraded, the Resources list also can correspondingly upgrade, and sends to other playback equipments to go to upgrade corresponding device data structure.
Preferably, according to described broadcasting demand, set up the playback relationship of respectively controlling between playback equipment and corresponding playing resource and each playback equipment, specifically comprise:
Master control playback equipment is determined the playing resource that needs broadcasting from all playing resource according to broadcasting demand;
According to described device data structure, set up the uniquely identified corresponding relation of each playing resource that need to play and corresponding playback equipment;
Reproduction time relation between the playing resource of playing according to definite needs is set up the broadcasting conspiracy relation between each corresponding playback equipment;
According to all described corresponding relations and described broadcasting conspiracy relation, form described playback relationship.
The embodiment that the above-mentioned technique scheme of the present invention provides a kind of playback relationship to form in detail, in the present embodiment, first according to broadcasting demand, from all playing resource, determine the playing resource that need to play, then these playing resource and playback equipment (being unique identification) are mapped, finally, according to unique sign of the time relationship between playing resource and playback equipment, set up the broadcasting conspiracy relation between playback equipment again, finally according to corresponding relation and broadcasting conspiracy relation, formed whole playback relationship.
Preferably, described broadcasting demand comprises one or more set of following parameter:
The initial play position of playing resource, broadcasting end position, number of repetition;
The playing sequence of the playing resource that the needs that each playback equipment is corresponding are play;
Processing mode when each playing resource broadcasting finishes, such as: after broadcasting finishes, be parked in last frame or continue to play the next one etc.
Above-mentioned broadcasting demand is playing resource to be carried out to the requirement that arranges of parameters.
Preferably, master control playback equipment is forming the method and is also comprising the synchronizing process of described playback relationship:
Master control playback equipment is after described playback relationship has been set up, by described playback relationship, in the mode of playlist, the network by interconnection sends to that other are all from control playback equipment, other upgrade the playlist of self from control playback equipment according to the playlist receiving, to reach the object of Complete Synchronization between each playback equipment;
Usually, at former master control playback equipment, remove after fault, preferably as resuming work from control playback equipment.
Preferably, described preset rules comprises:
Each knows the identification number of the master control playback equipment that current generation is abnormal from control playback equipment according to described facility information list;
In order identification number be latter one of current master control playback equipment from control playback equipment, become new master control playback equipment.
In technique scheme of the present invention, taked the principle of sequentially replacing, namely, when current master control playback equipment is abnormal, according to identification number order, the master control playback equipment that the playback equipment that next bit identification number is corresponding is taken over fault becomes new master control playback equipment.
The embodiment of the present invention, provide a kind of equity of star structure to control player method, by the major state of playback equipment being set and from control state, make each playback equipment not only only there is the function of broadcasting, can also bear the standby function of control equipment, thereby when playing, due to the status equity between each playback equipment, when the playback equipment in major state breaks down, can be by the switching of state, by other playback equipment, born in time the function of master control playback equipment, make playing flow can continue normally to carry out, whole flow process can not depart from management and control.
Accompanying drawing explanation
The equity of a kind of star structure that Fig. 1 provides for the embodiment of the present invention is controlled the schematic flow sheet of player method;
The equity of a kind of star structure that Fig. 2 provides for the embodiment of the present invention is controlled the embodiment annexation schematic diagram of player method;
The startup of a kind of playback equipment that Fig. 3 provides for the embodiment of the present invention connects the schematic diagram of process of establishing.
Embodiment
In prior art, when using many machine processing playing resource to be presented at large-screen, if controller is abnormal, the exectorial player state that can all paralyse, cannot work.
In view of the situation, the embodiment of the present invention provides a kind of equity of star structure to control player method, in order to address the above problem, provides a kind of method of playing and controlling function that integrates, and guarantees carrying out smoothly of playing process.
First the embodiment of the present invention provides a kind of equity of star structure to control player method, and as shown in Figure 1, the method comprises:
S101, after communication connection between each playback equipment has been set up, between playback equipment, carry out sharing of playing resource information, and carry out each other in real time the detection of operating state, in all playback equipments, one of them is the master control playback equipment that plays master control function, and other are from control playback equipment;
S102, described master control playback equipment, after obtaining the playing resource information of all other playback equipments, is set up the playback relationship between each playback equipment and corresponding playing resource and each playback equipment according to broadcasting demand;
S103, described master control playback equipment, after receiving play instruction, converts described playback relationship to be used to indicate the play command that each playback equipment is play corresponding playing resource to according to play instruction;
S104, described master control playback equipment sends to corresponding each from control playback equipment by being used to indicate each play command from control playback equipment, and all playback equipments are controlled and are play according to the playing resource of play command and self storage;
S105 when the operating state that described master control playback equipment detected is abnormal, selects new master control playback equipment from other according to preset rules from control playback equipment.
In embodiments of the present invention, by the major state of playback equipment being set and from control state, make playback equipment not only there is the function of broadcasting, can also at playback equipment, have the function of control during in major state, play the effect of traditional controller.
In simple terms, in the present invention, there is not independent controller, just there is not the concept of the superior and the subordinate between controller and player yet, it between playback equipment and playback equipment, is a kind of status of equity, be all the function that player has broadcasting, when just the playback equipment in state of a control has playing function, also there is control function.Can carry out as required state switching, each playback equipment all can be realized the function of controller so, and while avoiding separately controller being set, what can cause makes the paralysis of whole work because of abnormal conditions.
After between each playback equipment, connection setup and resource-sharing complete, master control playback equipment can be understood the playing resource in each playback equipment, according to broadcasting demand, set up playback relationship, playback relationship is playing resource and the playback equipment that playback equipment is set up according to broadcasting demand, the set of the broadcasting conspiracy relation between playback equipment, can be converted into many play command according to play instruction, after conversion, master control playback equipment is distributed to corresponding each by indication from control equipment from the order of control equipment, the play command that retains indication self, all playback equipments carry out corresponding broadcasting according to play command.
For the ease of understanding, above-mentioned broadcasting demand, the relation of playback relationship and play instruction, provides a simple real-time scene below:
Broadcasting demand is the broadcast request to each playback equipment, for example, requires playback equipment A, B, C to play respectively playing resource a, b, c at synchronization, a broadcasting demand that Here it is.
Master control playback equipment can be set up corresponding actual play relation according to broadcasting demand, namely " demand " is converted into the exercisable order of actual equipment.
Because playback relationship can be many set of playing demand, be equivalent to a playlist, play instruction is the triggering command of described playlist so.For example on playlist, there are 10 programs, play instruction can specify any program to play, in triggering, just this program need to be converted into afterwards to actual and playback equipment play instruction one to one so, be issued in corresponding playback equipment to realize the broadcasting of playing resource, certainly the in the situation that of needs, play instruction also can be converted into all programs play instruction and send to corresponding playback equipment to broadcast in order.
Be understandable that, in daily work, playback equipment is inevitably because some reasons there will be abnormal situation at work, if so abnormal playback equipment is just in time the playback equipment as master control, so for the continuation of working is normally carried out, controlling function must be born by other playback equipments, so the present embodiment provides a kind of reuse adoption process, when other playback equipments find that the playback equipment of current master control is abnormal, can automatically according to the good rule of preset in advance or algorithm, determine that the playback equipment making new advances is by switching to from control state the transmission that major state is born control command, proceeding of assurance business.This preset rules can for example can be formulated as Cahn-Ingold-Prelog sequence rule etc. by manually adopting the rule under prior art to formulate arbitrarily in advance, and the present invention does not limit this.
As a kind of a kind of embodiment of said method of the present invention, can take the alternative principle of order, i.e. previous device fails, the principle of being taken over by the latter.Be understandable that, can also take other substitution principles to realize the selection of new main control device, such as random selection, weighting selection etc.
On the basis of above-described embodiment, the communication connection procedure of each playback equipment comprises:
When starting, passes through by each playback equipment Web broadcast initiation message, each playback equipment having started receives after this initiation message, the network of self is connected to parameter feedback to the new playback equipment starting, and connect the new playback equipment starting according to the network connection parameter comprising in initiation message;
The new equipment starting connects parameter according to the network of described feedback and connects corresponding playback equipment.
In the above embodiment of the present invention, each playback equipment is connected parameter to complete the connection procedure of network by the playback equipment Internet with having started after startup.
For mutual differentiation, be understandable that, each playback equipment is equipped with unique identification, described network connects parameter and comprises for characterizing the unique identification of the playback equipment of transmission information, arbitrary playback equipment is receiving initiation message or is starting after feedback message, according to described sign, set up the device data structure that represents corresponding playback equipment, and this device data structure is added in facility information list, arbitrary playback equipment adds the device data structure that represents self in facility information list to after startup, after all playback equipments all start, each playback equipment has obtained the facility information list that represents all playback equipments.
In the present embodiment, facility information list is all preserved in each playback equipment inside, and this table for example, for recording some specifying informations of each equipment of network, playing resource information, identification informations etc., are convenient to the specifying information that each playback equipment is grasped each equipment in network.The process that in the present embodiment, each playback equipment connects by network has obtained the unique identification of other equipment, and has set up device data structure and be kept in facility information list.
Above-mentioned unique identification is device id, and it is the general designation of the information such as device id, name, IP and port that network connects parameter.
By the description of above-mentioned several embodiment, be understandable that, each playback equipment in this method all can be born the function of traditional main control computer in the case of necessary, in order to guarantee that each equipment all can control other all playback equipment, so all communication connections each other of any two playback equipments in all playback equipments.
Be understandable that, described in each, play command all should include described unique identification, and the correspondence that the described playback equipment in major state carries out play command according to described unique identification sends.
Between playback equipment, carry out the information sharing of playing resource, specifically comprise:
After each playback equipment starts, according to presetting filter condition, collect the information of playing resource in the machine, and described playing resource information is added in the device data structure that represents this player;
At arbitrary other playback equipments, connect after this playback equipment, the information of all described playing resource of collecting is sent to this other playback equipment of connection in the mode of the Resources list;
Described other playback equipments are received after the Resources list, search device data structure corresponding in facility information list, and the playing resource information in described the Resources list is stored in the device data structure finding according to the sign comprising in described the Resources list.
In embodiments of the present invention, the process of a resource-sharing has been proposed, each playback equipment sends to other playback equipment in network in the mode of the Resources list the playing resource information of self, each playback equipment has received the Resources list of other playback equipments like this, and is stored in corresponding device data structure.
So far, per unit facility information list records unique identification and the playing resource information of other playback equipments.
Be understandable that, when the playing resource in arbitrary described playback equipment changes, this playback equipment upgrades the Resources list of oneself, then sends to other playback equipments that are attached thereto;
After other playback equipments reception the Resources lists, upgrade the device data structure of corresponding playback equipment in facility information list separately.
In the above-described embodiments, after the playing resource in each playback equipment is upgraded, the Resources list also can correspondingly upgrade, and sends to other playback equipments to go to upgrade corresponding device data structure.
On the basis of above-described embodiment, according to described broadcasting demand, set up the playback relationship of respectively controlling between playback equipment and corresponding playing resource and each playback equipment, specifically comprise:
Master control playback equipment is determined the playing resource that needs broadcasting from all playing resource according to broadcasting demand;
According to described device data structure, set up the uniquely identified corresponding relation of each playing resource that need to play and corresponding playback equipment;
Reproduction time relation between the playing resource of playing according to definite needs is set up the broadcasting conspiracy relation between each corresponding playback equipment;
According to all described corresponding relations and described broadcasting conspiracy relation, form described playback relationship.
The embodiment that provides in detail a kind of playback relationship to form in the above embodiment of the present invention, in the present embodiment, first according to broadcasting demand, from all playing resource, determine the playing resource that need to play, then these playing resource and playback equipment (being unique identification) are mapped, finally, according to unique sign of the time relationship between playing resource and playback equipment, set up the broadcasting conspiracy relation between playback equipment again, finally according to corresponding relation and broadcasting conspiracy relation, formed whole playback relationship.
Above-mentioned playback relationship can exist with the form of playlist, and master control playback equipment becomes playlist by broadcasting demand combinations, then by network, sends to other playback equipment.Particularly, master control playback equipment can transfer to all from control playback equipment by TCP/IP mode with XML form or binary format.
Described broadcasting demand comprises one or more set of following parameter:
The initial play position of playing resource, broadcasting end position, number of repetition;
The playing sequence of the playing resource that the needs that each playback equipment is corresponding are play;
Processing mode when each playing resource broadcasting finishes, such as: after broadcasting finishes, be parked in last frame or continue to play the next one etc.
Above-mentioned broadcasting demand is playing resource to be carried out to the requirement that arranges of parameters.
Be understandable that, master control playback equipment is forming the method and is also comprising the synchronizing process of described playback relationship:
Master control playback equipment is after described playback relationship has been set up, by described playback relationship, in the mode of playlist, the network by interconnection sends to that other are all from control playback equipment, other upgrade the playlist of self from control playback equipment according to the playlist receiving, reached the object of Complete Synchronization between each playback equipment;
In order to guarantee the communication connection between playback equipment, between any two playback equipments, all should keep communication connection, Fig. 2 is the embodiment of Y-connection between a kind of playback equipment, each playback equipment in figure has all been set up communication connection with other playback equipment.Each playback equipment is sent to other all playback equipments by self current broadcast state, and other playback equipments upgrade the state of self playlist according to the described broadcast state receiving.Each playback equipment can be grasped the broadcast state of other playback equipments in real time like this.
Be understandable that, at former master control playback equipment, remove after fault, preferably as resuming work from control playback equipment.Certainly, the in the situation that of needs, former master control playback equipment, after removing fault, also can " be brought back " master control function from new master control playback equipment, as master control playback equipment, resumes work.
In the above embodiment of the present invention, described preset rules comprises:
Each knows the identification number of the master control playback equipment that current generation is abnormal from control playback equipment according to described facility information list;
In order identification number be latter one of current master control playback equipment from control playback equipment, become new master control playback equipment.
In embodiments of the present invention, taked the principle of sequentially replacing, namely, when current master control playback equipment is abnormal, according to identification number order, the master control playback equipment that the playback equipment that next bit identification number is corresponding is taken over fault becomes new master control playback equipment.
On the basis of the above embodiment of the present invention, described new master control playback equipment sends master control to normal other of operating state from control equipment and upgrades instruction;
Described other upgrade according to master control the facility information list that instruction is upgraded self from control equipment, receive the control command of new master control playback equipment.
When selecting new playback equipment according to preset rules, as new main control device, meeting sends master control renewal instruction to other from control equipment, to allow each from the list of control renewal of the equipment facility information, the object of new master control playback equipment is upgraded in realization.
Be understandable that, because the present invention is the process of taking a plurality of same playback equipment collaborative works, each playback equipment can be realized parallel processing so, and the process of collaborative work is concrete:
When playing a group of planes and need to complete a job consuming time, by main control computer, corresponding player will be sent to after Task-decomposing, after each player reception task, task is separately carried out to parallel processing, thereby give full play to the disposal ability of each player, further reduce and finish the work the required time, each player sends to the result of processing the player that needs feedback, after other player reception & disposal results, changes task status or further processes other work.
Corresponding with method, the above-mentioned a plurality of playback equipments of the embodiment of the present invention are combined the control Play System that work has formed a playing resource, wherein, playback equipment is provided with to major state and from control state, specifying a playback equipment is main control device, make playback equipment not only there is the function of broadcasting, can also have at playback equipment control function during in major state, play the effect of traditional controller, other playback equipment is from control equipment, accepts main control device commander and carries out actual broadcasting.
Due to each playback equipment can carry out as required major state and from control state switching, at current main control device, occur so abnormal, in the time of can not completing main control task, other can switch to timely major state and continued main control task from arbitrary of control equipment, can not make whole system cause systemic breakdown owing to lacking main control device.
Be understandable that, the playing resource that a plurality of playback equipments store separately in the common process of using is distinguished certainly to some extent, so when specifying Play Control order, need to know playing resource available on each playback equipment, could be for this playback equipment editor play command, yet, playback equipment can not all extract the information of all playing resource of its storage again, because need like that a large amount of time, but also there is the problems such as the large and information clutter of the data volume of transmission.So need to the initial access path that playback equipment is corresponding be set for each, after playback equipment starts, (this information generally comprises: comspec according to the access path of configuration, to extract playing resource information, size, preview graph, time span, whether be file etc.), then the network by interconnection sends to other playback equipments, so just be equivalent to each playback equipment and understood spendable playing resource in other playback equipments, so just can be for different playback equipment editing programs, and by the playback equipment transmitting order to lower levels in major state broadcasting, consider the resource information that sometimes needs to access in player, so can suitably add, return to higher level's catalogue, enter the operations such as sub-folder.
In addition, in most cases, the file that also has similar document, compressed package and so on being stored together with playing resource, for fear of the alternative document except playing resource, editing program is caused to interference, need to set filter condition to playback equipment, playback equipment is only selected qualified file when enumerating playing resource information, thereby has avoided the interference of alternative document, also can not cause damage to alternative document.After above-mentioned sharing mode, playing resource information only realizes and sharing between playing device group, and other machines can not be accessed, thereby has improved the fail safe of shared resource.
Usually, playback equipment not only can receive play instruction, can also receive and send order, can receive the transmission order of other playback equipments and on this playback equipment, enter under the file of appointment and extract playing resource information, then the network by interconnection sends to the playback equipment of order appointment, thereby has added the flexibility of access.
To be understandable that, in order guaranteeing to use a plurality of playback equipments jointly to carry out work, can to connect normally each playback equipment simultaneously, provide a new playback equipment A who starts to add the flow process of system below:
Take in system has existed N(to be more than or equal to 1) system of individual playback equipment is example, the process connecting as shown in Figure 3:
S201, A is to all playback equipment broadcast initiation message in system, and the network that described initiation message comprises self connects parameter;
S202, the playback equipment having started, after receiving described initiation message, connects parameter according to the network of A and sets up corresponding device data structure, and this device data structure is added in facility information list;
S203, the network that the playback equipment having started returns separately to A connects parameter;
S204, the network of the playback equipment feedback that A has started according to each connects parameter and sets up corresponding device data structure, and adds in facility information list.
So far, A and each playback equipment in system all set up communicate by letter complete, all between playback equipment, setting up after above-mentioned connection, between any one playback equipment in playback equipment group and remaining all equipment, all set up two-way communication mechanism, thereby can use wherein any one equipment to control all playback equipment editing programs, broadcasting etc.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect completely.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code one or more.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing device is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (12)

1. the equity of star structure is controlled a player method, it is characterized in that, the method comprises:
After communication connection between each playback equipment has been set up, between playback equipment, carry out sharing of playing resource information, and carry out each other the detection of operating state in real time, in all playback equipments, one of them is the master control playback equipment that plays master control function, and other are from control playback equipment;
Described master control playback equipment, after obtaining the playing resource information of all other playback equipments, is set up the playback relationship between each playback equipment and corresponding playing resource and each playback equipment according to broadcasting demand;
Described master control playback equipment, after receiving play instruction, converts described playback relationship to be used to indicate the play command that each playback equipment is play corresponding playing resource to according to play instruction;
Described master control playback equipment sends to corresponding each from control playback equipment by being used to indicate each play command from control playback equipment, and all playback equipments are controlled and play according to the playing resource of play command and self storage;
When the operating state that described master control playback equipment detected is abnormal, according to preset rules, from other, from control playback equipment, select new master control playback equipment.
2. the method for claim 1, is characterized in that, the communication connection procedure of each playback equipment comprises:
When starting, passes through by each playback equipment Web broadcast initiation message, each playback equipment having started receives after this initiation message, the network of self is connected to parameter feedback to the new playback equipment starting, and connect the new playback equipment starting according to the network connection parameter comprising in initiation message;
The new equipment starting connects parameter according to the network of described feedback and connects corresponding playback equipment.
3. method as claimed in claim 2, it is characterized in that, described network connects parameter and comprises for characterizing the unique identification of the playback equipment of transmission information, arbitrary playback equipment is receiving initiation message or is starting after feedback message, according to described sign, set up and represent the device data structure of corresponding playback equipment, and this device data structure is added in facility information list.
4. method as claimed in claim 3, is characterized in that, carries out the information sharing of playing resource between playback equipment, specifically comprises:
After each playback equipment starts, according to presetting filter condition, collect the information of playing resource in the machine, and described playing resource information is added in the device data structure that represents this player;
At arbitrary other playback equipments, connect after this playback equipment, the information of all described playing resource of collecting is sent to this other playback equipment of connection in the mode of the Resources list;
Described other playback equipments are received after the Resources list, according to the described unique identification comprising in described the Resources list, search device data structure corresponding in facility information list, and the playing resource information in described the Resources list is stored in the device data structure finding.
5. method as claimed in claim 4, is characterized in that, when the playing resource in arbitrary described playback equipment changes, this playback equipment upgrades the Resources list of oneself, then sends to other playback equipments that are attached thereto;
After other playback equipments reception the Resources lists, upgrade the device data structure of corresponding playback equipment in facility information list separately.
6. method as claimed in claim 5, is characterized in that, sets up the playback relationship of respectively controlling between playback equipment and corresponding playing resource and each playback equipment according to described broadcasting demand, specifically comprises:
Master control playback equipment is determined the playing resource that needs broadcasting from all playing resource according to broadcasting demand;
According to described device data structure, set up the corresponding relation of each playing resource that need to play and corresponding playback equipment;
Reproduction time relation between the playing resource of playing according to definite needs is set up the broadcasting conspiracy relation between each corresponding playback equipment;
According to all described corresponding relations and described broadcasting conspiracy relation, form described playback relationship.
7. method as claimed in claim 6, is characterized in that, described broadcasting demand comprises one or more set of following parameter:
The initial play position of playing resource, broadcasting end position, number of repetition;
The playing sequence of the playing resource that the needs that each playback equipment is corresponding are play;
Each playing resource is play the processing mode while finishing.
8. method as claimed in claim 7, is characterized in that, the method also comprises the synchronizing process of described playback relationship:
Master control playback equipment is after described playback relationship has been set up, by described playback relationship, in the mode of playlist, the network by interconnection sends to that other are all from control playback equipment, and other upgrade the playlist of self from control playback equipment according to the playlists that receive.
9. method as claimed in claim 8, it is characterized in that, between any two playback equipments, all keep communication connection, each playback equipment is sent to other all playback equipments by self current broadcast state, and other playback equipments upgrade the state of self playlist according to the described broadcast state receiving.
10. the method for claim 1, is characterized in that, removes after fault, as resuming work from control playback equipment at former master control playback equipment.
11. the method for claim 1, is characterized in that, described preset rules comprises:
Each knows the identification number of the master control playback equipment that current generation is abnormal from control playback equipment according to described facility information list;
In order identification number be latter one of current master control playback equipment from control playback equipment, become new master control playback equipment.
12. methods as claimed in claim 11, is characterized in that, described new master control playback equipment sends master control to normal other of operating state from control equipment and upgrades instruction;
Described other upgrade according to master control the facility information list that instruction is upgraded self from control equipment, receive the control command of new master control playback equipment.
CN201310476171.7A 2013-10-12 2013-10-12 The equity of a kind of star structure controls player method Active CN103546697B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310476171.7A CN103546697B (en) 2013-10-12 2013-10-12 The equity of a kind of star structure controls player method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310476171.7A CN103546697B (en) 2013-10-12 2013-10-12 The equity of a kind of star structure controls player method

Publications (2)

Publication Number Publication Date
CN103546697A true CN103546697A (en) 2014-01-29
CN103546697B CN103546697B (en) 2016-09-28

Family

ID=49969711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310476171.7A Active CN103546697B (en) 2013-10-12 2013-10-12 The equity of a kind of star structure controls player method

Country Status (1)

Country Link
CN (1) CN103546697B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105392087A (en) * 2015-11-04 2016-03-09 广东欧珀移动通信有限公司 Loudspeaker box management method and user terminal
CN105429777A (en) * 2015-10-20 2016-03-23 北京小鸟听听科技有限公司 Operating state recovery method and apparatus
CN106331116A (en) * 2016-08-26 2017-01-11 广东欧珀移动通信有限公司 Data transmission method and device
CN108696582A (en) * 2018-05-07 2018-10-23 殷翔 The method and device of resource-sharing processing
CN109841215A (en) * 2018-12-26 2019-06-04 珠海格力电器股份有限公司 A kind of voice broadcast method, device, storage medium and voice household electrical appliances

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105427564A (en) * 2015-12-01 2016-03-23 深圳市福云明网络科技有限公司 Outdoor shooting system and method based on WIFI (Wireless Fidelity) clone mode

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5483535A (en) * 1995-01-17 1996-01-09 Zeta Music Partners Communications network interface, and adapter and method therefor
EP1221791A2 (en) * 2001-01-08 2002-07-10 Samsung Electronics Co., Ltd. Wireless communication device, wireless communication system using the same, and communication method therefor
CN101351990A (en) * 2006-04-21 2009-01-21 张永敏 Method and apparatus for transmitting peer-to-peer network contents for implementing localization play
CN101442653A (en) * 2008-12-18 2009-05-27 北京航空航天大学 Multichannel video play and large screen display method
US20100223337A1 (en) * 2001-11-20 2010-09-02 Reagan Inventions, Llc Multi-user media delivery system for synchronizing content on multiple media players
CN102256050A (en) * 2011-08-22 2011-11-23 北京东方艾迪普科技发展有限公司 Intelligent studio view broadcast control system and method
CN102739801A (en) * 2012-07-05 2012-10-17 珠海金山办公软件有限公司 Shared broadcasting method and shared broadcasting system
CN102882719A (en) * 2012-09-26 2013-01-16 盛科网络(苏州)有限公司 Method and system for implementation of redundant backup of controllers in Openflow switch system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5483535A (en) * 1995-01-17 1996-01-09 Zeta Music Partners Communications network interface, and adapter and method therefor
EP1221791A2 (en) * 2001-01-08 2002-07-10 Samsung Electronics Co., Ltd. Wireless communication device, wireless communication system using the same, and communication method therefor
US20100223337A1 (en) * 2001-11-20 2010-09-02 Reagan Inventions, Llc Multi-user media delivery system for synchronizing content on multiple media players
CN101351990A (en) * 2006-04-21 2009-01-21 张永敏 Method and apparatus for transmitting peer-to-peer network contents for implementing localization play
CN101442653A (en) * 2008-12-18 2009-05-27 北京航空航天大学 Multichannel video play and large screen display method
CN102256050A (en) * 2011-08-22 2011-11-23 北京东方艾迪普科技发展有限公司 Intelligent studio view broadcast control system and method
CN102739801A (en) * 2012-07-05 2012-10-17 珠海金山办公软件有限公司 Shared broadcasting method and shared broadcasting system
CN102882719A (en) * 2012-09-26 2013-01-16 盛科网络(苏州)有限公司 Method and system for implementation of redundant backup of controllers in Openflow switch system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429777A (en) * 2015-10-20 2016-03-23 北京小鸟听听科技有限公司 Operating state recovery method and apparatus
CN105429777B (en) * 2015-10-20 2019-02-19 北京小鸟听听科技有限公司 Working condition restoration methods and device
CN105392087A (en) * 2015-11-04 2016-03-09 广东欧珀移动通信有限公司 Loudspeaker box management method and user terminal
CN105392087B (en) * 2015-11-04 2018-09-04 广东欧珀移动通信有限公司 A kind of speaker management method and user terminal
CN106331116A (en) * 2016-08-26 2017-01-11 广东欧珀移动通信有限公司 Data transmission method and device
CN108696582A (en) * 2018-05-07 2018-10-23 殷翔 The method and device of resource-sharing processing
CN109841215A (en) * 2018-12-26 2019-06-04 珠海格力电器股份有限公司 A kind of voice broadcast method, device, storage medium and voice household electrical appliances

Also Published As

Publication number Publication date
CN103546697B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN103546697A (en) Peer-to-peer control playing method of star structure
JP6103999B2 (en) Image data transmitting apparatus, image data receiving apparatus, image data transmitting method, image data receiving method, and program
CN103869761B (en) Household electric appliance control method and control system
CN102833632B (en) Multi-screen interactive master & slave control device management method, intelligent television and control equipment
CN108920116A (en) Throw control method, device, equipment and the storage medium of screen equipment
CN111569426B (en) Game scene editing method and device, storage medium and electronic device
CN110248226A (en) Throwing screen method, apparatus, system, storage medium and the processor of information
CN109857355A (en) Screen sharing method, device, same table and the storage medium of same table
CN108540734B (en) Switching method, device and system of 4K video and audio signals and electronic equipment
CN108449634B (en) Playing method for multi-process decoding, computer equipment and storage medium
CN116319790A (en) Rendering method, device, equipment and storage medium of full-true scene
US9860487B2 (en) Video conference data generation
CN105812185A (en) Communication connection method for playing device
CN113691765B (en) Video conference scene control method, system, equipment and storage medium
JP4820073B2 (en) Information processing system, electronic device, information processing method, computer-processable program, and recording medium
JP5825324B2 (en) Terminal device for assigning image to divided screen displayed by image display device, control method for terminal device, and computer program
CN104243469A (en) Playing control method, device and system
US10237453B2 (en) Video processing apparatus, control method, and effect switcher
CN104168406A (en) Studio linkage broadcasting controlling system and method
CN109828977A (en) The method, apparatus and storage medium and client, server-side of synchronous form data
EP3422695B1 (en) Imaging apparatus
JP5445661B2 (en) Graphical user interface device and control method
CN110730324B (en) Video picture display control method and device
CN110049360A (en) Cross-platform contents controlling method, device, terminal, server and storage medium
JP2017201822A (en) Imaging system, imaging device, communication method in imaging device and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100859 Fuxing Road, Beijing, Haidian District, No. 11

Applicant after: China Central TV Station

Applicant after: Edip (Beijing) cultural Polytron Technologies Inc

Address before: 100859 Fuxing Road, Beijing, Haidian District, No. 11

Applicant before: China Central TV Station

Applicant before: Beijing East Ideapool Technology Development Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100859 Fuxing Road 11, Beijing, Haidian District

Co-patentee after: Aidipu Technology Co., Ltd

Patentee after: Central platform

Address before: 100859 Fuxing Road 11, Beijing, Haidian District

Co-patentee before: IDEAPOOL (BEIJING) CULTURE AND TECHNOLOGY Co.,Ltd.

Patentee before: Central platform

CP01 Change in the name or title of a patent holder