CN102736910B - A kind of general command interface based on plug-in unit defines method - Google Patents
A kind of general command interface based on plug-in unit defines method Download PDFInfo
- Publication number
- CN102736910B CN102736910B CN201110121673.9A CN201110121673A CN102736910B CN 102736910 B CN102736910 B CN 102736910B CN 201110121673 A CN201110121673 A CN 201110121673A CN 102736910 B CN102736910 B CN 102736910B
- Authority
- CN
- China
- Prior art keywords
- plug
- interface
- command interface
- general
- command
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
Method is defined the invention discloses a kind of general command interface based on plug-in unit, is specifically included:Plug-in unit is according to the operation of user, generation order;The command type sealed storage for generating order is stored in calculator memory for a general interface;Command interface pointer is given host program by plug-in unit;When user's revocation is reformed, host program calls general command interface to notify plug-in unit to perform revocation and reform order.By making interaction simple invention defines a general interactive interface;And interaction can be that non-mode editor is realized in the interaction based on internal memory.
Description
Technical field
Field is made the present invention relates to the captions in broadcasting and TV field, more particularly to a kind of general command interface based on plug-in unit is determined
Right way of conduct method.
Background technology
In the video production process in broadcasting and TV field, non-linear editing and word are related generally to during video material is edited
Screen making two parts, the display of captions is usually that title plug-ins formation captions are inserted in non-linear editing software.
In the prior art, multiple video materials are arranged on the timeline of non-linear editing software, captions material can also be adopted
On the timeline for being arranged in non-volume in the same way, non-volume is host program and title plug-ins can only be called to be migrated,
Modification, the editor such as deletes, but that in general largely used during edlin is entered is all pattern editor, i.e., can only
Overall editor is carried out by talking with box form, it is impossible to which the specific captions material content inside plug-in unit is individually edited, and
And a file can be all saved as with command name after often performing an order.
Inventor is in implementing the present invention, it may, have found that prior art has following technical problem:
(1) pattern edit mode, can only be interacted based on file;
(2) need to define many parameters during existing calling interface plug-in unit, interaction is complicated.
The content of the invention
In order to solve the shortcoming of above-mentioned prior art, the main object of the present invention is to provide a kind of general life based on plug-in unit
When making the interface define method and solve to call the order of plug-in unit in the prior art in the method for non-mode editor, definition is needed during interface
Many parameters, the complicated technical problem of interaction.
In order to achieve the above object, method is defined the invention provides a kind of general command interface based on plug-in unit, specifically
Including:
Plug-in unit is generated according to the operation of user and ordered;
The command type sealed storage of the generation order is stored in calculator memory for a general interface;
Command interface pointer is given host program by plug-in unit, and host program is according to the interface pointer execution of command operations;
When user's revocation is reformed, host program calls general command interface to notify plug-in unit to perform revocation and reform order.
The general-purpose interface based on plug-in unit of the present invention defines method has following technological merit compared with prior art:
1. defining a general interactive interface, interaction is simple;
It can be the interaction based on internal memory that 2. interaction, which is no longer limited to the interaction based on file,;
3. editing and processing process is non-mode editor.
Brief description of the drawings
For the technical scheme of the clearer explanation embodiment of the present invention, used required in being described below to embodiment
Accompanying drawing be briefly described, it is clear that, drawings in the following description are only some embodiments of the present invention, for this
For the those of ordinary skill of field, on the premise of not paying creative work, it can also obtain other according to these accompanying drawings
Accompanying drawing.
Fig. 1 defines method and step figure for a kind of general command interface based on plug-in unit of the embodiment of the present invention;
Fig. 2 is the method and step that method and realization are defined based on title plug-ins general command interface of the embodiment of the present invention two
Flow chart.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Whole description, it is clear that described embodiment is only a part of embodiment of the present invention, the embodiment being not all of, based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not paid
Example, belongs to the scope of protection of the invention.
On the one hand the embodiment of the present invention defines method there is provided a kind of general command interface based on plug-in unit
The method and step figure of implementation, be specially:
Step S1:Plug-in unit is generated according to the operation of user and ordered;
Step S2:The command type sealed storage for generating order is stored simultaneously for a general interface in collection of functions form
It is stored in calculator memory, the collection of functions of general command interface includes:The mark ID of order, name name, cancel undo, weight
Redo is, operation object handle SetInstanceHandle etc. is set.The command type of the storage is to support each order
General type function.
Step S3:Command interface pointer is given host program by plug-in unit.
Step S4:When user's revocation is reformed, host program calls general command interface to notify plug-in unit to perform revocation and reform life
Order.
Implementation will be described in detail by taking non-linear editing software transfer title plug-ins as an example in embodiments of the invention two
General command interface defines the implementation of method in example one, be illustrated in figure 2 based on title plug-ins general command interface definition and
Implementation, be specially:
Step S1:The user of non-linear editing software is operated, for example, have modified the content of a libretto on timeline,
Title plug-ins generate an order of modification content according to operation;
Step S2:Title plug-ins by change content this order be encapsulated as support general-purpose interface order;
Step S3:This command interface pointer is given non-linear editing software host program by title plug-ins;
Step S4:When user's revocation is reformed, host program calls undo the or redo functions of general command interface to notify to insert
Part performs revocation and reforms order.
Two kinds of interactive modes based on file and based on internal memory may be selected in host program during commard editor is performed
One of, then host does not preserve order hereof when selection is based on internal memory interaction.And select to be based on file interaction
When need carry out deadlock recovery operation when then the order of every single stepping is all preserved hereof.
It is general command functions due to what is stored in internal memory, so which kind of mode to enter writing all for line command using
General-purpose interface defined in must being fulfilled for define the specification of method so that host program call can be based on when plug-in unit it is general
Interface interacts and can be based on the interaction of internal memory.
By embodiments of the present invention, the general command interface based on plug-in unit is defined, then calls host program slotting
Non-mode editor directly can be carried out to any material based on each generic command type stored in internal memory when part, and often held
Row one orders the effect it can be seen that after performing.In addition, the general-purpose interface that embodiments of the present invention are used defines method
The definition of host program and card i/f interaction parameter can be reduced, is that simple and clear there is provided efficiency for interaction.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Software realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Understood based on such, this hair
Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories
Medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in, including some instructions are to cause a computer equipment (can be
Personal computer, server, or network equipment etc.) perform method described in each of the invention embodiment.
It is described above, be only the present invention an optimal specific embodiment, but the present invention feature be not limited thereto, times
What is familiar with the people of this technology in field of the present invention, and the change or modification that can be readily occurred in should all be covered in present invention below
Claim in.
Claims (7)
1. a kind of general command interface based on plug-in unit defines method, it is characterised in that specifically include:
Plug-in unit is generated according to the operation of user and ordered;
The command type sealed storage of the generation order is stored in calculator memory for a general command interface;
Command interface pointer is given host program by plug-in unit, and host program is according to the interface pointer execution of command operations;
When user's revocation is reformed, host program calls general command interface to notify plug-in unit to perform revocation and reform order;
The collection of functions of the general command interface includes:The mark ID of order, name name, cancel undo, reform redo, set
Operation object handle SetInstanceHandle.
2. the general command interface as claimed in claim 1 based on plug-in unit defines method, it is characterised in that the generic command
The collection of functions of interface is general function.
3. the general command interface as claimed in claim 1 based on plug-in unit defines method, it is characterised in that host program is called
The method of general command interface is:
Host program according to the revocation of user, reforms command calls according to the name of the command id display command of command interface
The revocation of command interface, reform function.
4. the general command interface as claimed in claim 1 based on plug-in unit defines method, it is characterised in that the command interface
Pointer includes the command type performed.
5. the general command interface as claimed in claim 1 based on plug-in unit defines method, it is characterised in that the host program
The process interface mode of execution of command operations includes:Interaction based on internal memory or the interaction based on file.
6. the general command interface as claimed in claim 5 based on plug-in unit defines method, it is characterised in that described to be based on internal memory
Interaction, perform order when not order preserve hereof.
7. the general command interface as claimed in claim 5 based on plug-in unit defines method, it is characterised in that based on file interaction
The order of every single stepping is all preserved hereof during Shi Jinhang deadlock recovery operations.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110121673.9A CN102736910B (en) | 2011-05-11 | 2011-05-11 | A kind of general command interface based on plug-in unit defines method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110121673.9A CN102736910B (en) | 2011-05-11 | 2011-05-11 | A kind of general command interface based on plug-in unit defines method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102736910A CN102736910A (en) | 2012-10-17 |
CN102736910B true CN102736910B (en) | 2017-07-28 |
Family
ID=46992472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110121673.9A Active CN102736910B (en) | 2011-05-11 | 2011-05-11 | A kind of general command interface based on plug-in unit defines method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102736910B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572034B (en) * | 2013-10-11 | 2019-04-02 | 北京西门子西伯乐斯电子有限公司 | A kind of implementation method and device for cancelling and/or reforming |
CN105554094B (en) * | 2015-12-11 | 2019-03-08 | 北京奇虎科技有限公司 | Data interactive method and device |
CN111343221B (en) * | 2018-12-18 | 2024-06-18 | 北京奇虎科技有限公司 | Service processing method and device based on general interface framework in command mode |
CN110032362A (en) * | 2019-03-04 | 2019-07-19 | 深圳欧博思智能科技有限公司 | A kind of unity and the frequent mechanics of communication of Android |
CN112667324B (en) * | 2020-12-30 | 2023-12-05 | 凌云光技术股份有限公司 | Method and device for calling command class in command mode |
CN112667342A (en) * | 2021-01-06 | 2021-04-16 | 许继集团有限公司 | Script driving method and system for visual logic editing of relay protection device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1776616A (en) * | 2005-12-15 | 2006-05-24 | 北京航空航天大学 | Three-dimensional model editor modelling command frame design method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7003695B2 (en) * | 2002-10-03 | 2006-02-21 | Seiko Epson Corporation | Undo/redo algorithm for a computer program |
-
2011
- 2011-05-11 CN CN201110121673.9A patent/CN102736910B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1776616A (en) * | 2005-12-15 | 2006-05-24 | 北京航空航天大学 | Three-dimensional model editor modelling command frame design method |
Non-Patent Citations (3)
Title |
---|
一种基于分层结构容器的多级Undo与Redo实现方案;卜登立等;《井冈山学院学报》;20061031;第27卷(第10期);第23-25页 * |
图形应用系统下Undo/Redo操作的设计与实现;聂颖;《计算机应用研究》;20050331(第3期);文章第181页第1列第2段-第182页第2列倒数第1段、图1 * |
基于组件的多媒体软件撤销重做设计;卞劲松;《计算机工程》;20041231;第30卷(第S1期);文章第388页第2列第2段-第389页第1列第2段,第390页第2列第1-2段、图2 * |
Also Published As
Publication number | Publication date |
---|---|
CN102736910A (en) | 2012-10-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102736910B (en) | A kind of general command interface based on plug-in unit defines method | |
JP6986186B2 (en) | Visualization editing methods, devices, devices and storage media | |
CN104090979B (en) | A kind of page authoring method and device | |
US20220264029A1 (en) | Video special effect processing method and apparatus, and electronic device | |
JP5968788B2 (en) | Method and apparatus for providing a plurality of application information | |
CN105630459A (en) | Method for converting PPT document to HTML page | |
CN107515702B (en) | Page interaction method and device | |
CN107870798A (en) | The page layout processing method and terminal of application program | |
CN110012358B (en) | Examination information processing method and device | |
CN110569096B (en) | System, method, medium, and apparatus for decoding human-computer interaction interface | |
CN103034439A (en) | Method and device for generating drawing file | |
CN103207918B (en) | Animation effect management method, system and the device of a kind of PowerPoint | |
CN101448087A (en) | Improvement method of programming process | |
CN101763585A (en) | Conversion method for business document in ERP system, device and ERP system | |
CN104615422A (en) | Procedure customizing method for application software interface | |
CN111737785B (en) | Data interaction method, device and system of Revit and AutoCAD | |
CN103259932B (en) | Editing method and system of touch screen mobile terminal multimedia messages | |
CN109933766B (en) | File generation method, device and storage medium | |
US20130298005A1 (en) | Drawing HTML Elements | |
CN104407853A (en) | Method for realizing TABLE multi-line simultaneous edition | |
CN115344159A (en) | File processing method and device, electronic equipment and readable storage medium | |
JP4967413B2 (en) | CAD system | |
CN108733281A (en) | A kind of image interception method, system and terminal device | |
CN104298480A (en) | Electronic device and image data displaying method | |
CN113988039A (en) | Method and device for generating webpage through code-free automatic typesetting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200914 Address after: 100195 Xinaote science and technology building, West Fourth Ring Road North, Haidian District, Beijing Patentee after: Beijing Xinaote Sports Media Co., Ltd Address before: Newauto Technology Building No. 49 Beijing 100195 Haidian District Wukesong Road Patentee before: China Digital Video (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |