Material processing method, device, electronic equipment and storage medium

By receiving and transmitting parameter update information of material configuration operations, it is directly transmitted to the target processing module for adjustment, solving the problem of low material processing efficiency in the prior art, and achieving more efficient resource utilization and response speed.

CN112230982BActive Publication Date: 2024-12-31BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011102560.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-15
Publication Date
2024-12-31
Estimated Expiration
2040-12-31

AI Technical Summary

Technical Problem

Existing multimedia editing software is inefficient in material processing, and requires multiple processing modules to adjust the parameter information of multiple materials, resulting in large amount of data transmission and waste of resources.

Method used

By receiving parameter update information triggered by the material configuration operation, the target processing module is determined, and the parameter update information is transmitted to the module, and only the target module is adjusted to reduce data transmission and resource waste.

Benefits of technology

It improves the efficiency and response speed of material processing, reduces the resource waste of multiple processing modules, and improves the immediacy of user operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112230982B_ABST
    Figure CN112230982B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a material processing method, device, electronic device and storage medium. The method comprises: receiving a material configuration operation, obtaining parameter update information triggered by the material configuration operation; the material is a component included in a client for editing multimedia content; determining a target processing module corresponding to the parameter update information; the target processing module is at least one of a plurality of processing modules; transmitting the parameter update information to the target processing module; the target processing module is used to adjust the corresponding material according to the parameter update information after receiving the parameter update information. This solution reduces the amount of data transmission because only the modified parameter information needs to be transmitted to the target processing module; and also reduces the waste of execution resources of other processing modules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a material processing method, device, electronic equipment and storage medium. Background Art

[0002] Existing software with multimedia editing functions can provide a variety of materials for users to edit multimedia content, such as filters, beauty, magic expressions, mixing, etc. When using these materials to edit multimedia content, users can adjust or modify the materials, such as changing filters.

[0003] When the user adjusts or modifies the material, the traditional processing method needs to adjust the material parameter information of multiple materials through multiple processing modules, resulting in low material processing efficiency. Summary of the invention

[0004] The present disclosure provides a material processing method, device, electronic device and storage medium to at least solve the problem of low material processing efficiency in related technologies. The technical solution of the present disclosure is as follows:

[0005] In a first aspect, a material processing method includes:

[0006] Receiving a material configuration operation, and obtaining parameter update information triggered by the material configuration operation; the material is a component included in the client for editing multimedia content;

[0007] Determine a target processing module corresponding to the parameter update information; the target processing module is at least one of a plurality of processing modules, each of the plurality of processing modules being used to execute related functions of different materials;

[0008] The parameter update information is transmitted to the target processing module; the target processing module is used to adjust the corresponding material according to the parameter update information after receiving the parameter update information.

[0009] In one embodiment, the plurality of processing modules are modules in a software development kit of the client;

[0010] The determining of the target processing module corresponding to the parameter update information includes:

[0011] Determining the material to be adjusted according to the parameter update information;

[0012] The multiple processing modules of the software development kit of the client are queried, and a processing module corresponding to the material to be adjusted is determined as the target processing module.

[0013] In one embodiment, the method further comprises:

[0014] Acquire the material after the target processing module adjusts the material to be adjusted according to the parameter update information;

[0015] In one embodiment, the step of transmitting the parameter update information to the target processing module comprises:

[0016] storing the parameter update information in a target object file; the target object file and the dynamic link library file corresponding to the target processing module;

[0017] The parameter update information is transmitted to the target processing module via the target object file.

[0018] In one embodiment, transmitting the parameter update information to the target processing module through the target object file includes:

[0019] Acquire the type of the multimedia content to be edited currently; the multimedia content to be edited currently is the multimedia content on which the material to be adjusted currently acts;

[0020] If the type is a live broadcast type, transmitting the parameter update information to the target processing module through a first transmission mode;

[0021] In the first transmission mode, if it is detected that the parameter update information is stored in the target object file, a parameter update message is sent to the target processing module; the target processing module receives the parameter update message and obtains the parameter update information from the target object file through a preset program interface.

[0022] In one embodiment, it further includes:

