CN116521625A - File processing method, device, electronic equipment and storage medium - Google Patents

File processing method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116521625A
CN116521625A CN202310487328.XA CN202310487328A CN116521625A CN 116521625 A CN116521625 A CN 116521625A CN 202310487328 A CN202310487328 A CN 202310487328A CN 116521625 A CN116521625 A CN 116521625A
Authority
CN
China
Prior art keywords
special effect
file
dependency relationship
path
associated asset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310487328.XA
Other languages
Chinese (zh)
Inventor
刘汉唐
陈旭
薛卫东
李嘉伟
李静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenli Vision Shenzhen Cultural Technology Co ltd
Original Assignee
Beijing Youku Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youku Technology Co Ltd filed Critical Beijing Youku Technology Co Ltd
Priority to CN202310487328.XA priority Critical patent/CN116521625A/en
Publication of CN116521625A publication Critical patent/CN116521625A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/144Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a file processing method, a device, electronic equipment and a storage medium. The file processing method comprises the following steps: analyzing each associated asset file of the target special effect in the special effect editing project to obtain the file dependency relationship of the target special effect in the special effect editing project; determining path packing dependency relationships of each associated asset file based on file dependency relationships; and based on the path packing dependency relationship, each associated asset file is derived from the special effect editing project. According to the embodiment of the invention, each associated asset file of the target special effect in the special effect editing project is analyzed, the file dependency relationship between the implicit target special effect and the special effect editing project can be obtained, the path packing dependency relationship for deriving the target special effect can be determined based on the file dependency relationship, the storage path decoupling between the target special effect and the special effect editing project is realized, the multiplexing of the target special effect into other special effect editing projects is realized, and the special effect editing efficiency is improved.

Description

