WO2016110204A1 - 处理对象的处理、插件生成方法及装置 - Google Patents

处理对象的处理、插件生成方法及装置 Download PDF

Info

Publication number
WO2016110204A1
WO2016110204A1 PCT/CN2015/099540 CN2015099540W WO2016110204A1 WO 2016110204 A1 WO2016110204 A1 WO 2016110204A1 CN 2015099540 W CN2015099540 W CN 2015099540W WO 2016110204 A1 WO2016110204 A1 WO 2016110204A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing
algorithm
processing step
parameter
plug
Prior art date
Application number
PCT/CN2015/099540
Other languages
English (en)
French (fr)
Inventor
段炎彪
楚汝峰
Original Assignee
阿里巴巴集团控股有限公司
段炎彪
楚汝峰
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 阿里巴巴集团控股有限公司, 段炎彪, 楚汝峰 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2016110204A1 publication Critical patent/WO2016110204A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a processing method and apparatus for processing an object, and a method and apparatus for generating a plug-in.
  • the embodiment of the invention provides a processing method and device for processing an object, and a method and device for generating a plug-in, which are used to reduce the complexity of processing the processing object, so as to achieve a new effect.
  • the client obtains a plug-in corresponding to the processing algorithm required to process the object
  • the client parses the plug-in, and obtains a processing step and a parameter corresponding to each processing step;
  • the client processes the processing object by using the processing step and corresponding parameters.
  • the client can obtain the plug-in corresponding to the processing algorithm required for processing the object, parse the plug-in, obtain the processing step and the parameter corresponding to each processing step, and use the processing step and the corresponding parameter to process the object. Processing allows for easier processing of the processed objects to achieve new results without the need to update or upgrade the software.
  • the processing object is a multimedia file.
  • the processing algorithm is an algorithm for rendering a multimedia file.
  • the client processes the processing object by using the processing step and the corresponding parameter, including:
  • the client selects an algorithm for performing each processing step from a preset algorithm library
  • the client calculates a corresponding parameter value according to the parameter corresponding to each processing step
  • the client invokes an algorithm that performs the first processing step, processes the processing object according to the parameter value of the parameter corresponding to the first processing step, and then invokes an algorithm that performs the second processing step, corresponding to the second processing step.
  • the parameter value of the parameter, the processing object is processed, and so on, until the algorithm that executes the last processing step is called, and the processing object is processed according to the parameter value of the parameter corresponding to the last processing step.
  • the steps corresponding to each effect are resolved into the processing steps and the parameters corresponding to each processing step;
  • the processing step and the parameters corresponding to each processing step are packaged to generate a plug-in.
  • the method further comprises: adding the plugin to the plugin library.
  • a download unit configured to obtain a plug-in corresponding to a processing algorithm required to process the object
  • a parsing unit configured to parse the plug-in, and obtain a processing step and a parameter corresponding to each processing step
  • a processing unit configured to process the processing object by using the processing step and the corresponding parameter.
  • the processing object is a multimedia file.
  • the processing algorithm is an algorithm for rendering a multimedia file.
  • the processing unit is specifically configured to:
  • a processing unit configured to process the processing object, and record a step corresponding to each effect in the processing process
  • the parsing unit is configured to, for each step corresponding to each effect, combine the corresponding processing algorithm, and parse the step corresponding to the effect into a processing step and a parameter corresponding to each processing step;
  • a packaging unit configured to package the processing step and parameters corresponding to each processing step to generate a plug-in.
  • the packaging unit is further configured to: add the plugin to the plugin library.
  • FIG. 1 is a schematic flowchart of a processing method of a processing object according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a processing principle of a processing object according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for generating a plug-in according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a principle of generating a plug-in according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a processing device for processing an object according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a plug-in generating apparatus according to an embodiment of the present invention.
  • the embodiment of the invention provides a processing method and device for processing an object, and a method and device for generating a plug-in, which are used to reduce the complexity of processing the processing object, so as to achieve a new effect.
  • the processing object is a multimedia file
  • the processing algorithm is an example for rendering a multimedia file as an example.
  • the present invention is implemented. The technical solutions provided in the examples are equally applicable.
  • the embodiment of the present invention designs a plug-in open special effects system framework, and provides a set of authoring tools for the designer to convert the professional professional special effects processing steps into plug-ins. And push the plugin to the user's client through the server. Makes the process of creating special effects simple and easy, without writing code. Clients can add new effects at any time without having to update the software.
  • the embodiment of the present invention first analyzes a processing algorithm that causes a processing object to achieve a specific effect, and then decomposes the processing flow of the algorithm into superpositions of the respective processing steps, and the effect of each step depends on the selected parameters. Then, these steps and corresponding parameters are packaged to generate a plug-in corresponding to the specific effect. Subsequently, the plug-in is downloaded on the client and parsed, and the processing objects such as pictures, videos or sounds are processed according to the obtained steps and parameters. Since the plug-in corresponding to the specific effect is placed in the database of the server, the client user can conveniently browse and download.
  • a processing method for processing an object includes:
  • the client acquires a plug-in corresponding to a processing algorithm required for processing the object;
  • the client parses the plug-in, and obtains a processing step and a parameter corresponding to each processing step.
  • the plug-in encodes the processing flow list and the corresponding parameter list in a specified file format.
  • the file can be read according to the previously defined manner.
  • the client processes the processing object by using the processing step and corresponding parameters.
  • the processing object is a multimedia file.
  • the processing algorithm is an algorithm for rendering a multimedia file.
  • the processing principle of the processing object provided by the embodiment of the present invention is as shown in FIG. 2.
  • the client downloads the plug-in from the plug-in library on the server side, and then parses the processing, and obtains the processing steps and parameters corresponding to each processing step, for example, as shown in FIG. 2 .
  • Step 1, step 2, step 3, step 4, step 5, ..., and the parameters corresponding to each step that is, parameter one corresponding to step one, parameter two corresponding to step two, step three
  • Corresponding parameter three, step four corresponding parameter four, step five corresponding parameter five ... it should be noted that the corresponding parameter of each step may be one or more, Specifically, it refers to categories, rather than specific values. The specific values are determined according to actual needs. For example, a certain parameter is the gray level of the image or the processing window size.
  • the client processes the processing object by using the processing step and the corresponding parameter, including:
  • the client selects an algorithm for performing each processing step from a preset algorithm library
  • the client calculates a corresponding parameter value according to the parameter corresponding to each processing step
  • the client invokes an algorithm that performs the first processing step, processes the processing object according to the parameter value of the parameter corresponding to the first processing step, and then invokes an algorithm that performs the second processing step, corresponding to the second processing step.
  • the parameter value of the parameter, the processing object is processed, and so on, until the algorithm that executes the last processing step is called, and the processing object is processed according to the parameter value of the parameter corresponding to the last processing step.
  • the algorithm library is an algorithm library pre-stored in the client, and different steps need to achieve different effects, so the corresponding algorithm needs to be processed, and the algorithms are pre-stored in the algorithm library, when needed. Just call it.
  • the specific processing flow includes:
  • black and white sketches may have the following file definitions:
  • the process flow list consists of two steps: step one, calculating the image gradient, and step two, converting the color image to grayscale.
  • step one calculates the filter window size used by the gradient
  • step two calculates the filter window size used by the gradient
  • a calculation gradient algorithm module for executing the algorithm of step one
  • a color to gray algorithm module for executing the algorithm of step two
  • the image is processed by the final image processing algorithm, that is, the calculation gradient algorithm is first called, the image is processed once according to the set parameters, and then the color-to-gray algorithm is called to process the image once.
  • the final image processing algorithm that is, the calculation gradient algorithm is first called, the image is processed once according to the set parameters, and then the color-to-gray algorithm is called to process the image once.
  • the above algorithm is used on the selected picture, and the picture is processed, so that the picture can be processed into a picture of a black and white sketch effect.
  • a method for generating the plug-in stored on a server side includes:
  • S202 Steps corresponding to each effect, combined with a corresponding processing algorithm, parse the step corresponding to the effect into a processing step and a parameter corresponding to each processing step;
  • the processing steps correspond to some specific algorithms. Taking black and white sketches as an example, “gradient” and “conversion” are processing steps, or corresponding algorithms.
  • the processing of the processing object is recorded in two steps, that is, the calculated image gradient and the color image are converted into gray scales, and the corresponding parameters are recorded. Record this information into the plugin (one or more files) according to a convention format, such as recording in the following format:
  • the method further comprises: adding the plugin to the plugin library.
  • the plugin generation process is as follows:
  • the image processing tool is used to process the image, and the steps corresponding to each effect in the processing are recorded.
  • the steps corresponding to each effect are resolved into the processing steps and the parameters corresponding to each processing step.
  • the step includes two steps: step one, calculating an image gradient; and step two, converting the color image to grayscale.
  • the corresponding parameters of step one are: parameter one, calculate the filter window size used by the gradient; the corresponding parameters of step two are: parameter two, color to gray scale has no parameters.
  • the parsed steps and corresponding parameters are packaged, plugins are generated, and added to the plugin library.
  • the designer generates the plug-in and uploads it to the cloud.
  • the user can directly access and use the plug-in process without a software upgrade on the client side.
  • the process participants do not need to work on the program code.
  • For complex multimedia files Process and modular splitting, algorithm encapsulation of processing methods, packaging of processes and parameters into a plug-in file processing method, thereby making it easier to implement processing of processing objects to achieve special effects of processing objects.
  • a processing device for processing an object includes:
  • the downloading unit 11 is configured to acquire a plug-in corresponding to a processing algorithm required for processing the object;
  • the parsing unit 12 is configured to parse the plug-in, and obtain a processing step and a parameter corresponding to each processing step;
  • the processing unit 13 is configured to process the processing object by using the processing step and the corresponding parameter.
  • the processing object is a multimedia file.
  • the processing algorithm is an algorithm for rendering a multimedia file.
  • the processing unit is specifically configured to:
  • Each of the above units can be implemented by a physical device such as a processor.
  • a plug-in generating apparatus provided by an embodiment of the present invention includes:
  • the processing unit 21 is configured to process the processing object, and record a step corresponding to each effect in the processing process;
  • the parsing unit 22 is configured to, for each step corresponding to each effect, combine the corresponding processing algorithm, and parse the step corresponding to the effect into a processing step and a parameter corresponding to each processing step;
  • a packaging unit 23 configured to package the processing step and parameters corresponding to each processing step, Generate plugins.
  • the packaging unit is further configured to: add the plugin to the plugin library.
  • Each of the above units can be implemented by a physical device such as a processor.
  • the plug-in generating device and the processing device (plug-in using system) provided in the embodiments of the present invention can be run on various types of devices, such as a PC, a tablet, a smart phone, and the like.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

