Summary of the invention
The embodiment of the invention provides a kind of method and media player based on the broadcast program under system's centralized control, so that system realizes the automatic broadcast of program under centralized control.
The embodiment of the invention provides a kind of method of broadcast program, is used for passenger information system PIS, and described method comprises:
Obtain program to be broadcast, described program to be broadcast is added wait to broadcast the program formation; Wherein, described program to be broadcast obtains from the fixed program inventory, and/or, from the pairing event programs inventory of response events, obtain;
Choose and play the described programme content of waiting to broadcast in the program formation;
If describedly wait to broadcast the program formation, then broadcast and select program to join the program inventory describedly to wait to broadcast in the program formation from pad for empty.
Wherein, the described step of obtaining program to be broadcast from the fixed program inventory comprises:
A, the record of timing scan local program monocular are judged the programme that whether has latest edition in the described programme catalogue, if then the programme of described latest edition is set to current programme, then execution in step B;
B, judge in the fixed program inventory of described current programme whether program to be broadcast is arranged, if then described program to be broadcast is joined the described program formation of waiting to broadcast.
Wherein, the described step of obtaining program to be broadcast from the pairing event programs inventory of response events comprises:
Scanning of home event queue catalogue has judged whether overdue incident, if having, then the query event program inventory will respond the required broadcast program of the described incident that expires and join the described program formation of waiting to broadcast.
Wherein, the described step of waiting to broadcast the programme content of program formation of described broadcast comprises:
The described program of waiting to broadcast in the program formation of played in order; Perhaps,
According to the priority of program customizing and the priority of programme content, from described wait to broadcast choose the highest program of priority level the program formation and play.
Wherein, playing describedly when waiting to broadcast the programme content of program formation, further comprising:
A, judge and currently just whether wait to broadcast the programme content priority of waiting to broadcast program in the program formation less than described in the programme content priority of broadcast program, if, execution in step b then, otherwise continue to play current in progress program;
B, interrupt current in progress program, from described wait to broadcast choose program described to be broadcast the program formation and play; Repeated execution of steps a afterwards.
Wherein, further comprise: after whenever finishing a program, generate one and play record, write and specify in the journal file.
The embodiment of the invention also provides a kind of media player, is used for passenger information system PIS, and described media player comprises:
Obtain subelement, be used to obtain program to be broadcast, described program to be broadcast is added wait to broadcast the program formation; Wherein, described program to be broadcast obtains from the fixed program inventory, and/or, from the pairing event programs inventory of response events, obtain;
Play subelement, be used for choosing and playing the described programme content of waiting to broadcast the program formation;
Insert subelement, be used for waiting to broadcast the program formation when empty, broadcast from pad and select program to join the program inventory describedly to wait to broadcast in the program formation described.
Wherein, described media player also comprises:
The programme content judgment sub-unit, be used for play described when waiting to broadcast the programme content of program formation, judge and currently just wait to broadcast when waiting in the program formation to broadcast the programme content priority of program less than described that notice is interrupted the gravity treatment subelement in the programme content priority of broadcast program;
Interrupt the gravity treatment subelement, be used to interrupt current in progress program, from described wait to broadcast choose program to be broadcast the program formation, notice is play subelement and is play the current program of reselecting; Notify programme content judgment sub-unit executable operations once more afterwards.
Wherein, described media player also comprises: the record subelement, be used for whenever finishing a program after, generates one and plays record, write in the appointment journal file.
Use the present invention, make system under centralized control, realize the automatic broadcast of program, when common video program and advertising message are provided, can also issue real-time operation information and information on services to the passenger, and under the state of emergency, can guide passenger's rapid evacuation.
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is described clearly and completely, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, all other embodiment that those of ordinary skills are obtained under the prerequisite of not making creative work belong to the scope of protection of the invention.
At first need to prove the organizational structure of the embodiment of the invention by playing in broadcast point, the broadcast group define system.
Described " broadcast point ", be defined as can broadcast program a place, i.e. point.Usually each " broadcast point " can be equipped with a plurality of equipment down, and is furnished with a media controller to I haven't seen you for ages.Set with common trait one or more " broadcast points " can constitute one " broadcast group ", and one " broadcast group " can also comprise the set of one or more " broadcast groups " with common trait.
System wishes all broadcast points by the definition of " broadcast point ", " broadcast group " according to the user structural group is made into an architecture that meets operation flow.For example, in public transit system, broadcast point is public transit vehicle or bus stop, organizes to be public bus network, public transport company or city; And in aircraft system, put and be that aircraft and airport stop the position, organize and be airport or terminal.
By point, the architecture formed of group tree normally, also can form the structure of a figure sometimes.Usually do not have public member between the group, occuring simultaneously is sky, but sometimes for the ease of management, some group can and other group between share some member and produce common factor.
Referring to Figure 1A~Fig. 1 F, rectangle frame is represented the broadcast group among the figure, and circular frame table shows broadcast point.Figure 1A is the packet configuration figure of the system schematic diagram according to the embodiment of the invention, comprises public transport, subway, train, aircraft, five top groupings of steamer.Figure 1B~1F is respectively system's packet configuration schematic diagram of public transport, subway, train, aircraft, steamer.Figure 1B~1F is respectively system's packet configuration schematic diagram of public transport, subway, train, aircraft, steamer.
Fig. 2 is the passenger information service system hardware configuration schematic diagram of the embodiment of the invention.It comprises:
Control centre 210 is responsible for Promgramming, data distribution and monitoring of tools; It comprises equipment such as central server 212, operator terminal 211 and signal server 213.
Media control unit 220, it comprises media controller 221 and encoder 222; Media controller 221 is responsible for the audio frequency and video Play Control at bus stop, vehicles place and Stateful Inspection is provided; Encoder 222 is responsible for the audio/video information of fixing point terminal or the output of transfer point terminal is encoded, so that remote transmission;
Output equipment 230, it comprises decoder 231, is used for the audio/video information that the received code device sends, and after the decoding, shows output on display and sound equipment; Display unit 232 is used for display video image; Sound-producing device 233 is used for output audio.
Above-mentioned entity links to each other by computer network.
Fig. 3 is the interior software configuration schematic diagram of passenger information service system of the embodiment of the invention.Wherein, comprise that the system management module 2121 that is positioned on the central server, content managing module 2122, columns management module 2123, customized management module 2124, medium compile broadcasting module 2125, release management module 2126, can also comprise that audit administration module 2127 and prison broadcast administration module 2128; Be positioned at the medium Broadcast Control module 2211 on the media controller, be positioned at action listener module 2131 and incident distribution module 2132 on the signal server.
The denomination of invention that the specific descriptions of relevant passenger information service system software and hardware structure of the present invention can be submitted referring to the applicant same day is the patent application document of " a kind of passenger information service system and its implementation ".
Referring to Fig. 4, it is the schematic flow sheet according to the automatically scheduling programs of the embodiment of the invention.
The denomination of invention that the specific descriptions of relevant programme of the present invention and automatic editing thereof can be submitted referring to the applicant same day is the patent application document of " a kind of method of automatically scheduling programs and device ".
Before concrete enforcement embodiments of the invention, the masterplate that the release management module has been used with the program to be broadcast content of programme, described programme correspondence and when broadcasting is sent to the pairing media control unit of each broadcast point, and comprises in the described programme that the fixed program inventory, event programs inventory and the pad that have defined broadcast program inventory.
Referring to Fig. 5, it is the flow chart according to the overall broadcast program of the embodiment of the invention.
Step 501 is obtained program to be broadcast, described program to be broadcast is added wait to broadcast the program formation.
Particularly, program to be broadcast can obtain from the fixed program inventory, also can obtain from the pairing event programs inventory of response events.Can only there be one of them in this dual mode, also can exist simultaneously, in no particular order in proper order, promptly both can obtain from the fixed program inventory earlier when existing simultaneously, also can obtain from the pairing event programs inventory of response events earlier.
Step 502 waits to broadcast the program formation when empty when described, broadcasts from pad and selects program to join the program inventory describedly to wait to broadcast in the program formation.
Step 503, from described wait to broadcast choose program to be broadcast the program formation.
Particularly, can choose the described program of waiting to broadcast in the program formation successively according to sequencing; Perhaps, according to the priority of program customizing and the priority of programme content, from described wait to broadcast choose the highest program of priority level the program formation and play.
The priority of described program customizing can be set to from high to low: the priority that incident customization requires〉time intercuts the priority that customization requires〉priority that requires of period circulation customization〉pad broadcasts the priority that customization requires.
The priority of described programme content can set gradually from high to low and to be the priority of emergence message〉priority of advertisement〉priority of operation information〉precedence information of other incidents〉precedence information of general programs.
Step 504, judge current just in the programme content priority of broadcast program whether less than waiting to broadcast the programme content priority of selecting the program formation of waiting to broadcast program, if then execution in step 505, otherwise execution in step 506 from described;
Step 505 is interrupted current in progress program, from described wait to broadcast choose program to be broadcast the program formation and play; Repeated execution of steps 504 afterwards.
Step 506 continues to play current in progress program;
Step 507, whenever finish a program after, generate one and play record, write and specify in the journal file.
Referring to Fig. 6, it is the flow chart of the broadcast program of one specific embodiment according to the present invention.
Step 601~606 empty and wait to broadcast the program formation, obtain program to be broadcast from programme.
The step of obtaining program to be broadcast from programme can comprise: at set intervals, such as 1 second, scan the local directory of depositing programme on the media controller, search the programme file that meets current system data, meeting in the current system data programme the up-to-date programme file of version, to be set to current playing program single.
Single according to current system time and current playing program, judge whether remain to be broadcast program in the described current playing program list in the fixed program inventory,, then take out the current program that should play, add and wait to broadcast the program formation if having.
Step 607~609 obtain program to be broadcast from the pairing event programs inventory of response events.
Particularly, can comprise: at set intervals,, scan the local directory of depositing event queue on the media controller, the current incident that has expired and should respond in the searched events formation such as 1 second.
Event programs inventory according in described current incident that should respond that finds and the aforementioned current playing program list takes out the current program that should play, adds and waits to broadcast the program formation.
Step 610~612, according to the priority of aforementioned program customizing and the priority of programme content, treating the program of broadcasting in the program formation sorts, get the highest program of priority level as program to be broadcast, if wait to broadcast the program formation for empty, then the pad from aforementioned current playing program is single is broadcast order or program of picked at random in the program inventory, as program to be broadcast.
Step 613~615 will wait to broadcast program and just make comparisons in the programme content priority of broadcast program, priority orders according to programme content, whether decision ends current in progress program, if, interrupt currently broadcasting program, play program to be broadcast immediately, otherwise restart circular test next time.
Play content of each broadcast all can compare template and whether the template configuration file changes, and will switch template simultaneously if change.
Step 616 whenever plays a play content, all will generate one and play record, and write in the appointment journal file.
The embodiment of the invention also provides a kind of media player, referring to Fig. 7, comprising:
Obtain subelement 701, be used to obtain program to be broadcast, described program to be broadcast is added wait to broadcast the program formation;
Play subelement 702, be used for choosing and playing the described programme content of waiting to broadcast the program formation;
Insert subelement 703, be used for waiting to broadcast the program formation when empty, broadcast from pad and select program to join the program inventory describedly to wait to broadcast in the program formation described.
Above-mentioned media player can also comprise: programme content judgment sub-unit 704, be used for play described when waiting to broadcast the programme content of program formation, judge and currently just wait to broadcast when waiting in the program formation to broadcast the programme content priority of program less than described that notice is interrupted sub-gravity treatment unit 705 in the content priority of broadcast program; Interrupt gravity treatment subelement 705, be used to interrupt current in progress program, from described wait to broadcast choose program to be broadcast the program formation, notice is play subelement 702 and is play the current program of reselecting; Notify programme content judgment sub-unit 704 executable operations once more afterwards.
Above-mentioned media player can also comprise: record subelement 706, be used for whenever finishing a program after, generates one and plays record, write in the appointment journal file.
Use the embodiment of the invention, make system under centralized control, realize the automatic broadcast of program, when common video program and advertising message are provided, can also issue real-time operation information and information on services to the passenger, and under the state of emergency, can guide passenger's rapid evacuation.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the said method execution mode is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, as: ROM/RAM, magnetic disc, CD etc.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.