CN115794603A - Resource processing method, device, equipment and storage medium - Google Patents

Resource processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN115794603A
CN115794603A CN202211226467.9A CN202211226467A CN115794603A CN 115794603 A CN115794603 A CN 115794603A CN 202211226467 A CN202211226467 A CN 202211226467A CN 115794603 A CN115794603 A CN 115794603A
Authority
CN
China
Prior art keywords
special effect
debugging
resource
target
special
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211226467.9A
Other languages
Chinese (zh)
Inventor
刘岳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202211226467.9A priority Critical patent/CN115794603A/en
Publication of CN115794603A publication Critical patent/CN115794603A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The disclosure relates to a resource processing method, a device, equipment and a storage medium, relating to the technical field of internet, wherein the resource processing method comprises the following steps: displaying special effect information corresponding to the target special effect resource under the condition that the target special effect resource meets preset debugging conditions; the target special effect resource comprises at least one special effect element, and the special effect information comprises initial special effect content corresponding to the at least one special effect element and at least one debugging element corresponding to the at least one special effect element one to one; receiving a debugging operation instruction executed on a target debugging element; the target debugging element is at least one element in the at least one debugging element, and the debugging operation instruction is used for indicating that the target special effect content corresponding to the target debugging element in the initial special effect content is displayed or hidden; and responding to the debugging operation instruction, displaying the debugged special effect content, and solving the problem of low efficiency of checking the special effect elements.

Description

