CN102694988A - Method and device for removing clock scene in real time - Google Patents
Method and device for removing clock scene in real time Download PDFInfo
- Publication number
- CN102694988A CN102694988A CN2011102479962A CN201110247996A CN102694988A CN 102694988 A CN102694988 A CN 102694988A CN 2011102479962 A CN2011102479962 A CN 2011102479962A CN 201110247996 A CN201110247996 A CN 201110247996A CN 102694988 A CN102694988 A CN 102694988A
- Authority
- CN
- China
- Prior art keywords
- time
- clock
- clock scene
- scene
- real
- 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
Links
Images
Abstract
The invention discloses a method and a device for removing a clock scene in real time. The method comprises the following steps of: setting clock parameters for removing the clock scene, establishing a synchronization mechanism with a plug-in layer, and performing synchronous binding; receiving an accurate numerical value of time which is displayed in real time in each frame transmitted by the plug-in layer; and comparing whether the accurate numerical value meets the requirement of the clock parameters, if so, removing the clock scene and awakening other predefined operations, and if not, not removing the clock scene. By the method, the clock scene can be automatically removed according to a certain moment, and other predefined operations are awakened.
Description
Technical field
The present invention relates to the diagram text manufacture technical field in broadcasting and TV field, relate in particular to method and device that a kind of clock is removed in real time.
Background technology
In the online picture and text packaging system, when broadcasting the clock scene, clock serves as the public of timer or countdown sometimes, to a certain moment the time, need remove, and wakes new scene up and plays.
Mainly be to observe to removing in real time of clock in the prior art, remove in case discovery time is carried out the clock scene during to certain value, and then play new scene through the operating personnel range estimation time of carrying out.
And when reality is broadcasted, the time started of key-course master Interface Control clock, the concluding time, step-length etc., but can not know the precise time of the reality of each frame.If adopt main interface to go comparison through system time, if countdown, the time started need be known in then main interface; Go in real time according to algorithm response and the comparison same with the clock layer plug; Certainly will cause the low of rendering efficiency, and in modularized design, design iterations increases more
The inventor finds that there is following technical problem in prior art in the process of embodiment of the present invention:
Operating personnel are relied on bigger, and be easy to cause error, if the time requirement accuracy when higher, is not reached requirement, rendering efficiency is low and can not realize the flow process broadcasted automatically.
Summary of the invention
In order to solve the shortcoming of above-mentioned prior art, main purpose of the present invention provides the method that a kind of clock scene is removed in real time, can automatic basis remove operation sometime to realize clock, and wake other predefined operations up.
In order to achieve the above object, the invention provides the method that a kind of clock scene is removed in real time, specifically comprise:
Setting is removed the timing parameter of clock scene and is set up synchronization mechanism with layer plug and bind synchronously;
Receive the accurate numerical value of time of the real-time demonstration of each frame that said layer plug transmits;
Whether more said accurate numerical value satisfies the requirement of said timing parameter;
If satisfy the requirement of said timing parameter, then carry out the clock scene and remove and wake up other predefined operations, then do not carry out the clock scene as if the requirement of not satisfying said timing parameter and remove.
The device that another aspect of the present invention also provides a kind of clock scene to remove in real time, this device comprises:
The timing parameter setup unit is used to set the timing parameter of removing the clock scene;
Synchronization mechanism is set up the unit, be used for and layer plug between set up synchronization mechanism and bind synchronously;
The real-time time receiving element is used to receive the accurate numerical value of time of the real-time demonstration of each frame that said layer plug transmits;
The time comparing unit is used for the requirement whether said accurate numerical value satisfies said timing parameter; If satisfy the requirement of said timing parameter, then carry out the clock scene and remove and wake up other predefined operations, then do not carry out the clock scene as if the requirement of not satisfying said timing parameter and remove.
The present invention is through setting up synchronization mechanism between layer plug and the key-course; The layer plug demonstration time that each frame is real-time directly sends the main interface of key-course to; The time that actual each frame shows was consistent with the time that institute will remove, and judged the time that need stop to remove by main interface, accurately the removing of realization clock scene; To play up and control effectively separately, rendering efficiency be high and can realize the automatic broadcast of other predefined operations.
Description of drawings
Technical scheme for the clearer explanation embodiment of the invention; The accompanying drawing of required use is done simple the introduction in will describing embodiment below; Conspicuous, the 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.
Fig. 1 is for realizing the method flow diagram that the clock scene is removed in real time in the embodiment of the invention;
Fig. 2 is for realizing the method flow diagram that the clock scene is removed in real time in another embodiment of the present invention;
The device that Fig. 3 removes for a kind of clock scene that provides in the embodiment of the invention in real time constitutes sketch map.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, complete description; Obvious described embodiment only is a part of embodiment of the present invention, is not whole embodiment, based on the embodiment among the present invention; Those of ordinary skills are not paying the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The method that provides a kind of clock scene to remove in real time in the embodiment of the invention one, implementation method is as shown in Figure 1, specifically comprises:
Step S101: set and to remove the timing parameter of clock scene and set up synchronization mechanism with layer plug and bind synchronously.
Step S102: the accurate numerical value of time that receives the real-time demonstration of each frame that said layer plug transmits.
Step S103: relatively whether the said accurate numerical value of layer plug transmission satisfies the requirement of the timing parameter of setting of removing the clock scene.
If satisfy the requirement of said timing parameter, then carry out the clock scene and remove and wake up automatically other predefined operations, then do not carry out the clock scene as if the requirement of not satisfying said timing parameter and remove, keep the broadcast of former clock scene.
In the embodiment of the invention through setting up synchronization mechanism between layer plug and the key-course; The layer plug demonstration time that each frame is real-time directly sends the main interface of key-course to; The time that actual each frame shows was consistent with the time that institute will remove, and judged the time that need stop to remove by main interface, accurately the removing of realization clock scene; To play up and control effectively separately, rendering efficiency be high and can realize the automatic broadcast of other predefined operations.
The method that control was removed when a kind of clock scene is actual to be broadcasted is provided in the embodiment of the invention two, as shown in Figure 2, specifically comprise:
Step S201: key-course setting need be carried out the timing parameter that the clock scene is removed, and this timing parameter can be certain concrete time, also can be that the qualification that meets certain requirements is removed after surpassing what seconds of certain time point or what minutes.
Preferably, key-course can also be provided with the time callback interface when timing parameter is set.
Step S202: key-course is set up synchronization mechanism with layer plug simultaneously according to the broadcast order of sending and is bound synchronously, key-course master interface, and layer plug and render layer are carried out interactive communication.
Preferably,, know the data type that follow-up each frame returns according to the request type of synchronization mechanism, the time of removing such as the clock scene be current time or timing time or with difference of some fiducial times etc.
Step S203: information such as the data model that render layer please be looked for novelty to layer plug and data texturing; Simultaneously in each frame update data; When driving the opportunity of upgrading; Layer plug can return the current time to key-course, and the data that can guarantee each frame update like this are consistent with the time data that key-course is got.
Step S204: layer plug directly sends real-time demonstration time of current each frame the time callback interface of key-course master interface to, and said time callback interface receives transmitting time sense command after the current time.
Step S205: key-course master interface obtains after this time detecting order will be current to be compared by the real-time demonstration time of layer plug transmission and the timing parameter that needs the clock scene to remove of setting; Do not meet the demands and then do not operate; If satisfy the requirement of the timing parameter that the clock scene removes, then carry out removing of clock scene.
Preferably; The time that the real-time demonstration time judgement of each frame that transmit through layer plug at key-course master interface in this enforcement row need stop; When real time of each frame of needs; Need not real-time carry out the current time of calculating of time according to the algorithm of layer plug again and then compare, saved the work of a lot of repetitions with system time.And will play up and control effectively and separated, render layer is played up, and the broadcast of scene only need be controlled in main interface, removes the main interface of key-course when the clock scene and just can directly wake other predefined operations up, realizes the automatic broadcast of scene.
Step S206: after operation was removed in the completion of clock scene, render layer stopped playing up, and layer plug and key-course disconnection binding synchronously.
The present invention is through setting up synchronization mechanism between layer plug and the key-course; The layer plug demonstration time that each frame is real-time directly sends the main interface of key-course to; The time that actual each frame shows was consistent with the time that institute will remove, and judged the time that need stop to remove by main interface, accurately the removing of realization clock scene; To play up and control effectively separately, rendering efficiency be high and can realize the automatic broadcast of other predefined operations.
The device that provides a kind of clock scene to remove in real time in the embodiment of the invention three specifically constitutes as shown in Figure 3ly, comprising:
Timing parameter setup unit 31 is used to set the timing parameter of removing the clock scene.Shown in timing parameter can be certain concrete time, also can be the qualification that meets certain requirements, after surpassing what seconds of certain time point or what minutes, remove.
Synchronization mechanism is set up unit 32, is used for setting up synchronization mechanism between key-course and the layer plug and binding synchronously.
Real-time time receiving element 33 is used to receive the accurate numerical value of time of the real-time demonstration of each frame that layer plug transmits.The real-time time receiving element receives real-time demonstration and also comprises in the time of the time: data model and data texturing that render layer please be looked for novelty to layer plug, refresh the demonstration time and the current time of returning at each frame simultaneously.
Preferably; The device that the clock scene is removed in real time in this enforcement row; Can also comprise: callback interface unit 35; Be used for the transmitting time sense command, key-course receives said time detecting orders laggard line time relatively, also is used to obtain the accurate numerical value of time of the real-time demonstration of each frame that said layer plug transmits.
Preferably; Said synchronization mechanism is set up unit 32 and also is used for the request type according to synchronization mechanism; Know the data type that follow-up each frame returns; Said data type is said timing parameter, comprise time that the clock scene is removed be current time, timing time still with the differences of some fiducial times.
The present invention is through setting up synchronization mechanism between layer plug and the key-course; The layer plug demonstration time that each frame is real-time directly sends the main interface of key-course to; The time that actual each frame shows was consistent with the time that institute will remove, and judged the time that need stop to remove by main interface, accurately the removing of realization clock scene; To play up and control effectively separately, rendering efficiency be high and can realize the automatic broadcast of other predefined operations.
Through the description of above execution mode, those skilled in the art can be well understood to the present invention and can realize through software, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above is merely specific embodiment of the present invention, but characteristic of the present invention is not limited thereto, and any people who is familiar with this technology is in field of the present invention, and the variation that can expect easily or modification all should be encompassed in the following claim of the present invention.
Claims (10)
1. the method that the clock scene is removed in real time is characterized in that, this method comprises:
Setting is removed the timing parameter of clock scene and is set up synchronization mechanism with layer plug and bind synchronously;
Receive the accurate numerical value of time of the real-time demonstration of each frame that said layer plug transmits;
Whether more said accurate numerical value satisfies the requirement of said timing parameter;
If satisfy the requirement of said timing parameter, then carry out the clock scene and remove and wake up other predefined operations, then do not carry out the clock scene as if the requirement of not satisfying said timing parameter and remove.
2. the method that clock scene as claimed in claim 1 is removed in real time is characterized in that, after the clock scene was removed, this method also comprised:
After render layer stops playing up, break off synchronous binding with said layer plug.
3. the method that clock scene as claimed in claim 1 is removed in real time is characterized in that, said setting also comprises when removing the timing parameter of clock scene:
The accurate numerical value of time that callback interface is used to obtain the real-time demonstration of each frame that said layer plug transmits is set.
4. the method that clock scene as claimed in claim 3 is removed in real time is characterized in that, behind the accurate numerical value of time of the real-time demonstration that receives each frame that layer plug transmits, also comprises:
Order laggard line time relatively when receiving time detecting.
5. the method that clock scene as claimed in claim 2 is removed in real time is characterized in that, this method also comprises:
Said render layer is to said layer plug request msg, and said data comprise: data model and data texturing.
6. the method that clock scene as claimed in claim 5 is removed in real time is characterized in that, this method also comprises:
Said render layer refreshes each frame and shows the time and the current time of returning in the time of said layer plug request msg.
7. the method that clock scene as claimed in claim 1 is removed in real time is characterized in that, specifically comprises after said and layer plug is set up synchronization mechanism:
According to the request type of synchronization mechanism, know the data type that follow-up each frame returns, said data type is said timing parameter, comprise time that the clock scene is removed be current time, timing time or with the difference of fiducial time.
8. the device that the clock scene is removed in real time is characterized in that, this device comprises:
The timing parameter setup unit is used to set the timing parameter of removing the clock scene;
Synchronization mechanism is set up the unit, be used for and layer plug between set up synchronization mechanism and bind synchronously;
The real-time time receiving element is used to receive the accurate numerical value of time of the real-time demonstration of each frame that said layer plug transmits;
The time comparing unit is used for the requirement whether said accurate numerical value satisfies said timing parameter; If satisfy the requirement of said timing parameter, then carry out the clock scene and remove and wake up other predefined operations, then do not carry out the clock scene as if the requirement of not satisfying said timing parameter and remove.
9. the device that clock scene as claimed in claim 8 is removed in real time is characterized in that, this device also comprises:
The callback interface unit is used to obtain the accurate numerical value of time of the real-time demonstration of each frame that said layer plug transmits.
10. the device that clock scene as claimed in claim 8 is removed in real time; It is characterized in that; Said synchronization mechanism is set up the unit and also is used for the request type according to synchronization mechanism; Know the data type that follow-up each frame returns, said data type is said timing parameter, comprise time that the clock scene is removed be current time, timing time or with the difference of fiducial time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110247996.2A CN102694988B (en) | 2011-08-26 | 2011-08-26 | Method and device for removing clock scene in real time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110247996.2A CN102694988B (en) | 2011-08-26 | 2011-08-26 | Method and device for removing clock scene in real time |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102694988A true CN102694988A (en) | 2012-09-26 |
CN102694988B CN102694988B (en) | 2015-02-18 |
Family
ID=46860255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110247996.2A Expired - Fee Related CN102694988B (en) | 2011-08-26 | 2011-08-26 | Method and device for removing clock scene in real time |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102694988B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937723A (en) * | 2006-06-30 | 2007-03-28 | 康佳集团股份有限公司 | Automatic television channel switching method and system |
CN102045592A (en) * | 2009-10-23 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | STB (Set Top Box) and method for realizing personalized advertisement play through same |
CN102104748A (en) * | 2009-12-22 | 2011-06-22 | 康佳集团股份有限公司 | Method for realizing function of channel-changing at regular time for televisions and apparatus thereof |
-
2011
- 2011-08-26 CN CN201110247996.2A patent/CN102694988B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1937723A (en) * | 2006-06-30 | 2007-03-28 | 康佳集团股份有限公司 | Automatic television channel switching method and system |
CN102045592A (en) * | 2009-10-23 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | STB (Set Top Box) and method for realizing personalized advertisement play through same |
CN102104748A (en) * | 2009-12-22 | 2011-06-22 | 康佳集团股份有限公司 | Method for realizing function of channel-changing at regular time for televisions and apparatus thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102694988B (en) | 2015-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019084959A1 (en) | Interaction method and device for mobile terminal and cloud platform of unmanned aerial vehicle | |
MY187306A (en) | Parking management method, server, user terminal and system | |
WO2008126465A1 (en) | Multi-screen sync reproduction system, display control terminal, multi-screen sync reproduction method, and program | |
RU2013146795A (en) | METHOD AND DEVICE FOR STORING THE GAME STATE | |
WO2015110019A1 (en) | Location information sharing method and apparatus | |
CN105516618A (en) | Method and device for making video and communication terminal | |
CN103747291A (en) | Program reservation method and server | |
CN109756766B (en) | Virtual gift display method, storage medium, electronic device and system of live broadcast platform | |
MX2021002433A (en) | Information pushing method and system. | |
WO2017201938A1 (en) | Polling control method, apparatus and system | |
CN102074221B (en) | Method and device for displaying characters | |
CN102394927A (en) | Method for storing and synchronizing data of internal and external networks | |
CN103702148A (en) | Method and device for displaying pushed information | |
CN103546828A (en) | Method and device for generating program preview | |
CN103401941A (en) | GIS scene information processing method and system, node computer and server | |
CN102340488A (en) | Game map downloading method, system and mobile terminal | |
CN105897854A (en) | Mobile terminal alarm clock response method, device and system | |
CN102694988A (en) | Method and device for removing clock scene in real time | |
CN104168446A (en) | Audio-video signal digital-analog switching system based on message scheduling and hard decoding | |
CN104866282A (en) | Method for controlling electronic equipment and electronic equipment | |
CN103473095A (en) | Accelerating initializing method for central processing unit (CPU) second level cache | |
US20140282043A1 (en) | Providing local expert sessions | |
KR101490437B1 (en) | Smart digital signage terminal being composed of multiple applicatons for outdoor advertising and playing contents and method thereof | |
CN109361940A (en) | A kind of video playing control method, system and VR equipment | |
CN201910218U (en) | Synchronous sound, light and image system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150218 Termination date: 20200826 |