Special effect function configuration method and device, electronic equipment and storage medium

By configuring tasks for target special effects mounts and detecting and automatically configuring their special effects function levels, the problem of difficulty in special effects function configuration in short video applications is solved, and efficient and accurate special effects function configuration is achieved.

CN119697439APending Publication Date: 2025-03-25BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311238447.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-22
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In short video applications, the workload of special effects function configuration is large, which leads to difficulty in configuration. How to efficiently and accurately configure special effects function configuration has become an important issue.

Method used

By mounting the target special effects configuration task for the target special effects, check whether the preset class special effects performance meets the preset special effects configuration trigger conditions, and automatically configure the special effects function level when the conditions are met.

Benefits of technology

Automatically directed special effects function configuration is realized, so that equipment that can use special effects can be used normally, reduce the workload of special effects function configuration, and quickly and accurately realize the configuration of special effects function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697439A_ABST
    Figure CN119697439A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a special effect function configuration method and device, electronic equipment and a storage medium. The method comprises the following steps: determining a target special effect configuration task correspondingly mounted by a target special effect, wherein the target special effect configuration task is used for detecting whether the preset special effect performance of the target special effect meets a preset special effect function configuration triggering condition or not and specifying a triggered preset special effect function configuration strategy; when the target special effect is used, calling the target special effect configuration task; and configuring the special effect function level of the target special effect based on the target special effect configuration task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to a special effect function configuration method, device, electronic device, and storage medium. Background Art

[0002] In short video applications, the recording, editing, and synthesis of audio and video have certain performance requirements for device performance. In order to allow all high-end and low-end devices to have a good special effect experience, some high-performance special effects will be graded. However, the supply of special effects used in short videos is very large, and even grading some of the special effects requires a lot of work, making it difficult to configure special effect functions. Therefore, it is particularly important to configure special effect functions efficiently and accurately. Summary of the invention

[0003] The present disclosure provides a special effect function configuration method, device, electronic device and storage medium to realize automatic and directional special effect function configuration so that devices that can normally use special effects can be used normally.

[0004] In a first aspect, an embodiment of the present disclosure provides a method for configuring a special effect function, including:

[0005] Determine the target special effect configuration task mounted corresponding to the target special effect, wherein the target special effect configuration task is used to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration triggering condition and specifies the triggered preset special effect function configuration strategy;

[0006] When using the target special effect, calling the target special effect configuration task;

[0007] The special effect function level of the target special effect is configured based on the target special effect configuration task.

[0008] In a second aspect, the embodiment of the present disclosure further provides a special effect function configuration device, including:

[0009] A determination module is used to determine a target special effect configuration task mounted corresponding to the target special effect, wherein the target special effect configuration task is used to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration triggering condition and specifies the triggered preset special effect function configuration strategy;

[0010] A calling module, used for calling the target special effect configuration task when using the target special effect;

[0011] A configuration module is used to configure the special effect function level of the target special effect based on the target special effect configuration task.

[0012] In a third aspect, an electronic device is also provided in an embodiment of the present disclosure, the electronic device comprising:

[0013] at least one processor; and

[0014] a memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the special effect function configuration method described in any one of the above embodiments.

[0016] In a fourth aspect, a computer-readable medium is also provided in an embodiment of the present disclosure, wherein the computer-readable medium stores computer instructions, and the computer instructions are used to enable a processor to implement the special effect function configuration method described in any one of the above embodiments when executed.

[0017] In the disclosed embodiment, a target special effect configuration task is mounted for a target special effect, and in the target special effect configuration task, a detection is configured to determine whether the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger condition, and a preset special effect function configuration strategy for a specified trigger is configured. In this way, when the target special effect is used, the target special effect configuration task is automatically called, and the target special effect configuration task is used to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger condition. In the event of triggering, the preset special effect function configuration strategy indicated by the target special effect configuration task is used to automatically configure the special effect function level of the target special effect, thereby realizing automatic and targeted special effect function configuration, so that devices that can use special effects normally can be used normally, reducing the workload of special effect function configuration, and realizing the configuration of special effect functions quickly and accurately.

[0018] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0020] Figure 1 It is a flowchart of a special effect function configuration method provided by an embodiment of the present disclosure;

[0021] Figure 2It is a schematic diagram of an interface of a special effect function configuration applicable to an embodiment of the present disclosure;

[0022] Figure 3 is a schematic diagram of an interface of another special effect function configuration applicable to the embodiment of the present disclosure;