File processing method, device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a file processing method, a device, electronic equipment and a storage medium.
Background
The illusion Engine (Unreal Engine) has high flexibility, usability and functional richness, which makes it a preferred choice for wide application in various 3D authoring scenes. The illusion engine can be used as a basic platform for developing novel real-time three-dimensional authoring, virtual reality and augmented reality applications. For example, a fantasy engine may be employed to make games and animas such as 3D fantasy effects, with the large number of user editing interfaces and editing elements provided by the fantasy engine, making realistic and efficient creation of effects possible.
However, the illusion engine is used for making and editing the special effects, so that the making process of the special effects is time-consuming and has low efficiency.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for processing a file, so as to at least partially solve the above-mentioned problems.
According to a first aspect of an embodiment of the present invention, there is provided a file processing method, including: analyzing each associated asset file of a target special effect in a special effect editing project to obtain a file dependency relationship of the target special effect in the special effect editing project; determining path packing dependency relationships of the associated asset files based on the file dependency relationships; and based on the path packing dependency relationship, the associated asset files are derived from the special effect editing project.
In other examples, the parsing each associated asset file of the target special effect in the special effect editing project to obtain the file dependency relationship of the target special effect in the special effect editing project includes: determining editing operation parameters related to the target special effects in the special effects editing project; and determining the file dependency relationship of the target special effect in the special effect editing project based on the editing operation parameters, wherein the editing operation parameters indicate file dependency variation caused by editing operation.
In other examples, the determining path packing dependencies of the respective associated asset files based on the file dependencies includes: determining initial path dependency relations of the associated asset files in the special effect editing project; and changing the initial path dependency relationship into a path packing dependency relationship, so that the file dependency relationship of each associated asset file is consistent.
In other examples, the altering the initial path dependency relationship to a path packing dependency relationship includes: and under the condition of ensuring the file dependency relationship, simplifying the dependency hierarchy of the initial path dependency relationship to obtain a path packing dependency relationship.
In other examples, the deriving the respective associated asset file from the special effects editing project based on the path packaging dependency relationship includes: and exporting each associated asset file and the path packing dependency relationship from the special effect editing project to a storage path of a general special effect tool library.
In other examples, the method further comprises: and importing each associated asset file of the target special effect from the universal special effect tool library into a storage path of another editing special effect item.
In other examples, in said deriving said respective associated asset file from said special effects editing project, said method further comprises: generating a rendering order of each associated asset file based on the path packing dependency relationship; and rendering each associated asset file based on the rendering order to obtain a preview file of the target special effect.
According to a second aspect of an embodiment of the present invention, there is provided a file processing apparatus including: the analysis module analyzes each associated asset file of the target special effect in the special effect editing project to obtain the file dependency relationship of the target special effect in the special effect editing project; the determining module is used for determining path packing dependency relationships of the associated asset files based on the file dependency relationships; and the export module is used for exporting each associated asset file from the special effect editing project based on the path packing dependency relationship.
According to a third aspect of an embodiment of the present invention, there is provided an electronic apparatus including: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus; the memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform operations corresponding to the method according to the first aspect.
According to a fourth aspect of embodiments of the present invention, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to the first aspect.
According to the embodiment of the invention, each associated asset file of the target special effect in the special effect editing project is analyzed, the file dependency relationship between the implicit target special effect and the special effect editing project can be obtained, the path packing dependency relationship for deriving the target special effect can be determined based on the file dependency relationship, the storage path decoupling between the target special effect and the special effect editing project is realized, the multiplexing of the target special effect into other special effect editing projects is realized, and the special effect editing efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present invention, and other drawings may be obtained according to these drawings for a person having ordinary skill in the art.
Fig. 1 is a schematic diagram of a file processing method according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating steps of a file processing method according to another embodiment of the present invention.
Fig. 3A is a schematic topology diagram of the initial path dependency of the embodiment of fig. 2.
FIG. 3B is a schematic topology diagram of an example path packing dependency of the embodiment of FIG. 2.
FIG. 3C is a schematic topology diagram of another example path packing dependency of the embodiment of FIG. 2.
Fig. 4 is a block diagram showing a structure of a document processing apparatus according to another embodiment of the present invention.
Fig. 5 is a schematic structural diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
In order to better understand the technical solutions in the embodiments of the present invention, the following description will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the present invention, shall fall within the scope of protection of the embodiments of the present invention.
The implementation of the embodiments of the present invention will be further described below with reference to the accompanying drawings.
The illusion Engine (Unreal Engine) of the embodiments of the present invention is a highly scalable and powerful real-time three-dimensional authoring platform that is widely used in game development, movie production, building visualization, virtual Reality (VR), augmented Reality (AR), and many other fields.
Among other things, the capability interfaces of the illusion engine include, but are not limited to: high performance rendering capability: the illusion engine uses advanced rendering techniques such as Ray Tracing (Ray Tracing), global illumination (Global Illumination) and physics engine (PhysX) to achieve highly realistic visual effects and physics simulations; real-time editor: the illusion engine provides a powerful real-time editor, so that a developer can easily modify scenes, roles, objects and the like during running, and the development efficiency and the creation freedom degree are improved; blueprint system: the blueprint system of the illusion engine is a visual script programming tool that allows designers and programmers to create game logic, interactions, and animations by dragging and dropping nodes without having to write code; cross-platform support capability: the illusion engine supports a plurality of platforms, including a PC, a host, a mobile device, VR and AR devices, so that a developer can create contents for different hardware devices; asset library and plug-in ecology: the illusion engine has huge resource library and plug-in ecology, so that a developer can conveniently obtain high-quality resources such as models, maps, sound effects and the like, and rich third-party plug-ins, thereby further improving the development efficiency and reducing the development cost.
Fig. 1 is a schematic diagram of a file processing method according to an embodiment of the present invention. The illusion engine 110 and the editing tool library for special effects editing in fig. 1 may be installed as software configurations in the same electronic device or may be installed in different electronic devices. The electronic devices may be cell phones, desktop computers, and servers such as cloud servers.
The associated asset file 120 of the target special effect, which is various files required to be able to play or run the target special effect, may be acquired from the special effect editing project edited using the illusion engine 110. The associated asset file 120 for the target effect may be added to the editing tool library 120 as a target effect tool. Various special effects and associated asset files corresponding to the special effects are configured in the editing tool library 120, and the required special effects can be selected from the editing public library 120 to be imported into the illusion engine 110.
The above export, addition or import processes may be implemented by a storage space of the local electronic device, or may be implemented by transmission between the local electronic device and the server.
A file processing method according to another embodiment of the present invention will be described in detail with reference to fig. 2. The file processing method of fig. 2 includes:
s210: and analyzing each associated asset file of the target special effect in the special effect editing project to obtain the file dependency relationship of the target special effect in the special effect editing project.
S220: and determining path packing dependency relationships of each associated asset file based on the file dependency relationships.
S230: and based on the path packing dependency relationship, each associated asset file is derived from the special effect editing project.
According to the embodiment of the invention, each associated asset file of the target special effect in the special effect editing project is analyzed, the file dependency relationship between the implicit target special effect and the special effect editing project can be obtained, the path packing dependency relationship for deriving the target special effect can be determined based on the file dependency relationship, the storage path decoupling between the target special effect and the special effect editing project is realized, the multiplexing of the target special effect into other special effect editing projects is realized, and the special effect editing efficiency is improved.
In some examples, in order to achieve parsing of each associated asset file of the target effect in the effect editing project, a file dependency of the target effect in the effect editing project is obtained, an editing operation parameter related to the target effect in the effect editing project may be determined, and then, based on the editing operation parameter, the file dependency of the target effect in the effect editing project is determined, where the editing operation parameter indicates a file dependency variation caused by the editing operation. Therefore, through analyzing the associated asset file, the deep file dependency relationship is analyzed, and the path packing dependency relationship can be reliably determined.
In the process of editing operation of a user, the illusion causes the addition, association, deletion, modification and the like of the special effect asset elements based on corresponding editing operation parameters. Specific asset elements of the illusion engine include, but are not limited to, materials and textures, particle systems, animations and bones, blueprints and logic, lighting and shadows, sound effects, and the like.
In editing textures and textures, special effects editing involves modification or creation of textures and textures. Materials are used to define the appearance of the surface of an object, such as gloss, roughness, transparency, etc. Texture mapping provides color, detail, and other visual effects to the surface of an object. When editing special effects, new texture and texture files are modified or created to achieve specific visual effects.
In editing particle systems, particle systems in illusive engines are used to create various particle effects, such as flames, smoke, snow flakes, and the like. In the special effects editing process, particle system assets including particle emitters, particle materials, particle behaviors and the like need to be created or adjusted.
In editing animations and bones, special effects editing involves animation and bone modifications of characters or objects. For example, when adding a new action to a character, it is necessary to edit its skeletal structure and animation sequence. These modifications will affect the relevant animation files and skeleton files.
In editing blueprints and logic, special effects editing requires creation or modification of logic nodes in the blueprint system to achieve specific interactive and animation effects. These modifications may affect the blueprint asset file.
When the illumination and the shadow are edited, the illumination and the shadow in the scene need to be adjusted in order to achieve better special effect. This includes modifying light source attributes, adjusting illumination maps, using global illumination, and the like. These changes affect the scene file and the illumination map file.
In editing sound effects, special effects editing involves adding or modifying sound effect resources to match visual effects. This will result in a modification of the sound effect file.
That is, the above analysis of the related asset file obtains the change process of the asset file, and the current file dependency relationship is obtained by the change of the file dependency relationship indicated by the file change process such as the addition operation, the deletion operation, the modification operation, the related operation, and the like. In addition, each associated asset file is stored in a specific file directory of the special effect editing project based on the software configuration of the illusion engine, so that an initial path dependency relationship between the target special effect and the special effect editing project is formed.
In other examples, as an example of determining the path packaging dependency relationship of each associated asset file based on the file dependency relationship, an initial path dependency relationship of each associated asset file in the special effect editing project may be determined, and then the initial path dependency relationship is changed into the path packaging dependency relationship, so that the file dependency relationship of each associated asset file is consistent. That is, file dependency agreement of the respective associated asset files enables reliable rendering and presentation of the respective associated asset files after export, wherein the manner of presentation includes preview presentation and post-import project presentation. The path packing dependency relationship can separate each associated asset file from the special effect editing project, namely, decoupling between the target special effect and the special effect editing project is realized.
Further, as an example of changing the initial path dependency relationship into the path packing dependency relationship, the dependency hierarchy of the initial path dependency relationship can be simplified under the condition of ensuring the file dependency relationship, and the path packing dependency relationship can be obtained.
For example, FIG. 3A illustrates various asset files under the effect editing project, including a save path for the effect asset element and a save path for the editing operating parameters. The editing operation parameters indicate operation parameters of various special effects, such as operation parameters of adding operation, deleting operation, modifying operation and associating operation.
Further, fig. 3B shows the path packing dependency relationship obtained from the related asset file of the special effect 2 (example of the target special effect) separated from the special effect editing item of fig. 3A. In the path packing dependency relationship of fig. 3B, there are associated asset files related to the special effect 2, and there are no non-associated asset files of the special effect 2. The topology of the path-packed dependencies shown in FIG. 3B may be exported to a generic special effects tool library. If processing similar to the special effect editing item is performed in another special effect editing item (an item different from the special effect editing item) after the above-described special effect 2 is imported, the path dependency relationship shown in fig. 3C may be performed. It should be appreciated that fig. 3C is a path dependency based on the imported path packaging dependency, and if an effect edited in another effect editing project is not an imported effect, there still is an initial path dependency such as that shown in fig. 3A, it can be seen that after the export of the associated asset file of an effect is achieved, the import of an effect can be achieved through such as a general effect tool library or the like.
5. The method of claim 1, wherein deriving each associated asset file from the special effects editing project based on the path packaging dependencies comprises:
and exporting each associated asset file together with the path packing dependency relationship from the special effect editing project to a storage path of the universal special effect tool library, namely, the storage path packing dependency relationship is unchanged, and transplanting each associated asset file with the path packing dependency relationship from the storage path of the special effect editing project to the storage path of the universal special effect tool library.
Correspondingly, when the special effects are imported, each associated asset file of the target special effects is imported into a storage path of another editing special effect project from the universal special effect tool library. That is, the save path of another edited special effects item is different from the general special effects tool library, so that each associated asset file is transplanted again under the condition that the path packing dependency relationship is kept unchanged. Alternatively, each associated asset file may be transplanted again into the edited special effects item, but before the target special effects are exported, each associated asset file of the target special effects may be saved in a saving path of the edited special effects item in a manner that it is not directly portable, and after the target special effects item is imported, each associated asset file of the target special effects is saved again in the saving path of the edited special effects item, but the path dependency relationship changes.
In other examples, when each associated asset file is derived from the special effects editing project, the file processing method further comprises: generating a rendering order of each associated asset file based on the path packing dependency relationship; and rendering each associated asset file based on the rendering order to obtain a preview file of the target special effect. That is, the rendering order of each rendering task may be determined based on path packing dependencies that reflect the rendering tasks and scheduling relationships and dependencies.
Further, the file processing method may be performed by file processing software, which may be installed with a general purpose effect tool library. The special effects editing project may be configured by a fantasy engine. The document handling software and the illusion engine may be installed independently, the document handling software may perform import and export of various effects in the universal effects tool library, and fig. 2 actually provides at least one export scheme.
In one example, special effects editing items configured by the illusion engine may be imported into the file processing software, then, in an interface of the file processing software, the special effects editing items are selected, a list of file processing items is generated, and asset files are selected in the list for export, then, the file processing method of fig. 2 is executed.
The special effect editing item can be opened in the interface of the illusion engine to generate a file processing item list, and the file processing method of fig. 2 is executed when the asset file is selected to be exported in the list.
When the analysis of the asset files is performed, the asset dependency items can be analyzed according to a specific sequence, the topological graph of the asset path dependency relationship is calculated, an asset packing list comprising each associated asset file is constructed, each associated asset file is copied according to a new file path which is the path packing dependency relationship when the target special effects are imported, and the asset references of the special effects editing project are repaired.
In other examples, the rendered preview file, such as a preview video, may also be saved to a generic special effects tool.
Further, in parsing each associated asset file, for example, associations and dependencies between asset files including different types of files such as textures, models, textures, etc. may be analyzed by traversing each file in the special effects editing project. All relevant dependent items are then found by file format and path internal references.
After parsing the asset file dependencies, the dependencies may be represented using a graphical data structure (e.g., a tree graph).
Then, for each asset file, a new file path or name is generated as a path packing dependency according to custom file criteria (e.g., a reduced level or a deleted level). This may involve renaming, reorganizing the folder structure, and so on.
When the target special effect is imported into another special effect editing project, copying each associated asset file to a new path according to the path packing dependency relationship mapping relation. In this process, it may be necessary to process the files one by one and ensure that all dependent items are copied correctly.
After copying each associated asset file, the dependency references in each associated asset file need to be updated. This may be achieved by traversing the topology of the path-packing dependencies, replacing the topology of the initial path-dependency according to the topology of the path-packing dependencies. In this way, the derived individual associated asset file classes can be properly organized according to the new custom file criteria.
Fig. 4 is a block diagram showing a structure of a document processing apparatus according to another embodiment of the present invention. The document processing apparatus of fig. 4 includes:
the parsing module 410 parses each associated asset file of the target special effect in the special effect editing project to obtain the file dependency relationship of the target special effect in the special effect editing project.
The determining module 420 determines path packing dependencies of each associated asset file based on file dependencies.
The export module 430 exports each associated asset file from the special effects editing project based on the path packaging dependencies.
According to the embodiment of the invention, each associated asset file of the target special effect in the special effect editing project is analyzed, the file dependency relationship between the implicit target special effect and the special effect editing project can be obtained, the path packing dependency relationship for deriving the target special effect can be determined based on the file dependency relationship, the storage path decoupling between the target special effect and the special effect editing project is realized, the multiplexing of the target special effect into other special effect editing projects is realized, and the special effect editing efficiency is improved.
In other examples, the parsing module is specifically configured to: determining editing operation parameters related to the target special effects in the special effects editing project; and determining the file dependency relationship of the target special effect in the special effect editing project based on the editing operation parameters, wherein the editing operation parameters indicate file dependency variation caused by editing operation.
In other examples, the determination module is specifically configured to: determining initial path dependency relations of the associated asset files in the special effect editing project; and changing the initial path dependency relationship into a path packing dependency relationship, so that the file dependency relationship of each associated asset file is consistent.
In other examples, the determination module is specifically configured to: and under the condition of ensuring the file dependency relationship, simplifying the dependency hierarchy of the initial path dependency relationship to obtain a path packing dependency relationship.
In other examples, the export module is specifically configured to: and exporting each associated asset file and the path packing dependency relationship from the special effect editing project to a storage path of a general special effect tool library.
In other examples, the file processing apparatus further comprises: and the importing module imports each associated asset file of the target special effect from the general special effect tool library into a storage path of another editing special effect item.
In other examples, the file processing device further includes a rendering module, when the related asset files are derived from the special effect editing project, the rendering module generates a rendering order of the related asset files based on the path packing dependency relationship, and renders the related asset files based on the rendering order to obtain a preview file of the target special effect.
Fig. 5 shows a schematic structural diagram of an electronic device according to another embodiment of the present invention, and the specific embodiment of the present invention is not limited to the specific implementation of the electronic device.
As shown in fig. 5, the electronic device may include: a processor (processor) 502 for executing programs 510, a communication interface (Communications Interface) 504, a memory (memory) 506, and a communication bus 508.
The processor, communication interface, and memory communicate with each other via a communication bus.
And the communication interface is used for communicating with other electronic devices or servers.
And a processor, configured to execute a program, and specifically may execute relevant steps in the foregoing method embodiment.
In particular, the program may include program code including computer-operating instructions.
The processor may be a CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit) or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors comprised by the smart device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
And the memory is used for storing programs. The memory may comprise high-speed RAM memory or may further comprise non-volatile memory, such as at least one disk memory.
The program may include a plurality of computer instructions, and the program may specifically enable the processor to perform operations corresponding to the file processing method described in any one of the foregoing method embodiments through the plurality of computer instructions.
The specific implementation of each step in the program may refer to the corresponding steps and corresponding descriptions in the units in the above method embodiments, and have corresponding beneficial effects, which are not described herein. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedure descriptions in the foregoing method embodiments, which are not repeated herein.
The present invention also provides a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the method described in any of the preceding method embodiments. The computer storage media includes, but is not limited to: a compact disk read Only (Compact Disc Read-Only Memory, CD-ROM), random access Memory (Random Access Memory, RAM), floppy disk, hard disk, magneto-optical disk, or the like.
The embodiment of the invention also provides a computer program product, which comprises computer instructions for instructing a computing device to execute the operations corresponding to any one of the file processing methods in the above method embodiments.
In addition, it should be noted that, the information related to the user (including, but not limited to, user equipment information, user personal information, etc.) and the data related to the embodiment of the present invention (including, but not limited to, sample data for training the model, data for analyzing, stored data, presented data, etc.) are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data need to comply with the related regulations and standards, and are provided with corresponding operation entries for the user to select authorization or rejection.
It should be noted that, according to implementation requirements, each component/step described in the embodiments of the present invention may be split into more components/steps, or two or more components/steps or part of operations of the components/steps may be combined into new components/steps, so as to achieve the objects of the embodiments of the present invention.
The methods according to embodiments of the present invention described above may be implemented in hardware, firmware, or as software or computer code storable in a recording medium such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk, or as computer code originally stored in a remote recording medium or a non-transitory machine-readable medium and to be stored in a local recording medium downloaded through a network, so that the methods described herein may be processed by such software on a recording medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware such as an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or field programmable or gate array (Field Programmable Gate Array, FPGA). It is understood that a computer, processor, microprocessor controller, or programmable hardware includes a Memory component (e.g., random access Memory (Random Access Memory, RAM), read-Only Memory (ROM), flash Memory, etc.) that can store or receive software or computer code that, when accessed and executed by the computer, processor, or hardware, performs the methods described herein. Furthermore, when a general purpose computer accesses code for implementing the methods illustrated herein, execution of the code converts the general purpose computer into a special purpose computer for performing the methods illustrated herein.
Those of ordinary skill in the art will appreciate that the elements and method steps of the examples described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or as a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present invention.
The above embodiments are only for illustrating the embodiments of the present invention, but not for limiting the embodiments of the present invention, and various changes and modifications may be made by one skilled in the relevant art without departing from the spirit and scope of the embodiments of the present invention, so that all equivalent technical solutions also fall within the scope of the embodiments of the present invention, and the scope of the embodiments of the present invention should be defined by the claims.

Claims (10)

1. A document processing method, comprising:
analyzing each associated asset file of a target special effect in a special effect editing project to obtain a file dependency relationship of the target special effect in the special effect editing project;
determining path packing dependency relationships of the associated asset files based on the file dependency relationships;
and based on the path packing dependency relationship, the associated asset files are derived from the special effect editing project.
2. The method according to claim 1, wherein said parsing each associated asset file of a target effect in an effect editing project to obtain a file dependency relationship of the target effect in the effect editing project includes:
determining editing operation parameters related to the target special effects in the special effects editing project;
and determining the file dependency relationship of the target special effect in the special effect editing project based on the editing operation parameters, wherein the editing operation parameters indicate file dependency variation caused by editing operation.
3. The method of claim 1, wherein the determining the path packing dependencies of the respective associated asset files based on the file dependencies comprises:
determining initial path dependency relations of the associated asset files in the special effect editing project;
and changing the initial path dependency relationship into a path packing dependency relationship, so that the file dependency relationship of each associated asset file is consistent.
4. The method of claim 3, wherein the altering the initial path dependency relationship to a path packing dependency relationship comprises:
and under the condition of ensuring the file dependency relationship, simplifying the dependency hierarchy of the initial path dependency relationship to obtain a path packing dependency relationship.
5. The method of claim 1, wherein the deriving the respective associated asset file from the special effects editing project based on the path packaging dependencies comprises:
and exporting each associated asset file and the path packing dependency relationship from the special effect editing project to a storage path of a general special effect tool library.
6. The method of claim 5, wherein the method further comprises:
and importing each associated asset file of the target special effect from the universal special effect tool library into a storage path of another editing special effect item.
7. The method of claim 1, wherein, in said deriving the respective associated asset file from the special effects editing project, the method further comprises:
generating a rendering order of each associated asset file based on the path packing dependency relationship;
and rendering each associated asset file based on the rendering order to obtain a preview file of the target special effect.
8. A document processing apparatus comprising:
the analysis module analyzes each associated asset file of the target special effect in the special effect editing project to obtain the file dependency relationship of the target special effect in the special effect editing project;
the determining module is used for determining path packing dependency relationships of the associated asset files based on the file dependency relationships;
and the export module is used for exporting each associated asset file from the special effect editing project based on the path packing dependency relationship.
9. An electronic device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to perform operations corresponding to the method according to any one of claims 1-7.
10. A computer storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to any of claims 1-7.
CN202310487328.XA 2023-04-28 2023-04-28 File processing method, device, electronic equipment and storage medium Pending CN116521625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310487328.XA CN116521625A (en) 2023-04-28 2023-04-28 File processing method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310487328.XA CN116521625A (en) 2023-04-28 2023-04-28 File processing method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116521625A true CN116521625A (en) 2023-08-01