[0023] If the type is a non-live broadcast type, transmitting the parameter update information to the target processing module through a second transmission mode;

[0024] In the second transmission mode, the target processing module monitors whether the information in the target object file changes according to a preset time period. If it is monitored that the information in the target object file changes, the parameter update information is obtained from the target object file through a preset program interface.

[0025] In a second aspect, a material processing device is provided, comprising:

[0026] A parameter update acquisition unit is configured to receive a material configuration operation and acquire parameter update information triggered by the material configuration operation; the material is a component included in the client for editing multimedia content;

[0027] a module determination unit configured to determine a target processing module corresponding to the parameter update information; the target processing module is at least one of a plurality of processing modules, each of the plurality of processing modules being used to execute related functions of different materials;

[0028] The parameter transmission unit is configured to transmit the parameter update information to the target processing module; the target processing module is used to adjust the corresponding material according to the parameter update information after receiving the parameter update information.

[0029] In one embodiment, the multiple processing modules are modules in a software development kit of the client; the module determination unit is specifically configured to execute:

[0030] Determining the material to be adjusted according to the parameter update information;

[0031] The multiple processing modules of the software development kit of the client are queried, and a processing module corresponding to the material to be adjusted is determined as the target processing module.

[0032] In one embodiment, the apparatus further comprises:

[0033] The content editing unit is configured to execute acquisition of the material after the target processing module adjusts the material to be adjusted according to the parameter update information, and process the current multimedia content to be edited according to the adjusted material.

[0034] In one embodiment, the parameter transmission unit is specifically configured to perform:

[0035] storing the parameter update information in a target object file; the target object file and the dynamic link library file corresponding to the target processing module;

[0036] The parameter update information is transmitted to the target processing module via the target object file.

[0037] In one embodiment, the parameter transmission unit is further configured to execute:

[0038] Acquire the type of the multimedia content to be edited currently; the multimedia content to be edited currently is the multimedia content on which the material to be adjusted currently acts;

[0039] If the type is a live broadcast type, transmitting the parameter update information to the target processing module through a first transmission mode;

[0040] In the first transmission mode, if it is detected that the parameter update information is stored in the target object file, a parameter update message is sent to the target processing module; the target processing module receives the parameter update message and obtains the parameter update information from the target object file through a preset program interface.

[0041] In one embodiment, the parameter transmission unit is further configured to execute:

[0042] If the type is a non-live broadcast type, transmitting the parameter update information to the target processing module through a second transmission mode;

[0043] In the second transmission mode, the target processing module monitors whether the information in the target object file changes according to a preset time period. If it is monitored that the information in the target object file changes, the parameter update information is obtained from the target object file through a preset program interface.

[0044] According to a third aspect, an electronic device is provided, including:

[0045] processor;

[0046] a memory for storing instructions executable by the processor;

[0047] The processor is configured to execute the instructions to implement any of the material processing methods described above.

[0048] In a fourth aspect, a storage medium is provided. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute any of the material processing methods described above.

[0049] In a fifth aspect, a computer program product is provided, the program product comprising a computer program, the computer program being stored in a readable storage medium, at least one processor of a device reading and executing the computer program from the readable storage medium, so that the device executes the material processing method described in any one of the embodiments of the first aspect.

[0050] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0051] When the user modifies the material used for multimedia content editing through the client, the corresponding parameter update information can be obtained, and the current parameter update information can be determined to which processing module it corresponds to, thereby determining the target processing module, and sending the current parameter update information to the target function module, so that the target function module adjusts the material corresponding to the target function module according to the current parameter update information. Since only the modified parameter information needs to be transmitted to the target processing module among the multiple processing modules, the amount of data transmission is greatly reduced; and since the information received by the target processing module is parameter update information, the target processing module does not need to determine whether the parameter has changed after receiving the parameter information, which reduces the execution resource waste of the target processing module; at the same time, only the target processing module among the multiple processing modules receives the parameter update information and executes the processing of the corresponding material, which also reduces the execution resource waste of other processing modules.

[0052] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0054] Figure 1 The present invention is a diagram showing an application environment of a material processing method according to an exemplary embodiment.