[0023] Figure 4 It is a schematic diagram of an interface of trigger conditions and actions in a special effect function configuration applicable to an embodiment of the present disclosure;

[0024] Figure 5 It is a structural schematic diagram of a special effect function configuration device provided by an embodiment of the present disclosure;

[0025] Figure 6 It is a structural schematic diagram of an electronic device for implementing a special effect function configuration method provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0028] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0029] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0030] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0032] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0033] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0034] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0035] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0036] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0037] Figure 1 A flow chart of a special effect function configuration method provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation where the special effect function level is configured when the special effect is used. The method can be executed by a special effect function configuration device, which can be implemented in the form of software and / or hardware and is generally integrated on any electronic device with network communication function, which electronic device can be a mobile terminal, PC or server, such as a computer, laptop, smart phone, or tablet computer.

[0038] like Figure 1 As shown, the special effect function configuration method of the embodiment of the present disclosure may include the following process:

[0039] S110, determining a target special effect configuration task mounted corresponding to the target special effect, the target special effect configuration task being used to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration triggering condition and specifies the triggered preset special effect function configuration strategy.

[0040] The application chain of special effects involves a lot of downgraded nodes. Each node is configured with a grading strategy, that is, to determine whether the current node needs to be downgraded and to what level if it needs to be downgraded. A typical strategy configuration is as follows: there are multiple levels, each with its own hit conditions and management configuration. When making decisions, matching is completed from top to bottom according to priority until the level that meets the conditions is matched.

[0041] However, the supply of special effects used in short videos is very large. Even grading a part of the special effects requires a lot of work, and the degradation of the grading package of each special effect is different. Therefore, the configuration of the grading strategy depends on the offline testing of the special effects grading package. The composition of the grading strategy is inferred based on the offline test results, which often involves some subjective experience judgment.

[0042] To this end, this solution configures a detection of preset special effects performance for the target special effects, detects whether the preset special effects performance of the target special effects meets the preset special effects function configuration triggering conditions, and specifies the preset special effects function configuration strategy that needs to be triggered when the preset special effects function configuration triggering conditions are met. Then, based on detecting whether the preset special effects performance of the target special effects meets the preset special effects function configuration triggering conditions and specifying the triggered preset special effects function configuration strategy, a target special effects configuration task is formed, and the target special effects configuration task is mounted on the target special effects, so that the target special effects configuration task is called for execution when the target special effects are used.

[0043] S120: When using the target special effect, calling the target special effect configuration task.

[0044] As an optional but non-limiting implementation method, the preset special effects performance includes at least one of the following: special effects execution time, special effects initialization time, special effects frame rate, special effects memory increment, CPU load used when special effects are executed, GPU load used when special effects are executed, and special effects stability.

[0045] In order to automatically adjust the special effect function level according to the use of special effects, it is necessary to conduct comprehensive tests on the special effect effects during the use of special effects, identify whether there are abnormal performances when the special effects are running on the device, and then implement graded adjustment of the special effect function level according to the special effect performance during the use of special effects. Considering that there is no significant difference in the materials and functions, most of the special effects involved in different special effect function levels are visual special effects, such as the typical Gan series portrait conversion.

[0046] Based on the above considerations, for the test results of special effects performance during the use of special effects, we can abstract the indicators that affect the special effects, such as special effects execution time, special effects initialization time, special effects frame rate, special effects memory increment, CPU load used when special effects execute, GPU load used when special effects execute, and special effects stability. During the use of special effects, the performance of special effects preset classes on the device can be detected and recorded to reflect the performance of special effects when running on the device, so as to make adjustments to the special effects function level when the performance is poor.

[0047] Using the above method, an abstract construction is performed on the indicators that can reflect the effectiveness of the special effects usage to obtain multiple preset special effects performances, and these are associated with the special effects function configuration strategies. If the preset special effects performances of the special effects are abnormal on certain devices, the special effects function configuration strategies can be used to downgrade or block the special effects function levels on these devices, ultimately achieving the optimal configuration of the special effects.

[0048] S130: configuring the special effect function level of the target special effect based on the target special effect configuration task.

[0049] The special effect function level division can be a special effect function package with different levels of special effect output, which may have a certain degradation in the special effect rendering effect, but the performance requirements are lower. For example, a special effect needs to recognize the outline of an object to complete the mapping. A high-order edge recognition model can be used on high-end devices, which has better edge recognition and more natural mapping. If a low-end device uses the same recognition model, it will have problems such as heating and freezing, which seriously affects the trial of special effects. In this case, a relatively low-order recognition model is needed. The mapping may not be too natural, but the execution is smooth and the effect is basically usable.

[0050] By mounting the target special effect configuration task to the target special effect, it is possible to automatically detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration triggering conditions when the target special effect is used, and when triggered, configure different special effect function levels using special effect function packages that produce different levels of special effect output for the target special effect in accordance with the preset special effect function configuration strategy specified by the trigger.

[0051] As an optional but non-limiting implementation method, configuring the special effect function level of the target special effect based on the target special effect configuration task may include the following steps:

[0052] The target detection result for the target special effect is determined through the target special effect configuration task, and the special effect function level of the target special effect is configured based on the target detection result according to the preset special effect function configuration strategy triggered by the target special effect configuration task.

[0053] The preset special effect function configuration strategy is used to indicate the special effect function configuration action that is triggered for the target special effect when the target detection result meets the preset special effect function configuration trigger condition. The special effect function configuration action is to lower the special effect function level, increase the special effect function level, or block the target special effect.

[0054] See also Figure 2 The preset special effect performance used in the target special effect configuration task to observe the special effect performance can be set according to the needs of the target special effect. For example, if you want to determine whether the special effect is stuck when running on the device, you can set the preset special effect performance used in the target special effect configuration task to the special effect frame rate. The target special effect configuration task is used to detect whether the corresponding special effect frame rate during the use of the target special effect meets the preset special effect function configuration trigger condition. See Figure 3 The diagram shows a selection diagram for configuring the preset special effect performance of the target special effect. In the target special effect configuration task, multiple preset special effect performances can be configured to be detected to determine whether the preset special effect function configuration triggering conditions are met.

[0055] See also Figure 2 In the target special effect configuration task, detecting whether the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger condition is the trigger condition for performing the special effect function configuration. The preset special effect function configuration strategy triggered in the target special effect configuration task is the special effect function configuration action adopted for performing the special effect function configuration on the target special effect when the target detection result meets the preset special effect function configuration trigger condition.

[0056] See also Figure 2 and Figure 4 , the preset special effect function configuration trigger condition for detecting whether the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger condition in the target special effect configuration task corresponding to the target special effect can be configured. The preset special effect function configuration trigger condition is whether the preset class special effect performance of the target special effect meets the corresponding threshold of the preset class special effect performance. For example, taking the special effect frame rate as an example, the preset special effect function configuration trigger condition is whether the special effect frame rate is less than the preset frame number. In this case, the special effect function level used by the target special effect is downgraded or the special effect function used by the target special effect is shielded. The preset frame number is used to determine whether the special effect is stuck.

[0057] As an optional but non-limiting implementation, configuring the special effect function level of the target special effect based on the target detection result includes the following steps:

[0058] Based on the target detection result, the special effect function level of the target special effect on the target device specified by the target special effect configuration task is configured, and the target device is a type of device that is allowed to execute the special effect function configuration according to the preset attribute information configuration.

[0059] When configuring the special effect function level of the target special effect, it is not necessary to configure the special effect function of the target special effect on all devices that use the target special effect. Instead, the execution granularity of the special effect function configuration action can be configured for the target special effect indication when executing the special effect function configuration action corresponding to the target special effect configuration task. A class of devices can be configured according to preset attribute information. When it is detected that the preset class special effect performance of the target special effect meets the preset special effect function configuration triggering condition, the special effect function level of the target special effect on the target device specified by the target special effect configuration task is configured.

[0060] Exemplarily, for a target special effect on a device of a certain device model, when the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger condition, the special effect function level used by the target special effect on the device of the device model is automatically downgraded or the special effect function used by the target special effect is shielded through the target special effect configuration task. Optionally, the preset attribute information is the device model, GPU manufacturer, GPU model, CPU model, CPU architecture or number of CPU cores.

[0061] As an optional but non-limiting implementation method, at least two target special effect configuration tasks are allowed to be mounted on the same target special effect, and among at least two target special effect configuration tasks, some of the target special effect configuration tasks specify the same preset special effect function configuration strategy to trigger, but the preset special effect function configuration trigger conditions are different.

[0062] As an optional but non-limiting implementation method, multiple target special effects configuration tasks can be mounted on the target device to test the performance of different preset special effects of the target special effects under the target device. For example, the special effects frame rate and special effects stability of the target special effects on a device model can be tested at the same time and different preset special effects function configuration strategies can be mounted.

[0063] As an optional but non-limiting implementation method, after configuring the special effect function level of the target special effect based on the target special effect configuration task, the following steps are also included:

[0064] The target detection results when the target special effect configuration task is used to configure the special effect function level of the target special effect within the preset detection period are aggregated, and the preset special effect function configuration strategy triggered by the target special effect configuration task is adjusted according to the aggregated target detection results.

[0065] After the target special effect is launched, the target special effect will be used. During the use of the special effect, multiple target detection results are obtained for the target special effect in the target special effect configuration task to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger conditions. The multiple target detection results obtained for the target special effect are reported and aggregated. When the data volume of the target detection result reaches the preset number and the time point meets the corresponding preset detection cycle, the special effect function configuration action of the preset special effect function configuration strategy in the target special effect configuration task will be adjusted according to the target detection result of whether the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger conditions, and the adjusted special effect function configuration action will be re-written into the preset special effect function configuration strategy of the target special effect configuration task, starting a new round of detection of the target special effect.

[0066] In the disclosed embodiment, a target special effect configuration task is mounted for a target special effect, and in the target special effect configuration task, a detection is configured to determine whether the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger condition, and a preset special effect function configuration strategy for a specified trigger is configured. In this way, when the target special effect is used, the target special effect configuration task is automatically called, and the target special effect configuration task is used to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger condition. In the event of triggering, the preset special effect function configuration strategy indicated by the target special effect configuration task is used to automatically configure the special effect function level of the target special effect, thereby realizing automatic and targeted special effect function configuration, so that devices that can use special effects normally can be used normally, reducing the workload of special effect function configuration, and realizing the configuration of special effect functions quickly and accurately.

[0067] Figure 5 This is a structural schematic diagram of a special effect function configuration device provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation where the special effect function level is configured when the special effect is used. The special effect function configuration device can be implemented in the form of software and / or hardware, and is generally integrated on any electronic device with network communication function, which can be a mobile terminal, PC or server, such as a computer, laptop, smart phone, or tablet computer.

[0068] like Figure 5 As shown, the special effect function configuration device of the embodiment of the present disclosure may include the following:

[0069] Determination module 510, used to determine the target special effect configuration task mounted corresponding to the target special effect, wherein the target special effect configuration task is used to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration triggering condition and specifies the triggered preset special effect function configuration strategy;

[0070] A calling module 520, used for calling the target special effect configuration task when using the target special effect;

[0071] The configuration module 530 is used to configure the special effect function level of the target special effect based on the target special effect configuration task.

[0072] Based on the above embodiments, optionally, the preset special effects performance includes at least one of the following: special effects execution time, special effects initialization time, special effects frame rate, special effects memory increment, CPU load used when executing special effects, GPU load used when executing special effects, and special effects stability.

[0073] Based on the above embodiment, optionally, configuring the special effect function level of the target special effect based on the target special effect configuration task includes:

[0074] Determine the target detection result for the target special effect by configuring the target special effect task;

[0075] According to the preset special effect function configuration strategy triggered by the target special effect configuration task, the special effect function level of the target special effect is configured based on the target detection result.

[0076] Based on the above embodiment, optionally, the preset special effect function configuration strategy is used to indicate a special effect function configuration action to be triggered for a target special effect when the target detection result satisfies a preset special effect function configuration trigger condition, and the special effect function configuration action is to lower the special effect function level, increase the special effect function level, or shield the target special effect.

[0077] On the basis of the above embodiment, optionally, configuring the special effect function level of the target special effect based on the target detection result includes:

[0078] Based on the target detection result, the special effect function level of the target special effect on the target device specified by the target special effect configuration task is configured, and the target device is a type of device that is allowed to execute the special effect function configuration according to the preset attribute information configuration.

[0079] Based on the above embodiment, optionally, the preset attribute information is device model, GPU manufacturer, GPU model, CPU model, CPU architecture or CPU core number.

[0080] Based on the above embodiment, optionally, at least two target special effect configuration tasks are allowed to be mounted on the same target special effect, and some of the at least two target special effect configuration tasks specify that the preset special effect function configuration strategies triggered are the same.

[0081] Based on the above embodiment, optionally, after configuring the special effect function level of the target special effect based on the target special effect configuration task, the method further includes:

[0082] The target detection results when the target special effect configuration task is used to configure the special effect function level of the target special effect within a preset detection period are aggregated, and the preset special effect function configuration strategy specified to be triggered by the target special effect configuration task is adjusted based on the aggregated target detection results.