Family

ID=87407828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310487328.XA Pending CN116521625A (en) 2023-04-28 2023-04-28 File processing method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116521625A (en)

Similar Documents

Publication Publication Date Title
US10620921B2 (en) Application system for generating 3D applications
US7836086B2 (en) Layering and referencing of scene description
Parisi Programming 3D Applications with HTML5 and WebGL: 3D Animation and Visualization for Web Pages
CN107393013B (en) Virtual roaming file generation and display method, device, medium, equipment and system
CN108089888B (en) It is a kind of that operation method and system are applied based on file system
US20020129340A1 (en) Reconfigurable isomorphic software representations
US20050253849A1 (en) Custom spline interpolation
US8935657B2 (en) Model-to-model transformation by kind
Oehlke Learning Libgdx Game Development
Liu et al. Function-defined shape metamorphoses in visual cyberworlds
CN116524104B (en) Rendering data processing method, device, equipment and storage medium
WO2018192142A1 (en) Open development system and method for virtual reality software
CN117742677A (en) XR engine low-code development platform
US7836087B1 (en) Graphs of components for digital productions
Dirksen Learn Three. js: Programming 3D animations and visualizations for the web with HTML5 and WebGL
WO2024011733A1 (en) 3d image implementation method and system
CN116521625A (en) File processing method, device, electronic equipment and storage medium
CN115167940A (en) 3D file loading method and device
CN112052224B (en) File export method and device
CN105183491A (en) Cross-platform desktop GIS and starting method thereof
US7444583B2 (en) Standard graphics specification and data binding
Berinstein et al. Game development tool essentials
US12079626B2 (en) Methods and systems for creating applications using scene trees
KR100692210B1 (en) Method for rendering objects in game engine and recordable media recording programs for enabling the method
CN115205430A (en) 3D file importing and exporting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20230810

Address after: Room 602, Building S1, Alibaba Cloud Building, No. 3239 Keyuan Road, Ulan Coast Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 518054

Applicant after: Shenli Vision (Shenzhen) Cultural Technology Co.,Ltd.

Address before: Room 2601, floor 26, building 9, Wangjing Dongyuan Fourth District, Chaoyang District, Beijing 100102

Applicant before: BEIJING YOUKU TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination