Resource processing method and device, electronic equipment and computer readable storage medium

Through automated resource processing methods, resource packaging and uploading is used to use resource indication information in the target file, solving the problem of cumbersome and time-consuming resource packaging process in the existing technology, and achieving efficient resource packaging and uploading.

CN120010898APending Publication Date: 2025-05-16NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311521098.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-14
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the prior art, the resource packaging process relies on the collaborative cooperation of various departments, resulting in cumbersome and time-consuming processes.

Method used

By receiving the package opening instruction, the resource indication information in the target file is read, the first resource to be packaged and the second resource to be dependent, and the package and upload to the content distribution server automatically.

Benefits of technology

The automation of resource packaging has been realized, the efficiency of resource packaging has been improved, and the time for manpower to participate in the packaging process has been reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010898A_ABST
    Figure CN120010898A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a resource processing method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps that a packaging opening instruction is received, a target file indicated by the packaging opening instruction is read, and resource indication information corresponding to resources needing to be packaged is recorded in the target file; determining a first resource indicated by the resource indication information, and determining at least one second resource on which the first resource depends; packaging the first resource and the second resource to obtain a resource packaging file; and uploading the resource packaging file to a content distribution server. The target file is read according to the packaging opening instruction during packaging, the resource needing to be packaged is determined through the target file, the resource needing to be packaged is packaged, packaging of the resource is completed in an automatic mode, and the resource packaging efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a resource processing method, device, electronic device and computer-readable storage medium. Background Art

[0002] As the project progresses, more and more development tasks need to be assigned to multiple teams. For example, they need to be assigned to outsourced teams to speed up the project development progress. Therefore, the project resources need to be packaged and uploaded to the multiple teams.

[0003] However, currently resource packaging still depends on the collaboration of various project teams. For example, the external interface person needs to communicate with each project team to determine the path of the resources that need to be uploaded, configure the relevant path into the list file, and then notify the file packaging department via email to perform packaging according to the path in the list file. After the file packaging department captures the corresponding resources, it packages them, and then the file packaging department notifies the external interface person that the packaging has been completed. Subsequently, the external interface person uploads the packaged files to each team respectively.

[0004] As mentioned above, the current packaging process relies on the collaboration of various departments, which makes the packaging process cumbersome and time-consuming. Summary of the invention

[0005] The embodiments of the present application provide a resource processing method, device, electronic device and computer-readable storage medium, which can automatically implement the resource packaging process and improve the resource packaging efficiency.

[0006] In a first aspect, an embodiment of the present application provides a resource processing method, including:

[0007] Receive a package start instruction, and read a target file indicated by the package start instruction, wherein the target file records resource indication information corresponding to resources to be packaged;

[0008] Determine a first resource indicated by the resource indication information, and determine at least one second resource on which the first resource depends;

[0009] Packaging the first resource and the second resource to obtain a resource packaging file;

[0010] The resource package file is uploaded to the content distribution server.

[0011] In a second aspect, an embodiment of the present application further provides a resource processing device, including:

[0012] A receiving module, used for receiving a packing start instruction, and reading a target file indicated by the packing start instruction, wherein the target file records resource indication information corresponding to resources to be packed;

[0013] A determination module, configured to determine a first resource indicated by the resource indication information, and to determine at least one second resource on which the first resource depends;

[0014] A packaging module, used for packaging the first resource and the second resource to obtain a resource packaging file;

[0015] The uploading module is used to upload the resource packaging file to the content distribution server.

[0016] In a third aspect, an embodiment of the present application provides a resource processing method, including:

[0017] In response to the interface start operation, displaying a package resource download interface, wherein the package resource download interface includes a resource package pull control and a download path input box;

[0018] Receiving a target download path input through the download path input box;

[0019] Display the file name of at least one resource package file under the target download path;

[0020] A selection operation for a target file name in the file name is received, and in response to a first trigger operation of the resource package body pull control, a target resource package file corresponding to the target file name is downloaded.

[0021] In a fourth aspect, an embodiment of the present application further provides a resource processing device, including:

[0022] A response module, used for displaying a package resource download interface in response to an interface startup operation, wherein the package resource download interface includes a resource package pull control and a download path input box;

[0023] A receiving module, used for receiving a target download path input through the download path input box;

[0024] A display module, used to display the file name of at least one resource package file under the target download path;

[0025] The download module is used to receive a selection operation for a target file name in the file name, and in response to a first trigger operation of the resource package pull control, download a target resource package file corresponding to the target file name.

[0026] In a fifth aspect, an embodiment of the present application further provides an electronic device, comprising a memory storing a plurality of instructions; the processor loads instructions from the memory to execute any one of the resource processing methods provided in the embodiment of the present application.

[0027] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a plurality of instructions, wherein the instructions are suitable for loading by a processor to execute any one of the resource processing methods provided in the embodiment of the present application.

[0028] In the embodiment of the present application, by receiving a packaging start instruction, reading the target file indicated by the packaging start instruction, the target file records the resource indication information corresponding to the resource to be packaged, determining the first resource indicated by the resource indication information, and determining at least one second resource on which the first resource depends, packaging the first resource and the second resource to obtain a resource packaging file, and uploading the resource packaging file to the content distribution server. By reading the target file according to the packaging start instruction during packaging, the target file is used to determine the resources to be packaged, and by packaging the resources to be packaged, the resources are packaged in an automated manner, thereby improving the efficiency of resource packaging. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0030] Figure 1 It is a schematic diagram of an embodiment of a resource processing method provided in an embodiment of the present application;

[0031] Figure 2 It is a schematic diagram of the content of a resource details file provided in an embodiment of the present application;

[0032] Figure 3 It is a schematic diagram of a project file list provided in an embodiment of the present application;

[0033] Figure 4 It is a schematic diagram of the contents of the target file provided in the embodiment of the present application;

[0034] Figure 5 is a detection flow chart of special effect layer data provided in an embodiment of the present application;

[0035] Figure 6 is a detection flow chart of special effect material data provided by an embodiment of the present application;

[0036] Figure 7 is a detection flow chart of special effect map data provided by an embodiment of the present application;

[0037] Figure 8 is a detection flow chart of special effect map data provided by an embodiment of the present application;

[0038] Fig. 9 It is a flowchart of another embodiment of the resource processing method provided in the embodiment of the present application;

[0039] Fig.10 is a schematic diagram of a packaged resource download interface provided in an embodiment of the present application;

[0040] Fig.11 is a schematic diagram of the structure of a resource processing device provided in an embodiment of the present application;

[0041] Fig.12 is another structural schematic diagram of the resource processing device provided in an embodiment of the present application;

[0042] Fig.13 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0044] Embodiments of the present application provide a resource processing method, device, electronic device, and computer-readable storage medium.

[0045] Specifically, this embodiment will be described from the perspective of a resource processing device, which can be integrated in an electronic device, that is, the resource processing method of the embodiment of the present application can be executed by an electronic device, which can be a terminal device. The terminal device can be a tablet computer, a laptop computer, a touch screen, or a personal computer (PC, Personal Computer) and other devices.

[0046] In some embodiments, the resource processing device may also be integrated into a terminal and a server cluster. For example, the terminal may transmit the received instruction to the server, and the server may perform corresponding resource processing operations based on the received instruction.

[0047] For example, the resource processing method provided in the embodiment of the present application can be applied to a resource processing system. Among them, the resource processing system may include a terminal and a server, and the terminal may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. The terminal may specifically be a terminal device for running a resource processing application, such as a terminal specifically being one of a mobile phone, a tablet computer, a laptop computer, etc. The terminal and the server may communicate bidirectionally through a network, and the server may be used to store resource data required for resource processing, such as scene model resources, special effect resources, maps, animation and other data. The server may be an independent server, or a server network or server cluster composed of servers, which includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of a plurality of servers. Among them, the cloud server is composed of a large number of computers or network servers based on cloud computing (Cloud Computing).

[0048] The following is a detailed description in conjunction with the accompanying drawings. In this embodiment, the executor of the resource processing can be a terminal device or a server. In this embodiment, the executor is a terminal device that can receive a package opening instruction, and the resource processing method provided in this embodiment is executed by the processor of the terminal device. For the sake of simplicity, the executor will be omitted in the following text. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown in the accompanying drawings.

[0049] Please refer to Figure 1 The specific process of the resource processing method may be as follows: Step 101 to Step 104, wherein:

[0050] 101. Receive a packaging start instruction, and read a target file indicated by the packaging start instruction, wherein the target file records resource indication information corresponding to resources to be packaged.

[0051] It can be understood that instructions are instructions and commands for directing the work of a machine, a program is a series of instructions arranged in a certain order, and the process of executing a program is the working process of a computer. The package start instruction indicates the start of resource packaging. Among them, the package start instruction can be generated by triggering a control, for example, configuring a package control on a visual interface, and generating a package start instruction in response to a trigger operation on the package control.

[0052] It should be noted that the target file is a file bound to the package opening instruction, and after receiving the package opening instruction, the content in the target file is directly read. Among them, the target file is a file that can record content, including but not limited to a text file (txt) or an extensible markup language file (XML).

[0053] The resource indication information describes the resources that need to be packaged, so as to indicate to the device which resources need to be packaged. For example, the resource indication information may be number information, type information or storage path information of the resources that need to be packaged.

[0054] It is understandable that receiving the packing start instruction and reading the target file helps to automatically pack the resources using the resource indication information recorded in the target file.

[0055] 102. Determine a first resource indicated by the resource indication information, and determine at least one second resource on which the first resource depends.

[0056] Among them, the first resource and the second resource are resources in the project, including special effect data, grid models, scene models, virtual character models and other resources. Among them, in the embodiment of the present application, the second resource is the resource on which the first resource depends. Therefore, the second resource can be a resource such as a texture and an animation.

[0057] It is understandable that the first resource is a resource that is directly described by the resource indication information and needs to be packaged, and the second resource is a resource that the first resource depends on. Since the resource indication information describes the resources that need to be packaged, the first resource that needs to be packaged can be directly determined through the resource indication information.

[0058] Correspondingly, after the first resource is determined, the second resource on which the first resource depends can be acquired according to the resource dependency relationship with the first resource.

[0059] It is understandable that since the purpose of resource packaging is to allow other developers to develop resources or special effects, determining the second resource that is related to the first resource or on which the first resource depends will help the recipient of the packaged resources to develop smoothly after the resources are packaged.

[0060] 103. Package the first resource and the second resource to obtain a resource package file.

[0061] Among them, the resource package file is obtained by packaging, which is convenient for transferring resources to multiple development teams. Among them, Jenkins can be called for packaging. Jenkins is an open source, Java-based continuous integration (CI) tool used to monitor continuous repetitive work. Jenkins functions include: continuous software version release / test projects, monitoring external call execution work, deploying test environments, and running scheduled tasks in combination with automated testing tools.

[0062] In the embodiment of the present application, before packaging the first resource and the second resource, the resources are updated to ensure that the packaged resources are the latest resources.

[0063] 104. Upload the resource package file to a content distribution server.

[0064] It is understandable that the content distribution server is based on the content distribution network and can distribute the resource package files to multiple nodes synchronously. Therefore, uploading the resource package files to the content distribution server can facilitate sharing by multiple development teams and downloading of the resource package files.

[0065] In summary, the embodiment of the present application reads the target file according to the packaging start instruction during packaging, utilizes the target file to determine the resources that need to be packaged, and completes the packaging of resources in an automated manner through the packaging processing of the resources that need to be packaged, thereby improving the efficiency of resource packaging.

[0066] Optionally, in an embodiment of the present application, the resource indication information may be the name information or identification information of the resource to be packaged, and the resource to be packaged may be determined based on the name information or identification information. Also, the resource has a corresponding storage path in the project, so after obtaining the resource indication information, the storage path of the resource may be determined according to the resource indication information, and then the specific resource may be determined from the corresponding path, that is, optionally, in some embodiments of the present application, the resource indication information includes model identification information, and the step of "determining the first resource indicated by the resource indication information" includes:

[0067] Reading a resource details file, wherein the resource details file records each model identification information and a resource storage path of a resource corresponding to each model identification information;

[0068] Querying the first resource storage path corresponding to the model identification information from the resource details file;

[0069] The resource under the first resource storage path is used as the first resource.

[0070] It should be noted that the resource details file is a file that records the name and storage path of each resource in the project. For example, see Figure 2 As shown, Figure 2 It is a schematic diagram of the content of the resource details file provided in the embodiment of the present application, which includes a list of model identification information and a list of resource storage paths, wherein the list of model identification information records multiple model identification information, and the list of resource storage paths records multiple resource storage paths, and each model identification information corresponds to a resource storage path. By reading the resource details file, the first resource storage path corresponding to the model identification information contained in the resource indication information can be queried, and then the resources under the first resource storage path can be used as the first resource.

[0071] It can be understood that the resource storage path is the storage path of the resource, and the storage path can be a collection of a series of folder names. For example, the storage path can be C / P / xxm, which means that the resource is stored in the xmm file under the P folder of the C drive.

[0072] Among them, by reading the resource details file, the resource specifically indicated by the resource indication information can be quickly determined, which facilitates obtaining the resource for packaging.

[0073] Optionally, since the second resource is a resource on which the first resource depends, the second resource on which the first resource depends can be determined based on a link relationship between resources, wherein the link relationship is generally recorded in a resource index file, and therefore, the resource index file can be read to obtain the second resource on which the first resource depends, that is, optionally, in some embodiments of the present application, the step of “determining at least one second resource on which the first resource depends” includes:

[0074] Read the resource index file that records the link relationship between resources;

[0075] At least one second resource on which the first resource depends is determined from the resource index file.

[0076] It should be noted that the resource index file is a file in the project, which records the link relationship between resources in the project. For example, see Figure 3 As shown, Figure 3 This is a schematic diagram of a project file list provided in an embodiment of the present application, which shows multiple resource files included in the project and a resource index file resource.repository. The resource index file contains the ID (GUID), name (NAME) and dependent assets or dependent resources (Deps) of all resources or assets. Therefore, the second resource that the first resource depends on can be directly determined from the resource index file.

[0077] Optionally, in order to ensure that the uploaded resource package file can be loaded, it is also necessary to package the related resource processing engine together, that is, optionally, in some embodiments of the present application, the target file also records the engine dependent resource indication information corresponding to the resources required to start the resource processing engine, and the step of "packaging the first resource and the second resource to obtain the resource package file" includes:

[0078] Determine the engine dependent resources according to the engine dependent resource indication information;

[0079] Encrypting the engine dependent resource according to the resource processing engine to obtain an encrypted resource, and the resource processing engine can read resource data in the encrypted resource;

[0080] The first resource, the second resource, the encrypted resource, and the resource processing engine are packaged to obtain a resource package file.

[0081] It can be understood that the engine dependent resource indication information indicates the engine dependent resources that the engine startup depends on. The engine dependent resources refer to the resources that the engine startup depends on. Usually, the resources do not form a dependency relationship with resources such as special effects in the project. For example, see Figure 4 As shown, Figure 4 is a schematic diagram of the content of the target file provided by the embodiment of the present application, wherein resource indication information and engine dependent resource indication information are shown, wherein the resource indication information is information with a [model_no] tag, and the number after [model_no] is the model identification information, that is, the model number. Figure 4 Among the information shown, the information other than the resource indication information is the engine dependent resource indication information.

[0082] It can be understood that by encrypting the engine-dependent resources, the engine data can be protected from being maliciously read or transferred. In the embodiment of the present application, only the resource processing engine can read the encrypted resources.

[0083] In the embodiment of the present application, the first resource, the second resource, the encrypted resource, and the resource processing engine (referring to the code corresponding to the engine) can be combined into one resource, and then encrypted to obtain the encrypted resource. For example, the first resource, the second resource, the encrypted resource, and multiple files corresponding to the resource processing engine are combined into a single file, and then the single file is encrypted to obtain an encrypted resource file.

[0084] Optionally, in an embodiment of the present application, in order to improve the upload rate of the resource package file, the resource package file may be compressed first, and then uploaded based on the compressed file. That is, optionally, in some embodiments of the present application, the step of "uploading the resource package file to the content distribution server" includes:

[0085] Compressing the resource package file to obtain a compressed resource file;

[0086] The compressed resource file is uploaded to a content distribution server.

[0087] Among them, by compressing the resource packaging files, the amount of uploaded data is reduced, the transmission efficiency is improved, and the transmission time is saved.

[0088] Optionally, in an embodiment of the present application, after uploading the resource package file to the content distribution server, each development team can develop special effects based on the resource package file on the content distribution server, and the special effect data developed by the development team can be reviewed to obtain the quality of the special effect development. That is, optionally, in some embodiments of the present application, after the step of "uploading the resource package file to the content distribution server", the method further includes:

[0089] Obtaining a target special effect data file that needs to be reviewed for special effects, wherein the target special effect data file is obtained after special effects development is performed based on resources in the resource packaging file;

[0090] Parsing the target special effect data file to obtain at least one special effect parameter data;

[0091] Storing the at least one special effect parameter data in a dictionary object;

[0092] Traversing the dictionary object, obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data;

[0093] Reviewing the at least one target special effect data to obtain a special effect data review result;

[0094] The special effects data review result is displayed in a visual interface.

[0095] It can be understood that the target special effects data file is the file developed by the development team after the special effects are developed based on the uploaded resource packaging file. For example, the resource packaging file is a skill file, and the target special effects data file is a file for special effects development based on the skill corresponding to the skill file, such as optimizing the display color or display graphics of the skill.

[0096] By storing the special effect parameter data in a dictionary object, it is convenient to traverse the special effect data for review.

[0097] By providing feedback on the special effects data review results on a visual interface, reviewers can easily understand the development quality of the special effects data.

[0098] The special effect parameter data includes various parameters for special effect production settings, such as special effect layer data, special effect material data, special effect map data or special effect model data, etc. The special effect layer data refers to the parameter data of a special effect of a part of a special effect. A special effect is divided into multiple parts, each of which can be called a special effect layer. Correspondingly, based on the development requirements of the project, the special effect parameter data can also include other types of data, which are not limited here.

[0099] It should be noted that the dictionary object is a data type of a programming language, which is used to store data with a mapping relationship, such as RepoData. It has two parts of data: key and value, that is, a key-value pair. The key is the field name, and the value stores the specific value corresponding to the field name. The relevant data in the value can be obtained by accessing the key, which is convenient for storing cached data during code execution.

[0100] Therefore, the field name corresponding to the special effect data that needs to be reviewed can be determined from the dictionary object, and then the specific target special effect data can be queried based on the field name, and then the special effect data can be reviewed in combination with the reference data of the special effect development to obtain the special effect data review result, that is, optionally, in some embodiments of the present application, the step of "obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data" includes:

[0101] Determine the field names corresponding to the special effect data that needs to be reviewed;

[0102] Query target special effect data from the special effect parameter data according to the field name;

[0103] The reviewing of the at least one target special effect data to obtain a special effect data review result includes:

[0104] Acquire reference special effect data from special effect development reference data according to the field name corresponding to the target special effect data;

[0105] By comparing the target special effect data with the reference special effect data, a special effect data review result is obtained.

[0106] Among them, based on the field name, the key (corresponding to the field name) can be determined from the dictionary object, and then the target special effect data can be obtained based on the value corresponding to the key. For example, the special effect layer name data can be determined based on the special effect layer name field in the special effect layer data.

[0107] Furthermore, the special effect layer data may include special effect layer name data, special effect layer number data, special effect layer activation state data, special effect layer depth deviation data, and special effect layer disturbance data. Figure 5 To understand the process, Figure 5 This is a flow chart of the detection of special effect layer data provided by an embodiment of the present application, specifically:

[0108] 201. Store the acquired special effect layer data into a dictionary object;

[0109] 202. Traverse the dictionary object, and obtain the special effect layer name data, the number of special effect layer data, the special effect layer activation state data, the special effect layer depth deviation data, and the special effect layer disturbance data according to the field name corresponding to the special effect data to be reviewed;

[0110] 203, checking whether the special effect layer name data meets the specification, if not, executing step 204;

[0111] Among them, whether the special effect layer name data complies with the specification can be detected by referring to the following strategies, specifically:

[0112] Get the value of the Name field in each layer of special effect data, and compare it with the naming rule set in the project: "Use a combination of numbers and letters to name". If other types of characters appear, it will not pass, that is, it is not standardized. Otherwise, it meets the specifications.

[0113] 204. Store information that the name of the special effect layer does not conform to the specification;

[0114] 205. Check whether the special effect layer number data meets the specification. If not, execute step 206.

[0115] Among them, whether the number of special effect layers meets the specifications can be tested by referring to the following strategies, specifically:

[0116] Get the total number of special effect layers and compare it with the total number of special effect layers set by the project: "up to 22 layers". If there are more than 22 layers, it does not meet the specifications. Otherwise, it meets the specifications.

[0117] 206. Store information that the number of special effect layers does not conform to the specification;

[0118] 207, checking whether the special effect activation state data meets the specification, if not, executing step 208;

[0119] Among them, whether the special effect activation status data meets the specifications can be tested by referring to the following strategies, specifically:

[0120] Get the value of the enable field in each layer of special effect data. If it is False, it is not activated, that is, there is no special effect layer, which does not meet the specifications. If it is True, it meets the specifications.

[0121] 208. Store information that the special effect activation status data does not conform to the specification;

[0122] 209, detecting whether the special effect layer depth deviation data meets the specification, if not, executing step 210;

[0123] Among them, whether the special effect layer depth deviation data meets the specification can be tested by referring to the following strategies, specifically:

[0124] Get the value of the DepthOffset field in each layer of special effect data, and compare it with the DepthOffset range value set in the project: "the range is between -20 and 20". If it is not in the range of -20 to 20, it does not meet the specifications. Otherwise, it meets the specifications.

[0125] 210. Storing information that the depth deviation data of the special effect layer does not conform to the specification;

[0126] 211. Check whether the special effect layer disturbance data meets the specification. If not, execute step 212.

[0127] Among them, whether the special effect layer disturbance data meets the specifications can be tested by referring to the following strategies, specifically:

[0128] Get the values ​​of the Distortion and LODGroup fields in each layer of special effects data, and compare them with the LODGroup value set in the project: "When Distortion is True, LOGGroup is High". If Distortion is True and LODGroup is not High, it does not meet the specifications. Only when the value of the Distortion field is True and the value of the LOGGroup field is High, it meets the specifications.

[0129] 212. Store information that the disturbance data of this special effect layer does not conform to the specification;

[0130] 213. Summarize the non-standard information of the special effect layer data detected to obtain non-standard summary information;

[0131] 214. Display the non-standard summary information in a visual interface.

[0132] It can be understood that in the embodiments of the present application, the detection of special effect layer name data, special effect layer number data, special effect layer activation status data, special effect layer depth deviation data and special effect layer disturbance data in the special effect layer data can be carried out in no particular order. For example, the special effect layer depth deviation data can be detected first, and then the special effect layer number data can be detected. Moreover, the special effect layer name data, special effect layer number data, special effect layer activation status data, special effect layer depth deviation data and special effect layer disturbance data can also be detected in parallel, and there is no corresponding influence and influence on the process advancement between the detection results. For example, the special effect layer name data is not detected only after the special effect layer number data is detected. That is, each target special effect data is detected separately and the detection results are obtained separately.

[0133] Furthermore, the special effect material data may include special effect material name data and special effect material storage path data. Figure 6 To understand the process, Figure 6 This is a flow chart of detecting special effect material data provided by an embodiment of the present application, specifically:

[0134] 221. Store the acquired special effect material data into the dictionary object;

[0135] 222. Traverse the dictionary object, and obtain the special effect material name data and the special effect material storage path data according to the field name corresponding to the special effect data to be reviewed;

[0136] 223. Check whether the special effect material name data meets the specification. If not, execute step 224.

[0137] Among them, whether the special effect material name data complies with the specification can be tested by referring to the following strategies, specifically:

[0138] Get the value of the Name field in each special effect material data, and compare it with the naming rule set in the project: "The material name ends with mat". If it does not end with mat, it does not meet the specification, otherwise it meets the specification.

[0139] 224. Store information that the name data of this special effect material does not conform to the specification;

[0140] 205. Check whether the special effect material storage path data meets the specification. If not, execute step 226.

[0141] Among them, whether the special effect material storage path data complies with the specification can be detected by referring to the following strategies, specifically:

[0142] Get the value of the Package field in each special effect data and the value of the Package field in the special effect material data. If the values ​​of the two fields are different, that is, the special effect material and the special effect are not stored in the same path, it does not comply with the specification. Otherwise, it complies with the specification.

[0143] 226. Information that the storage path data of this special effect material does not conform to the specification is stored;

[0144] 227. Summarize the non-standard information of the special effect material data detected to obtain non-standard summary information;

[0145] 228. Display the non-standard summary information in a visual interface.

[0146] Similarly, the detection of special effect material name data and special effect material storage path data is in no particular order.

[0147] Furthermore, the special effect map data may include special effect map name data, special effect map storage path data, special effect map size data, and special effect map usage status data. Figure 7 To understand the process, Figure 7 This is a flow chart of detecting special effect map data provided by an embodiment of the present application, specifically:

[0148] 231. Store the acquired special effect map data into the dictionary object;

[0149] 232. Traverse the dictionary object, and obtain the special effect map name data, the special effect map storage path data, the special effect map size data, and the special effect map usage status data according to the field name corresponding to the special effect data to be reviewed;

[0150] 233. Check whether the special effect map name data meets the specification. If not, execute step 234.

[0151] Among them, whether the special effect map name data complies with the specification can be tested by referring to the following strategies, specifically:

[0152] Get the value of the Name field in each special effect texture data, and compare it with the naming rule set in the project: "a combination of letters and numbers, ending with _wb number". If it does not meet the naming rules, it does not meet the specifications. Otherwise, it meets the specifications.

[0153] 234. Store information that the name data of this special effect map does not conform to the specification;

[0154] 235. Check whether the special effect map storage path data meets the specification. If not, execute step 236.

[0155] Among them, whether the special effect map storage path data complies with the specification can be detected by referring to the following strategies, specifically:

[0156] Get the value of the Package field in each special effect texture data, and compare it with the texture storage path set by the project: "Must be in the E / T / path". If it is not this path, it does not meet the specifications, otherwise it meets the specifications.

[0157] 236. Information that the storage path data of this special effect map does not conform to the specification is stored;

[0158] 237. Check whether the special effect map size data meets the specification. If not, execute step 238.

[0159] Among them, whether the special effect map size data meets the specifications can be tested by referring to the following strategies, specifically:

[0160] Get the values ​​of the Width and Height fields in each special effect texture data, and compare them with the texture size set in the project: "The width and height are one of: 512, 256, 128". If it is not one of the sizes, it does not meet the specifications. If it is True, it meets the specifications.

[0161] 238. Store information that the size data of this special effect map does not conform to the specification;

[0162] 239. Check whether the special effect map usage status data meets the specification. If not, execute step 240.

[0163] Among them, whether the special effect map usage status data complies with the specification can be detected by referring to the following strategies, specifically:

[0164] Get the value of the CreationTime field in each special effect texture data, and compare it with the packaging time of the special effect task. If the texture is not created after the packaging time, it is a useless texture, that is, it is not a texture outsourced for special effects, and it does not meet the specifications. Otherwise, it meets the specifications.

[0165] 240. Store information that the usage status data of this special effect map does not conform to the specification;

[0166] 241. Summarize the non-standard information of the special effect map data detected to obtain non-standard summary information;

[0167] 242. Display the non-standard summary information in a visual interface.

[0168] Likewise, the detection of the special effect texture name data, the special effect texture storage path data, the special effect texture size data and the special effect texture usage status data is in no particular order.

[0169] Furthermore, the special effect model data may include animation special effect model storage path data, special effect model storage path data, special effect model face number data, animation special effect model usage status data, and special effect model usage status data. Figure 8 To understand the process, Figure 8 This is a flow chart of detecting special effect map data provided by an embodiment of the present application, specifically:

[0170] 251. Store the acquired special effect model data into the dictionary object;

[0171] 252. Traverse the dictionary object, and obtain the animation special effect model storage path data, the special effect model storage path data, the special effect model face number data, the animation special effect model usage status data, and the special effect model usage status data according to the field name corresponding to the special effect data to be reviewed;

[0172] 253. Check whether the animation special effect model storage path data meets the specification. If not, execute step 254.

[0173] Among them, whether the animation special effects model storage path data complies with the specification can be detected by referring to the following strategies, specifically:

[0174] Get the value of the Package field in the Model data of each special effect model, and compare it with the model storage path set by the project: "Must be in the E / A / path". If it is not this path, it is not standardized. Otherwise, it complies with the specifications.

[0175] 254. Storing information that the storage path data of this animation special effect model does not conform to the specification;

[0176] 255. Check whether the storage path data of the special effect model meets the specification. If not, execute step 256.

[0177] Among them, whether the special effect model storage path data complies with the specification can be detected by referring to the following strategies, specifically:

[0178] Get the value of the Package field in each special effect model Mesh data, and compare it with the model Mesh storage path set in the project: "Must be in the E / C / me path". If it is not this path, it does not meet the specifications. Otherwise, it meets the specifications.

[0179] 256. Store information that the storage path data of this special effect model does not conform to the specification;

[0180] 257, checking whether the face number data of the special effect model meets the specification, if not, executing step 258;

[0181] Among them, whether the face count data of the special effect model meets the specifications can be tested by referring to the following strategies, specifically:

[0182] Get the value of the IndexCount field in the Mesh data of each special effect model, calculate the number of model faces and compare it with the model face limit set by the project: "The number of model faces does not exceed 1200 faces". If it is greater than 1200, it does not meet the specifications. If it is True, it meets the specifications.

[0183] 258. Store information that the face number data of this special effect model does not conform to the specification;

[0184] 259. Check whether the animation special effect model usage status data complies with the specification. If not, execute step 260.

[0185] Among them, whether the animation special effects model usage status data complies with the specification can be detected by referring to the following strategies, specifically:

[0186] Get the value of the CreationTime field in each special effect model data, and compare it with the contract issuance time of the special effect task. If the model is not created after the contract issuance time, it is a useless model, that is, it is not a model outsourced for special effects, and it does not meet the specifications. Otherwise, it meets the specifications.

[0187] 260. Store information that the usage status data of this animation special effects model does not conform to the specification;

[0188] 261. Check whether the special effect model usage status data meets the specification. If not, execute step 262.

[0189] Among them, whether the special effect model usage status data complies with the specification can be tested by referring to the following strategies, specifically:

[0190] Get the value of the CreationTime field in each special effect model Mesh data, and compare it with the contract issuance time of the special effect task. If the model Mesh is not created after the contract issuance time, it is a useless model Mesh, that is, it is not a model Mesh outsourced for special effects, and it does not meet the specifications. Otherwise, it meets the specifications.

[0191] 262. Store information that the usage status data of this special effect model does not conform to the specification;

[0192] 263. Aggregate the non-standard information of the special effect model data detected to obtain non-standard summary information;

[0193] 264. Display the non-standard summary information in a visual interface.

[0194] Similarly, the detection of animation special effects model storage path data, special effects model storage path data, special effects model face count data, animation special effects model usage status data and special effects model usage status data are in no particular order.

[0195] In summary, in the embodiments of the present application, by receiving a packing start instruction and reading the target file according to the packing start instruction, the target file is used to determine the resources that need to be packaged, and by packaging the resources that need to be packaged, the packaging of resources is completed in an automated manner, thereby improving the efficiency of resource packaging, helping to increase the number of packages issued and reducing the time spent by manpower on the package issuance process.

[0196] By packaging the resource processing engine together, it is convenient for the resource recipient to record resources based on the resource processing engine, and it is convenient for the recipient to develop special effects. In particular, by packaging the resources required for starting the resource processing engine together, it is convenient for the resource processing engine to start smoothly. In particular, by encrypting the resources required by the resource processing engine, the leakage of engine data is avoided.

[0197] By reviewing the target special effect data files developed by special effect developers, the quality of special effect development can be tested, and the special effect data can be tested in an automated way, thus improving the efficiency of special effect data testing. At the same time, automated review reduces the pressure of manual review.

[0198] Accordingly, in the embodiment of the present application, after the resource package file is uploaded to the content distribution server, a resource download interface can be provided to the resource receiver, so that the resource receiver can quickly download the resource through the interface and quickly develop the resource. Therefore, the resource processing process after the resource is uploaded to the content distribution server will be described from the perspective of the resource receiver, and the execution subject is still the terminal device. For example, refer to Fig. 9 , Fig. 9 : is another flow chart of the resource processing method provided in the embodiment of the present application. Specifically, the resource processing method specifically includes:

[0199] 301. In response to an interface start operation, a packaged resource download interface is displayed, wherein the packaged resource download interface includes a resource package body pull control and a download path input box.

[0200] It is understandable that the interface startup operation may be a click operation on an icon on the interface, for example, clicking a screen icon to start a corresponding application, program, etc.

[0201] It is understandable that the packaged resource download interface may be an interface of an application, a mini-program or a tool, through which resources to be downloaded may be queried, for example, Fig.10 , Fig.10is a schematic diagram of a packaged resource download interface provided in an embodiment of the present application, wherein the packaged resource download interface includes a resource package pull control and a download path input box.

[0202] Among them, by providing a packaged resource download interface, it is convenient to download resource package files from the content distribution server, which is convenient for developers to download and develop special effect data.

[0203] 302. Receive a target download path input through the download path input box.

[0204] It is understandable that by receiving the input target download path, it is convenient to search for files under a specific path and to quickly locate the resource package file that needs to be downloaded.

[0205] 303. Display the file name of at least one resource package file in the target download path.

[0206] It is understandable that each target download path contains multiple resource package files. Therefore, after receiving the input target download path, the names of all resource package files under the path can be displayed to select the corresponding resource package file.

[0207] 304: Receive a selection operation for a target file name in the file name, and in response to a first trigger operation of the resource package pull control, download a target resource package file corresponding to the target file name.

[0208] It can be understood that the selection operation refers to the operation of selecting the target resource package file, and the operation can be completed by clicking the screen or clicking the mouse, for example, clicking the file name to set the file name to be selected.

[0209] It can be understood that the first trigger operation is an operation of clicking on the resource package body pull control, which triggers the start of downloading the selected target resource package file.

[0210] In summary, by configuring the packaged resource download interface, it is convenient to download resource package files from the content distribution server.

[0211] Optionally, in the packaged resource download interface, a resource editor control may be configured, and the resource editor may be started through the resource editor control to facilitate the development of the development team. That is, optionally, in some embodiments of the present application, the packaged resource download interface is further provided with a resource editor control, and the step of "downloading the target resource package file corresponding to the target file name" includes:

[0212] Installing a resource processing engine based on the engine code packaged in the target resource packaging file;

[0213] In response to a second trigger operation on the resource editor control, starting a target resource editor corresponding to the resource editor control based on the target resource packaging file;

[0214] In response to a resource loading operation for the target resource editor, resources in the target resource packaging file are loaded, and if the target resource packaging file includes encrypted resources, resource data in the encrypted resources are read by the resource processing engine.

[0215] The resource processing engine is used to read the resources in the target resource package file. Therefore, after downloading the target resource package file, the resource processing engine can be installed based on the engine code in the target resource package file.

[0216] It should be noted that after the target resource editor is started through the resource editor control, the target resource package file can be directly loaded through the target resource editor, for example, the target resource package file is imported into the target resource editor.

[0217] Among them, some encrypted files in the target resource package file can be read by the resource processing engine.

[0218] Optionally, after starting the target resource editor, the target resource editor can respond to the resource editing operation to develop special effect data. Accordingly, the developed special effect data can be reviewed to detect the development quality of the special effect data. That is, optionally, in some embodiments of the present application, after the step of "responding to the resource loading operation for the target resource editor, loading the resource in the target resource package file", the method further includes:

[0219] In response to a resource editing operation on the target resource packaging file, a target special effect data file is obtained;

[0220] Parsing the target special effect data file to obtain at least one special effect parameter data;

[0221] Storing the at least one special effect parameter data in a dictionary object;

[0222] Traversing the dictionary object, obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data;

[0223] Reviewing the at least one target special effect data to obtain a special effect data review result;

[0224] The special effects data review result is displayed in a visual interface.

[0225] Among them, the review of the target special effect data file is consistent with the above, so it can be understood by referring to the above description and will not be repeated here.

[0226] Accordingly, in the embodiment of the present application, after obtaining a target special effect data file that meets the specification through review, the target special effect data file can be compressed and uploaded to a corresponding task management system or task management platform. That is, optionally, in some embodiments of the present application, after the step of "reviewing the at least one target special effect data to obtain a special effect data review result", the method further includes:

[0227] If the special effect data review result indicates that the target special effect data meets the specification, compressing the target special effect data file to obtain a special effect compressed file;

[0228] The special effect compressed file is uploaded to the task management platform, and notification information is generated, where the notification information is used to prompt that the special effect compressed file has been uploaded.

[0229] It can be understood that the task management platform is a platform for managing special effects tasks, for example, setting special effects development tasks or adding special effects review tasks.

[0230] Correspondingly, after uploading the special effects compressed file to the task management platform, the special effects compressed file can be obtained from the task management platform. For example, the main company can obtain the special effects data developed by the outsourcing company from the task management platform.

[0231] Accordingly, developers can first select the development tasks that need to be submitted, and then upload the target special effects data files for review. When the review is passed, the files will be compressed and uploaded.

[0232] In summary, by providing a packaged resource download interface, the resource package files uploaded to the content distribution server can be downloaded quickly and smoothly, and by submitting the developed files to the task management platform after review, the special effects development process can be automated and efficiency improved.

[0233] This embodiment further provides a resource processing device, which can be integrated into an electronic device, such as a computer device, which can be a terminal, a server, or other device.

[0234] For example, in this embodiment, the method of the embodiment of the present application will be described in detail by taking the specific integrated terminal of the resource processing device as an example.

[0235] For example, Fig.11 As shown, the resource processing device may include:

[0236] The receiving module 401 is used to receive a package start instruction and read a target file indicated by the package start instruction, wherein the target file records resource indication information corresponding to resources to be packaged;

[0237] A determination module 402, configured to determine a first resource indicated by the resource indication information, and to determine at least one second resource on which the first resource depends;

[0238] A packaging module 403 is used to package the first resource and the second resource to obtain a resource packaging file;

[0239] The uploading module 404 is used to upload the resource packaging file to the content distribution server.

[0240] In one example, the resource indication information includes model identification information, and the determination module 402 includes:

[0241] A first reading unit is used to read a resource details file, wherein the resource details file records each model identification information and a resource storage path of a resource corresponding to each model identification information;

[0242] A query unit, configured to query a first resource storage path corresponding to the model identification information from the resource details file;

[0243] The first determining unit is configured to use the resource under the first resource storage path as the first resource.

[0244] In one example, the determination module 402 includes:

[0245] A second reading unit is used to read a resource index file recording link relationships between resources;

[0246] The second determining unit is configured to determine, from the resource index file, at least one second resource on which the first resource depends.

[0247] In one example, the target file also records engine dependent resource indication information corresponding to the resources required for starting the resource processing engine, and the packaging module 403 includes:

[0248] A third determining unit, configured to determine the engine dependent resources according to the engine dependent resource indication information;

[0249] An encryption unit, used for encrypting the engine dependent resource according to the resource processing engine to obtain an encrypted resource, and the resource processing engine can read resource data in the encrypted resource;

[0250] The packaging unit is used to package the first resource, the second resource, the encrypted resource and the resource processing engine to obtain a resource packaging file.

[0251] In one example, the device further includes a packet receiving and reviewing module, and the packet receiving and reviewing module includes:

[0252] A first acquisition unit is used to acquire a target special effect data file that needs to be reviewed for special effects, wherein the target special effect data file is obtained after special effects are developed based on the resources in the resource packaging file;

[0253] A first parsing unit, used for parsing the target special effect data file to obtain at least one special effect parameter data;

[0254] A first storage unit, used for storing the at least one special effect parameter data in a dictionary object;

[0255] A second acquisition unit, configured to traverse the dictionary object and acquire at least one target special effect data that needs to be reviewed in the special effect parameter data;

[0256] A first review unit, configured to review the at least one target special effect data to obtain a special effect data review result;

[0257] The first display unit is used to display the special effect data review result in a visual interface.

[0258] In one example, the special effect parameter data includes special effect layer data, and the target special effect data under the special effect layer data includes at least one of special effect layer name data, special effect layer layer number data, special effect layer activation state data, special effect layer depth deviation data, and special effect layer disturbance data;

[0259] And / or, the special effect parameter data includes special effect material data, and the target special effect data under the special effect material data includes at least one of special effect material name data and special effect material storage path data;

[0260] And / or, the special effect parameter data includes special effect map data, and the target special effect data under the special effect map data includes at least one of special effect map name data, special effect map storage path data, special effect map size data, and special effect map usage status data:

[0261] And / or, the special effect parameter data includes special effect model data, and the target special effect data under the special effect model data includes at least one of animation special effect model storage path data, special effect model storage path data, special effect model face number data, animation special effect model usage status data and special effect model usage status data.

[0262] In one example, the second acquisition unit includes:

[0263] Determine the subunit, which is used to determine the field name corresponding to the special effect data that needs to be reviewed;

[0264] A query subunit, used for querying target special effect data from the special effect parameter data according to the field name;

[0265] The review units include:

[0266] An acquisition subunit, used for acquiring reference special effect data from special effect development reference data according to a field name corresponding to the target special effect data;

[0267] The comparison subunit is used to obtain a special effect data review result by comparing the target special effect data with the reference special effect data.

[0268] By using the device in the embodiment of the present application, the target file is read according to the packaging start instruction during packaging, the resources that need to be packaged are determined using the target file, and the packaging of the resources that need to be packaged is completed in an automated manner, thereby improving the efficiency of resource packaging.

[0269] For example, Fig.12 As shown, the resource processing device may also include:

[0270] The response module 501 is used to display a package resource download interface in response to the interface start operation, wherein the package resource download interface includes a resource package body pull control and a download path input box;

[0271] An input module 502 is used to receive a target download path input through the download path input box;

[0272] Display module 503, used to display the file name of at least one resource package file under the target download path;

[0273] The download module 504 is used to receive a selection operation for a target file name in the file name, and download a target resource package file corresponding to the target file name in response to a first trigger operation of the resource package body pull control.

[0274] In one example, the device further includes a resource processing module, and the resource processing module includes:

[0275] An installation unit, used for installing a resource processing engine based on the engine code packaged in the target resource packaging file;

[0276] A starting unit, configured to start a target resource editor corresponding to the resource editor control based on the target resource packaging file in response to a second triggering operation on the resource editor control;

[0277] The loading unit is used to load the resources in the target resource package file in response to the resource loading operation for the target resource editor, and if the target resource package file contains encrypted resources, read the resource data in the encrypted resources through the resource processing engine.

[0278] In one example, the device further includes a development review module, and the development review module includes:

[0279] An editing unit, configured to obtain a target special effect data file in response to a resource editing operation on the target resource packaging file;

[0280] A second parsing unit, used for parsing the target special effect data file to obtain at least one special effect parameter data;

[0281] A second storage unit, used to store the at least one special effect parameter data in a dictionary object;

[0282] A third acquisition unit, used for traversing the dictionary object to acquire at least one target special effect data that needs to be reviewed in the special effect parameter data;

[0283] A second review unit, configured to review the at least one target special effect data to obtain a special effect data review result;

[0284] The second display unit is used to display the special effect data review result in a visual interface.

[0285] It can be understood that by using the device in the embodiment of the present application, by providing a packaged resource download interface, the resource package files uploaded to the content distribution server can be downloaded quickly and smoothly, and by submitting the developed files to the task management platform after review, the special effects development process can be automated and efficiency can be improved.

[0286] Accordingly, the embodiment of the present application also provides an electronic device, which may be a terminal, and the terminal may be a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC), or other terminal devices. Fig.13 As shown, Fig.13 The electronic device 1100 includes a processor 1101 having one or more processing cores, a memory 1102 having one or more computer-readable storage media, and a computer program stored in the memory 1102 and executable on the processor. The processor 1101 is electrically connected to the memory 1102. Those skilled in the art will appreciate that Fig.13The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0287] The processor 1101 is the control center of the electronic device 1100, and uses various interfaces and lines to connect various parts of the entire electronic device 1100, and executes various functions and processes data of the electronic device 1100 by running or loading software programs and / or modules stored in the memory 1102, and calling data stored in the memory 1102. The processor 1101 can be a processor CPU, a graphics processor GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.

[0288] In the embodiment of the present application, the processor 1101 in the electronic device 1100 will load instructions corresponding to the processes of one or more application programs into the memory 1102 according to the following steps, and the processor 1101 will run the application programs stored in the memory 1102 to implement various functions, such as:

[0289] Receive a package start instruction, and read a target file indicated by the package start instruction, wherein the target file records resource indication information corresponding to resources to be packaged;

[0290] Determine a first resource indicated by the resource indication information, and determine at least one second resource on which the first resource depends;

[0291] Packaging the first resource and the second resource to obtain a resource packaging file;

[0292] The resource package file is uploaded to the content distribution server.

[0293] In one example, the resource indication information includes model identification information, and the step of “determining the first resource indicated by the resource indication information” includes:

[0294] Reading a resource details file, wherein the resource details file records each model identification information and a resource storage path of a resource corresponding to each model identification information;

[0295] Querying the first resource storage path corresponding to the model identification information from the resource details file;

[0296] The resource under the first resource storage path is used as the first resource.

[0297] In one example, the step of “determining at least one second resource on which the first resource depends” includes:

[0298] Read the resource index file that records the link relationship between resources;

[0299] At least one second resource on which the first resource depends is determined from the resource index file.

[0300] In one example, the target file also records engine dependent resource indication information corresponding to resources required for starting the resource processing engine, and the step of "packaging the first resource and the second resource to obtain a resource packaging file" includes:

[0301] Determine the engine dependent resources according to the engine dependent resource indication information;

[0302] Encrypting the engine dependent resource according to the resource processing engine to obtain an encrypted resource, and the resource processing engine can read resource data in the encrypted resource;

[0303] The first resource, the second resource, the encrypted resource, and the resource processing engine are packaged to obtain a resource package file.

[0304] In one example, after the step of "uploading the resource package file to the content distribution server", the following steps are included:

[0305] Obtaining a target special effect data file that needs to be reviewed for special effects, wherein the target special effect data file is obtained after special effects development is performed based on resources in the resource packaging file;

[0306] Parsing the target special effect data file to obtain at least one special effect parameter data;

[0307] Storing the at least one special effect parameter data in a dictionary object;

[0308] Traversing the dictionary object, obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data;

[0309] Reviewing the at least one target special effect data to obtain a special effect data review result;

[0310] The special effects data review result is displayed in a visual interface.

[0311] In one example, the special effect parameter data includes special effect layer data, and the target special effect data under the special effect layer data includes at least one of special effect layer name data, special effect layer layer number data, special effect layer activation state data, special effect layer depth deviation data, and special effect layer disturbance data;

[0312] And / or, the special effect parameter data includes special effect material data, and the target special effect data under the special effect material data includes at least one of special effect material name data and special effect material storage path data;

[0313] And / or, the special effect parameter data includes special effect map data, and the target special effect data under the special effect map data includes at least one of special effect map name data, special effect map storage path data, special effect map size data, and special effect map usage status data:

[0314] And / or, the special effect parameter data includes special effect model data, and the target special effect data under the special effect model data includes at least one of animation special effect model storage path data, special effect model storage path data, special effect model face number data, animation special effect model usage status data and special effect model usage status data.

[0315] In one example, the step of “obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data” includes:

[0316] Determine the field names corresponding to the special effect data that needs to be reviewed;

[0317] Query target special effect data from the special effect parameter data according to the field name;

[0318] The reviewing of the at least one target special effect data to obtain a special effect data review result includes:

[0319] Acquire reference special effect data from special effect development reference data according to the field name corresponding to the target special effect data;

[0320] By comparing the target special effect data with the reference special effect data, a special effect data review result is obtained.

[0321] Therefore, the electronic device provided in this embodiment reads the target file according to the packaging start instruction during packaging, utilizes the target file to determine the resources that need to be packaged, and completes the packaging of resources in an automated manner through the packaging processing of the resources that need to be packaged, thereby improving the efficiency of resource packaging.

[0322] In the embodiment of the present application, the processor 1101 in the electronic device 1100 also loads instructions corresponding to the processes of one or more application programs into the memory 1102 according to the following steps, and the processor 1101 runs the application programs stored in the memory 1102, thereby realizing various functions, for example:

[0323] In response to the interface start operation, displaying a package resource download interface, wherein the package resource download interface includes a resource package pull control and a download path input box;

[0324] Receiving a target download path input through the download path input box;

[0325] Display the file name of at least one resource package file under the target download path;

[0326] A selection operation for a target file name in the file name is received, and in response to a first trigger operation of the resource package body pull control, a target resource package file corresponding to the target file name is downloaded.

[0327] In one example, the packaged resource download interface is further provided with a resource editor control, and after the step of "downloading the target resource package file corresponding to the target file name", it also includes:

[0328] Installing a resource processing engine based on the engine code packaged in the target resource packaging file;

[0329] In response to a second trigger operation on the resource editor control, starting a target resource editor corresponding to the resource editor control based on the target resource packaging file;

[0330] In response to a resource loading operation for the target resource editor, resources in the target resource packaging file are loaded, and if the target resource packaging file includes encrypted resources, resource data in the encrypted resources are read by the resource processing engine.

[0331] In one example, after the step of “loading resources in the target resource package file in response to a resource loading operation on the target resource editor”, the method further includes:

[0332] In response to a resource editing operation on the target resource packaging file, a target special effect data file is obtained;

[0333] Parsing the target special effect data file to obtain at least one special effect parameter data;

[0334] Storing the at least one special effect parameter data in a dictionary object;

[0335] Traversing the dictionary object, obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data;

[0336] Reviewing the at least one target special effect data to obtain a special effect data review result;

[0337] The special effects data review result is displayed in a visual interface.

[0338] In one example, after the step of “reviewing the at least one target special effect data to obtain a special effect data review result”, the method further includes:

[0339] If the special effect data review result indicates that the target special effect data meets the specification, compressing the target special effect data file to obtain a special effect compressed file;

[0340] The special effect compressed file is uploaded to the task management platform, and notification information is generated, where the notification information is used to prompt that the special effect compressed file has been uploaded.

[0341] Therefore, the electronic device provided in this embodiment provides a packaged resource download interface to facilitate the quick and smooth download of resource package files uploaded to the content distribution server, and submits the developed files to the task management platform after review, thereby automating the special effects development process and improving efficiency.

[0342] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0343] Optional, such as Fig.13 As shown, the electronic device 1100 further includes: a touch screen 1103, a radio frequency circuit 1104, an audio circuit 1105, an input unit 1106, and a power supply 1107. The processor 1101 is electrically connected to the touch screen 1103, the radio frequency circuit 1104, the audio circuit 1105, the input unit 1106, and the power supply 1107, respectively. Those skilled in the art can understand that Fig.13 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0344] The touch display screen 1103 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 1103 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-EmittingDiode) and the like. The touch panel can be used to collect the user's touch operation on or near it (such as the user uses any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 1101, and can receive the command sent by the processor 1101 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 1101 to determine the type of touch event, and then the processor 1101 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 1103 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 1103 can also be used as a part of the input unit 1106 to realize the input function.

[0345] The radio frequency circuit 1104 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals with the network device or other electronic devices.

[0346] The audio circuit 1105 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 1105 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 1105 and converted into audio data, and then the audio data is output to the processor 1101 for processing, and then sent to another electronic device through the radio frequency circuit 1104, or the audio data is output to the memory 1102 for further processing. The audio circuit 1105 may also include an earplug jack to provide communication between an external headset and an electronic device.

[0347] The input unit 1106 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0348] The power supply 1107 is used to supply power to various components of the electronic device 1100. Optionally, the power supply 1107 can be logically connected to the processor 1101 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 1107 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0349] although Fig.13 Not shown, the electronic device 1100 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0350] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0351] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0352] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute any resource processing method provided in the embodiment of the present application. For example, the computer program can execute the following steps of the resource processing method:

[0353] Receive a package start instruction, and read a target file indicated by the package start instruction, wherein the target file records resource indication information corresponding to resources to be packaged;

[0354] Determine a first resource indicated by the resource indication information, and determine at least one second resource on which the first resource depends;

[0355] Packaging the first resource and the second resource to obtain a resource packaging file;

[0356] The resource package file is uploaded to the content distribution server.

[0357] In one example, the resource indication information includes model identification information, and the step of “determining the first resource indicated by the resource indication information” includes:

[0358] Reading a resource details file, wherein the resource details file records each model identification information and a resource storage path of a resource corresponding to each model identification information;

[0359] Querying the first resource storage path corresponding to the model identification information from the resource details file;

[0360] The resource under the first resource storage path is used as the first resource.

[0361] In one example, the step of “determining at least one second resource on which the first resource depends” includes:

[0362] Read the resource index file that records the link relationship between resources;

[0363] At least one second resource on which the first resource depends is determined from the resource index file.

[0364] In one example, the target file also records engine dependent resource indication information corresponding to resources required for starting the resource processing engine, and the step of "packaging the first resource and the second resource to obtain a resource packaging file" includes:

[0365] Determine the engine dependent resources according to the engine dependent resource indication information;

[0366] Encrypting the engine dependent resource according to the resource processing engine to obtain an encrypted resource, and the resource processing engine can read resource data in the encrypted resource;

[0367] The first resource, the second resource, the encrypted resource, and the resource processing engine are packaged to obtain a resource package file.

[0368] In one example, after the step of "uploading the resource package file to the content distribution server", the following steps are included:

[0369] Obtaining a target special effect data file that needs to be reviewed for special effects, wherein the target special effect data file is obtained after special effects development is performed based on resources in the resource packaging file;

[0370] Parsing the target special effect data file to obtain at least one special effect parameter data;

[0371] Storing the at least one special effect parameter data in a dictionary object;

[0372] Traversing the dictionary object, obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data;

[0373] Reviewing the at least one target special effect data to obtain a special effect data review result;

[0374] The special effects data review result is displayed in a visual interface.

[0375] In one example, the special effect parameter data includes special effect layer data, and the target special effect data under the special effect layer data includes at least one of special effect layer name data, special effect layer layer number data, special effect layer activation state data, special effect layer depth deviation data, and special effect layer disturbance data;

[0376] And / or, the special effect parameter data includes special effect material data, and the target special effect data under the special effect material data includes at least one of special effect material name data and special effect material storage path data;

[0377] And / or, the special effect parameter data includes special effect map data, and the target special effect data under the special effect map data includes at least one of special effect map name data, special effect map storage path data, special effect map size data, and special effect map usage status data:

[0378] And / or, the special effect parameter data includes special effect model data, and the target special effect data under the special effect model data includes at least one of animation special effect model storage path data, special effect model storage path data, special effect model face number data, animation special effect model usage status data and special effect model usage status data.

[0379] In one example, the step of “obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data” includes:

[0380] Determine the field names corresponding to the special effect data that needs to be reviewed;

[0381] Query target special effect data from the special effect parameter data according to the field name;

[0382] The reviewing of the at least one target special effect data to obtain a special effect data review result includes:

[0383] Acquire reference special effect data from special effect development reference data according to the field name corresponding to the target special effect data;

[0384] By comparing the target special effect data with the reference special effect data, a special effect data review result is obtained.

[0385] It can be seen that the computer program can be loaded by the processor to execute any resource processing method provided in the embodiments of the present application, thereby bringing about the following technical effects: by reading the target file according to the packaging start instruction during packaging, the target file is used to determine the resources that need to be packaged, and by packaging the resources that need to be packaged, the packaging of resources is completed in an automated manner, thereby improving the efficiency of resource packaging.

[0386] Alternatively, the computer program can be loaded by a processor to execute any resource processing method provided in the embodiments of the present application. For example, the computer program can execute the following steps of the resource processing method:

[0387] In response to the interface start operation, displaying a package resource download interface, wherein the package resource download interface includes a resource package pull control and a download path input box;

[0388] Receiving a target download path input through the download path input box;

[0389] Display the file name of at least one resource package file under the target download path;

[0390] A selection operation for a target file name in the file name is received, and in response to a first trigger operation of the resource package body pull control, a target resource package file corresponding to the target file name is downloaded.

[0391] In one example, the packaged resource download interface is further provided with a resource editor control, and after the step of "downloading the target resource package file corresponding to the target file name", it also includes:

[0392] Installing a resource processing engine based on the engine code packaged in the target resource packaging file;

[0393] In response to a second trigger operation on the resource editor control, starting a target resource editor corresponding to the resource editor control based on the target resource packaging file;

[0394] In response to a resource loading operation for the target resource editor, resources in the target resource packaging file are loaded, and if the target resource packaging file includes encrypted resources, resource data in the encrypted resources are read by the resource processing engine.

[0395] In one example, after the step of “loading resources in the target resource package file in response to a resource loading operation on the target resource editor”, the method further includes:

[0396] In response to a resource editing operation on the target resource packaging file, a target special effect data file is obtained;

[0397] Parsing the target special effect data file to obtain at least one special effect parameter data;

[0398] Storing the at least one special effect parameter data in a dictionary object;

[0399] Traversing the dictionary object, obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data;

[0400] Reviewing the at least one target special effect data to obtain a special effect data review result;

[0401] The special effects data review result is displayed in a visual interface.

[0402] In one example, after the step of “reviewing the at least one target special effect data to obtain a special effect data review result”, the method further includes:

[0403] If the special effect data review result indicates that the target special effect data meets the specification, compressing the target special effect data file to obtain a special effect compressed file;

[0404] The special effect compressed file is uploaded to the task management platform, and notification information is generated, where the notification information is used to prompt that the special effect compressed file has been uploaded.

[0405] It can be seen that the computer program can be loaded by the processor to execute any resource processing method provided in the embodiments of the present application, thereby bringing about the following technical effects: by providing a packaged resource download interface, the resource package files uploaded to the content distribution server can be downloaded quickly and smoothly, and by submitting the developed files to the task management platform after review, the special effects development process can be automated and efficiency can be improved.

[0406] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0407] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0408] Since the computer program stored in the computer-readable storage medium can execute any one of the resource processing methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the resource processing methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0409] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the methods provided in various optional implementations of the above embodiments.

[0410] In the above resource processing device, computer-readable storage medium, and electronic device embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the resource processing device, computer-readable storage medium, electronic device and its corresponding units described above can refer to the description of the resource processing method in the above embodiment, and will not be repeated here.

[0411] The above is a detailed introduction to a resource processing method, device, electronic device and storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A resource processing method, characterized in that: The method comprises: Receive a package start instruction, and read a target file indicated by the package start instruction, wherein the target file records resource indication information corresponding to resources to be packaged; Determine a first resource indicated by the resource indication information, and determine at least one second resource on which the first resource depends; Packaging the first resource and the second resource to obtain a resource packaging file; The resource package file is uploaded to the content distribution server.

2. The resource processing method according to claim 1, characterized in that: The resource indication information includes model identification information, and determining the first resource indicated by the resource indication information includes: Reading a resource details file, wherein the resource details file records each model identification information and a resource storage path of a resource corresponding to each model identification information; Querying the first resource storage path corresponding to the model identification information from the resource details file; The resource under the first resource storage path is used as the first resource.

3. The resource processing method according to claim 1, characterized in that: The determining of at least one second resource on which the first resource depends includes: Read the resource index file that records the link relationship between resources; At least one second resource on which the first resource depends is determined from the resource index file.

4. The resource processing method according to claim 1, characterized in that: The target file also records engine dependent resource indication information corresponding to resources required for starting the resource processing engine. The first resource and the second resource are packaged to obtain a resource package file, including: Determine the engine dependent resources according to the engine dependent resource indication information; Encrypting the engine dependent resource according to the resource processing engine to obtain an encrypted resource, and the resource processing engine can read resource data in the encrypted resource; The first resource, the second resource, the encrypted resource, and the resource processing engine are packaged to obtain a resource package file.

5. The resource processing method according to claim 1, characterized in that: After uploading the resource package file to the content distribution server, the method further includes: Obtaining a target special effect data file that needs to be reviewed for special effects, wherein the target special effect data file is obtained after special effects development is performed based on resources in the resource packaging file; Parsing the target special effect data file to obtain at least one special effect parameter data; Storing the at least one special effect parameter data in a dictionary object; Traversing the dictionary object, obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data; Reviewing the at least one target special effect data to obtain a special effect data review result; The special effects data review result is displayed in a visual interface.

6. The resource processing method according to claim 5, characterized in that: The special effect parameter data includes special effect layer data, and the target special effect data under the special effect layer data includes at least one of special effect layer name data, special effect layer layer number data, special effect layer activation state data, special effect layer depth deviation data and special effect layer disturbance data; And / or, the special effect parameter data includes special effect material data, and the target special effect data under the special effect material data includes at least one of special effect material name data and special effect material storage path data; And / or, the special effect parameter data includes special effect map data, and the target special effect data under the special effect map data includes at least one of special effect map name data, special effect map storage path data, special effect map size data, and special effect map usage status data: And / or, the special effect parameter data includes special effect model data, and the target special effect data under the special effect model data includes at least one of animation special effect model storage path data, special effect model storage path data, special effect model face number data, animation special effect model usage status data and special effect model usage status data.

7. The resource processing method according to claim 5, characterized in that: The obtaining of at least one target special effect data that needs to be reviewed in the special effect parameter data includes: Determine the field names corresponding to the special effect data that needs to be reviewed; Query target special effect data from the special effect parameter data according to the field name; The reviewing of the at least one target special effect data to obtain a special effect data review result includes: Acquire reference special effect data from special effect development reference data according to the field name corresponding to the target special effect data; By comparing the target special effect data with the reference special effect data, a special effect data review result is obtained.

8. A resource processing method, characterized in that: The method comprises: In response to the interface start operation, displaying a package resource download interface, wherein the package resource download interface includes a resource package pull control and a download path input box; Receiving a target download path input through the download path input box; Display the file name of at least one resource package file under the target download path; A selection operation for a target file name in the file name is received, and in response to a first trigger operation of the resource package body pull control, a target resource package file corresponding to the target file name is downloaded.

9. The resource processing method according to claim 8, characterized in that: The packaged resource download interface is also provided with a resource editor control. After downloading the target resource package file corresponding to the target file name, the method further includes: Installing a resource processing engine based on the engine code packaged in the target resource packaging file; In response to a second trigger operation on the resource editor control, starting a target resource editor corresponding to the resource editor control based on the target resource packaging file; In response to a resource loading operation for the target resource editor, resources in the target resource packaging file are loaded, and if the target resource packaging file includes encrypted resources, resource data in the encrypted resources are read by the resource processing engine.

10. The resource processing method according to claim 9, characterized in that: After the resource in the target resource package file is loaded in response to the resource loading operation for the target resource editor, the method further includes: In response to a resource editing operation on the target resource packaging file, a target special effect data file is obtained; Parsing the target special effect data file to obtain at least one special effect parameter data; Storing the at least one special effect parameter data in a dictionary object; Traversing the dictionary object, obtaining at least one target special effect data that needs to be reviewed in the special effect parameter data; Reviewing the at least one target special effect data to obtain a special effect data review result; The special effects data review result is displayed in a visual interface.

11. The resource processing method according to claim 10, characterized in that: After reviewing the at least one target special effect data and obtaining a special effect data review result, the method further includes: If the special effect data review result indicates that the target special effect data meets the specification, compressing the target special effect data file to obtain a special effect compressed file; The special effect compressed file is uploaded to the task management platform, and notification information is generated, where the notification information is used to prompt that the special effect compressed file has been uploaded.

12. A resource processing device, characterized in that: The device comprises: A receiving module, used for receiving a packing start instruction, and reading a target file indicated by the packing start instruction, wherein the target file records resource indication information corresponding to resources to be packed; A determination module, configured to determine a first resource indicated by the resource indication information, and to determine at least one second resource on which the first resource depends; A packaging module, used for packaging the first resource and the second resource to obtain a resource packaging file; The uploading module is used to upload the resource packaging file to the content distribution server.

13. A resource processing device, characterized in that: The device comprises: A response module, used for displaying a package resource download interface in response to an interface startup operation, wherein the package resource download interface includes a resource package pull control and a download path input box; A receiving module, used for receiving a target download path input through the download path input box; A display module, used to display the file name of at least one resource package file under the target download path; The download module is used to receive a selection operation for a target file name in the file name, and in response to a first trigger operation of the resource package pull control, download a target resource package file corresponding to the target file name.

14. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the resource processing method according to any one of claims 1 to 7, or executes the resource processing method according to any one of claims 8 to 11.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the resource processing method according to any one of claims 1 to 11.