Summary of the invention
The invention provides intelligent director method and system in a kind of on-line synchronous classroom, to address the above problem.
The invention provides intelligent director method in a kind of on-line synchronous classroom.Said method comprises the following steps:
When teaching pattern is switched, intelligent instructor in broadcasting's module is obtained teaching pattern handover information and according to the described teaching pattern handover information obtaining, is carried out teaching pattern switching; Wherein, intelligent instructor in broadcasting's module is obtained the mode of teaching pattern handover information and is: remote control handover module sends teaching pattern handover information or Web player plug-in module directly sends teaching pattern handover information to intelligent instructor in broadcasting's module to intelligent instructor in broadcasting's module.
The present invention also provides intelligent director system in a kind of on-line synchronous classroom, comprising: remote control handover module, intelligent instructor in broadcasting's module, Web player plug-in module; Remote control handover module, intelligent instructor in broadcasting's module, Web player plug-in module interconnect;
Described intelligent instructor in broadcasting's module, while switching for teaching pattern, obtains teaching pattern handover information and according to the described teaching pattern handover information obtaining, carries out teaching pattern switching;
Described remote control handover module, for sending teaching pattern handover information to intelligent instructor in broadcasting's module; Also when sending teaching pattern handover information to intelligent instructor in broadcasting's module, to Web player plug-in module, send teaching pattern handover information
Described Web player plug-in module, for directly sending teaching pattern handover information to intelligent instructor in broadcasting's module.
Compared to prior art, according to intelligent director method and system in on-line synchronous provided by the invention classroom, by intelligent instructor in broadcasting's module, remote control handover module moves with the form of independent particle system, directly reduced the coupling with other simultaneous classroom operation systems, reduce other subsystems and move the impact on director system while makeing mistakes, also availability and the dirigibility of total system have been increased simultaneously, not only can under minimum cost, replace it the third party's recorded broadcast equipment in preamble classroom system, reduce hardware input cost, but also can adapt to the availability of director system under low hardware cost.
Embodiment
Hereinafter with reference to accompanying drawing, also describe the present invention in detail in conjunction with the embodiments.It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the application can combine mutually.
Figure 2 shows that according to the intelligent instructor in broadcasting of the embodiment of the present invention 2 and realize system diagram, comprise Web player plug-in module, intelligent instructor in broadcasting's module, remote control handover module; Wherein, Web player plug-in module, intelligent instructor in broadcasting's module, remote control handover module directly connect between two.
When teaching pattern is switched, intelligent instructor in broadcasting's module is obtained teaching pattern handover information and according to the described teaching pattern handover information obtaining, is carried out teaching pattern switching; Wherein, intelligent instructor in broadcasting's module is obtained the mode of teaching pattern handover information and is: remote control handover module sends teaching pattern handover information or Web player plug-in module directly sends teaching pattern handover information to intelligent instructor in broadcasting's module to intelligent instructor in broadcasting's module.
Wherein, when remote control handover module sends teaching pattern handover information to intelligent instructor in broadcasting's module, to Web player plug-in module, send teaching pattern handover information; The Web page just can know that change has occurred current teaching pattern, and the Web page just can generate corresponding page effect according to teaching pattern like this.
Wherein, remote control handover module also comprises before sending teaching pattern handover information to intelligent instructor in broadcasting's module:
Remote control handover module sends teaching pattern handoff request to intelligent instructor in broadcasting's module; The sign of wherein, having carried remote control handover module in described teaching pattern handoff request;
Intelligence instructor in broadcasting module is identified checking to described teaching pattern handoff request.
Wherein, the process that intelligent instructor in broadcasting's module is identified checking to described teaching pattern handoff request is:
Intelligence instructor in broadcasting module compares according to the legal identification list of the sign of the remote control handover module carrying in described teaching pattern handoff request and self storage, and it is legal to be confirmed whether, if legal, is verified.
Wherein, Web player plug-in module also comprises before directly sending teaching pattern handover information to intelligent instructor in broadcasting's module:
Web player plug-in module sends teaching pattern handoff request to intelligent instructor in broadcasting's module; Wherein, in described teaching pattern handoff request, carried the identify label of Web player plug-in module called side;
Intelligence instructor in broadcasting module is identified checking to described teaching pattern handoff request.
Wherein, the process that intelligent instructor in broadcasting's module is identified checking to described teaching pattern handoff request is: intelligent instructor in broadcasting's module is obtained the identify label of the Web player plug-in module called side of carrying in described teaching pattern handoff request, identifies checking.
Wherein, between remote control handover module, intelligent instructor in broadcasting's module, Web player plug-in module, adopt Socket communication.
Wherein, the kind of teaching pattern comprises normal teaching pattern, sound resources mode, noiseless resources mode and interactive discussion pattern; Yet the present invention does not limit this.Wherein, under normal teaching pattern, the target video that needs output is for take the vision signal of student trace video camera of teacher's tracking camera, student trace video camera or subsidiary course hall of main subject hall as main; Under sound resources mode, needing the target video of output to take the VGA(Video Graphics Array of teaching client of main subject hall) signal is as main; Under noiseless resources mode, need the target video of output to take the VGA signal of teaching client of main subject hall as main; In interactive discussion pattern, need the target video of output to take the vision signal of the student trace video camera of main subject hall or the student trace video camera of subsidiary course hall as main.
The subsystem module that intelligent instructor in broadcasting's module in the present embodiment is a functional independence, not relying on other subsystems can independent operating, and the signal of its output provides simultaneous classroom instructor in broadcasting vision signal for audio-video collection module, functional independence based on intelligent instructor in broadcasting's module, it is independent from Web player plug-in module, with the form independent operating of system service in system backstage, in this scheme, intelligence instructor in broadcasting module with browser without directly related property, in browser, various user's accident behaviors can not produce any bad impact to intelligent instructor in broadcasting's module yet, but intelligent instructor in broadcasting's module is as important subsystem indispensable in simultaneous classroom overall plan, the operational mode of its system need to be in concrete operation flow dynamic change according to demand, so that the video pictures being mated under various teaching scene to be provided, and being Web front and back end system by simultaneous classroom, concrete operation flow decides, then by the current concrete operational mode of Web page notice Web player plug-in module, when Web player plug-in module obtains after concrete operation mould, need a kind of communication mechanism to notify the intelligent instructor in broadcasting's module at running background, so that intelligent instructor in broadcasting's module is switched to corresponding operational mode.
The Web player plug-in module of moving in browser and respectively belong to different system process in intelligent instructor in broadcasting's module of running background, therefore a kind of inter-process communication mechanisms that need to adopt alternately between the two realizes.The different system of interprocess communication has different modes, common are several as follows: shared drive, pipeline, system message queue, Socket communication.Except Socket communication, remaining interprocess communication mode has different realization and interface under different system, and extendability does not have Socket to communicate by letter yet, consider the succinct of realization and good extendability later, in this programme, adopt Socket to communicate by letter to realize mutual between Web player plug-in module and intelligent instructor in broadcasting's module.
After having determined the interprocess communication mode of Web player plug-in module and intelligent instructor in broadcasting's module, also need definition communication protocol between the two, to guarantee can both to understand the message content that the other side sends between both sides; This communication protocol belongs to proprietary protocol, can define according to concrete business demand, does not add detailed description here; Determined that after the interprocess communication mode and communication protocol between Web player plug-in module and intelligent instructor in broadcasting's module, both sides just can normally communicate, to have realized alternately; Like this, intelligent instructor in broadcasting's module just can be switched to the operational mode under different teaching scenes according to the concrete operation flow of simultaneous classroom, and provides the video pictures mating under corresponding teaching scene to carry out network push to audio-video collection module.
In the design proposal of simultaneous classroom, according to teaching scene, switching guided mode is that mode with remote control realizes; Like this, in normal teaching process, teacher just can control simultaneous classroom system more flexibly, easily; Technical solution of the present invention adopts remote control handover module is also independent from Web player plug-in module, with the form of stand-alone utility, hides operation.
Like this, remote control handover module needs and intelligent instructor in broadcasting's module is carried out interprocess communication, to notify intelligent instructor in broadcasting's module when to be switched to what operational mode; Remote control handover module also needs to carry out interprocess communication with Web player plug-in module in addition, to notify Web operation system current what teaching pattern that is switched to.Certainly, Web player plug-in module also can directly communicate with intelligent instructor in broadcasting's module, carries out pattern switching.In this scheme, load operating pattern when remote control handover module and intelligent instructor in broadcasting's module service all need to be set to system startup, teacher, in use just without extra operation, directly just can control director system by telepilot like this.
Figure 3 shows that according to intelligent instructor in broadcasting's application scenarios figure in the on-line synchronous classroom of the embodiment of the present invention 3, comprising: teacher's positioning shooting machine 300, telepilot 301, tracking main frame 302, teacher's tracking camera 303, student trace video camera 304, teaching client 305, Image Mosaics device 306; Wherein, teacher's positioning shooting machine 300 is connected with teaching client 305, teacher's tracking camera 303 respectively by following the tracks of main frame 302; Teacher's tracking camera 303, student trace video camera 304 are connected with teaching client 305 by Image Mosaics device 306; Telepilot 301 is directly connected with teaching client 305.
Teacher's positioning shooting machine 300 monitors teacher movement in main subject hall, and teacher's movable information is sent to and follows the tracks of main frame 302; Follow the tracks of main frame 102 sending controling instructions to teacher's tracking camera 303 and teaching client 305;
Teaching client 305 receives after steering order, according to current teaching pattern, determines the target video that needs output, and sends image processing instruction to Image Mosaics device 306; The tracking video information that Image Mosaics device 306 bases are obtained from teacher's tracking camera 303, student trace video camera 304 and the image processing instruction receiving from teaching client 305, form composite video and push to teaching client 305.
Wherein, Web player plug-in module, intelligent instructor in broadcasting's module are positioned at teaching client 305; Remote control handover module is arranged in telepilot 301.
When teaching pattern is switched, intelligent instructor in broadcasting's module is obtained teaching pattern handover information and according to the described teaching pattern handover information obtaining, is carried out teaching pattern switching; Wherein, intelligent instructor in broadcasting's module is obtained the mode of teaching pattern handover information and is: remote control handover module sends teaching pattern handover information or Web player plug-in module directly sends teaching pattern handover information to intelligent instructor in broadcasting's module to intelligent instructor in broadcasting's module.
Compared to prior art, according to intelligent director method and system in on-line synchronous provided by the invention classroom, by intelligent instructor in broadcasting's module, remote control handover module moves with the form of independent particle system, directly reduced the coupling with other simultaneous classroom operation systems, reduce other subsystems and move the impact on director system while makeing mistakes, also availability and the dirigibility of total system have been increased simultaneously, not only can under minimum cost, replace it the third party's recorded broadcast equipment in preamble classroom system, reduce hardware input cost, but also can adapt to the availability of director system under low hardware cost.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.