Summary of the invention
Technical matters to be solved by this invention provides a kind of live control method and device of virtual sports system, to simplify the operation of person skilled, improves live security.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses a kind of live control method of virtual sports system, comprising:
Processing is according to the display related data in the live game coverage of Camera Positioning acquisition;
Call the broadcast template that presets, set up in the template incidence relation of replacing unit and corresponding live video data, described replacement unit has defined corresponding broadcast attribute;
When the user controls broadcast, according to the corresponding template of the corresponding broadcast constantly of corresponding race.
Preferably, described broadcast template is according to different types of match setting.
Preferably, call the broadcast template that presets, set up in the template incidence relation of replacing unit and corresponding live video data by following steps:
Receive pre-configured order;
To preset the replacement unit that broadcasts in the template according to described order carries out related with corresponding live video data.
Preferably, described broadcast template stores is in first graphics workstation, and the display related data in the described live game coverage is calculated acquisition in real time by the second graph workstation.
Preferably, described order sends by network.
The embodiment of the invention also discloses a kind of live control device of virtual sports system, comprising:
Live real time data processing unit is used for handling the display related data according to the live game coverage of Camera Positioning acquisition;
The incidence relation acquiring unit is used to call the broadcast template that presets, and sets up in the template incidence relation of replacing unit and corresponding live video data, and described replacement unit has defined corresponding broadcast attribute;
Live unit is used for when the user controls broadcast, according to the corresponding template of the corresponding broadcast constantly of corresponding race.
Preferably, described broadcast template is according to different types of match setting.
Preferably, described incidence relation acquiring unit comprises:
Order receives subelement, is used to receive pre-configured order;
Related subelement is used for will presetting the replacement unit that broadcasts template according to described order and carries out related with corresponding live video data.
Preferably, described broadcast template stores is in first graphics workstation, and the display related data in the described live game coverage is calculated acquisition in real time by the second graph workstation.
Preferably, described order sends by network.
Compared with prior art, the present invention has the following advantages:
The present invention presets to broadcast in the template by auto-associating and replaces the unit, and, display related data in the corresponding live game coverage that obtains according to Camera Positioning, do not need person skilled manual modification template, can realize the automatic replacement of live video data, thereby greatly facilitate the user, improved live security simultaneously.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
In the virtual sports technology that the embodiment of the invention is mainly used in further developing based on Virtual Studio Technology.Virtual sports technology is exactly that static state or animation 3D rendering are superimposed on the picture of athletic competition programme televised live.No matter whether video camera moves, it is motionless to allow figure be fixed on certain position, allows visually feel the some that these 3D figures are live pictures.Virtual sports system has live race following function, can show actual range, height and speed in meadow, stadium of track and field, football field, snowfield, waters or the 3d space, simultaneously can be on billboard, in the sports ground and (or) the sports ground periphery shows advertisement, and new television advertising or animated tv advertisement can be covered on the on-the-spot actual advertisement.Virtual sports system also can be used for the race analysis, increases analytical information at replayed section, allows spectators see playing conditions more intuitively.
With reference to figure 1, show the flow chart of steps of the live control method embodiment of a kind of virtual sports system of the present invention, specifically can may further comprise the steps:
Step 101, processing are according to the display related data in the live game coverage of Camera Positioning acquisition;
Step 102, call the broadcast template that presets, set up the incidence relation of replacing unit and corresponding live video data in the template, described replacement unit has defined corresponding broadcast attribute;
Step 103, control when broadcasting, broadcast corresponding template constantly according to corresponding race is corresponding the user.
In practice, for reducing the duplication of labour, usually need to generate in advance and be used to define the broadcast template of broadcasting attribute, according to the live demand of competitive sports, often broadcast in the template, comprise and a plurality ofly carry out the replacement unit of attribute definition, for example at the live video data of difference at a cover, for a football race, may need to define the replacement unit etc. of replacement unit, serving position and distance of replacement unit, the score of buildup.The similarity of required live video data because same kind is competed, in a preferred embodiment of the present invention, described broadcast template can be according to different types of match setting, as a kind of broadcast template being set at football match, a kind of broadcast template being set, at Basketball Match a kind of broadcast template etc. being set at ping-pong contest.And these templates can be stored in first graphics workstation that is used for playing up three-dimensional model (virtual scene).
In this case, for described live video data, the second graph workstation that can be used for carrying out Camera Positioning in practice calculates, promptly pass through the camera parameters of its real-time positioning, calculate corresponding template and replace the locus of unit and concrete markup information, as current service area, world record line and ball drive distance etc., send to the corresponding units that is used to broadcast as real-time live video data.
In a preferred embodiment of the present invention, described second graph workstation can be by pre-configured order, the name of corresponding live video data and corresponding template is sent to current broadcast control module, be that the present invention specifically can call the broadcast template that presets by following substep, set up in the template incidence relation of replacing unit and corresponding live video data:
Substep S1, the pre-configured order of reception;
Substep S2, the replacement unit that will preset in the broadcast template according to described order carry out related with corresponding live video data.
Be that described order is used for that template is replaced the unit and sets up related with corresponding live video data.
For example, current needs broadcast the arrow data from the penalty mark to the scoring position in the football match, in the second graph workstation, reference position and arrow length by the current penalty mark described, the related data of distance, send current broadcast control module then, the order A that will configure simultaneously sends to current broadcast control module, current broadcast control module reads corresponding arrow data according to this order control first graphics workstation and control replacement unit uses corresponding data, and, the live video data that sends according to the second graph workstation makes up, promptly make live video data have the broadcast attribute of corresponding replacement unit definition, under the control of person skilled, then according to the corresponding template of the corresponding broadcast constantly of corresponding race.
In specific implementation, can adopt Ethernet to connect between described broadcast control module and first, second graphics workstation, the mode that all orders all can adopt network to send is carried out alternately.
Need to prove, for aforesaid method embodiment, for simple description, so it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.
With reference to figure 2, show the structured flowchart of the live control device embodiment of a kind of virtual sports system of the present invention, specifically can comprise with lower unit:
Live real time data processing unit 201 is used for handling the display related data according to the live game coverage of Camera Positioning acquisition;
Incidence relation acquiring unit 202 is used to call the broadcast template that presets, and sets up in the template incidence relation of replacing unit and corresponding live video data, and described replacement unit has defined corresponding broadcast attribute;
Live unit 203 is used for when the user controls broadcast, according to the corresponding template of the corresponding broadcast constantly of corresponding race.
In practice, described broadcast template can be according to different types of match setting.In addition, described broadcast template can be stored in first graphics workstation, and the display related data in the described live game coverage that obtains according to Camera Positioning can be calculated acquisition in real time by the second graph workstation.
In a preferred embodiment of the present invention, described incidence relation acquiring unit 202 can comprise following subelement:
Order receives subelement, is used to receive pre-configured order;
Related subelement is used for will presetting the replacement unit that broadcasts template according to described order and carries out related with corresponding live video data.
In specific implementation, can adopt Ethernet to connect between described broadcast control module and first, second graphics workstation, the mode that all orders all can adopt network to send is carried out alternately.
For device embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
More than the live control method of a kind of virtual sports system provided by the present invention and a kind of live control device of virtual sports system are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.