Resource processing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a resource processing method, apparatus, device, and storage medium.
Background
At present, in the process of developing or testing special effect by a developer through a client, when the special effect is found to be not in accordance with expectation, the developer is required to debug.
However, in the debugging process, if a certain special effect element damages the rendering environment, a developer needs to perform processes such as source code modification, packaging, and installation to troubleshoot problems, and usually the processes such as source code modification, packaging, and installation need to be completed for each special effect element one by one, so that the troubleshooting efficiency is low.
Disclosure of Invention
The disclosure provides a resource processing method, a resource processing device and a storage medium, which are used for solving the problem of low efficiency of checking special effect elements in the general technology.
The technical scheme of the embodiment of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a resource processing method, including: displaying special effect information corresponding to the target special effect resource under the condition that the target special effect resource meets the preset debugging condition; the target special effect resource comprises at least one special effect element, and the special effect information comprises initial special effect content corresponding to the at least one special effect element and at least one debugging element corresponding to the at least one special effect element one to one; receiving a debugging operation instruction executed on a target debugging element; the target debugging element is at least one element in the at least one debugging element, and the debugging operation instruction is used for indicating that the target special effect content corresponding to the target debugging element in the initial special effect content is displayed or hidden; and responding to the debugging operation instruction, and displaying the debugged special effect content.
Optionally, the method for displaying the special effect information corresponding to the target special effect resource when the target special effect resource meets the preset debugging condition includes: determining that the target special-effect resource meets a preset debugging condition under the condition that the state of the debugging function control is monitored to be an open state; the debugging function control is used for indicating to start a debugging function aiming at the special effect information; and responding to the triggering operation of the debugging function control, and displaying special effect information corresponding to the target special effect resource on a debugging interface.
Optionally, the method for displaying the special effect information corresponding to the target special effect resource on the debugging interface includes a first display area and a second display area that are arranged in a stacked manner, and includes: displaying a special effect element list of the target special effect resource in a first display area; the special effects element list includes: at least one debugging element corresponding to at least one special effect element one to one; and displaying the initial special effect content corresponding to the at least one special effect element in the second display area.
Optionally, the resource processing method further includes: responding to a debugging operation instruction, and updating the special effect element list; and displaying the updated special effect element list in the first display area.
Optionally, before displaying special effect information corresponding to the target special effect resource, the resource processing method further includes: displaying at least one resource identifier corresponding to at least one special-effect resource one to one; the at least one special effects resource comprises a target special effects resource; and responding to the selection operation executed on the resource identifier corresponding to the target special effect resource in the at least one resource identifier, and acquiring the special effect information corresponding to the target special effect resource.
Optionally, the target debugging element includes: debugging controls corresponding to the target special effect elements; a method of receiving a debug operation instruction performed on a target debug element, comprising: when the initial special-effect content comprises the target special-effect content, responding to a trigger operation executed on a debugging control, and generating a debugging operation instruction for indicating that the target special-effect content in the initial special-effect content is hidden; and when the initial special-effect content does not comprise the target special-effect content, generating a debugging operation instruction for indicating that the target special-effect content in the initial special-effect content is displayed in response to the triggering operation executed on the debugging control.
Optionally, the method for displaying the debugged special effect content includes: and responding to the debugging operation instruction, calling a pre-created software development kit, generating the debugged special effect content, and displaying the debugged special effect content.
According to a second aspect of the embodiments of the present disclosure, there is provided a resource processing apparatus including: a display unit and a processing unit; the display unit is used for displaying the special effect information corresponding to the target special effect resource under the condition that the target special effect resource meets the preset debugging condition; the target special effect resource comprises at least one special effect element, and the special effect information comprises initial special effect content corresponding to the at least one special effect element and at least one debugging element corresponding to the at least one special effect element one to one; a processing unit for receiving a debugging operation instruction executed on a target debugging element; the target debugging element is at least one element in the at least one debugging element, and the debugging operation instruction is used for indicating that the target special effect content corresponding to the target debugging element in the initial special effect content is displayed or hidden; and the display unit is also used for responding to the debugging operation instruction and displaying the debugged special effect content.
Optionally, the display unit is specifically configured to determine that the target special-effect resource meets a preset debugging condition when the state of the debugging function control is monitored to be an open state; the debugging function control is used for indicating to start a debugging function aiming at the special effect information; and responding to the triggering operation of the debugging function control, and displaying special effect information corresponding to the target special effect resource on a debugging interface.
Optionally, the debugging interface includes a first display area and a second display area that are arranged in a stacked manner, and the display unit is specifically configured to display a special effect element list of the target special effect resource in the first display area; the special effects element list includes: at least one debugging element corresponding to at least one special effect element one to one; and displaying the initial special effect content corresponding to the at least one special effect element in the second display area.
Optionally, the processing unit is further configured to update the special effect element list in response to the debugging operation instruction; and the display unit is also used for displaying the updated special effect element list in the first display area.
Optionally, the display unit is further configured to display at least one resource identifier corresponding to at least one special-effect resource one to one; the at least one special effects resource comprises a target special effects resource; and the processing unit is further used for responding to the selection operation executed on the resource identifier corresponding to the target special effect resource in the at least one resource identifier, and acquiring the special effect information corresponding to the target special effect resource.
Optionally, the target debugging element includes: debugging controls corresponding to the target special effect elements; the processing unit is specifically used for responding to the trigger operation executed on the debugging control when the initial special-effect content comprises the target special-effect content, and generating a debugging operation instruction for indicating that the target special-effect content in the initial special-effect content is hidden; and when the initial special effect content does not comprise the target special effect content, responding to the trigger operation executed on the debugging control, and generating a debugging operation instruction for indicating that the target special effect content in the initial special effect content is displayed.
Optionally, the display unit is specifically configured to invoke a pre-created software development kit in response to the debugging operation instruction, generate the special content after debugging, and display the special content after debugging.
According to a third aspect of the embodiments of the present disclosure, there is provided a resource processing apparatus, which may include: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the optional resource processing methods of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having instructions stored thereon, which, when executed by a processor of a resource processing apparatus, enable the resource processing apparatus to execute any one of the optional resource processing methods of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions that, when run on a processor of an electronic device, cause the electronic device apparatus to perform any one of the optional resource processing methods of the first aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
based on any one of the above aspects, in the present disclosure, in a case that the target special effect resource satisfies the preset debugging condition, the special effect information corresponding to the target special effect resource may be displayed. The target special effect resource comprises at least one special effect element, and the special effect information comprises initial special effect content corresponding to the at least one special effect element and at least one debugging element corresponding to the at least one special effect element one to one. After a debugging operation instruction executed on the target debugging element is received, the debugged special effect content can be displayed in response to the debugging operation instruction. The target debugging element is at least one element in the at least one debugging element, and the debugging operation instruction is used for indicating that the target special effect content corresponding to the target debugging element in the initial special effect content is displayed or hidden. Therefore, the special effect content after debugging can be displayed by responding to the debugging operation instruction executed on the target debugging element, compared with the general technology, the processes of modifying source codes, packaging, installing and the like for many times are reduced, the troubleshooting speed is effectively improved, the problem can be quickly determined by the troubleshooting method, and the special effect development and debugging efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram of a resource processing system according to an embodiment of the present disclosure;
fig. 2 illustrates a first flowchart of a resource processing method provided in an embodiment of the present disclosure;
fig. 3 illustrates a first display diagram of an special effects debugging apparatus provided in an embodiment of the present disclosure;
fig. 4 illustrates a second display schematic diagram of an special effects debugging apparatus provided in an embodiment of the present disclosure;
fig. 5 illustrates a second flowchart of a resource processing method provided in an embodiment of the present disclosure;
fig. 6 shows a display schematic diagram three of an effect debugging device provided by an embodiment of the present disclosure;
fig. 7 is a flowchart illustrating a third method for processing resources according to an embodiment of the present disclosure;
fig. 8 illustrates a fourth display schematic diagram of an special effect debugging device provided by an embodiment of the present disclosure;
fig. 9 illustrates a fourth flowchart of a resource processing method provided in an embodiment of the present disclosure;
fig. 10 illustrates a display schematic diagram of a special-effect debugging device provided by an embodiment of the present disclosure;
fig. 11 illustrates a flowchart of a resource processing method provided in an embodiment of the present disclosure;
fig. 12 shows a sixth flowchart of a resource processing method provided in the embodiment of the present disclosure;
fig. 13 is a flowchart illustrating a seventh resource processing method according to an embodiment of the present disclosure;
fig. 14 is a schematic flowchart illustrating an eighth method for processing resources according to an embodiment of the present disclosure;
fig. 15 is a first schematic structural diagram of a resource processing apparatus according to an embodiment of the present disclosure;
fig. 16 shows a schematic structural diagram of a resource processing apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The data to which the present disclosure relates may be data that is authorized by a user or sufficiently authorized by parties.
As described in the background art, the general processing method of special effect resources needs to complete the processes of source code modification, packaging, installation, and the like for each special effect element one by one, and obtains the screenshots of the opening and closing of each special effect element, so that the troubleshooting efficiency is low, and the special effect development and debugging efficiency is also reduced.
Based on this, the embodiments of the present disclosure provide a resource processing method, which can display special effect information corresponding to a target special effect resource when the target special effect resource meets a preset debugging condition. The target special effect resource comprises at least one special effect element, and the special effect information comprises initial special effect content corresponding to the at least one special effect element and at least one debugging element corresponding to the at least one special effect element one to one. After a debugging operation instruction executed on the target debugging element is received, the debugged special effect content can be displayed in response to the debugging operation instruction. The target debugging element is at least one element in the at least one debugging element, and the debugging operation instruction is used for indicating that the target special effect content corresponding to the target debugging element in the initial special effect content is displayed or hidden. Therefore, the debugging operation instruction executed on the target debugging element can be responded to display the debugged special effect, the debugging speed is effectively increased, the problem can be quickly determined through the debugging method, and the special effect development and debugging efficiency is improved.
The resource processing method provided by the embodiment of the disclosure is exemplarily described below with reference to the accompanying drawings:
fig. 1 is a schematic diagram of a resource processing system according to an embodiment of the present disclosure, as shown in fig. 1, the resource processing system may include: an effect debugging device 110 and an effect resource storage device 120. Wherein, the special effect debugging device 110 is connected with the special effect resource storage device 120.
Specifically, the special effects debugging device 110 may be configured to develop and debug special effects resources until the effects of the special effects resources meet the expectations of developers. Both the special effect resources to be debugged and the special effect resources that meet expectations may be stored in the special effect resource storage device 120. Subsequently, the special effect resource meeting the expectation can be published on an application platform for picture shooting, video shooting and editing capabilities, so that a user can see the multimedia special effect content added with the special effect content in the shooting process, or various special effect contents are added to the multimedia special effect content in the later editing.
In some embodiments, the special effect debugging device 110 may be a terminal device with picture taking, video taking and editing capabilities, for example, the terminal device in the embodiments of the present disclosure may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook, a netbook, a Personal Digital Assistant (PDA), an Augmented Reality (AR)/Virtual Reality (VR) device. Various applications that use the captured and edited video may be run on the terminal device, such as a camera application, a short video application, a live application, a social application, a video conferencing application, an online education application, and so forth.
In some embodiments, the special effects resource storage 120 may include: a database for storing special effect resources.
Optionally, the special effects resource storage device 120 may be a functional entity, and the physical entity may be located on the special effects debugging device 110, or may be an independent server or other physical device. The specific physical form of the special effects resource storage device 120 is not limited in this disclosure.
It can be understood that, when the special effect resource storage device 120 is located on the special effect debugging device 110, that is, the special effect resource storage device 120 is a functional module in the special effect debugging device 110, and the communication mode between the special effect resource storage device 120 and the special effect debugging device 110 is communication between internal modules of the special effect debugging device 110. In this case, the communication flow between the two is the same as the "communication flow between the two when the special effect resource storage device 120 is a server independent from the special effect debugging device 110".
For the convenience of understanding, the disclosure is mainly illustrated by taking the special effects resource storage device 120 as a server independent from the special effects debugging device 110.
It should be noted that the above-mentioned special effects debugging device 110 and special effects resource storage device 120 may be referred to as electronic devices.
The resource processing method provided by the embodiment of the present disclosure may be applied to the special effect debugging device 110 in the application scenario shown in fig. 1. As shown in fig. 2, a resource processing method provided in the embodiment of the present disclosure includes:
s201, displaying special effect information corresponding to the target special effect resource by the special effect debugging equipment under the condition that the target special effect resource meets preset debugging conditions.
The target special effect resource comprises at least one special effect element, and the special effect information comprises initial special effect content corresponding to the at least one special effect element and at least one debugging element corresponding to the at least one special effect element in a one-to-one mode.
Optionally, the at least one special effect element may include: character special effect, graphic special effect, sound special effect, filter special effect, beauty special effect and the like.
Specifically, in the process of debugging the special effect resource, a developer holding the special effect debugging device can open an Application (APP) for debugging the special effect resource on the special effect debugging device, so that the special effect debugging device can display special effect information corresponding to the target special effect resource under the condition that the target special effect resource meets a preset debugging condition, and a subsequent developer can debug a special effect element to be debugged in at least one special effect element.
In an implementation manner, before the special effect debugging device displays the special effect information of the target special effect resource on a debugging interface of the target special effect resource, the resource processing method may include: the special effect debugging equipment opens an application program for debugging the special effect resources, and displays at least one special effect resource on an initial interface of the application program. Wherein the at least one special effects resource comprises a target special effects resource. Then, in response to the selection operation of the developer on the target special effect resource, the special effect debugging device calls a pre-created special effect software development kit and renders to generate at least one special effect element forming the target special effect resource.
Optionally, the debugging element may include: the system comprises at least one special effect identifier which corresponds to at least one special effect element one to one and is used for starting a debugging function control and the like.
Optionally, the special effect identifier may include: special effect names, special effect serial numbers, special effect codes, special effect contents corresponding to the special effects and the like.
Optionally, the initial special effect content may include: text, images, audio, etc.
For example, as shown in fig. 3, the special effect debugging device opens an application program for debugging the special effect resource, and displays special effect information corresponding to the target special effect resource. Wherein the special effect information includes: the method comprises the following steps of initial special effect content 301, special effect content 302 corresponding to an element 1, special effect content 303 corresponding to an element 2 and special effect content 304 corresponding to an element 3 which form a special effect resource.
S202, the special effect debugging device receives a debugging operation instruction executed on the target debugging element.
The target debugging element is at least one element in the at least one debugging element, and the debugging operation instruction is used for indicating that the target special effect content corresponding to the target debugging element in the initial special effect content is displayed or hidden.
And S203, responding to the debugging operation instruction by the special effect debugging equipment, and displaying the debugged special effect content.
Specifically, when the control operation is used to display target special effect content corresponding to the target special effect element, the debugged special effect content includes the target special effect content of the target special effect element. At this time, the developer can see the target effect content.
When the control operation is used for hiding the target special effect content, the target special effect content is removed from the debugged special effect content. That is, the debugged special effect content does not include the target special effect content. At this time, the developer can see the special effect content when the target special effect element is closed.
Therefore, a developer can determine whether the effect of the target special effect element rendering reaches the expectation by comparing the special effect content when the target special effect element is opened with the special effect content when the target special effect element is closed.
In one implementation, a method for a special effect debugging device to respond to a control operation performed on a target special effect element to display target special effect content corresponding to the control operation may include: the special effect debugging equipment responds to the control operation executed by a developer on the target special effect element, generates a corresponding special effect element switch instruction, calls a pre-created special effect software development kit, renders and generates target special effect content corresponding to the control operation, and displays the target special effect content.
Illustratively, as shown in fig. 4 (a), when the control operation is to turn on the special effect element 401, the special effect debugging apparatus displays the debugged special effect content 402 to which the special effect content corresponding to the special effect element 401 is added.
As shown in (b) in fig. 4, when the control operation is for turning off the special effect element 401, the special effect debugging apparatus displays the debugged special effect content 403 which does not include the special effect content corresponding to the special effect element 401.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S201 to S203, in the case that the target special effect resource satisfies the preset debugging condition, the special effect information corresponding to the target special effect resource may be displayed. The target special effect resource comprises at least one special effect element, and the special effect information comprises initial special effect content corresponding to the at least one special effect element and at least one debugging element corresponding to the at least one special effect element one to one. After a debugging operation instruction executed on the target debugging element is received, the debugged special effect content can be displayed in response to the debugging operation instruction. The target debugging element is at least one element in the at least one debugging element, and the debugging operation instruction is used for indicating that the target special effect content corresponding to the target debugging element in the initial special effect content is displayed or hidden. Therefore, the debugging operation instruction executed on the target debugging element can be responded to display the debugged special effect, the debugging speed is effectively increased, the problem can be quickly determined through the elimination method, and the special effect development and debugging efficiency is improved.
In an alternative embodiment, on the basis of the method embodiment shown in fig. 2, this embodiment provides a possible implementation manner. With reference to fig. 2, as shown in fig. 5, in S201, when a target special effect resource meets a preset debugging condition, a method for displaying special effect information corresponding to the target special effect resource by a special effect debugging device includes:
s501, under the condition that the special effect debugging equipment monitors that the state of the debugging function control is the starting state, the target special effect resource is determined to meet the preset debugging condition.
The debugging function control is used for indicating to start a debugging function aiming at the special effect information.
S502, the special effect debugging equipment responds to the trigger operation for starting the debugging function control, and the special effect information corresponding to the target special effect resource is displayed on the debugging interface.
Specifically, the debugging interface of the target special-effect resource may include a control for starting a debugging function, and when a developer wants to debug the target special-effect resource, the start control may be triggered. And the special effect debugging equipment responds to the triggering operation executed on the starting control and displays at least one debugging control which corresponds to at least one special effect element one to one. Therefore, when the starting control is not triggered, the debugging control is not displayed on the screen, and the condition that developers watch other special-effect contents of the debugging interface of the target special-effect resource is not influenced.
When a developer needs to debug any element of the target special effect resource, the debugging control corresponding to the element can be triggered, so that the processes of modifying source codes, packaging, installing and the like are reduced, and the corresponding target special effect content is directly displayed.
Illustratively, as shown in fig. 6 (a), the special effects debugging apparatus displays multimedia special effects content 601 to which special effects resources are added, and is used for starting a debugging function control 602. As shown in fig. 6 (b), when the developer triggers the start control 602, a plurality of debugging controls corresponding to a plurality of special effect elements constituting a special effect resource one to one are displayed, including: debugging control 603 corresponding to element 1, debugging control 604 corresponding to element 2, debugging control 605 corresponding to element 3, debugging control 606 corresponding to element 4, debugging control 607 corresponding to element 5 and debugging control 608 corresponding to element 6.
In an implementation manner, when a debugging interface of a target special effect resource includes initial special effect content and at least one debugging element corresponding to at least one special effect element one to one, when the number of times that a developer triggers a debugging control corresponding to the target special effect element is an odd number, a control operation may be used to close the target special effect element. Accordingly, when the number of triggers is an even number, the control operation may be used to turn on the target special effect element.
In connection with the above example, as shown in fig. 6 (b), the effects debugging apparatus displays multimedia effects content 601 and a plurality of debugging controls.
As shown in fig. 6 (c), in response to the developer triggering the debug control 603 corresponding to element 1 for the first time, the special effects debugging apparatus displays debugged special effects content 609 that does not include the special effects content corresponding to element 1.
As shown in (d) in fig. 6, in response to the developer triggering the debugging control 603 corresponding to the element 1 for the second time, the special effect debugging device displays the debugged special effect content 601 to which the special effect content corresponding to the element 1 is added.
In another implementation manner, when the debugging interface of the target special effect resource includes initial special effect content to which no special effect is added, and when the number of times that the developer triggers the debugging control corresponding to the target special effect element is odd, the control operation may be used to start the target special effect element. Accordingly, when the number of triggers is even, the control operation may be used to turn off the target special effect element.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S501 to S502, when the special effect debugging device monitors that the state of the debugging function control is the on state, it can be determined that the target special effect resource meets the preset debugging condition. Then, the special effect debugging device may display special effect information corresponding to the target special effect resource in response to a trigger operation executed to start the debugging function control. Therefore, the viewing experience of developers on target special-effect resources can be improved, the processes of source code re-modification, packaging, installation and the like can be omitted, and the debugging efficiency is improved.
In an alternative embodiment, in a case that the debugging interface includes a first display area and a second display area that are arranged in a stacked manner, on the basis of the embodiment of the method shown in fig. 5, this embodiment provides a possible implementation manner. Referring to fig. 5, as shown in fig. 7, in S203, in response to the debugging operation instruction, the method for displaying the debugged special effect content by the special effect debugging device includes:
s701, displaying a special effect element list of the target special effect resource in a first display area by the special effect debugging device.
Wherein the special effects element list comprises: and the at least one debugging element corresponds to the at least one special effect element one to one.
Optionally, the debugging element may include a display state, special effect content, an element identifier, and a debugging control.
Optionally, the element identifier corresponding to the special effect element may include: at least one of identification information such as a serial number of the special effect element, a type of the special effect element, a name of the special effect element, and the like.
Specifically, the special effect element list includes at least one element identifier, which can correspond to at least one special effect element one to one, so that a developer can accurately determine a debugging control corresponding to a target special effect element to be debugged in the special effect element list, and can further perform a triggering operation on the debugging control.
In an implementation manner, in conjunction with fig. 1, the special effect debugging device 110 may invoke a pre-created software development kit according to a target special effect resource stored in the special effect resource storage device 120, and update the special effect element list in real time.
S702, the special effect debugging device displays initial special effect content corresponding to at least one special effect element in a second display area.
Illustratively, as shown in fig. 8 (a), the special effects debugging apparatus displays initial special effects content 801 and is used to turn on a debugging feature control 802. As shown in fig. 8 (b), when the developer triggers the launch control 802, a special effects element list 803 is displayed. Among them, the special effect element list 803 includes: the serial number corresponding to the element 1 is "1", the name is "animation 1", and the debugging control 804; the serial number corresponding to element 2 is "2", the name is "animation 2", and the debugging control 805; the serial number corresponding to element 3 is "3", the name is "animation 3", and the debugging control 806; the serial number corresponding to the element 4 is "4", the name of "beauty effect 1", and the debugging control 807; the serial number corresponding to the element 5 is '5', the name is 'beauty effect 2', and the debugging control 808 is provided; the serial number corresponding to element 6 is "6", the name is "filter", and the debugging control 809.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S701 to S702, the special effect debugging device displays a list of special effect elements of the target special effect resource in the first display area, and displays the initial special effect content corresponding to at least one special effect element in the second display area. Because the special effect element list comprises at least one regulating element corresponding to at least one special effect element one to one, the control operation of developers on the target special effect element can be realized. In an alternative embodiment, as shown in fig. 9, the resource processing method further includes:
s901, displaying at least one resource identifier corresponding to at least one special-effect resource one to one by the special-effect debugging equipment on a special-effect resource debugging interface.
Wherein the at least one special effects resource comprises a target special effects resource.
Optionally, the special effect resource debugging interface may include: the method comprises the steps of initial special effect content, at least one resource identification and one-to-one corresponding special effect control.
Optionally, the resource identifier may include: at least one of a plurality of identification information such as a special effect schematic diagram, a special effect serial number and a special effect name.
Illustratively, as shown in fig. 10 (a), the special effect debugging apparatus opens an application program for debugging the special effect resource, and displays, on a special effect resource debugging interface, a special effect resource 1, a special effect resource 2, a special effect resource 3, a special effect resource 4, a special effect resource 5, a special effect resource 6, a special effect resource 7, a special effect resource 8, a special effect resource 9, a special effect resource 10, a special effect resource 11, a special effect resource 12, a special effect resource 13, a special effect resource 14, a special effect resource 15, and initial special effect content 1001.
S902, responding to selection operation executed on the resource identifier corresponding to the target special effect resource in the at least one resource identifier by the special effect debugging equipment, and acquiring special effect information corresponding to the target special effect resource.
In an implementation manner, when the special effect resource debugging interface includes a special effect control corresponding to each resource identifier in at least one resource identifier, the selecting operation performed on the resource identifier of the target special effect resource may include: and executing trigger operation on the special effect control corresponding to the resource identifier of the target special effect resource.
In combination with the above example, as shown in fig. 10 (b), in response to a trigger operation performed on the special effect resource 7 by a developer, the special effect debugging apparatus displays a debugging interface of the special effect resource 7, including: the display control method comprises the following steps of obtaining effect content 1002 corresponding to an element 1, 1003 corresponding to an element 2, 1004 corresponding to an element 3 and an activation control 1005, wherein the effect content 1002 corresponds to the element 1, the effect content 1003 corresponds to the element 2, and the activation control 1005.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S901 to S902, the special resource debugging device may display at least one special resource on the special resource debugging interface. Then, in response to a selection operation performed on a target special effect resource among the at least one special effect resource, the special effect debugging device may acquire special effect information corresponding to the target special effect resource. In this way, a developer may debug any one of the at least one special effects resource.
In an optional embodiment, when the target debugging element includes a debugging control corresponding to the target special effect element, on the basis of the embodiment of the method illustrated in fig. 2, this embodiment provides a possible implementation manner. With reference to fig. 2, as shown in fig. 11, in S202, the method for the special effect debugging apparatus to receive a debugging operation instruction executed on a target debugging element includes:
s1101, when the initial special effect content comprises the target special effect content, the special effect debugging equipment responds to the trigger operation executed on the debugging control, and generates a debugging operation instruction for indicating that the target special effect content in the initial special effect content is hidden.
And S1102, when the initial special effect content does not comprise the target special effect content, responding to the trigger operation executed on the debugging control by the special effect debugging equipment, and generating a debugging operation instruction for indicating the display of the target special effect content in the initial special effect content.
The technical scheme provided by the embodiment at least has the following beneficial effects: as known from S1101-S1102, when the initial special effect content includes the target special effect content, the special effect debugging device may generate a debugging operation instruction for instructing to hide the target special effect content in the initial special effect content in response to the triggering operation performed on the debugging control. When the initial special-effect content does not include the target special-effect content, the special-effect debugging device may generate a debugging operation instruction for instructing display of the target special-effect content in the initial special-effect content in response to a triggering operation performed on the debugging control. The disclosure provides a method for receiving a debugging operation instruction, so that special effect content after debugging is displayed in a subsequent response to the debugging operation instruction.
In an alternative embodiment, on the basis of the method embodiment shown in fig. 11, this embodiment provides a possible implementation manner. Referring to fig. 11, as shown in fig. 12, in S203, the method for displaying the debugged special effect content by the special effect debugging apparatus includes:
s1201, the special effect debugging device responds to a debugging operation instruction, calls a pre-created software development kit, generates the debugged special effect content, and displays the debugged special effect content.
Alternatively, the Software Development Kit (SDK) may include: a particular software package, software framework, hardware platform, operating system, etc. establishes a collection of development tools for application software.
Specifically, the special effect debugging device may render at least one special effect content corresponding to at least one special effect element constituting the target special effect resource by calling a software development kit created in advance. Then, the effect debugging apparatus may determine target effect content corresponding to the control operation from the at least one effect content and display the target effect content.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S1201, since the special effect debugging apparatus responds to the control operation performed on the target special effect element, a software development kit created in advance may be directly called to generate the target special effect content, and the target special effect content is displayed. Compared with the general technology, the method reduces the procedures of source code modification, packaging, installation and the like, effectively improves the troubleshooting speed, and further can improve the special effect development and debugging efficiency.
With reference to fig. 13, an embodiment of the present disclosure is described below, where the resource processing method includes:
s1301, the special effect debugging device responds to selection operation executed on the target special effect resource, calls a pre-created software development kit, and generates at least one special effect content and a special effect element list, wherein the at least one special effect element list corresponds to at least one special effect element forming the target special effect resource.
S1302, the special effect debugging device displays the target special effect content on a debugging interface of the target special effect resource according to the at least one special effect content.
The debugging interface of the target special effect resource also comprises a control used for starting a debugging function.
And S1303, determining whether to execute triggering operation on the debugging function control by the special effect debugging equipment.
When the trigger operation is performed on the debug function control, S1304 is performed.
And when the debugging function control is not triggered, the special effect debugging equipment continues to display the target special effect content.
And S1304, responding to the trigger operation executed on the debugging function control by the special effect debugging equipment, and displaying a special effect element list of the target special effect resource.
The special effects element list includes: and the at least one debugging control corresponds to the at least one special effect element one to one.
And S1305, responding to the debugging control corresponding to the target special effect element by the special effect debugging equipment to execute triggering operation, and generating a corresponding special effect element switch instruction.
After S1305, the trickplay debugging apparatus repeatedly executes S1302.
In an alternative embodiment, on the basis of the method embodiment shown in fig. 7, this embodiment provides a possible implementation manner. As shown in fig. 14, the resource processing method further includes:
and S1401, responding to the debugging operation instruction, the special effect debugging equipment updates the special effect element list.
Specifically, when the debugging operation instruction is used to instruct to display or hide target special effect content corresponding to the target special effect element, the debugging element corresponding to the target special effect element in the special effect element list needs to be updated.
For example, when the debugging operation instruction is used to instruct to display the target special effect content, the special effect debugging device may update the display state corresponding to the target special effect element in the special effect element list to be on. When the debugging operation instruction is used for indicating to hide the target special effect content, the special effect debugging device may update the display state corresponding to the target special effect element in the special effect element list to be closed.
And S1402, the special effect debugging device displays the updated special effect element list in the first display area.
It is understood that, in practical implementation, the resource processing apparatus according to the embodiment of the present disclosure may include one or more hardware structures and/or software modules for implementing the corresponding resource processing method, and these hardware structures and/or software modules may constitute an electronic device. Those of skill in the art will readily appreciate that the present disclosure can be implemented in hardware or a combination of hardware and computer software for implementing the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Based on such understanding, the embodiment of the present disclosure also provides a resource processing apparatus. Fig. 15 shows a schematic structural diagram of a resource processing apparatus according to an embodiment of the present disclosure. As shown in fig. 15, the resource processing apparatus includes: a display unit 1501 and a processing unit 1502.
The display unit 1501 is configured to display special effect information corresponding to the target special effect resource when the target special effect resource meets a preset debugging condition; the target special effect resource comprises at least one special effect element, and the special effect information comprises initial special effect content corresponding to the at least one special effect element and at least one debugging element corresponding to the at least one special effect element one to one.
A processing unit 1502 configured to receive a debug operation instruction executed on a target debug element; the target debugging element is at least one element in the at least one debugging element, and the debugging operation instruction is used for indicating that the target special effect content corresponding to the target debugging element in the initial special effect content is displayed or hidden.
The display unit 1501 is further configured to display the debugged special effect content in response to the debugging operation instruction.
Optionally, the display unit 1501 is specifically configured to determine that the target special-effect resource meets the preset debugging condition when the state of the debugging function control is monitored to be the on state; the debugging function control is used for indicating to start a debugging function aiming at the special effect information; and responding to the trigger operation of the debugging function control, and displaying special effect information corresponding to the target special effect resource on a debugging interface.
Optionally, the debugging interface includes a first display area and a second display area that are arranged in a stacked manner, and the display unit 1501 is specifically configured to display a special effect element list of the target special effect resource in the first display area; the special effects element list includes: at least one debugging element corresponding to at least one special effect element one to one; and displaying the initial special effect content corresponding to the at least one special effect element in the second display area.
Optionally, the processing unit 1502 is further configured to update the special effect element list in response to the debugging operation instruction; the display unit 1501 is further configured to display the updated special effect element list in the first display area.
Optionally, the display unit 1501 is further configured to display at least one resource identifier corresponding to at least one special-effect resource one to one; the at least one special effects resource comprises a target special effects resource; the processing unit 1502 is further configured to obtain special effect information corresponding to the target special effect resource in response to a selection operation performed on a resource identifier corresponding to the target special effect resource in the at least one resource identifier.
Optionally, the target debugging element includes: debugging controls corresponding to the target special effect elements; the processing unit 1502 is specifically configured to, when the initial special effect content includes the target special effect content, generate a debugging operation instruction for instructing to hide the target special effect content in the initial special effect content in response to a trigger operation performed on the debugging control; and when the initial special-effect content does not comprise the target special-effect content, generating a debugging operation instruction for indicating that the target special-effect content in the initial special-effect content is displayed in response to the triggering operation executed on the debugging control.
Optionally, the display unit 1501 is specifically configured to invoke a pre-created software development kit in response to the debugging operation instruction, generate the debugged special effect content, and display the debugged special effect content.
As described above, the embodiment of the present disclosure may perform the division of the functional modules on the resource processing apparatus according to the above method example. The integrated module can be realized in a hardware form, and can also be realized in a software functional module form. In addition, it should be further noted that the division of the modules in the embodiments of the present disclosure is schematic, and is only a logic function division, and there may be another division manner in actual implementation. For example, the functional blocks may be divided for the respective functions, or two or more functions may be integrated into one processing block.
With regard to the resource processing apparatus in the foregoing embodiment, the specific manner in which each module performs operations and the beneficial effects thereof have been described in detail in the foregoing method embodiment, and are not described herein again.
The embodiment of the disclosure also provides a resource processing device. Fig. 16 shows a schematic structural diagram of a resource processing apparatus according to an embodiment of the present disclosure. The resource handling means may comprise at least one processor 221, a communication bus 222, a memory 223 and at least one communication interface 224.
The processor 221 may be a Central Processing Unit (CPU), a micro-processing unit, an ASIC, or one or more integrated circuits for controlling the execution of programs in accordance with the disclosed aspects. In conjunction with fig. 15, the processor 221 is configured to perform operations performed by the display unit 1501 and the processing unit 1502.
The communication bus 222 may include a path that conveys information between the aforementioned components.
Communication interface 224, using any transceiver or like device, is used to communicate with other devices or communication networks, such as electronic devices, ethernet, radio Access Network (RAN), wireless Local Area Networks (WLAN), etc.
Memory 223 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and connected to the processing unit by a bus. The memory may also be integrated with the processing unit.
The memory 223 is used for storing application program codes for executing the disclosed solution, and the processor 221 controls the execution. The processor 221 is configured to execute application program code stored in the memory 223 to implement the functions in the disclosed method.
In particular implementations, processor 221 may include one or more CPUs, such as CPU0 and CPU1 in fig. 16, as one embodiment.
In particular implementations, the resource processing device may include a plurality of processors, such as processor 221 and processor 225 in fig. 16, as an embodiment. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In one embodiment, the resource processing apparatus may further include an input device 226 and an output device 227. Input device 226 communicates with output device 227 and can accept user input in a variety of ways. For example, the input device 226 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others. An output device 227 is in communication with the processor 221 and may display information in a variety of ways. For example, the output device 227 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, or the like.
Those skilled in the art will appreciate that the architecture shown in fig. 16 is not limiting on the resource handling devices, and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
The present disclosure also provides a computer-readable storage medium including instructions stored thereon, which, when executed by a processor of an electronic device, enable the electronic device to perform the resource processing method provided by the above-described illustrated embodiment. For example, the computer readable storage medium may be a memory 223 comprising instructions executable by a processor 221 of the electronic device to perform the above-described method.
Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
The present disclosure also provides a computer program product containing instructions that, when run on an electronic device, cause the electronic device to perform the resource processing method provided by the above-described illustrative embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (10)

1. A method for processing resources, comprising:
displaying special effect information corresponding to a target special effect resource under the condition that the target special effect resource meets a preset debugging condition; the target special effects resource comprises at least one special effects element; the special effect information comprises initial special effect content corresponding to the at least one special effect element and at least one debugging element corresponding to the at least one special effect element one to one;
receiving a debugging operation instruction executed on a target debugging element; the target debugging element is at least one element in the at least one debugging element; the debugging operation instruction is used for indicating that target special effect content corresponding to the target debugging element in the initial special effect content is displayed or hidden;
and responding to the debugging operation instruction, and displaying the debugged special effect content.
2. The resource processing method according to claim 1, wherein displaying the special effect information corresponding to the target special effect resource when the target special effect resource satisfies a preset debugging condition includes:
determining that the target special effect resource meets a preset debugging condition under the condition that the state of the debugging function control is monitored to be an open state; the debugging function control is used for indicating to start a debugging function aiming at the special effect information;
and responding to the triggering operation of the debugging function control, and displaying special effect information corresponding to the target special effect resource on a debugging interface.
3. The resource processing method according to claim 2, wherein the debugging interface includes a first display area and a second display area that are arranged in a stacked manner, and the displaying of the special effect information corresponding to the target special effect resource on the debugging interface includes:
displaying a special effect element list of the target special effect resource in the first display area; the special effects element list includes: the at least one debugging element corresponds to the at least one special effect element one to one;
and displaying the initial special effect content corresponding to the at least one special effect element in the second display area.
4. The resource processing method according to claim 3, further comprising:
updating the special effect element list in response to the debugging operation instruction;
and displaying the updated special effect element list in the first display area.
5. The resource handling method according to any one of claims 1 to 4, wherein before the displaying the special effect information corresponding to the target special effect resource, the method further comprises:
displaying at least one resource identifier corresponding to at least one special-effect resource one to one; the at least one special effects resource comprises the target special effects resource;
and responding to a selection operation executed on a resource identifier corresponding to the target special effect resource in the at least one resource identifier, and acquiring special effect information corresponding to the target special effect resource.
6. The resource handling method of any of claims 1-4, wherein the target debug element comprises: debugging controls corresponding to the target special effect elements; the receiving a debugging operation instruction executed on a target debugging element comprises:
when the initial special-effect content comprises the target special-effect content, responding to a trigger operation executed on the debugging control, and generating a debugging operation instruction for indicating to hide the target special-effect content in the initial special-effect content;
when the initial special-effect content does not comprise the target special-effect content, responding to the trigger operation executed on the debugging control, and generating a debugging operation instruction for indicating that the target special-effect content in the initial special-effect content is displayed.
7. The resource processing method according to claim 6, wherein the displaying the debugged special effect content includes:
and calling a pre-created software development kit, generating the debugged special effect content, and displaying the debugged special effect content.
8. A resource processing apparatus, comprising: a display unit and a processing unit;
the display unit is used for displaying the special effect information corresponding to the target special effect resource under the condition that the target special effect resource meets the preset debugging condition; the target special effect resource comprises at least one special effect element, and the special effect information comprises initial special effect content corresponding to the at least one special effect element and at least one debugging element corresponding to the at least one special effect element one to one;
the processing unit is used for receiving a debugging operation instruction executed on a target debugging element; the target debugging element is at least one element in the at least one debugging element, and the debugging operation instruction is used for indicating that target special effect content corresponding to the target debugging element in the initial special effect content is displayed or hidden;
and the display unit is also used for responding to the debugging operation instruction and displaying the debugged special effect content.
9. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the resource handling method of any of claims 1-7.
10. A computer-readable storage medium having instructions stored thereon, wherein the instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the resource handling method of any one of claims 1-7.
CN202211226467.9A 2022-10-09 2022-10-09 Resource processing method, device, equipment and storage medium Pending CN115794603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211226467.9A CN115794603A (en) 2022-10-09 2022-10-09 Resource processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211226467.9A CN115794603A (en) 2022-10-09 2022-10-09 Resource processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115794603A true CN115794603A (en) 2023-03-14

Family

ID=85432581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211226467.9A Pending CN115794603A (en) 2022-10-09 2022-10-09 Resource processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115794603A (en)

Similar Documents

Publication Publication Date Title
WO2018228211A1 (en) Application conversion method, apparatus and device
CN111026396B (en) Page rendering method and device, electronic equipment and storage medium
US20190065028A1 (en) Agent-based platform for the development of multi-user virtual reality environments
CN110874217B (en) Interface display method and device for quick application and storage medium
CN106547547B (en) data acquisition method and device
CN107526623B (en) Data processing method and device
TW201913361A (en) Page update method and apparatus
CN111143204B (en) Applet code scanning method and device
CN110427237B (en) Method and device for cross-application access to target page and electronic equipment
CN110865863B (en) Interface display method and device for fast application and storage medium
CN104680569A (en) Method updating target 3D animation based on mobile terminal and device adopting method
WO2023124657A1 (en) Micro-application running method and apparatus, device, storage medium, and program product
CN115794603A (en) Resource processing method, device, equipment and storage medium
US8615744B2 (en) Methods and system for managing assets in programming code translation
CN110471828A (en) A kind of operating system testing method, apparatus and its equipment
CN111338961B (en) Application debugging method and device, electronic equipment and storage medium
CN111104183B (en) Application program running method and device, electronic equipment and storage medium
CN111199519B (en) Method and device for generating special effect package
CN114514730A (en) Filtering group messages
CN111813407A (en) Game development method, game running device and electronic equipment
EP3848800B1 (en) Method and apparatus for displaying message box, terminal and storage medium
CN113946386B (en) Screen capture control method and device, computer equipment and storage medium
CN113032004B (en) Method, apparatus and program product for managing development jobs in a development environment
US20240126577A1 (en) Visualization of application capabilities
CN115220782A (en) Activity configuration method and device, readable medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination