CN114595663A - ParaX file analysis method, system, device and computer storage medium - Google Patents

ParaX file analysis method, system, device and computer storage medium Download PDF

Info

Publication number
CN114595663A
CN114595663A CN202210080183.7A CN202210080183A CN114595663A CN 114595663 A CN114595663 A CN 114595663A CN 202210080183 A CN202210080183 A CN 202210080183A CN 114595663 A CN114595663 A CN 114595663A
Authority
CN
China
Prior art keywords
file
information
parax
model
target parameter
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
CN202210080183.7A
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.)
Shenzhen Tatfook Network Tech Co Ltd
Original Assignee
Shenzhen Tatfook Network Tech 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 Shenzhen Tatfook Network Tech Co Ltd filed Critical Shenzhen Tatfook Network Tech Co Ltd
Priority to CN202210080183.7A priority Critical patent/CN114595663A/en
Publication of CN114595663A publication Critical patent/CN114595663A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • 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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/203D [Three Dimensional] animation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a method, a system and a device for analyzing a ParaX file and a computer storage medium, which are used for realizing the file analysis of the ParaX file. The method comprises the following steps: loading a ParaX file; identifying a target resolver matched with the ParaX file, and calling the target resolver to read a file header and a file body of the ParaX file; analyzing the file header, and judging whether the ParaX file is legal or not according to an analysis result; when the ParaX file is determined to be legal, extracting a first target parameter from the analysis result; and analyzing the file body according to the first target parameter.

Description

ParaX file analysis method, system, device and computer storage medium
Technical Field
The present application relates to the field of data processing, and in particular, to a method, a system, an apparatus, and a computer storage medium for parsing a ParaX file.
Background
DirectX is a multimedia programming interface created by Microsoft and is an Application Program Interface (API), a hardware manufacturer and a game manufacturer cooperate to update the standard for upgrading DirectX, the hardware manufacturer develops and manufactures better products according to the standard, and a game developer develops games according to the standard. DirectX consists of many components, each with its specific purpose, making DirectX a complete set of multimedia interface solutions.
". x file is a 3D file developed by microsoft for DirectX, and in the prior art, the". x "file can provide support for a user when animation is made, but under different programming environments, the user may put various personalized demands on making animation, so the support provided by the". x "file is relatively limited, and the user experience is affected.
Based on the requirement of animation production, a file in a ParaX format is provided in NPL (neural parallel computer Language), the ParaX is a file format with animation 3D character resources which is specific to Paraengine, and an analysis method of the ParaX file is not disclosed in the prior art.
Disclosure of Invention
The application provides a method, a system and a device for analyzing a ParaX file and a computer storage medium, which are used for realizing file analysis of the ParaX file.
The application provides a method for parsing a ParaX file in a first aspect, which comprises the following steps:
loading a ParaX file;
identifying a target resolver matched with the ParaX file, and calling the target resolver to read a file header and a file body of the ParaX file;
analyzing the file header, and judging whether the ParaX file is legal or not according to an analysis result;
when the ParaX file is determined to be legal, extracting a first target parameter from the analysis result;
and analyzing the file body according to the first target parameter.
Optionally, after determining whether the ParaX file is legal according to the parsing result, the method further includes:
when the ParaX file is determined to be legal, extracting a second target parameter from the analysis result;
after the parsing the file body according to the first target parameter, the method further includes:
and releasing the resources according to the second target parameter.
Optionally, the analyzing the file body according to the first target parameter includes:
determining the type of the model in the file body, wherein the type of the model comprises an animation model and a static model;
and analyzing the file body according to the first target parameter and the type of the model.
Optionally, when it is determined that the type of the model is an animation model, analyzing the file according to the first target parameter and the type of the model includes:
analyzing first file information in the file body;
reading file resources according to the category classification of the first file information;
and carrying out animation configuration on the model according to the file resource and the first target parameter.
Optionally, the type of the first file information includes vertex information, texture information, attachment information, transparency information, perspective information, rendering information, skeleton information, particle information, shader information, camera information, light information, and animation information.
Optionally, when it is determined that the type of the model is a static model, the analyzing the file body according to the first target parameter and the type of the model includes:
analyzing second file information in the file body;
reading file resources according to the category classification of the second file information;
and statically configuring the model according to the file resources and the first target parameters.
Optionally, the type of the second file information includes vertex information, texture information, attachment information, transparency information, perspective information, rendering information, skeleton information, particle information, shader information, camera information, and light information.
A second aspect of the present application provides a ParaX file parsing system, including:
the loading unit is used for loading the ParaX file;
the calling unit is used for identifying a target resolver matched with the ParaX file and calling the target resolver to read a file header and a file body of the ParaX file;
the judging unit is used for analyzing the file header and judging whether the ParaX file is legal or not according to an analysis result;
the first extraction unit is used for extracting a first target parameter from the analysis result when the judgment unit determines that the ParaX file is legal;
and the analysis unit is used for analyzing the file body according to the first target parameter.
Optionally, the system further includes:
the second extraction unit is used for extracting a second target parameter from the analysis result when the judgment unit determines that the ParaX file is legal;
and the releasing unit is used for releasing the resources according to the second target parameter.
Optionally, the parsing unit includes:
the determining module is used for determining the types of the models in the file body, wherein the types of the models comprise animation models and static models;
and the analysis module is used for analyzing the file body according to the first target parameter and the type of the model.
Optionally, when the determining module determines that the type of the model is an animation model, the analyzing module is specifically configured to:
analyzing first file information in the file body;
reading file resources according to the category classification of the first file information;
and carrying out animation configuration on the model according to the file resource and the first target parameter.
Optionally, the type of the first file information includes vertex information, texture information, attachment information, transparency information, perspective information, rendering information, skeleton information, particle information, shader information, camera information, light information, and animation information.
Optionally, when the determining module determines that the type of the model is a static model, the analyzing module is specifically configured to:
analyzing second file information in the file body;
reading file resources according to the category classification of the second file information;
and statically configuring the model according to the file resources and the first target parameters.
Optionally, the type of the second file information includes vertex information, texture information, attachment information, transparency information, perspective information, rendering information, skeleton information, particle information, shader information, camera information, and light information.
A third aspect of the present application provides a apparatus for parsing a ParaX file, where the apparatus includes:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory holds a program, and the processor calls the program to execute the first aspect and any one of the optional ParaX file parsing methods of the first aspect.
A fourth aspect of the present application provides a computer-readable storage medium, on which a program is stored, where the program, when executed on a computer, executes the method for parsing a ParaX file, which is optional in any one of the first aspect and the first aspect.
According to the technical scheme, the method has the following advantages:
ParaEngine is a game engine based on NPL design. One format is customized in ParaEngine, called ParaX formatted files, whose parsing relies on paraxserializers, i.e., ParaX serializers. For a file in a ParaX format, a file header and a file body of the ParaX file need to be read, whether the ParaX file is legal or not is judged according to the file header, when the ParaX file is determined to be legal, a first target parameter needed to be used when the file body is analyzed subsequently is obtained through analyzing the file header, and the file body is analyzed according to the first target parameter, so that the analysis of the ParaX file is realized.
Drawings
In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of an embodiment of a ParaX file parsing method provided in the present application;
fig. 2 is a schematic flowchart of another embodiment of a ParaX file parsing method provided in the present application;
FIG. 3 is a schematic structural diagram of an embodiment of a ParaX file parsing system provided by the present application;
FIG. 4 is a schematic structural diagram of another embodiment of a ParaX file parsing system provided by the present application;
fig. 5 is a schematic structural diagram of an embodiment of a ParaX file parsing apparatus provided in the present application.
Detailed Description
The application provides a method, a system and a device for analyzing a ParaX file and a computer storage medium, which are used for realizing file analysis of the ParaX file.
It should be noted that the ParaX file parsing method provided by the present application may be applied to a terminal, and may also be applied to a server, for example, the terminal may be a fixed terminal such as a smart phone or a computer, a tablet computer, a smart television, a smart watch, a portable computer terminal, or a desktop computer. For convenience of explanation, the terminal is taken as an execution subject for illustration in the present application.
Referring to fig. 1, fig. 1 is a diagram illustrating an embodiment of a method for parsing a ParaX file provided by the present application, where the method includes:
101. loading a ParaX file;
the NPL is a common open source language, and the design of the NPL is based on the structure of the human neural network. The ParaEngine is a game engine designed based on NPL, a ParaX format file is customized in the ParaEngine, attributes such as bones, skin grids, bone animations, animation sequences, animation speeds and the like are defined in the file, and the ParaEngine is a file format with animation 3D character resources specific to Paraengine. ParaX is similar to a simplified version of the FBX file, which is a common three-dimensional model file format that supports all major three-dimensional data elements as well as two-dimensional, audio, and video media elements. ParaX is built based on the ". x" file under the Microsoft platform, and the ParaX can provide more functions and support customized content. It should be noted that ParaX is well compatible with DirectX, and ParaX files can be viewed or modified by any commercial software supporting DirectX.
When the ParaX file is analyzed, the terminal firstly loads the ParaX file and reads and loads the resource file.
102. Identifying a target resolver matched with the ParaX file, and calling the target resolver to read a file header and a file body of the ParaX file;
when loading and processing files, the terminal allocates corresponding parsers according to file name retrieval types, and specifically, performs information collection by invoking a lower ContentLoaderParaX (ParaX content loader) to read and load resource files. When loading and processing a file, the contentloaderparamix allocates a corresponding parser according to the file name retrieval type, and for a standard ParaX format file, the terminal identifies a target parser, namely a paraxseriizer parser, matched with the ParaX file. And calling a ParaXSeriorizer parser by the terminal to read and write the file and parse the file. The ParaXSeriorizer resolver is a core part of ParaX resolution and consists of two parts, namely ParaXSeriorizer (document reading and writing) and ParaXPraser (document resolution). The ParaXSeriorizer first reads the header and body of the ParaX file.
The analytic structure of ParaX is shown in the following code:
Figure BDA0003485552100000061
103. analyzing the file header, judging whether the ParaX file is legal or not according to an analysis result, and if so, executing a step 104;
after reading the file header and the file body of the ParaX file, the file header of the ParaX file needs to be analyzed, and whether the ParaX file is legal or not is judged through the analysis of the file header. The header of the ParaX file includes the file size, version, format (binary, text or compressed file), and so on. The ParaX file may be text-based for easier editing; or binary based, which allows the file to be smaller and more easily protected from peeking.
Specifically, the terminal determines whether the ParaX file is legal by judging whether the parsing result of the file header matches a preset effective parameter, if so, the terminal determines that the ParaX file is legal, at this time, step 104 is executed to parse the ParaX file, otherwise, the terminal is illegal, and when the ParaX file is illegal, the terminal needs to terminate parsing of the ParaX file and report an error.
The parsing part code of the ParaX file header is shown as the following code:
Figure BDA0003485552100000071
104. extracting a first target parameter from the analysis result;
when the terminal determines that the ParaX file is legal, extracting a first target parameter from an analysis result of a head of the ParaX file, where the first target parameter includes some template parameters, such as ParaXHeader (ParaX file header template), ParaXBody (ParaX file body template), XDWORDArray (double integer array template), ParaXRefSection (ParaX reference plane template), D3DRMMesh (mesh template), or D3DRMFrame (frame template).
105. And analyzing the file body according to the first target parameter.
All contents of the ParaX file are stored in the template, and the parsing of the ParaX file is to read the contents in the template. Therefore, the terminal analyzes the file body of the ParaX file according to the first target parameter and other resources needed to be used, and completes the analysis of the ParaX file.
In this embodiment, parsing of a file in ParaX format relies on paraxserializers, i.e., ParaX serializers. For a file in a ParaX format, a file header and a file body of the ParaX file need to be read, whether the ParaX file is legal or not is judged according to the file header, when the ParaX file is determined to be legal, a first target parameter needed to be used when the file body is analyzed subsequently is obtained through analyzing the file header, and the file body is analyzed according to the first target parameter, so that the analysis of the ParaX file is realized.
Referring to fig. 2, fig. 2 is another embodiment of a method for parsing a ParaX file provided by the present application, where the method includes:
201. loading a ParaX file;
202. identifying a target resolver matched with the ParaX file, and calling the target resolver to read a file header and a file body of the ParaX file;
203. analyzing the file header, and judging whether the ParaX file is legal or not according to the analysis result, if not, executing the step 204, and if so, executing the step 205;
steps 201 to 203 in this embodiment are similar to steps 101 to 103 in the previous embodiment, and are not described again here.
204. Terminating the analysis and reporting an error;
and when the terminal determines that the ParaX file is illegal, the terminal terminates the analysis of the ParaX file and reports an error.
205. Extracting a first target parameter and a second target parameter from the analysis result;
in this embodiment, when the terminal determines that the ParaX file is legal, a first target parameter is extracted from an analysis result of the head of the ParaX file, where the first target parameter includes some template parameters, such as ParaXHeader (ParaX file header template) ParaXBody (ParaX file body template), XDWORDArray (double integer array template), ParaXRefSection (ParaX reference plane template), D3DRMMesh (mesh template), or D3DRMFrame (frame template).
In addition, the terminal needs to extract a second target parameter, where the second target parameter refers to a partial parameter used in the resource release part, and the second target parameter and the first target parameter include a mutually overlapped part, which is not limited herein.
It should be noted that, the part of extracting the parameters needs to be completed first in the parsing process of the ParaX file, and if the part is not completed or fails, the subsequent parsing operation is terminated and an error is reported.
206. Determining the type of a model in a file body, wherein the type of the model comprises an animation model and a static model;
in the ParaX file, the ParaX model is divided into two categories, animation and static. An animation model is a model including animation motions, and analysis of the animation model is focused on the arrangement of animations. The static model refers to a model that does not include animation, and the analysis of the static model focuses on the overall texture laying, rendering and related physical information loading.
207. Analyzing the file body according to the first target parameter and the type of the model;
and the terminal analyzes the ParaX file body by combining the first target parameter according to the type of the model.
Part of the code for the body parsing is shown as the following code:
Figure BDA0003485552100000091
Figure BDA0003485552100000101
when the terminal determines that the model in the ParaX file body is an animation model:
for the analysis of the animation model, detailed animation configuration is required, and the terminal specifically executes the following operations:
analyzing first file information in a file body;
reading file resources according to the category classification of the first file information;
and carrying out animation configuration on the model according to the file resource and the first target parameter.
The terminal analyzes first file information in a file body, wherein the first file information may comprise XVertics vertex information, XTextures texture information, XAttachments attachment information, XTranspenstancecy transparency information, XViews view angle information, XRenderpass rendering information, XBones skeleton information, Particiters particle information, XColors shader information, XCameras camera information, XLsights light information and XAnimations animation information. And the terminal reads corresponding file resources from the database in a classified manner according to the first file information, and finally performs detailed animation configuration.
Secondly, when the terminal determines that the model in the ParaX file body is a static model:
for the analysis of the static model, animation configuration is not required, and the terminal specifically executes the following operations:
analyzing second file information in the file body;
reading file resources according to the category classification of the second file information;
and statically configuring the model according to the file resources and the first target parameters.
The terminal analyzes second file information in the file body, the difference between the second file information and the first file information is that the second file information does not contain animation information and other file information related to animation configuration, the terminal reads corresponding file resources from the database in a classified mode according to the second file information, and then the static model is displayed according to the file resources.
208. And releasing the resources according to the second target parameter.
In this embodiment, after the terminal completes parsing the file body, it needs to release part of resources according to the second target parameter extracted from the file header, and the code of the resource release part is as follows:
Figure BDA0003485552100000111
in this embodiment, for a file in a ParaX format, a file header and a file body of the ParaX file need to be read first, whether the ParaX file is legal is determined according to the file header, and when it is determined that the ParaX file is legal, a first target parameter that needs to be used when the file body is subsequently analyzed and a second target parameter that is used by the resource release portion are obtained by analyzing the file header. And analyzing the file body according to the first target parameter, judging the type of the model in the file body when analyzing the file body, performing specific configuration according to the type of the model, and finally releasing resources according to the second target parameter, thereby realizing the analysis of the ParaX file.
Referring to fig. 3, fig. 3 is a diagram illustrating an embodiment of a ParaX file parsing system provided by the present application, where the system includes:
a loading unit 301, configured to load a ParaX file;
the calling unit 302 is configured to identify a target parser matched with the ParaX file, and call the target parser to read a file header and a file body of the ParaX file;
a determining unit 303, configured to analyze the file header, and determine whether the ParaX file is legal according to an analysis result;
a first extracting unit 304, configured to extract a first target parameter from the parsing result when the determining unit 303 determines that the ParaX file is legal;
the parsing unit 305 is configured to parse the file according to the first target parameter.
In the system of this embodiment, the functions of each unit correspond to the steps in the method embodiment shown in fig. 1, and are not described herein again.
Referring to fig. 4, fig. 4 is a diagram illustrating another embodiment of a ParaX file parsing system provided by the present application, where the system includes:
a loading unit 401, configured to load a ParaX file;
a calling unit 402, configured to identify a target parser matched with the ParaX file, and call the target parser to read a file header and a file body of the ParaX file;
a determining unit 403, configured to analyze the file header, and determine whether the ParaX file is legal according to an analysis result;
a first extracting unit 404, configured to extract a first target parameter from the parsing result when the determining unit 403 determines that the ParaX file is legal;
the parsing unit 405 is configured to parse the file according to the first target parameter.
In this embodiment, the system further includes:
a second extracting unit 406, configured to extract a second target parameter from the analysis result when the determining unit determines that the ParaX file is legal;
a releasing unit 407, configured to release the resource according to the second target parameter.
Optionally, the parsing unit 405 includes:
the determining module 4051 is configured to determine the types of models in the file body, where the types of models include an animation model and a static model;
the parsing module 4052 is configured to parse the file according to the first target parameter and the type of the model.
In this embodiment, when the determining module 4051 determines that the type of the model is an animation model, the analyzing module 4052 is specifically configured to:
analyzing first file information in a file body;
reading file resources according to the category classification of the first file information;
and carrying out animation configuration on the model according to the file resource and the first target parameter.
Optionally, the type of the first file information includes vertex information, texture information, attachment information, transparency information, perspective information, rendering information, skeleton information, particle information, shader information, camera information, light information, and animation information.
In this embodiment, when the determining module 4051 determines that the type of the model is a static model, the analyzing module 4052 is specifically configured to:
analyzing second file information in the file body;
reading file resources according to the category classification of the second file information;
and statically configuring the model according to the file resources and the first target parameters.
Optionally, the type of the second file information includes vertex information, texture information, attachment information, transparency information, perspective information, rendering information, skeleton information, particle information, shader information, camera information, and light information.
In the system of this embodiment, the functions of each unit correspond to the steps in the method embodiment shown in fig. 2, and are not described herein again.
Referring to fig. 5, fig. 5 is an embodiment of a ParaX file parsing apparatus provided in the present application, where the apparatus includes:
a processor 501, a memory 502, an input/output unit 503, and a bus 504;
the processor 501 is connected with the memory 502, the input/output unit 503 and the bus 504;
the memory 502 holds a program that the processor 501 calls to perform any of the ParaX file parsing methods described above.
The present application also relates to a computer-readable storage medium having a program stored thereon, wherein the program, when run on a computer, causes the computer to perform any of the above ParaX file parsing methods.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.

Claims (10)

1. A ParaX file parsing method is characterized by comprising the following steps:
loading a ParaX file;
identifying a target resolver matched with the ParaX file, and calling the target resolver to read a file header and a file body of the ParaX file;
analyzing the file header, and judging whether the ParaX file is legal or not according to an analysis result;
when the ParaX file is determined to be legal, extracting a first target parameter from the analysis result;
and analyzing the file body according to the first target parameter.
2. The method according to claim 1, wherein after the determining whether the ParaX file is legal according to the parsing result, the method further comprises:
when the ParaX file is determined to be legal, extracting a second target parameter from the analysis result;
after the parsing the file body according to the first target parameter, the method further includes:
and releasing the resources according to the second target parameter.
3. The method of claim 1, wherein parsing the file body according to the first target parameter comprises:
determining the type of the model in the file body, wherein the type of the model comprises an animation model and a static model;
and analyzing the file body according to the first target parameter and the type of the model.
4. The method of claim 3, wherein when determining that the type of model is an animated model, the parsing the corpus of files according to the first target parameter and the type of model comprises:
analyzing first file information in the file body;
reading file resources according to the category classification of the first file information;
and carrying out animation configuration on the model according to the file resource and the first target parameter.
5. The method according to claim 4, wherein the category of the first file information includes vertex information, texture information, attachment information, transparency information, view angle information, rendering information, skeleton information, grain information, shader information, camera information, light information, and animation information.
6. The method of claim 3, wherein when the class of model is determined to be a static model, the parsing the corpus of files according to the first target parameter and the class of model comprises:
analyzing second file information in the file body;
reading file resources according to the category classification of the second file information;
and statically configuring the model according to the file resources and the first target parameters.
7. The method according to claim 6, wherein the category of the second file information includes vertex information, texture information, attachment information, transparency information, view angle information, rendering information, skeleton information, grain information, shader information, camera information, and light information.
8. A ParaX file parsing system, the system comprising:
the loading unit is used for loading the ParaX file;
the calling unit is used for identifying a target resolver matched with the ParaX file and calling the target resolver to read a file header and a file body of the ParaX file;
the judging unit is used for analyzing the file header and judging whether the ParaX file is legal or not according to an analysis result;
the first extraction unit is used for extracting a first target parameter from the analysis result when the ParaX file is determined to be legal;
and the analysis unit is used for analyzing the file body according to the first target parameter.
9. A ParaX file parsing apparatus, the apparatus comprising:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory holds a program that the processor calls to perform the method of any one of claims 1 to 7.
10. A computer-readable storage medium having a program stored thereon, the program, when executed on a computer, performing the method of any one of claims 1 to 7.
CN202210080183.7A 2022-01-24 2022-01-24 ParaX file analysis method, system, device and computer storage medium Pending CN114595663A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210080183.7A CN114595663A (en) 2022-01-24 2022-01-24 ParaX file analysis method, system, device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210080183.7A CN114595663A (en) 2022-01-24 2022-01-24 ParaX file analysis method, system, device and computer storage medium

Publications (1)

Publication Number Publication Date
CN114595663A true CN114595663A (en) 2022-06-07

Family

ID=81805677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210080183.7A Pending CN114595663A (en) 2022-01-24 2022-01-24 ParaX file analysis method, system, device and computer storage medium

Country Status (1)

Country Link
CN (1) CN114595663A (en)

Similar Documents

Publication Publication Date Title
CN111045655B (en) Page rendering method and device, rendering server and storage medium
CN108010112B (en) Animation processing method, device and storage medium
CN105511873B (en) User interface control display method and device
CN109445775B (en) One-key active embedded code method, device and computer readable storage medium
CN110647322B (en) List rendering method and device, electronic equipment and computer readable medium
US7013468B2 (en) Method and apparatus for design and manufacturing application associative interoperability
CN111506300A (en) Applet generation method, device, equipment and storage medium
CN113779681A (en) Building model establishing method and related device
CN114595663A (en) ParaX file analysis method, system, device and computer storage medium
CN114741144B (en) Web-side complex form display method, device and system
CN109558186B (en) Page display method and device
CN115904167A (en) Processing method and device of webpage icon, storage medium and electronic equipment
CN114911541A (en) Configuration information processing method and device, electronic equipment and storage medium
CN113268221A (en) File matching method and device, storage medium and computer equipment
CN114022105A (en) Data processing method and device, electronic equipment and readable storage medium
CN114048174A (en) OFD document processing method and device and electronic equipment
CN114281773A (en) Animation display method and device, electronic equipment and computer readable storage medium
CN113190509A (en) Animation processing method and device, electronic equipment and computer readable storage medium
CN109597845B (en) Report configuration method, report configuration device, computer equipment and storage medium
CN113961279A (en) Page rendering method, device, server and storage medium
CN112286785A (en) User interface abnormity detection method and device
CN116776031B (en) Method and device for checking accessory content in open format document OFD
WO2021174538A1 (en) Application processing method and related apparatus
CN117033204A (en) Test code generation method and device, electronic equipment and storage medium
CN117032794A (en) Reconstruction transcoding method, device, equipment and medium of JSP version code

Legal Events

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