[0055] Figure 2 The figure is a flow chart of a material processing method according to an exemplary embodiment.

[0056] Figure 3 is a flowchart of a material processing method according to another exemplary embodiment.

[0057] Figure 4 is a flowchart of a material processing method according to yet another exemplary embodiment.

[0058] Figure 5 The figure is a specific transmission flow chart of parameter update information according to an exemplary embodiment.

[0059] Figure 6 The invention is a block diagram of a material processing device according to an exemplary embodiment.

[0060] Figure 7 The figure is a diagram showing the internal structure of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0061] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0062] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0063] The material processing method provided by the present disclosure can be applied to an electronic device, in which client software with multimedia editing functions is installed, such as short video client software with multimedia editing functions. Such client software can provide a variety of materials for users to edit multimedia content, such as Figure 1 The filters, beauty effects, magic expressions, and remixes shown in the figure. When using these materials to edit multimedia content, users can also adjust or modify the materials, such as changing the filters, beauty effects, or audio, to obtain adjusted materials.

[0064] In the present disclosure, materials can be understood as components contained in the client for editing multimedia content, and each material is embedded in the software development kit (SDK) of the client software through its corresponding usage interface.

[0065] The electronic device can also interact with the server through the network. After the user edits the multimedia content through the material, the user can also send the edited multimedia content to the server through the electronic device. The server is the server corresponding to the client software.

[0066] In the present disclosure, the electronic device may be, but is not limited to, various personal computers, laptops, smart phones, and tablet computers, and the server may be, but is not limited to, an independent server or a server cluster consisting of multiple servers.

[0067] As an example, the client software can provide a variety of materials such as filters, beauty, magic expressions, and mixing. When the user uses one or more of these materials to edit multimedia content, he can adjust or modify one or more of these materials to obtain personalized material content, which is used to edit multimedia content to obtain personalized content. In the traditional way, the parameters related to the client software will be stored in a default object, and the parameter information stored in the default object is shared by multiple processing modules (such as filter modules, beauty modules, audio processing modules, etc.) that execute various material functions in the client software. When the user modifies the material, the parameter information stored in the default object will be updated with the changed parameter information, and all the parameter information in the updated default object will be sent to multiple processing modules such as the filter module, beauty module, audio processing module, etc. After each processing module receives all the parameter information in the default object, it is determined whether the parameters related to the material function executed by itself in the received parameter information have changed. If there is a change, the corresponding material is adjusted according to the updated parameters.

[0068] For example, when the client software is running on the Android system, the Android system will create a unique Application class object for the client software. The life cycle of the application class object is equal to the life cycle of the client software. The material parameter information is shared with multiple processing modules of the client software through the Application class object. When the user changes the filter configuration, the parameter information stored in the Application class object is updated with the changed filter parameter information, and all the parameter information in the updated Application class object is sent to the filter processing module, the beauty processing module, and the audio processing module respectively. After the filter processing module receives all the parameter information in the Application class object, it determines that the parameters related to the filter function in the received parameter information have changed, and then adjusts the filter according to the updated parameters. After other processing modules receive all the parameter information of the Application class object, they determine that the parameters related to the material function they execute in the received parameter information have not changed, and then do not process it.

[0069] However, under the above-mentioned traditional method, each time the user modifies the material configuration, all material parameter information needs to be transmitted to multiple processing modules, and multiple processing modules need to determine whether the parameters related to the material functions executed by themselves in all the received parameter information are updated. Therefore, there is a problem of a large amount of data transmitted and a waste of execution resources of multiple processing modules.

[0070] Based on this, a material processing method shown in an exemplary embodiment of the present application is as follows Figure 2 As shown, the method is used for client software and includes the following steps.

[0071] Step 201: receiving a material configuration operation, and obtaining parameter update information triggered by the material configuration operation; the material is a component included in the client for editing multimedia content.

[0072] As described above, in the present disclosure, the client can provide filters, beauty, magic expressions, remixes and other materials for users to edit the multimedia content of the client. The materials can be understood as components contained in the client for editing multimedia content. Each material is embedded in the SDK of the client software through its corresponding usage interface.