[0083] The technical solution provided by the embodiment of the present disclosure mounts a target special effect configuration task for the target special effect, and configures in the target special effect configuration task a detection of whether the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger condition and a preset special effect function configuration strategy for the specified trigger, so that when the target special effect is used, the target special effect configuration task is automatically called, and the target special effect configuration task is used to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration trigger condition, and when triggered, the preset special effect function configuration strategy indicated by the target special effect configuration task is used to automatically configure the special effect function level of the target special effect, thereby realizing automatic and targeted special effect function configuration, so that devices that can use special effects normally can be used normally, reducing the workload of special effect function configuration, and realizing the configuration of special effect functions quickly and accurately.

[0084] The special effect function configuration device provided in the embodiments of the present disclosure can execute the special effect function configuration method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0085] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0086] Figure 6 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 6 , which shows an electronic device (eg, Figure 6 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0087] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An edit / output (I / O) interface 605 is also connected to the bus 604.

[0088] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0089] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0090] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0091] The electronic device provided by the embodiment of the present disclosure and the special effect function configuration method provided by the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0092] An embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the special effect function configuration method provided in the above embodiment is implemented.

[0093] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0094] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0095] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0096] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: determines the target special effect configuration task corresponding to the target special effect, and the target special effect configuration task is used to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration triggering condition and the preset special effect function configuration strategy for the specified trigger; when using the target special effect, calls the target special effect configuration task; and configures the special effect function level of the target special effect based on the target special effect configuration task.

[0097] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0098] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0099] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0100] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0101] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0102] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0103] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0104] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A special effect function configuration method, characterized in that: include: Determine the target special effect configuration task mounted corresponding to the target special effect, wherein the target special effect configuration task is used to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration triggering condition and specifies the triggered preset special effect function configuration strategy; When using the target special effect, calling the target special effect configuration task; The special effect function level of the target special effect is configured based on the target special effect configuration task.

2. The method according to claim 1, characterized in that Configuring the special effect function level of the target special effect based on the target special effect configuration task includes: Determine the target detection result for the target special effect by configuring the target special effect task; According to the preset special effect function configuration strategy triggered by the target special effect configuration task, the special effect function level of the target special effect is configured based on the target detection result.

3. The method according to claim 1 or 2, characterized in that: The preset special effect function configuration strategy is used to indicate the special effect function configuration action to be triggered for the target special effect when the target detection result satisfies the preset special effect function configuration trigger condition, and the special effect function configuration action is to lower the special effect function level, increase the special effect function level or shield the target special effect.

4. The method according to claim 2, characterized in that: Configuring the special effect function level of the target special effect based on the target detection result includes: Based on the target detection result, the special effect function level of the target special effect on the target device specified by the target special effect configuration task is configured, and the target device is a type of device that is allowed to execute the special effect function configuration according to the preset attribute information configuration.

5. The method according to claim 4, characterized in that The preset attribute information includes device model, GPU manufacturer, GPU model, CPU model, CPU architecture or CPU core number.

6. The method according to claim 1, characterized in that At least two target special effect configuration tasks are allowed to be mounted on the same target special effect, and among the at least two target special effect configuration tasks, some of the target special effect configuration tasks specify the same preset special effect function configuration strategy to be triggered.

7. The method according to claim 1, characterized in that After configuring the special effect function level of the target special effect based on the target special effect configuration task, the method further includes: The target detection results when the target special effect configuration task is used to configure the special effect function level of the target special effect within a preset detection period are aggregated, and the preset special effect function configuration strategy specified to be triggered by the target special effect configuration task is adjusted based on the aggregated target detection results.

8. The method according to claim 1, characterized in that The preset special effect performance includes at least one of the following: special effect execution time, special effect initialization time, special effect frame rate, special effect memory increment, CPU load used when special effect is executed, GPU load used when special effect is executed, and special effect stability.

9. A special effect function configuration device, characterized in that: include: A determination module is used to determine a target special effect configuration task mounted corresponding to the target special effect, wherein the target special effect configuration task is used to detect whether the preset class special effect performance of the target special effect meets the preset special effect function configuration triggering condition and specifies the triggered preset special effect function configuration strategy; A calling module, used for calling the target special effect configuration task when using the target special effect; A configuration module is used to configure the special effect function level of the target special effect based on the target special effect configuration task.

10. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the special effect function configuration method as described in any one of claims 1-8.

11. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the special effect function configuration method as described in any one of claims 1-8 when executed by a computer processor.