CN102567935A - Method and system for realizing compatibility of special-effect version - Google Patents

Method and system for realizing compatibility of special-effect version Download PDF

Info

Publication number
CN102567935A
CN102567935A CN2010106126217A CN201010612621A CN102567935A CN 102567935 A CN102567935 A CN 102567935A CN 2010106126217 A CN2010106126217 A CN 2010106126217A CN 201010612621 A CN201010612621 A CN 201010612621A CN 102567935 A CN102567935 A CN 102567935A
Authority
CN
China
Prior art keywords
special efficacy
parameter
special
project file
version
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
Application number
CN2010106126217A
Other languages
Chinese (zh)
Other versions
CN102567935B (en
Inventor
郑鹏程
见良
刘铁华
严玄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201010612621.7A priority Critical patent/CN102567935B/en
Publication of CN102567935A publication Critical patent/CN102567935A/en
Application granted granted Critical
Publication of CN102567935B publication Critical patent/CN102567935B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and system for realizing compatibility of a special-effect version. The method comprises the following steps: each parameter of a special effect can be set with a unique identification ID first; when the special effect is online, an outdated parameter of the special effect can be deleted by comparing the unique identification ID with a special effect parameter of the current special effect version, and a new special effect parameter can be added; when the special effect is offline, the special effect can still be created, a topological relation of the special effect parameter can be created, and information of the special effect parameter can be stored by using a character string; and the compatibility between the change of the special effect parameter and the change of online and offline of the special effect can be realized. All special effect parameters of an online special effect can be directly converted into the character string for storing in the storing process; the existing character string of an offline special effect parameter can be stored, and thus the reading of the special effect parameter according to the same logic for next reading is ensured. According to the invention, the compatibility problem of the special effect version is better realized, and the problem of normal use of a project after the online and the offline of the special effect is solved.

Description

A kind of method and system of realizing the special efficacy edition compatibility
Technical field
The present invention relates to video and treatment of picture field, be specifically related to a kind of method and system of realizing the special efficacy edition compatibility.
Background technology
In image/video post-processed software, special efficacy is a vital part, and special efficacy is the algorithm that one section material is handled, and exports after producing certain special effect.Characteristics of special efficacy are often to change, and change such as special efficacy parameter in different editions, and some parameter maybe be out-of-date, and some parameter is that new version adds; Simultaneously because being widely used of special efficacy plug-in unit the situation that the special efficacy plug-in unit is lost or installed in the system occurs through regular meeting.The various variations how compatible special efficacy occurs in engineering are the critical function and the difficult point of image/video post-processed software.
When using existing image/video post-processed software to handle, if common way is to find that when opening engineering special efficacy does not exist, just directly this special efficacy is deleted from engineering, and the prompting user, this special efficacy will not exist in engineering.But, making in this way behind the special efficacy off-line, the user will lose special efficacy fully, even after the user gives the special efficacy of off-line for change, special efficacy also can't become onlinely edits again.In addition, existing edition compatibility method can't be handled the situation that the special efficacy parameter changes between different editions.
Summary of the invention
To the needs in defective that exists in the prior art and the practical application, the object of the present invention is to provide a kind of method and system of realizing the special efficacy edition compatibility, realize the compatibility of the various variations that special efficacy occurs in the engineering.
For realizing above-mentioned purpose, the technical scheme that the present invention adopted is following:
A kind of method that realizes the special efficacy edition compatibility may further comprise the steps:
(1) unique ID is set for each parameter of special efficacy;
(2) read project file, check whether special efficacy is online,, the special efficacy parameter of this special efficacy parameter and current special efficacy version is compared, delete out-of-date special efficacy parameter and add new special efficacy parameter if then read the special efficacy parameter;
Then create this special efficacy if not, this special efficacy is labeled as off-line, and create the topological relation of special efficacy parameter, use character string to preserve the information of special efficacy parameter;
(3) preserve project file, check whether special efficacy is online, preserve if then direct all special efficacy parameters with special efficacy change into character string; Then reading the existing character string of off-line special efficacy parameter if not preserves.
Further, the method for aforesaid realization special efficacy edition compatibility, the ID of sign described in the step (1) is changeless in the life cycle of special efficacy.
Further, the method for aforesaid realization special efficacy edition compatibility, in the step (2), the said online special efficacy that is meant exists in system, and can regulate editor to the special efficacy parameter of this special efficacy in this project file; Said off-line is meant that special efficacy does not exist in system, can not regulate editor to the special efficacy parameter of this special efficacy.
Further, the method for aforesaid realization special efficacy edition compatibility, the concrete mode of the special efficacy parameter that deletion described in the step (2) is out-of-date is:
Use the sign ID of special efficacy parameter and the special efficacy parameter of current special efficacy version to compare one by one, check whether the sign ID of special efficacy parameter in the project file is present in the current special efficacy version, and parameter attribute is identical, if then keep this special efficacy parameter; Then delete this special efficacy parameter if not.
Further again, the method for aforesaid realization special efficacy edition compatibility, the concrete mode of adding new special efficacy parameter described in the step (2) is:
With the special efficacy parameter of current special efficacy version one by one with project file in the special efficacy parameter compare, check whether the special efficacy parameter of current this edition of special efficacy is present in the special efficacy of project file, if then remain unchanged; Then this special efficacy parameter is joined in the special efficacy parameter of project file if not, and this parameter is used as default.
Further, the method for aforesaid realization special efficacy edition compatibility in the step (2), for the off-line special efficacy, realizes the operation to the key frame of special efficacy parameter through the character string of analyzing the information of preserving the special efficacy parameter.
A kind of system that realizes the special efficacy edition compatibility comprises with lower device:
The ID setting device: each parameter that is used to special efficacy is provided with a unique ID;
Parameter processing apparatus: be used for comparison, carry out the deletion and the interpolation of special efficacy parameter in the project file according to the special efficacy parameter of the special efficacy parameter of project file and current special efficacy version;
Special efficacy save set: be used for the preservation of project file special efficacy.
Further, the system of aforesaid realization special efficacy edition compatibility, the concrete processing mode of said parameter processing apparatus is:
At first; The sign ID of the special efficacy parameter of use ID setting device setting and the special efficacy parameter of current special efficacy version are compared one by one; Whether the sign ID that checks special efficacy parameter in the project file is present in the current special efficacy version, and parameter attribute is identical, if then keep this special efficacy parameter; Then delete this special efficacy parameter if not;
Then, with the special efficacy parameter of current special efficacy version one by one with project file in the special efficacy parameter compare, check whether the special efficacy parameter of current this edition of special efficacy is present in the special efficacy of project file, if then keep intact; Then this special efficacy parameter is joined in the special efficacy parameter of project file if not, and this parameter is used as default.
Further again, the system of aforesaid realization special efficacy edition compatibility, said special efficacy save set is that the character string of special efficacy parameter is preserved.
Effect of the present invention is: method and system of the present invention; Through the compatibility that unique sign ID has realized that the special efficacy parameter changes is set for the special efficacy parameter; Through with special off-line the time, use character string to preserve the special efficacy parameter, realized opening the engineering special efficacy when online in next time; Can completely read the special efficacy parameter, key frame that simultaneously can compatible processing off-line special efficacy parameter.Through the present invention, well realized the compatibling problem of special efficacy version.
Description of drawings
Fig. 1 is a kind of structured flowchart of realizing the system of special efficacy edition compatibility of the present invention;
Fig. 2 is a kind of process flow diagram of realizing the method for special efficacy edition compatibility of the present invention.
Embodiment
Core concept of the present invention is: method and system of the present invention, at first for each parameter of special efficacy is provided with unique sign ID, whether be present in the current special efficacy version through this expression ID, and carry out the reservation and the deletion of special efficacy parameter; With the comparison of special efficacy parameter in current special efficacy version and the project file, carry out the interpolation of new special efficacy parameter, realized the compatibility that special efficacy version special efficacy parameter changes.In addition, the present invention is through different settings and preservation to online and off-line special efficacy in the project file, realized the online compatibility with the off-line variation of special efficacy.
Below in conjunction with Figure of description and embodiment the present invention is done further detailed description.
Fig. 1 shows a kind of structured flowchart of realizing the system of special efficacy edition compatibility of the present invention, and this system comprises with lower device:
ID setting device 11: each parameter that is used to special efficacy is provided with a unique ID;
For each parameter of special efficacy is provided with a unique ID, this sign ID can not change in the life cycle of special efficacy, and promptly special efficacy can not change the sign ID of parameter at different versions.
Parameter processing apparatus 12: be used for comparison, carry out the deletion and the interpolation of special efficacy parameter in the project file according to the special efficacy parameter of the special efficacy parameter of project file and current special efficacy version;
Wherein, the concrete processing mode of parameter processing apparatus is:
At first; The sign ID of the special efficacy parameter of use ID setting device setting and the special efficacy parameter of current special efficacy version are compared one by one; Whether the sign ID that checks special efficacy parameter in the project file is present in the current special efficacy version, and parameter attribute is identical, if then keep this special efficacy parameter; Then delete this special efficacy parameter if not;
Then, with the special efficacy parameter of current special efficacy version one by one with project file in the special efficacy parameter compare, check whether the special efficacy parameter of current this edition of special efficacy is present in the special efficacy of project file, if then keep intact; Then this special efficacy parameter is joined in the special efficacy parameter of project file if not, and this parameter is used as default.
Special efficacy save set 13: be used for the preservation of project file special efficacy, this preservation is that the character string of special efficacy parameter is preserved.
Fig. 2 shows a kind of process flow diagram of realizing the method for special efficacy edition compatibility of the system described in Fig. 1 that the present invention is based on, and this method may further comprise the steps:
Step S21: for the special efficacy parameter is provided with sign ID;
For each parameter of special efficacy is provided with a unique ID, this sign ID can not change in the life cycle of special efficacy through ID setting device 11, and promptly special efficacy can not change the sign ID of parameter at different versions.
Step S22: carry out the deletion of online special efficacy parameter and the setting of interpolation and off-line special efficacy;
Read project file, check whether special efficacy is online, if then read the special efficacy parameter; The special efficacy parameter of this special efficacy parameter and current special efficacy version is compared; Delete out-of-date special efficacy parameter,, add new special efficacy parameter the special efficacy parameter and the comparison of this special efficacy parameter of current special efficacy version; Then create this special efficacy if not, this special efficacy is labeled as off-line, and create the topological relation of special efficacy parameter, use character string to preserve the information of special efficacy parameter.
Wherein, the online special efficacy that is meant exists in system, and the special efficacy parameter of this special efficacy in this project file is regulated editor; Said off-line is meant that special efficacy does not exist in system, can not regulate editor to the special efficacy parameter of this special efficacy.
The concrete mode of deleting out-of-date special efficacy parameter is:
Use the sign ID of special efficacy parameter and the special efficacy parameter of current special efficacy version to compare one by one, check whether the sign ID of special efficacy parameter in the project file is present in the current special efficacy version, and parameter attribute is identical, if then keep this special efficacy parameter; Then delete this special efficacy parameter if not.
The concrete mode of adding new special efficacy parameter is:
With the special efficacy parameter of current special efficacy version one by one with project file in the special efficacy parameter compare, check whether the special efficacy parameter of current this edition of special efficacy is present in the special efficacy of project file, if then keep intact; Then this special efficacy parameter is joined in the special efficacy parameter of project file if not, and this parameter is used as default.
Through the deletion of above-mentioned special efficacy special efficacy parameter and the circular treatment of interpolation, up to all special efficacys and current special efficacy edition compatibility.
When special efficacy is not online when being off-line, this special efficacy is created out, and this special efficacy is labeled as off-line; Can use special identifier symbol prompting user; And guarantee that the user no longer edits this special efficacy, one by one the parameter of this off-line special efficacy is created out simultaneously, but do not read the occurrence (because special efficacy off-line can't understand the concrete implication of this parameter) of parameter; And be to use the character string former state to keep the information of special efficacy parameter; Can the special efficacy data be preserved when can guarantee deposit like this, if next special efficacy is online, can be according to the online special efficacy of special efficacy data creation.Simultaneously the off-line special efficacy will have the topological relation of parameter, like this user which type of special efficacy can understand off-line special efficacy special efficacy be on earth descend off-line special efficacy so that can seek back this next time.For the off-line special efficacy, though the user can not carry out any active adjustment, if the key frame of some action need understanding special efficacy parameter the time, the present invention lets these operations can operate the key frame of off-line special efficacy the string value of analytical parameters.
Step S23: the preservation of special efficacy.
The present invention is in deposit; If finding a special efficacy is online special efficacy; Deposit directly changing into string value to all parameters of special efficacy, if find it is the off-line special efficacy, with the existing string value of managing to read off-line special efficacy parameter; They are deposited, when read to coil next time, can read the special efficacy parameter like this according to identity logic.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technology thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (9)

1. method that realizes the special efficacy edition compatibility may further comprise the steps:
(1) unique ID is set for each parameter of special efficacy;
(2) read project file, check whether special efficacy is online,, the special efficacy parameter of this special efficacy parameter and current special efficacy version is compared, delete out-of-date special efficacy parameter and add new special efficacy parameter if then read the special efficacy parameter;
Then create this special efficacy if not, this special efficacy is labeled as off-line, and create the topological relation of special efficacy parameter, use character string to preserve the information of special efficacy parameter;
(3) preserve project file, check whether special efficacy is online, preserve if then direct all special efficacy parameters with special efficacy change into character string; Then reading the existing character string of off-line special efficacy parameter if not preserves.
2. a kind of method that realizes the special efficacy edition compatibility as claimed in claim 1 is characterized in that: the ID of sign described in the step (1) is changeless in the life cycle of special efficacy.
3. a kind of method that realizes the special efficacy edition compatibility as claimed in claim 1 is characterized in that: in the step (2), the said online special efficacy that is meant exists in system, and the special efficacy parameter of this special efficacy in this project file is regulated editor; Said off-line is meant that special efficacy does not exist in system.
4. a kind of method that realizes the special efficacy edition compatibility as claimed in claim 1 is characterized in that: the concrete mode of the special efficacy parameter that deletion described in the step (2) is out-of-date is:
Use the sign ID of special efficacy parameter and the special efficacy parameter of current special efficacy version to compare one by one, check whether the sign ID of special efficacy parameter in the project file is present in the current special efficacy version, and parameter attribute is identical, if then keep this special efficacy parameter; Then delete this special efficacy parameter if not.
5. a kind of method that realizes the special efficacy edition compatibility as claimed in claim 1 is characterized in that: the concrete mode of adding new special efficacy parameter described in the step (2) is:
With the special efficacy parameter of current special efficacy version one by one with project file in the special efficacy parameter compare, check whether the special efficacy parameter of current this edition of special efficacy is present in the special efficacy of project file, if then remain unchanged; Then this special efficacy parameter is joined in the special efficacy parameter of project file if not, and this parameter is used as default.
6. a kind of method that realizes the special efficacy edition compatibility as claimed in claim 1 is characterized in that: in the step (2), for the off-line special efficacy, realize the operation to the key frame of special efficacy parameter through analyzing the character string of preserving the special efficacy parameter information.
7. system that realizes the special efficacy edition compatibility comprises with lower device:
The ID setting device: each parameter that is used to special efficacy is provided with a unique ID;
Parameter processing apparatus: be used for comparison, carry out the deletion and the interpolation of special efficacy parameter in the project file according to the special efficacy parameter of the special efficacy parameter of project file and current special efficacy version;
Special efficacy save set: be used for the preservation of project file special efficacy.
8. a kind of system that realizes the special efficacy edition compatibility as claimed in claim 7 is characterized in that: the concrete processing mode of said parameter processing apparatus is:
At first; The sign ID of the special efficacy parameter of use ID setting device setting and the special efficacy parameter of current special efficacy version are compared one by one; Whether the sign ID that checks special efficacy parameter in the project file is present in the current special efficacy version, and parameter attribute is identical, if then keep this special efficacy parameter; Then delete this special efficacy parameter if not;
Then, with the special efficacy parameter of current special efficacy version one by one with project file in the special efficacy parameter compare, check whether the special efficacy parameter of current this edition of special efficacy is present in the special efficacy of project file, if then keep intact; Then this special efficacy parameter is joined in the special efficacy parameter of project file if not, and this parameter is used as default.
9. a kind of system that realizes the special efficacy edition compatibility as claimed in claim 7 is characterized in that: said special efficacy save set is that the character string of special efficacy parameter is preserved.
CN201010612621.7A 2010-12-29 2010-12-29 Method and system for realizing compatibility of special-effect version Expired - Fee Related CN102567935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010612621.7A CN102567935B (en) 2010-12-29 2010-12-29 Method and system for realizing compatibility of special-effect version

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010612621.7A CN102567935B (en) 2010-12-29 2010-12-29 Method and system for realizing compatibility of special-effect version

Publications (2)

Publication Number Publication Date
CN102567935A true CN102567935A (en) 2012-07-11
CN102567935B CN102567935B (en) 2017-04-12

Family

ID=46413291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010612621.7A Expired - Fee Related CN102567935B (en) 2010-12-29 2010-12-29 Method and system for realizing compatibility of special-effect version

Country Status (1)

Country Link
CN (1) CN102567935B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109963083A (en) * 2019-04-10 2019-07-02 Oppo广东移动通信有限公司 Image processor, image processing method, filming apparatus and electronic equipment
CN110147231A (en) * 2019-05-23 2019-08-20 腾讯科技(深圳)有限公司 Combine special efficacy generation method, device and storage medium
WO2021169811A1 (en) * 2020-02-26 2021-09-02 百果园技术(新加坡)有限公司 Method, apparatus, system and device for generating special effects, and storage medium
WO2022116552A1 (en) * 2020-12-02 2022-06-09 深圳市前海手绘科技文化有限公司 Method for finding and presenting version differences of produced short videos

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571978A (en) * 2001-10-18 2005-01-26 微软公司 Extensible file format
US20080010587A1 (en) * 2004-11-12 2008-01-10 Justsystems Corporation Document Processing Device and Document Processing Method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1571978A (en) * 2001-10-18 2005-01-26 微软公司 Extensible file format
US20080010587A1 (en) * 2004-11-12 2008-01-10 Justsystems Corporation Document Processing Device and Document Processing Method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
应国虎等: "基于非线性编辑系统"套底"技术的新模式", 《上海师范大学学报(自然科学版)》, vol. 37, no. 6, 15 December 2008 (2008-12-15) *
李莉: "《五笔字型输入与排版》", 30 September 2010, article "第二部分 Word 2007文本的基础知识", pages: 108 *
杨廷贵: "《新编Premiere Pro CS3视频编辑入门提高与技巧》", 31 July 2008, article "Chapter 06 在影片中加入视频特效" *
王琦等: "《Autodesk Combustion 4 标准培训教材》", 30 April 2007, article "第9章 特效操作", pages: 355-366 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109963083A (en) * 2019-04-10 2019-07-02 Oppo广东移动通信有限公司 Image processor, image processing method, filming apparatus and electronic equipment
US11328449B2 (en) 2019-04-10 2022-05-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing apparatus, method for image processing, and electronic device
CN110147231A (en) * 2019-05-23 2019-08-20 腾讯科技(深圳)有限公司 Combine special efficacy generation method, device and storage medium
WO2021169811A1 (en) * 2020-02-26 2021-09-02 百果园技术(新加坡)有限公司 Method, apparatus, system and device for generating special effects, and storage medium
WO2022116552A1 (en) * 2020-12-02 2022-06-09 深圳市前海手绘科技文化有限公司 Method for finding and presenting version differences of produced short videos

Also Published As

Publication number Publication date
CN102567935B (en) 2017-04-12

Similar Documents

Publication Publication Date Title
US20190207881A1 (en) Messaging System Apparatuses Circuits and Methods of Operation Thereof
US20150277898A1 (en) Upgrade packet generation method, server, software upgrade method, and mobile terminal
CN103119550A (en) Storing electronic content with time-varying properties
CN102769687B (en) Mass texting system and method
CN104737135B (en) The information processing terminal and synchronisation control means
WO2019114136A1 (en) H5 activity page production method, electronic device and readable storage medium
CN103761136A (en) Method for dynamically loading data model based on plug-in
CN110413282B (en) Redundant resource processing method, device, equipment and storage medium
US10650085B2 (en) Providing interactive preview of content within communication
CN104158858A (en) Method and system for accessing distributed cluster file system
CN105338391A (en) Intelligent television control method and mobile terminal
CN105677789A (en) Method and system for managing directory capacity of distributed file system
WO2017036183A1 (en) Differential upgrade package processing method and device, upgrade method, system and device
CN103617519A (en) Communication information processing method, device and system
TW201433930A (en) File tracking methods and network communication devices using the same
CN102567935A (en) Method and system for realizing compatibility of special-effect version
WO2017113317A1 (en) File editing method and file editor
CN103713926B (en) Method and system for updating software of client in advance
CN103198073A (en) Picture processing method and system
CN102739871B (en) Information sending method and device of mobile terminal
CN103944805A (en) Information updating method and system based on Wechat platform
KR101221672B1 (en) Data synchronization system
CN113791735A (en) Video data storage method and device, computer equipment and storage medium
JP2005327228A (en) Work flow system capable of specifying multiple approvers in same approval order
CN104484212A (en) Method and device for installing and deleting external storage files

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
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: 20170412

Termination date: 20191229