[0073] Among them, the material configuration operation includes the user's adjustment or modification operation on one or more materials. Each material can contain multiple parameters. The user can adjust or modify one or more parameters according to actual needs. When the user's adjustment or modification operation on the material causes the material parameters to change, the corresponding parameter update information can be obtained according to the change in the material parameters.

[0074] For example, if the user modifies the filter and changes filter A to filter B, the obtained parameter update information may include the parameter information of filter A before the modification and the parameter information of filter B after the modification. The parameter update information may specifically include the parameter name and the corresponding parameter value, for example, the parameter name is the filter identification parameter and the corresponding parameter value is B (indicating filter B).

[0075] For another example, if the user adjusts the skin smoothing intensity and face thinning intensity in the beauty function, and adjusts the skin smoothing intensity from level 5 to level 8, and the face thinning intensity from level 5 to level 3, the obtained parameter update information may include the skin smoothing intensity parameter information and face thinning intensity parameter before adjustment corresponding to the beauty material, and the skin smoothing intensity parameter information and face thinning intensity parameter after adjustment. The parameter update information may specifically include the parameter name and the corresponding parameter value, for example, the parameter name is the skin smoothing intensity parameter, and the corresponding parameter value is 8 (indicating that the skin smoothing intensity is level 8).

[0076] The multimedia content of the material editing may be content shot in real time by the user through the client, or may be content pre-stored in the electronic device where the client is located.

[0077] Step 202, determining a target processing module corresponding to the parameter update information; the target processing module is at least one of a plurality of processing modules, each of the plurality of processing modules being used to execute related functions of different materials.

[0078] In the present disclosure, the client's SDK may include multiple processing modules, and different processing modules are used to execute related functions of different materials respectively. The multiple processing modules include but are not limited to: a filter processing module for executing filter-related functions such as displaying filters and adjusting filters, a magic watch processing module for executing magic watch-related functions such as displaying magic expressions and adjusting magic expressions, a beauty processing module for executing beauty-related functions such as adding beauty effects and adjusting beauty effects, and a mixing processing module for executing mixing-related functions such as adding music and adjusting music.

[0079] After receiving the parameter update information, it can be determined based on the parameter update information to which processing module among the multiple processing modules the current parameter update information corresponds, thereby determining the target processing module from the multiple processing modules; the target processing module corresponds to the current parameter update information, in other words, the target processing module can perform its corresponding material-related functions based on the current parameter update information, including but not limited to material processing or modification.

[0080] As an exemplary manner, the parameter update information obtained in the above steps may include parameter names and corresponding parameter values, so the target processing module corresponding to the current parameter update information may be determined according to the parameter names included in the parameter update information.

[0081] Step 203: Transmit the parameter update information to the target processing module; the target processing module is used to adjust the corresponding material according to the parameter update information after receiving the parameter update information.

[0082] If there are more than two target processing modules determined in the previous step, it is necessary to further identify to which target processing module each information in the parameter update information needs to be transmitted, and transmit them separately based on the identification result.

[0083] In the present disclosure, after receiving the parameter update information, only the parameter change information of the user's current operating material needs to be transmitted to the target processing module. The parameter information that has not changed and the parameter information of the material that the user is not currently operating will not be transmitted. Therefore, each time the user performs a material configuration operation, less parameter information needs to be transmitted.

[0084] Through the above embodiment, when the user modifies the material for multimedia content editing through the client, the corresponding parameter update information can be obtained, and it can be determined which processing module the current parameter update information corresponds to, thereby determining the target processing module, and sending the current parameter update information to the target function module, so that the target function module adjusts the material corresponding to the target function module according to the current parameter update information. For example, when the parameters related to the magic expression are updated, it can be determined that the current parameter update information corresponds to the magic table processing module, and the current parameter update information is sent to the magic table processing module, so that the magic table processing module changes the magic expression according to the updated magic table related parameter information. Since only the modified parameter information needs to be transmitted to the target processing module among the multiple processing modules, the amount of data transmission is greatly reduced; and since the information received by the target processing module is the parameter update information, the target processing module does not need to determine whether the parameter has changed after receiving the parameter information, which reduces the execution resource waste of the target processing module; at the same time, only the target processing module among the multiple processing modules receives the parameter update information and executes the processing of the corresponding material, which also reduces the execution resource waste of other processing modules.

[0085] As an exemplary embodiment, see Figure 3 As shown, the multiple processing modules are modules in the software development kit of the client; the specific implementation of the above-mentioned determination of the target processing module corresponding to the parameter update information may include:

[0086] The material to be adjusted is determined according to the parameter update information; the multiple processing modules of the software development kit of the client are queried to determine the processing module corresponding to the material to be adjusted as the target processing module. Optionally, the agreed relationship between the material and the processing module can be pre-configured, and the software development kit of the client is queried according to the agreed relationship to determine the processing module corresponding to the material to be adjusted among the multiple processing modules as the target processing module; the agreed relationship includes at least one corresponding relationship between a material and its corresponding processing module.

[0087] Generally, different materials correspond to different parameters, and different parameters have different parameter names (or other information used to distinguish parameters). Based on this, the adjusted parameters can be determined from the parameter update information, and then the materials corresponding to the adjusted parameters can be determined as the materials to be adjusted.

[0088] As an implementation method, the parameter update information may specifically include a parameter name and a corresponding parameter value. Therefore, based on the parameter name included in the parameter update information, it is possible to determine which material (i.e., the material to be adjusted) the current parameter update information is used to adjust the parameter information, and then obtain a processing module that executes functions related to the material to be adjusted from the client's SDK as the target processing module.

[0089] For example, if the user modifies the filter and changes filter A to filter B, the obtained parameter update information may include a parameter name and a corresponding parameter value, where the parameter name is a filter identification parameter, and the parameter values ​​before and after the modification are A and B. Based on the filter identification parameter included in the parameter update information, it can be determined that the current parameter update information is parameter information for adjusting the filter, and then a processing module for executing filter component related functions is obtained from the client SDK as the target processing module.

[0090] As another implementation, the parameter update information obtained in the above step may include corresponding material identification information in addition to the parameter name and the corresponding parameter value. Then, the material to be adjusted may be determined based on the material identification information included in the parameter update information, and then a processing module that executes functions related to the material to be adjusted may be obtained from the client's SDK as the target processing module.

[0091] For example, if the user adjusts the skin smoothing intensity and face thinning intensity in the beauty function, and adjusts the skin smoothing intensity from level 5 to level 8, and adjusts the face thinning intensity from level 5 to level 3, the obtained parameter update information may include material identification information, parameter names, and corresponding parameter values. The material identification information is the identification information corresponding to the beauty component, and the parameter names are the skin smoothing intensity parameter and the face thinning intensity parameter. The parameter values ​​corresponding to the skin smoothing intensity parameter before and after the modification are 5 and 8, respectively, and the parameter values ​​corresponding to the face thinning intensity parameter before and after the modification are 5 and 3, respectively. Based on the beauty identification information included in the parameter update information, it can be determined that the current parameter update information is parameter information for adjusting the beauty effect, and then a processing module that executes the beauty component-related functions is obtained from the client SDK as the target processing module.

[0092] As an exemplary embodiment, the method further includes:

[0093] The material to be adjusted is obtained by the target processing module according to the parameter update information; and the current multimedia content to be edited of the client is processed according to the adjusted material, where the current multimedia content to be edited is the multimedia content on which the material to be adjusted currently acts.

[0094] As mentioned above, the multimedia content to be edited can be content shot by the user in real time through the client, or it can be content pre-stored in the electronic device where the client is located; the specific form of the multimedia content to be edited includes but is not limited to recorded video, live video, image, audio, etc.

[0095] Based on this embodiment, since the amount of parameter information transmitted to the target processing module is smaller than that of the traditional method, the target processing module can receive parameter update information more quickly, and adjust the material to be adjusted more promptly, and apply the material adjusted by the target processing module to the current multimedia content to be edited on the client. As a result, the user of the client can view the content editing effect corresponding to the material configuration operation more promptly and intuitively, thereby improving the response timeliness of the current material configuration operation.

[0096] As an exemplary embodiment, refer to Figure 4 As shown, the specific implementation of transmitting the parameter update information to the target processing module may include:

[0097] The parameter update information is stored in a target object file; the target object file is a dynamic link library file corresponding to the target processing module; and the parameter update information is transmitted to the target processing module through the target object file.

[0098] As an example, the target object file may be a dynamic link library file in the client SDK. The multiple processing modules in the client SDK, which are respectively used to execute multiple material-related functions, have their own corresponding dynamic link library files. Each processing module may obtain relevant information for executing the corresponding material from its own corresponding dynamic link library file, including parameter update information corresponding to the material.

[0099] The dynamic link library file corresponding to each processing module can be a file in .dll format, which cannot be executed directly and contains some resources and executable codes, etc. In the present disclosure, parameter update information related to the material to be adjusted can be stored in a target object file in .dll format, and the target processing module corresponding to the material to be adjusted can read the parameter update information stored in the target object file in .dll format, and then adjust the material to be adjusted according to the parameter update information.

[0100] It can be understood that, taking the client software running on the Android system as an example, the target object file is different from the Android system, which will create a unique Application class object for the client software. In other words, through this embodiment, there is no need to modify the program of the Android system, which is easy to implement.

[0101] Through this embodiment, it is only necessary to set corresponding program interfaces for multiple processing modules in the client SDK that are respectively used to execute multiple material-related functions. By accessing the corresponding dynamic link library file through the program interface, the current parameter update information can be directed to the corresponding target processing module. There is no need to synchronously transmit parameter information to other processing modules, thereby reducing the amount of data transmission and improving the timeliness of response to the user's current material configuration operations.

[0102] As an exemplary embodiment, see Figure 5 As shown, the specific implementation of transmitting the parameter update information to the target processing module through the target object file may include:

[0103] Acquire the type of the multimedia content to be edited currently on the client; the multimedia content to be edited currently is the multimedia content on which the material to be adjusted currently acts;

[0104] If the type is a live broadcast type, the parameter update information is transmitted to the target processing module through the first transmission mode; in the first transmission mode, if it is detected that the parameter update information is stored in the target object file, a parameter update message is sent to the target processing module; the target processing module receives the parameter update message, and obtains the parameter update information from the target object file through the program interface.

[0105] As an exemplary embodiment, if the type is a non-live broadcast type, the parameter update information is transmitted to the target processing module through a second transmission mode; in the second transmission mode, the target processing module monitors whether the information in the target object file changes according to a preset time period, and if it is detected that the information in the target object file changes, the parameter update information is obtained from the target object file through the program interface.

[0106] Through this embodiment, when the user shoots or opens the multimedia content to be edited through the client and calls out the material for editing the multimedia content to perform material configuration operations, the current parameter update information is transmitted to the target processing module using the corresponding transmission mode according to the type of the current multimedia content to be edited. For live content editing scenarios, the acquired parameter update information is transmitted to the target processing module in real time, thereby ensuring effective editing of the live content; for non-live content editing scenarios, the acquired parameter update information can be periodically transmitted to the target processing module in real time, thereby further reducing the waste of execution resources of the processing module.

[0107] For non-live content editing scenarios, the acquired parameter update information is periodically transmitted to the target processing module in real time. Therefore, the parameter update information transmitted to the target processing module may include update information of multiple parameters. After the target processing module receives the update information of multiple parameters, if the material is adjusted according to the update information of multiple parameters at the same time, the change of the material on the client may not correspond to the user's material configuration operation. As an exemplary embodiment, in response to this problem, the parameter update information also includes update time information corresponding to each parameter. The target processing module can first determine the order corresponding to the update information of the multiple parameters according to the update time information corresponding to each parameter. The update time corresponding to the update information of the parameters in the front order is earlier than or earlier than the update time corresponding to the update information of the parameters in the back order; then the target processing module uses the update information of each parameter in the update information of the multiple parameters in turn according to the order to adjust the material to be adjusted.