一种处理对象的处理方法及装置、一种插件生成方法及装置,用以降低对处理对象进行处理的复杂度,以达到新的效果。所述处理对象的处理方法包括:客户端获取处理对象所需的处理算法对应的插件(S101);所述客户端对所述插件进行解析,获取处理步骤和每一处理步骤对应的参数(S102);所述客户端利用所述处理步骤和对应的参数,对处理对象进行处理(S103)。

Description

处理对象的处理、插件生成方法及装置 技术领域
本发明涉及通信技术领域,尤其涉及一种处理对象的处理方法及装置、一种插件生成方法及装置。
背景技术
近些年来,随着移动设备的拍照、录像等功能成为标配,多媒体处理应用越来越广泛。
目前市面上的多媒体处理软件的特效功能需要设计师进行创作,然后由开发工程师将其用代码实现,而用户需要进行软件升级才能使用并得到新的处理效果。
因此,现有技术存在以下三个问题:
1.设计师创作新的效果需要依赖程序员的实现,沟通成本高;
2.新的效果开发需要针对多媒体处理应用新写代码,人力成本高;
3.用户必须通过升级多媒体处理应用,才能使用新效果。
综上所述,现有技术中对处理对象的处理若要实现新的效果,实现过程复杂、效率低。
发明内容
本发明实施例提供了一种处理对象的处理方法及装置、一种插件生成方法及装置,用以降低对处理对象进行处理的复杂度,以达到新的效果。
本发明实施例提供的一种处理对象的处理方法,包括:
客户端获取处理对象所需的处理算法对应的插件;
所述客户端对所述插件进行解析,获取处理步骤和每一处理步骤对应的参数;
所述客户端利用所述处理步骤和对应的参数,对处理对象进行处理。
通过该方法,客户端可以获取处理对象所需的处理算法对应的插件对所述插件进行解析,获取处理步骤和每一处理步骤对应的参数,利用所述处理步骤和对应的参数,对处理对象进行处理,从而可以更加便捷地实现对处理对象的处理,以达到新的效果,无需更新或升级相应软件。
较佳地,所述处理对象为多媒体文件。
较佳地,所述处理算法为用于对多媒体文件进行渲染的算法。
较佳地,所述客户端利用所述处理步骤和对应的参数,对处理对象进行处理,包括:
所述客户端从预设的算法库中选取执行每一处理步骤的算法;
所述客户端根据所述每一处理步骤对应的参数,计算对应的参数值;
所述客户端调用执行第一处理步骤的算法,根据该第一处理步骤对应的参数的参数值,对处理对象进行处理,然后再调用执行第二处理步骤的算法,根据该第二处理步骤对应的参数的参数值,对该处理对象进行处理,以此类推,直到调用执行最后处理步骤的算法,根据该最后处理步骤对应的参数的参数值,对处理对象进行处理。
本发明实施例提供的一种插件生成方法,包括:
对处理对象进行处理,记录处理过程中的每一效果对应的步骤;
针对每一效果对应的步骤,结合相应的处理算法,将该效果对应的步骤解析为处理步骤和每一处理步骤对应的参数;
将所述处理步骤和每一处理步骤对应的参数进行打包,生成插件。
较佳地,该方法还包括:将所述插件加入到插件库。
本发明实施例提供的一种处理对象的处理装置,包括:
下载单元,用于获取处理对象所需的处理算法对应的插件;
解析单元,用于对所述插件进行解析,获取处理步骤和每一处理步骤对应的参数;
处理单元,用于利用所述处理步骤和对应的参数,对处理对象进行处理。
较佳地,所述处理对象为多媒体文件。
较佳地,所述处理算法为用于对多媒体文件进行渲染的算法。
较佳地,所述处理单元具体用于:
从预设的算法库中选取执行每一处理步骤的算法;
根据所述每一处理步骤对应的参数,计算对应的参数值;
调用执行第一处理步骤的算法,根据该第一处理步骤对应的参数的参数值,对处理对象进行处理,然后再调用执行第二处理步骤的算法,根据该第二处理步骤对应的参数的参数值,对该处理对象进行处理,以此类推,直到调用执行最后处理步骤的算法,根据该最后处理步骤对应的参数的参数值,对处理对象进行处理。
本发明实施例提供的一种插件生成装置,包括:
处理单元,用于对处理对象进行处理,记录处理过程中的每一效果对应的步骤;
解析单元,用于针对每一效果对应的步骤,结合相应的处理算法,将该效果对应的步骤解析为处理步骤和每一处理步骤对应的参数;
打包单元,用于将所述处理步骤和每一处理步骤对应的参数进行打包,生成插件。
较佳地,所述打包单元还用于:将所述插件加入到插件库。
附图说明
图1为本发明实施例提供的一种处理对象的处理方法的流程示意图;
图2为本发明实施例提供的一种处理对象的处理原理示意图;
图3为本发明实施例提供的一种插件生成方法的流程示意图;
图4为本发明实施例提供的一种插件生成的原理示意图;
图5为本发明实施例提供的一种处理对象的处理装置的结构示意图;
图6为本发明实施例提供的一种插件生成装置的结构示意图。
具体实施方式
本发明实施例提供了一种处理对象的处理方法及装置、一种插件生成方法及装置,用以降低对处理对象进行处理的复杂度,以达到新的效果。
本发明实施例中,以所述处理对象为多媒体文件,所述处理算法为用于对多媒体文件进行渲染的算法为例进行说明,当然对于其他类型的处理对象及相应的处理算法,本发明实施例提供的技术方案同样适用。
为了满足变化越来越丰富的多媒体特效处理需求,本发明实施例设计了一种插件化的开放特效系统框架,为设计师提供一套创作工具,能够将设计师专业的特效处理步骤转化为插件,并通过服务器将插件推送到用户的客户端上。使得创作特效的过程变得简单方便,无需编写代码。客户端可以随时添加新的特效,无需更新软件。
本发明实施例首先对使得处理对象达到特定效果的处理算法进行分析,然后把该算法的处理流程分解成各个处理步骤的叠加,每个步骤的效果取决于选择的参数。然后,将这些步骤和对应的参数打包生成该特定效果对应的插件。后续,在客户端上下载该插件,并对其进行解析,根据得到的步骤和参数,对图片、视频或者声音等处理对象进行处理。由于特定效果对应的插件放在了服务器的数据库中,客户端用户能够方便的浏览和下载。
参见图1,在客户端,本发明实施例提供的一种处理对象的处理方法,包括:
S101、客户端获取处理对象所需的处理算法对应的插件;
S102、所述客户端对所述插件进行解析,获取处理步骤和每一处理步骤对应的参数;
插件中以一种规定好的文件格式对处理流程列表和对应的参数列表进行编码,在解析的时候,只要根据之前定义好的方式读取文件即可。
S103、所述客户端利用所述处理步骤和对应的参数,对处理对象进行处理。
较佳地,所述处理对象为多媒体文件。
较佳地,所述处理算法为用于对多媒体文件进行渲染的算法。
本发明实施例提供的处理对象的处理原理参见图2,客户端从服务器侧的插件库,下载插件,然后进行解析,获取处理步骤和每一处理步骤对应的参数,例如图2中所示的步骤一、步骤二、步骤三、步骤四、步骤五......,以及与每一步骤相对应的参数,即步骤一对应的参数一,步骤二对应的参数二,步骤三对应的参数三,步骤四对应的参数四,步骤五对应的参数五......,这里需要说明的是,每一步骤对应的参数,可以是一个也可以是多个,具体的是指类别,而不是具体的取值,具体的取值,是要根据实际需要而定的,例如,某一参数为图像的灰度或者处理窗口大小等等。
较佳地,所述客户端利用所述处理步骤和对应的参数,对处理对象进行处理,包括:
所述客户端从预设的算法库中选取执行每一处理步骤的算法;
所述客户端根据所述每一处理步骤对应的参数,计算对应的参数值;
所述客户端调用执行第一处理步骤的算法,根据该第一处理步骤对应的参数的参数值,对处理对象进行处理,然后再调用执行第二处理步骤的算法,根据该第二处理步骤对应的参数的参数值,对该处理对象进行处理,以此类推,直到调用执行最后处理步骤的算法,根据该最后处理步骤对应的参数的参数值,对处理对象进行处理。
其中,所述的算法库,是预先存储在客户端本地的算法库,不同步骤需要达到不同的效果,因此需要采用相应的算法进行处理,而这些算法就是预先存储在算法库中的,需要时直接调取即可。
以黑白素描效果处理图片为例,具体的处理流程包括:
从插件库选取黑白素描效果插件;
对所述黑白素描效果插件进行解析,获取到一个处理流程列表和一个相应 的参数列表。
举例说明,黑白素描可能有如下文件定义:
<插件>
    <名称>黑白素描</名称>
    <梯度>3</梯度>
    <转换>彩色转黑白</转换>
</插件>
上面只是一个示意,实际使用中可以更复杂。在解析的时候,通过xml文件结构,能够方便地知道处理对象名称叫“黑白素描”,有两个步骤,分别是“梯度”和“转换”,而“3”和“彩色转黑白”就是对参数的描述。
在本例中,处理流程列表包含两个步骤:步骤一、计算图像梯度;步骤二、将彩色图像转为灰度。步骤一相应的参数是:参数一、计算梯度使用的滤波窗口大小;步骤二对应的参数是:参数二、彩色转灰度没有参数。
根据流程列表,在多媒体算法库中选取计算梯度算法模块(用于执行步骤一的算法)和彩色转灰度算法模块(用于执行步骤二的算法)。
根据参数列表,设置计算梯度的滤波窗口大小。
利用最终的图像处理算法对图像进行处理,即先调用计算梯度算法,根据设置好的参数,对图像进行一次处理,然后调用彩色转灰度算法对图像进行一次处理。
通过上述过程,将以上算法使用在选定的图片上,对该图片进行处理,从而可以将该图片处理为黑白素描效果的图片。
相应地,参见图3,本发明实施例提供的一种保存在服务器侧的所述插件的生成方法,包括:
S201、对处理对象进行处理,记录处理过程中的每一效果对应的步骤;
S202、针对每一效果对应的步骤,结合相应的处理算法,将该效果对应的步骤解析为处理步骤和每一处理步骤对应的参数;
处理步骤对应的是一些具体算法,以黑白素描为例,“梯度”和“转换”是处理步骤,或者说对应的算法。
以黑白素描为例,在S201中,记录到了对处理对象的处理包含两个步骤,分别是计算图像梯度和彩色图像转换为灰度,同时记录到了对应的参数。根据一个约定好的格式,把这些信息记录到插件(一个或多个文件)中,比如按照下面的格式进行记录:
<插件>
    <名称>黑白素描</名称>
    <梯度>3</梯度>
    <转换>彩色转黑白</转换>
</插件>
S203、将所述处理步骤和每一处理步骤对应的参数进行打包,生成插件。
较佳地,该方法还包括:将所述插件加入到插件库。
参见图4,还以黑白素描效果处理图片为例,插件生成流程如下:
采用图像处理工具对图像进行处理,记录处理过程中的每一效果对应的步骤。
针对每一效果对应的步骤,结合相应的处理算法,将该效果对应的步骤解析为处理步骤和每一处理步骤对应的参数。
本例中,步骤包括两个步骤:步骤一、计算图像梯度;步骤二、将彩色图像转为灰度。步骤一相应的参数是:参数一、计算梯度使用的滤波窗口大小;步骤二对应的参数是:参数二、彩色转灰度没有参数。
将解析出的步骤和对应的参数进行打包,生成插件,并加入到插件库中。
综上,本发明实施例中提出将市面上的多媒体文件处理特效抽象成有限处理步骤的排列组合,特效处理=(处理步骤+处理参数)的列表=特效插件。设计师生成插件并上传到云端,用户在客户端无需软件升级可以直接获取和使用插件的流程,该流程参与者都无需涉及程序代码工作。对复杂的多媒体文件处 理进行流程化和模块化拆分,对处理方式进行算法封装,将流程和参数打包成插件文件的处理方式,由此更易于实现对处理对象的处理,以实现处理对象的特殊效果。
参见图5,在客户端,本发明实施例提供的一种处理对象的处理装置,包括:
下载单元11,用于获取处理对象所需的处理算法对应的插件;
解析单元12,用于对所述插件进行解析,获取处理步骤和每一处理步骤对应的参数;
处理单元13,用于利用所述处理步骤和对应的参数,对处理对象进行处理。
较佳地,所述处理对象为多媒体文件。
较佳地,所述处理算法为用于对多媒体文件进行渲染的算法。
较佳地,所述处理单元具体用于:
从预设的算法库中选取执行每一处理步骤的算法;
根据所述每一处理步骤对应的参数,计算对应的参数值;
调用执行第一处理步骤的算法,根据该第一处理步骤对应的参数的参数值,对处理对象进行处理,然后再调用执行第二处理步骤的算法,根据该第二处理步骤对应的参数的参数值,对该处理对象进行处理,以此类推,直到调用执行最后处理步骤的算法,根据该最后处理步骤对应的参数的参数值,对处理对象进行处理。
以上各单元均可以由处理器等实体装置实现。
参见图6,在服务器端,本发明实施例提供的一种插件生成装置,包括:
处理单元21,用于对处理对象进行处理,记录处理过程中的每一效果对应的步骤;
解析单元22,用于针对每一效果对应的步骤,结合相应的处理算法,将该效果对应的步骤解析为处理步骤和每一处理步骤对应的参数;
打包单元23,用于将所述处理步骤和每一处理步骤对应的参数进行打包, 生成插件。
较佳地,所述打包单元还用于:将所述插件加入到插件库。
以上各单元均可以由处理器等实体装置实现。
本发明实施例中提供的插件生成装置和处理对象的处理装置(插件使用系统)可以运行在各类设备上,例如PC、平板电脑、智能手机等。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发 明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (12)

  1. 一种处理对象的处理方法,其特征在于,该方法包括:
    客户端获取处理对象所需的处理算法对应的插件;
    所述客户端对所述插件进行解析,获取处理步骤和每一处理步骤对应的参数;
    所述客户端利用所述处理步骤和对应的参数,对处理对象进行处理。
  2. 根据权利要求1所述的方法,其特征在于,所述处理对象为多媒体文件。
  3. 根据权利要求2所述的方法,其特征在于,所述处理算法为用于对多媒体文件进行渲染的算法。
  4. 根据权利要求1所述的方法,其特征在于,所述客户端利用所述处理步骤和对应的参数,对处理对象进行处理,包括:
    所述客户端从预设的算法库中选取执行每一处理步骤的算法;
    所述客户端根据所述每一处理步骤对应的参数,计算对应的参数值;
    所述客户端调用执行第一处理步骤的算法,根据该第一处理步骤对应的参数的参数值,对处理对象进行处理,然后再调用执行第二处理步骤的算法,根据该第二处理步骤对应的参数的参数值,对该处理对象进行处理,以此类推,直到调用执行最后处理步骤的算法,根据该最后处理步骤对应的参数的参数值,对处理对象进行处理。
  5. 一种插件生成方法,其特征在于,该方法包括:
    对处理对象进行处理,记录处理过程中的每一效果对应的步骤;
    针对每一效果对应的步骤,结合相应的处理算法,将该效果对应的步骤解析为处理步骤和每一处理步骤对应的参数;
    将所述处理步骤和每一处理步骤对应的参数进行打包,生成插件。
  6. 根据权利要求5所述的方法,其特征在于,该方法还包括:将所述插件加入到插件库。
  7. 一种处理对象的处理装置,其特征在于,该装置包括:
    下载单元,用于获取处理对象所需的处理算法对应的插件;
    解析单元,用于对所述插件进行解析,获取处理步骤和每一处理步骤对应的参数;
    处理单元,用于利用所述处理步骤和对应的参数,对处理对象进行处理。
  8. 根据权利要求7所述的装置,其特征在于,所述处理对象为多媒体文件。
  9. 根据权利要求8所述的装置,其特征在于,所述处理算法为用于对多媒体文件进行渲染的算法。
  10. 根据权利要求7所述的装置,其特征在于,所述处理单元具体用于:
    从预设的算法库中选取执行每一处理步骤的算法;
    根据所述每一处理步骤对应的参数,计算对应的参数值;
    调用执行第一处理步骤的算法,根据该第一处理步骤对应的参数的参数值,对处理对象进行处理,然后再调用执行第二处理步骤的算法,根据该第二处理步骤对应的参数的参数值,对该处理对象进行处理,以此类推,直到调用执行最后处理步骤的算法,根据该最后处理步骤对应的参数的参数值,对处理对象进行处理。
  11. 一种插件生成装置,其特征在于,该装置包括:
    处理单元,用于对处理对象进行处理,记录处理过程中的每一效果对应的步骤;
    解析单元,用于针对每一效果对应的步骤,结合相应的处理算法,将该效果对应的步骤解析为处理步骤和每一处理步骤对应的参数;
    打包单元,用于将所述处理步骤和每一处理步骤对应的参数进行打包,生成插件。
  12. 根据权利要求11所述的装置,其特征在于,所述打包单元还用于:将所述插件加入到插件库。
PCT/CN2015/099540 2015-01-07 2015-12-29 处理对象的处理、插件生成方法及装置 WO2016110204A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510006823.XA CN105824608B (zh) 2015-01-07 2015-01-07 处理对象的处理、插件生成方法及装置
CN201510006823.X 2015-01-07

Publications (1)

Publication Number Publication Date
WO2016110204A1 true WO2016110204A1 (zh) 2016-07-14

Family

ID=56355510

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/099540 WO2016110204A1 (zh) 2015-01-07 2015-12-29 处理对象的处理、插件生成方法及装置

Country Status (2)

Country Link
CN (1) CN105824608B (zh)
WO (1) WO2016110204A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106341534A (zh) * 2016-08-31 2017-01-18 广州品唯软件有限公司 一种客户端关键算法添加方法、系统、客户端和服务端
CN111176663B (zh) * 2019-12-20 2024-02-02 抖音视界有限公司 应用程序的数据处理方法、装置、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071372A (zh) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 一种脚本内核管理方法及系统
US20090300597A1 (en) * 2008-06-02 2009-12-03 Microsoft Corporation Application loading
CN103455967A (zh) * 2013-06-09 2013-12-18 厦门美图网科技有限公司 一种图片特效在线化处理方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1049381A (ja) * 1996-07-04 1998-02-20 Internatl Business Mach Corp <Ibm> 複数のデータ処理要求の処理方法及び処理システム、プログラムの実行方法及びシステム
CN101436306B (zh) * 2008-12-19 2013-03-27 北京中星微电子有限公司 一种实现图像特效的方法、装置和视频显示卡
CN101938376A (zh) * 2010-09-08 2011-01-05 中兴通讯股份有限公司 一种实现网管客户端功能使用的方法和系统
CN102520968B (zh) * 2011-12-28 2015-04-15 用友软件股份有限公司 可个性化定制的流程设计与展现装置及方法
CN103645923B (zh) * 2013-12-26 2017-08-01 浙江宇天科技股份有限公司 一种插件安装方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071372A (zh) * 2007-03-30 2007-11-14 腾讯科技(深圳)有限公司 一种脚本内核管理方法及系统
US20090300597A1 (en) * 2008-06-02 2009-12-03 Microsoft Corporation Application loading
CN103455967A (zh) * 2013-06-09 2013-12-18 厦门美图网科技有限公司 一种图片特效在线化处理方法

Also Published As

Publication number Publication date
CN105824608A (zh) 2016-08-03
CN105824608B (zh) 2019-06-28

Similar Documents

Publication Publication Date Title
CN109242934B (zh) 一种动画代码的生成方法及设备
CN105518673B (zh) 管理数据摄取
CN110442330A (zh) 列表组件转换方法、装置、电子设备及存储介质
US11949848B2 (en) Techniques to capture and edit dynamic depth images
CN111290778A (zh) Ai模型的包装方法、平台及电子设备
WO2016058488A1 (zh) 一种用于提供sdk文件的方法与设备
CN108257205B (zh) 一种三维模型构建方法、装置及系统
JP7047068B2 (ja) メディア作品にカスタムアルゴリズムを実行するための拡張可能な手法
WO2016161890A1 (zh) 一种数据上传的方法及其装置
CN109358833B (zh) 一种音频播放方法及系统、一种计算设备及存储介质
CN103246830A (zh) 客户端脚本的加密处理方法及装置和解密处理方法及装置
CN111428880A (zh) 隐私机器学习实现方法、装置、设备及存储介质
WO2023035935A1 (zh) 数据处理方法、装置、电子设备和存储介质
KR101388965B1 (ko) 디지털 사진의 드로잉 변환 방법
WO2016110204A1 (zh) 处理对象的处理、插件生成方法及装置
CN108153896B (zh) 针对输入数据、输出数据的处理方法及装置
CN109962972A (zh) 一种离线包重组方法及系统
CN110442343A (zh) 一种页面转换方法及页面转换装置
CN113938750A (zh) 视频处理方法、装置、电子设备和存储介质
KR20220142545A (ko) 복수의 정보원에서 얻는 정보 및 도구를 통일화하는 방법 및 이를 응용한 컴퓨터 프로그램 제품과 장치
KR20160072670A (ko) 웹기반 인터액티브 영상 제작시스템
CN115203674A (zh) 一种应用程序自动登录方法、系统、装置及存储介质
CN114327593A (zh) Unity打包Android生成aar的方法、系统及电子设备
CN104750691A (zh) 一种自定义网页生成方法及装置
US9052906B2 (en) Modularized customization of a model in a model driven development environment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15876704

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15876704

Country of ref document: EP

Kind code of ref document: A1