[0108] Through this embodiment, it can be ensured that the material changes on the client correspond to the material configuration operation of the user. For example, for the beauty function, the user first adjusts the skin grinding intensity from level 5 to level 8, and then adjusts the face thinning intensity from level 5 to level 3. After receiving the corresponding parameter update information, the beauty processing module in the client SDK sorts the parameter update information corresponding to the skin grinding parameters and the face thinning parameters according to the update time, sorts the parameter update information corresponding to the skin grinding parameters first, and first adjusts the beauty function according to the parameter update information corresponding to the skin grinding parameters, and then adjusts the beauty function according to the parameter update information corresponding to the face thinning parameters, so that the beauty material processing is consistent with its operation order, which can prevent errors in material processing.

[0109] It should be understood that, although the various steps in the above flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above flowchart may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0110] Figure 6 FIG. 6 is a block diagram of a material processing device 600 of a server according to an exemplary embodiment. Figure 6 , the device 600 comprises:

[0111] The parameter update acquisition unit 601 is configured to receive a material configuration operation and acquire parameter update information triggered by the material configuration operation; the material is a component included in the client for editing multimedia content;

[0112] The module determination unit 602 is configured to determine a target processing module corresponding to the parameter update information; the target processing module is at least one of a plurality of processing modules, each of which is used to execute related functions of different materials;

[0113] The parameter transmission unit 603 is configured to transmit the parameter update information to the target processing module; the target processing module is used to adjust the corresponding material according to the parameter update information after receiving the parameter update information.

[0114] As an exemplary embodiment, the multiple processing modules are modules in a software development kit of the client; the module determination unit 602 is specifically configured to execute:

[0115] Determining the material to be adjusted according to the parameter update information;

[0116] The multiple processing modules of the software development kit of the client are queried, and a processing module corresponding to the material to be adjusted is determined as the target processing module.

[0117] As an exemplary embodiment, the apparatus 600 further includes:

[0118] The content editing unit is configured to execute acquisition of the material after the target processing module adjusts the material to be adjusted according to the parameter update information, and process the current multimedia content to be edited according to the adjusted material.

[0119] As an exemplary embodiment, the parameter transmission unit 603 is specifically configured to execute:

[0120] storing parameter update information in a target object file; the target object file and a dynamic link library file corresponding to the target processing module; the target processing module is configured with a program interface for reading information in the target object file;

[0121] The parameter update information is transmitted to the target processing module via the target object file.

[0122] As an exemplary embodiment, the parameter transmission unit 603 is further configured to execute:

[0123] Acquire the type of the multimedia content to be edited currently; the multimedia content to be edited currently is the multimedia content on which the material to be adjusted currently acts;

[0124] If the type is a live broadcast type, transmitting the parameter update information to the target processing module through a first transmission mode;

[0125] In the first transmission mode, if it is detected that the parameter update information is stored in the target object file, a parameter update message is sent to the target processing module; the target processing module receives the parameter update message and obtains the parameter update information from the target object file through the program interface.

[0126] As an exemplary embodiment, the parameter transmission unit 603 is further configured to execute:

[0127] If the type is a non-live broadcast type, transmitting the parameter update information to the target processing module through a second transmission mode;

[0128] In the second transmission mode, the target processing module monitors whether the information in the target object file changes according to a preset time period. If the information in the target object file changes, the parameter update information is obtained from the target object file through the program interface.

[0129] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0130] Figure 7 8 is a block diagram of a device 800 for data processing according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0131] Reference Figure 7 , device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0132] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0133] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0134] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0135] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0136] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0137] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0138] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0139] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, a carrier network, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0140] In an exemplary embodiment, the device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FP7A), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0141] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0142] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

[0143] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A material processing method, characterized in that: include: Receive a material configuration operation, and obtain parameter update information triggered by the material configuration operation; The material is a component included in the client for editing multimedia content; The material configuration operation includes an adjustment or modification operation on multiple parameters in multiple materials; the parameter update information includes parameter information of multiple parameters before and after the modification; Determine a target processing module corresponding to the parameter update information; the target processing module is at least one of a plurality of processing modules, each of the plurality of processing modules being used to execute related functions of different materials; The multiple processing modules are modules in the software development kit of the client; The determining the target processing module corresponding to the parameter update information includes: determining the material to be adjusted according to the parameter update information; querying the multiple processing modules of the software development kit of the client, and determining the processing module corresponding to the material to be adjusted as the target processing module; The parameter update information is directed to the target processing module; the target processing module is used to adjust the corresponding material according to the parameter update information after receiving the parameter update information.

2. The method according to claim 1, characterized in that The method further comprises: Acquire the material after the target processing module adjusts the material to be adjusted according to the parameter update information; The current multimedia content to be edited of the client is processed according to the adjusted material.

3. The method according to claim 1, characterized in that The transmitting the parameter update information to the target processing module comprises: The parameter update information is stored in a target object file; the target object file is a dynamic link library file corresponding to the target processing module; The parameter update information is transmitted to the target processing module via the target object file.

4. The method according to claim 3, characterized in that The step of transmitting the parameter update information to the target processing module through the target object file includes: Acquire the type of the multimedia content to be edited currently; the multimedia content to be edited currently is the multimedia content on which the material to be adjusted currently acts; If the type is a live broadcast type, transmitting the parameter update information to the target processing module through a first transmission mode; In the first transmission mode, if it is detected that the parameter update information is stored in the target object file, a parameter update message is sent to the target processing module; the target processing module receives the parameter update message and obtains the parameter update information from the target object file through a preset program interface.

5. The method according to claim 4, characterized in that Also includes: If the type is a non-live broadcast type, transmitting the parameter update information to the target processing module through a second transmission mode; In the second transmission mode, the target processing module monitors whether the information in the target object file changes according to a preset time period. If it is monitored that the information in the target object file changes, the parameter update information is obtained from the target object file through a preset program interface.

6. A material processing device, characterized in that: include: A parameter update acquisition unit, configured to receive a material configuration operation and acquire parameter update information triggered by the material configuration operation; The material is a component included in the client for editing multimedia content; the material configuration operation includes an adjustment or modification operation on multiple parameters in multiple materials; the parameter update information includes parameter information of multiple parameters before and after modification; A module determination unit, configured to execute and determine a target processing module corresponding to the parameter update information; The target processing module is at least one of a plurality of processing modules, each of which is used to execute related functions of different materials; The multiple processing modules are modules in the software development kit of the client; the determining the target processing module corresponding to the parameter update information comprises: determining the material to be adjusted according to the parameter update information; querying the multiple processing modules of the software development kit of the client, and determining the processing module corresponding to the material to be adjusted as the target processing module; The parameter transmission unit is configured to execute the directed transmission of the parameter update information to the target processing module; the target processing module is used to adjust the corresponding material according to the parameter update information after receiving the parameter update information.

7. The device according to claim 6, characterized in that The device also includes: The content editing unit is configured to execute acquisition of the material after the target processing module adjusts the material to be adjusted according to the parameter update information, and process the current multimedia content to be edited according to the adjusted material.

8. The device according to claim 6, characterized in that The parameter transmission unit is specifically configured to execute: The parameter update information is stored in a target object file; the target object file is a dynamic link library file corresponding to the target processing module; The parameter update information is transmitted to the target processing module via the target object file.

9. The device according to claim 8, characterized in that The parameter transmission unit is further configured to execute: Acquire the type of the multimedia content to be edited currently; the multimedia content to be edited currently is the multimedia content on which the material to be adjusted currently acts; If the type is a live broadcast type, transmitting the parameter update information to the target processing module through a first transmission mode; In the first transmission mode, if it is detected that the parameter update information is stored in the target object file, a parameter update message is sent to the target processing module; The target processing module receives the parameter update message and obtains the parameter update information from the target object file through a preset program interface.

10. The device according to claim 9, characterized in that The parameter transmission unit is further configured to execute: If the type is a non-live broadcast type, transmitting the parameter update information to the target processing module through a second transmission mode; In the second transmission mode, the target processing module monitors whether the information in the target object file changes according to a preset time period. If it is monitored that the information in the target object file changes, the parameter update information is obtained from the target object file through a preset program interface.

11. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the material processing method as described in any one of claims 1 to 5.

12. A storage medium, when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the material processing method according to any one of claims 1 to 5.

13. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the material processing method according to any one of claims 1 to 5 is implemented.