Information processing method and device, electronic equipment and storage medium

By acquiring and analyzing the descriptive text of the scene file, a node hierarchy structure is constructed, which solves the inefficiency problem caused by launching scene files in proprietary tools and achieves efficient node hierarchy relationship parsing.

CN120850996APending Publication Date: 2025-10-28NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510912438.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-02
Publication Date
2025-10-28

AI Technical Summary

Technical Problem

Existing technologies require launching scene files in proprietary digital content generation tools when processing complex or large-scale scene files, resulting in low analysis efficiency and high costs.

Method used

By obtaining the description text of the scene file, reading and analyzing the text blocks multiple times to determine the hierarchical relationship of the scene nodes, and constructing the hierarchical structure information of the scene nodes, the direct launch of the scene file in proprietary tools is avoided.

Benefits of technology

It improves the efficiency of scene file analysis, reduces reliance on high-performance devices and costs, and simplifies the parsing process of node hierarchy relationships.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120850996A_ABST
    Figure CN120850996A_ABST
Patent Text Reader

Abstract

The invention discloses an information processing method and device, electronic equipment and a storage medium. The information processing method comprises the following steps: acquiring a description text for describing a plurality of scene nodes contained in a target scene file; reading the description text for multiple times to obtain a plurality of text blocks to be analyzed; performing scene node analysis on each text block to obtain a node hierarchical relationship corresponding to each scene node contained in the text block; and performing node hierarchical analysis based on the node hierarchical relationship corresponding to each text block to obtain hierarchical structure information of a plurality of scene nodes contained in the target scene file. On the basis, node hierarchical relationship analysis is performed on the scene file based on the description text to obtain hierarchical structure information of the scene nodes contained in the scene file, so that the scene nodes contained in the scene file can be analyzed to perform the node hierarchical relationship without starting the scene file in a special digital content generation tool; and meanwhile, the efficiency of analyzing the scene file is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, specifically to an information processing method, apparatus, electronic device, and storage medium. Background Technology

[0002] In current film and game production processes, scene files are typically generated using digital content creation tools. When it's necessary to understand the nodes contained in a scene file (such as node hierarchy tracking, error troubleshooting and optimization, and automated resource auditing), it's usually necessary to launch the scene file using the corresponding digital content creation tool (such as Maya or Blender) to parse out the node hierarchy of the scene file within the tool.

[0003] However, for scene files with large amounts of data or containing complex scenarios, starting the scene file takes a long time, resulting in low efficiency in analyzing the scene file. Summary of the Invention

[0004] This application provides an information processing method, apparatus, electronic device, and storage medium. By obtaining the descriptive text corresponding to a scene file, and performing node hierarchy analysis on the scene file based on the descriptive text, the hierarchical structure information of the scene nodes contained in the scene file can be obtained. This allows for the parsing and analysis of the node hierarchy of the scene nodes contained in a scene file without needing to launch the scene file in a proprietary digital content generation tool. Since launching the scene file does not require a proprietary digital content generation tool, the efficiency of scene file analysis is improved.

[0005] In a first aspect, embodiments of this application provide an information processing method, the method comprising:

[0006] Obtain the description text corresponding to the target scene file, wherein the description text is used to describe several scene nodes contained in the target scene file;

[0007] The description text is read multiple times to obtain multiple text blocks to be analyzed;

[0008] For each of the text blocks, scene node analysis is performed to obtain the node hierarchy relationship corresponding to each scene node contained in the text block;

[0009] Based on the node hierarchy relationship corresponding to each text block, a node hierarchy analysis is performed on several scene nodes contained in the target scene file to obtain the hierarchical structure information of several scene nodes contained in the target scene file.

[0010] Secondly, embodiments of this application provide an information processing apparatus, including:

[0011] The text acquisition module is used to acquire the description text corresponding to the target scene file, wherein the description text is used to describe several scene nodes contained in the target scene file;

[0012] The reading module is used to read the description text multiple times to obtain multiple text blocks to be analyzed;

[0013] The first analysis module is used to perform scene node analysis on each of the text blocks to obtain the node hierarchy relationship corresponding to each scene node contained in the text block.

[0014] The second analysis module is used to perform node hierarchy analysis on several scene nodes contained in the target scene file based on the node hierarchy relationship corresponding to each of the text blocks, so as to obtain the hierarchical structure information of several scene nodes contained in the target scene file.

[0015] Thirdly, embodiments of this application also provide an electronic device, which includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of any information processing method.

[0016] Fourthly, embodiments of this application also provide a computer-readable storage medium including a processor and a memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform steps of any information processing method.

[0017] Fifthly, embodiments of this application also provide a computer program product, including a computer program stored in a computer-readable storage medium; when a processor of an electronic device reads the computer program from the computer-readable storage medium, the processor executes the computer program, causing the electronic device to perform the steps of any of the information processing methods provided in embodiments of this application.

[0018] The solution adopted in this application embodiment can be achieved by obtaining the descriptive text corresponding to the target scene file, wherein the descriptive text is used to describe several scene nodes contained in the target scene file; reading the descriptive text multiple times to obtain multiple text blocks to be analyzed; performing scene node analysis on each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block; and performing node hierarchy analysis on several scene nodes contained in the target scene file based on the node hierarchy relationship corresponding to each text block to obtain the hierarchical structure information of several scene nodes contained in the target scene file. Based on this, by obtaining the descriptive text corresponding to the scene file and performing node hierarchy relationship analysis on the scene file based on the descriptive text, the hierarchical structure information of the scene nodes contained in the scene file can be obtained, thereby achieving the ability to parse and obtain the node hierarchy relationship of the scene nodes contained in the scene file without starting the scene file in a proprietary digital content generation tool. Since it is not necessary to start the scene file in a proprietary digital content generation tool, the efficiency of scene file analysis is improved. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of an implementation environment scenario for the information processing method provided in this application embodiment;

[0021] Figure 2 This is a schematic flowchart of one embodiment of the information processing method provided in this application.

[0022] Figure 3 This is a partial schematic diagram of the descriptive text of the information processing method provided in the embodiments of this application;

[0023] Figure 4 This is a flowchart illustrating a specific embodiment of the information processing method provided in this application.

[0024] Figure 5 This is a schematic diagram of the information processing method provided in the embodiments of this application;

[0025] Figure 6 This is a schematic diagram of the hierarchical structure of the information processing method provided in the embodiments of this application;

[0026] Figure 7 This is a schematic diagram of the structure of the information processing device provided in the embodiments of this application;

[0027] Figure 8 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0028] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application. At the same time, in the description of the embodiments of this application, the terms "first," "second," etc., are only used to distinguish descriptions and should not be construed as indicating or implying relative importance. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0029] Research has revealed that during film and game production, technicians often require tasks such as node-level tracking, error troubleshooting, optimization, and automated resource auditing for complex scenes, rigging, and other large-scale data files. This typically necessitates launching the scene file using a corresponding digital content creation tool (such as Maya or Blender) to parse its node hierarchy. However, directly opening scene files within these tools is often time-consuming or requires higher-performance machines and software licenses, increasing project costs. Furthermore, the extended launch time for large-scale or complex scene files further hinders the efficiency of scene file analysis.

[0030] To address the aforementioned problems, embodiments of this application provide an information processing method, apparatus, electronic device, and computer-readable storage medium. The information processing apparatus can be integrated into an electronic device, which may be a server or a terminal, among other devices.

[0031] The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN) acceleration services, and big data and artificial intelligence platforms. The terminal can include, but is not limited to, mobile phones, computers, smart voice interaction devices, smart home appliances, vehicle terminals, and aircraft. The terminal and server can be directly or indirectly connected via wired or wireless communication, which is not limited herein.

[0032] Please see Figure 1 Taking the integration of information processing devices into electronic devices as an example, Figure 1 This is a schematic diagram illustrating an implementation scenario of the information processing method provided in this application. The electronic device can be a terminal device. It obtains descriptive text corresponding to a target scene file, where the descriptive text describes several scene nodes contained in the target scene file. The descriptive text is read multiple times to obtain multiple text blocks to be analyzed. Scene node analysis is performed on each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block. Based on the node hierarchy relationship corresponding to each text block, node hierarchy analysis is performed on several scene nodes contained in the target scene file to obtain the hierarchical structure information of several scene nodes contained in the target scene file. Based on this, by obtaining the descriptive text corresponding to the scene file and performing node hierarchy relationship analysis on the scene file based on the descriptive text, the hierarchical structure information of the scene nodes contained in the scene file is obtained. This achieves the goal of parsing and obtaining the node hierarchy relationship of the scene nodes contained in the scene file without starting the scene file in a proprietary digital content generation tool. Since it is not necessary to start the scene file in a proprietary digital content generation tool, the efficiency of scene file analysis is improved.

[0033] It should be noted that Figure 1 The schematic diagram of the information processing system shown is merely an example. The information processing system and scenario described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.

[0034] The following detailed description is provided in conjunction with the accompanying drawings. In this embodiment, the execution subject is a terminal device as an example. It should be noted that the order of description in the following embodiments is not intended to limit the preferred order of the embodiments. Although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown in the accompanying drawings.

[0035] See also Figure 2 , Figure 2 This application provides an embodiment of an information processing method, the specific flow of which can be described by the following steps 101 to 104, wherein:

[0036] Step 101: Obtain the description text corresponding to the target scene file, wherein the description text is used to describe several scene nodes contained in the target scene file.

[0037] The target scene file refers to the scene file that requires node-level analysis.

[0038] A scene file refers to a file generated by digital content generation tools during the film or game production process, used to describe and construct a virtual scene. This scene file includes scene data required to construct the virtual scene, such as 3D models, materials, lighting, animation, rendering settings, etc. The specific details can be adjusted according to actual circumstances, and this application's embodiments do not impose limitations.

[0039] The aforementioned descriptive text refers to the text associated with the target scene file. This descriptive text stores the scene data of the target scene file in plain text format to describe the scene data contained in the target scene file. For example, the target scene file is a Maya file generated based on Maya software, and the descriptive file is a Maya ASCII file associated with the Maya file. The Maya ASCII file is a file that stores the scene data contained in the Maya file in plain text format.

[0040] In this context, a scene node refers to a basic unit in a digital content generation tool used to store and manage scene data, forming the foundation for the virtual scene corresponding to a scene file. Each scene node has specific types and attributes used to describe different elements in the scene, such as geometry, materials, lighting, and animations. These can be adjusted according to actual circumstances, and this application's embodiments do not impose limitations. For example, a scene node may include a material scene node, which defines the appearance of an object's surface, including attributes such as color, texture, reflection, refraction, and transparency.

[0041] Step 102: Read the description text multiple times to obtain multiple text blocks to be analyzed.

[0042] Here, a text block refers to a content block read from the description text that can be used for scene node analysis. The specific process of reading the description text multiple times to obtain multiple text blocks can be adjusted according to the actual situation, and this application embodiment does not impose any restrictions.

[0043] In some embodiments, the descriptive text can be read according to the paragraph feature expression to obtain several text segments. Whenever a preset number of text segments are read, a text block to be analyzed is constructed based on the preset number of text segments.

[0044] Among them, paragraph feature expressions refer to expressions that can be used to identify and describe text segments in a text.

[0045] Paragraph feature expressions can be set based on the characteristics of text segments, and their specifics can be adjusted according to actual conditions; this application embodiment does not impose any limitations. For example, the characteristics of each text segment in the description text are: ending with ";", and the text of the next line is aligned from the beginning of the line. Based on the text segment characteristics of the description text, the paragraph feature expression can be set as: (.*?);\n(?[a-zA-Z / ]), where (.*?);\n represents that the current line of the text segment ends with ";" followed by a newline, and (?[\s]) indicates that the next line of the text segment must begin with a letter or / . If / / exists, it indicates that the current line is a comment. In this way, by reading the description text multiple times using the above paragraph feature expression, multiple text blocks to be analyzed can be obtained.

[0046] In some embodiments, the description text can be read multiple times according to the reading length corresponding to the description text; for the initial text block obtained from the first reading, the initial text block is identified according to the paragraph feature expression, and several text segments in the initial text block are determined, and several text segments are used to form a text block to be analyzed; for the initial text block obtained from subsequent readings, if there is remaining content in the initial text block obtained from the previous reading in addition to the text segments, the remaining content is added to the initial text block, and the initial text block is identified according to the paragraph feature expression, and several text segments in the initial text block are determined, and several text segments are used to form a text block to be analyzed.

[0047] The reading length can refer to a fixed length of text to be read. For example, a reading length of 10M (i.e., 10 * 1024 * 1024 strings). Or, a reading length of 15M (i.e., 15 * 1024 * 1024 strings).

[0048] The reading length can be set manually, based on experience, or by obtaining the overall length of the description text and setting it according to the ratio between the overall length and the predetermined number of reads. The specific implementation of this application does not limit this.

[0049] Among them, paragraph feature expressions refer to expressions that can be used to identify and describe text segments in a text.

[0050] The paragraph feature expression can be set based on the features of the text segment, and its specific details can be adjusted according to the actual situation. This application does not impose any limitations on this. For example, such as Figure 3 As shown, each text segment in the description text is characterized by ending with a semicolon (;) and the text on the next line being aligned from the beginning of the line. Based on the text segment characteristics of the description text, the segment feature expression can be set as: (.*?);\n(?[a-zA-Z / ]), where (.*?);\n represents that the current line of the text segment ends with a semicolon followed by a newline character (;), and (?[\s]) indicates that the next line of the text segment must begin with a letter or a forward slash ( / ). If a forward slash ( / / ) is present, it indicates that the current line is a comment.

[0051] Because the description text is read in a certain length, the end position of the initial text block read may fall in the middle of a certain text segment of the description text. Therefore, for each initial text block read, it is necessary to first determine whether the previously read initial text block still has remaining content after matching several text segments using paragraph feature expressions. This remaining content can be as follows: Figure 3 The portion shown in the green box. If it exists, the remaining content can be added to the initial text block read this time.

[0052] It should be noted that if there is remaining content in the previously read initial text block, this remaining content will be marked as the preceding content of the currently read initial text block. That is, for initial text blocks that are not read for the first time, it can be determined whether there is preceding content. If so, the preceding content is added to the initial text block and then matched with paragraph feature expressions to prevent errors in subsequent analysis caused by reading the middle of a text segment describing the text.

[0053] Step 103: Perform scene node analysis for each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block.

[0054] Among them, the node hierarchy relationship refers to the hierarchical relationship related to scene nodes, such as the parent-child relationship of scene nodes.

[0055] Scene node analysis refers to the process of analyzing the specific scene nodes contained in a text block, as well as the node hierarchy relationship corresponding to each scene node contained in the text block.

[0056] It should be noted that scene node analysis can be adaptively adjusted based on the characteristics of scene nodes in the descriptive text and the hierarchical relationships between them; this application's embodiments do not impose limitations. For example, the scene node analysis process is as follows: First, based on the node identifier of the scene node, the specific scene node is identified from the text block. This can also be understood as identifying the location of the scene node from the text block based on its node identifier, and obtaining the scene node name from that location to obtain the specific scene node. Further, based on the identifier representing the hierarchical relationship between nodes, the relevant identities between each scene node are determined to construct the node hierarchy. For example, if scene node A is the parent node of scene node B, then a node hierarchy relationship (scene node A, scene node B) can be constructed using the expression (parent node, child node).

[0057] For example, suppose we use "-n" to identify the location of the scene node, and the content following "-n" is the node name of the scene node. We use "-p" to identify the location of the parent node corresponding to the scene node, and the content following "-p" is the specific name of the parent node corresponding to the scene node.

[0058] Suppose there exists a text block containing the following content: createNode transform-sn "perspShape"-p "persp". Based on this content, we can determine that there are two scene nodes: "perspShape" and "persp", where "perspShape" is a child node of "persp" and "persp" is the parent node of "perspShape".

[0059] Specifically, the process of performing scene node analysis on each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block may include: for each text block, based on the node paragraph feature expression, identifying several node text segments from the text segments of the text block, wherein one node text segment is used to describe a scene node; for each node text segment, performing scene node mark recognition and parent node mark recognition on the node text segment to obtain the recognition result corresponding to the node text segment; and based on the recognition result corresponding to the node text segment, determining the node hierarchy relationship corresponding to the scene nodes contained in the node text segment.

[0060] Among them, the node paragraph feature expression refers to the expression used to identify the text segment where the scene node is located in the text block.

[0061] The feature expression for a node paragraph can be set based on the features of the text segment where the scene node is located. Its specific expression can be adjusted according to actual circumstances, and this application embodiment does not impose any limitations. For example, such as... Figure 3As shown, the characteristics of the text segment containing the scene node in the description text are: the first line must begin with `createNode`, end with a semicolon (;), and the text on the next line must be aligned from the beginning of the line. Based on the characteristics of the text segment containing the scene node, the node segment feature expression can be set as: `createNode(.*?);\n(?![a-zA-Z / ])`. Here, `createNode(.*?);\n` means that the first line of the text segment containing the scene node must begin with `createNode`, and the text segment containing the scene node must end with a semicolon (;). `(?[a-zA-Z / ])` means that after the matching is complete, the next line of the text segment containing the scene node must begin with a letter or a forward slash ( / ).

[0062] Among them, the node text segment refers to the text segment in the description text used to describe a scene node contained in the target scene file.

[0063] The scene node marker is used to identify the scene node described by the node text segment. The specific content of the scene node marker can be adjusted according to actual circumstances, and this embodiment does not impose any limitations. For example, the scene node marker may be as follows: Figure 3 The "-n" in the text.

[0064] The parent node flag identifies the parent node to which the scene node described by the node text segment belongs. The specific content of the parent node flag can be adjusted according to actual circumstances, and this embodiment does not impose any limitations. For example, the parent node flag might be as follows: Figure 3 The "-p" shown.

[0065] It should be noted that a scene node marker is always present in a node text segment, but a parent node marker is not necessarily present. If the parent node marker is absent, it means that the scene node in that node text segment is the root node.

[0066] In some embodiments, the process of performing scene node marker recognition and parent node marker recognition on the node text segment to obtain the recognition result corresponding to the node text segment may include: performing scene node marker recognition on the node text segment based on the first node marker expression to obtain the first recognition result; and performing parent node marker recognition on the node text segment based on the second node marker expression to obtain the second recognition result.

[0067] The first node flag expression refers to an expression that can be used to identify scene node flags in a node text segment. The first identification result includes the scene node flag and related information about the scene node, such as the node name of the scene node.

[0068] The first node flag expression can be set based on the characteristics of scene node flags in the node text segment, and its specific expression can be adjusted according to the actual situation. This application embodiment does not impose any limitations. For example, such as Figure 3 As shown, the characteristic of scene node markers in the node text segment is: "-n" followed by the specific name of the scene node. Based on the characteristic of scene node markers in the node text segment, the first node marker expression can be set to: -n"(.*?)". Here, (.*?) represents matching as few characters as possible. For example... Figure 3 As shown, NodeBlock2 is a node text segment, which can be identified by the first node flag expression -n"perspShape", where "-n" is the scene node flag and perspShape is the node name of the scene node in this node text segment.

[0069] The second node flag expression refers to the expression that can be used to identify the parent node flag in the node text segment. The second identification result includes the parent node flag and related information about the parent node, such as the parent node's name.

[0070] The second node flag expression can be set based on the characteristics of the parent node flag in the node text segment, and its specific expression can be adjusted according to the actual situation. This application embodiment does not impose any restrictions. For example, such as Figure 3 As shown, the characteristic of the parent node flag in the node text segment is: "-p" followed by the specific name of the parent node. Based on the characteristic of the parent node flag in the node text segment, the second node flag expression can be set to: -p"(.*?)". Here, (.*?) represents matching as few characters as possible. Figure 3 As shown, NodeBlock2 is a node text segment. The second node flag expression identifies the node as -p"persp", where "-p" is the parent node flag, and persp is the name of the parent node in this node text segment. That is, in NodeBlock2, the scene node's name is perspShape, and the parent node of the perspShape scene node is named persp.

[0071] In some embodiments, the process of determining the node hierarchy relationship of the scene nodes contained in the node text segment based on the recognition result of the node text segment may include: when the first recognition result includes a scene node flag and the second recognition result includes a parent node flag, constructing a node hierarchy relationship between the scene node and the parent node to which the scene node belongs, based on the node corresponding to the scene node flag and the node corresponding to the parent node flag, wherein the node corresponding to the scene node flag indicates the scene node and the node corresponding to the parent node flag indicates the parent node to which the scene node belongs; when the first recognition result includes a scene node flag and the second recognition result is empty, constructing a node hierarchy relationship with the scene node as the root node based on the node corresponding to the scene node flag.

[0072] For example, suppose the general expression for the node hierarchy is: Scene node: The parent node to which the scene node belongs.

[0073] like Figure 3 The NodeBlock2 shown here has a first identification result including the scene node flag "-n" and a second identification result including the parent node flag "-p". Based on the node perspShape corresponding to the scene node flag and the node persp corresponding to the parent node flag, a node hierarchy relationship between the scene node and its parent node is constructed. That is, a node hierarchy relationship determined based on NodeBlock2 is: "perspShape: persp".

[0074] like Figure 3 The first identification result of NodeBlock1 includes the scene node flag "-n", but the second identification result of NodeBlock1 does not have a parent node flag. Therefore, based on the node persp corresponding to the scene node flag, a node hierarchy relationship with the scene node as the root node is constructed. That is, a node hierarchy relationship determined based on NodeBlock1 is: "persp: null", where null indicates that the parent node of the scene node persp is empty, that is, the scene node persp is the root node.

[0075] Step 104: Based on the node hierarchy relationship corresponding to each text block, perform node hierarchy analysis on several scene nodes contained in the target scene file to obtain the hierarchical structure information of several scene nodes contained in the target scene file.

[0076] Specifically, by analyzing the hierarchical relationships of multiple nodes determined by the description text, the hierarchical structure information of several scene nodes contained in the target scene file is obtained.

[0077] The above node hierarchy is used to indicate that a scene node is the root node, or to indicate the relationship between a scene node and its parent node.

[0078] In some embodiments, the process of performing node hierarchy analysis on several scene nodes contained in the target scene file based on the node hierarchy relationship corresponding to each text block to obtain the hierarchical structure information of several scene nodes contained in the target scene file may include: for each node hierarchy relationship, if the node hierarchy relationship includes a parent node, then based on other node hierarchy relationships, determining the first node path corresponding to the parent node to the root node; generating a second node path between the scene node and the root node based on the scene nodes in the node hierarchy relationship and the first node path corresponding to the parent node to which the scene node belongs; and obtaining the hierarchical structure information of several scene nodes contained in the target scene file based on each second node path.

[0079] Among them, other node hierarchy relationships refer to the node hierarchy relationships other than the currently selected node hierarchy relationship among the multiple node hierarchy relationships determined based on the description text.

[0080] The first node path indicates the node path successfully constructed from the parent node in the currently selected node hierarchy relationship to the nodes contained in other node hierarchy relationships, where the root node in the node path comes from other node hierarchy relationships.

[0081] The second node path is the node path obtained by adding the scene nodes in the currently selected node hierarchy to the first node path.

[0082] In some embodiments, for each node hierarchy, if the node hierarchy includes a parent node, the process of determining the first node path from the parent node to the root node based on other node hierarchys may include: determining whether the currently selected node hierarchy includes a parent node; if the currently selected node hierarchy does not include a parent node, determining the scene node in the node hierarchy as the root node; if the currently selected node hierarchy includes a parent node, selecting a node hierarchy from other node hierarchys that matches the parent node of the currently selected node hierarchy as a new selected node hierarchy, and returning to the step of determining whether the currently selected node hierarchy includes a parent node to continue execution until the first node path from the parent node to the root node is determined.

[0083] The solution adopted in this application embodiment can be achieved by obtaining the descriptive text corresponding to the target scene file, wherein the descriptive text is used to describe several scene nodes contained in the target scene file; reading the descriptive text multiple times to obtain multiple text blocks to be analyzed; performing scene node analysis on each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block; and performing node hierarchy analysis on several scene nodes contained in the target scene file based on the node hierarchy relationship corresponding to each text block to obtain the hierarchical structure information of several scene nodes contained in the target scene file. Based on this, by obtaining the descriptive text corresponding to the scene file and performing node hierarchy relationship analysis on the scene file based on the descriptive text, the hierarchical structure information of the scene nodes contained in the scene file can be obtained, thereby achieving the ability to parse and obtain the node hierarchy relationship of the scene nodes contained in the scene file without starting the scene file in a proprietary digital content generation tool. Since it is not necessary to start the scene file in a proprietary digital content generation tool, the efficiency of scene file analysis is improved.

[0084] The embodiments of this application will be explained and described below with reference to a specific example. For details, please refer to [link to specific examples]. Figure 4 , Figure 4 This is a schematic diagram of the information processing flow according to a specific embodiment of this application. The Maya .ascii file is the descriptive text mentioned in the embodiments of this application. The Maya .ascii file is the descriptive text corresponding to the Maya file, which is the target scene file.

[0085] Use Python to read Maya ASCII files. Move the reading position to the end of the Maya ASCII file to obtain its total length. Move the reading position to the beginning of the Maya ASCII file and read the file in fixed 10MB increments to obtain the current content (CurrentContent). If the current content (CurrentContent) has a preceding content (PreviousContent), merge the preceding content (PreviousContent) with the current content (CurrentContent) to obtain the content to be analyzed.

[0086] The content to be analyzed is matched using paragraph feature expressions such as (.*?);\n(?[a-zA-Z / ]) to obtain multiple text segments. If there is any remaining content in the content to be analyzed, this remaining content is saved as the preceding content of the current content (CurrentContent) to be read next time, so that the preceding content is merged before the current content is read next time.

[0087] For each text segment, use a node segment feature expression such as createNode(.*?);\n(?![a-zA-Z / ]) to match and determine whether the text segment is a node text segment.

[0088] The first line of data in the node text segment is matched using the first node flag expression -n"(.*?)" and the second node flag expression -p"(.*?)". This yields the name of the scene node contained in the node text segment (node) and the name of its parent node (par). If the parent node name is empty, it means that the scene node contained in the node text segment is the root node. A node:par relationship pair (i.e., node hierarchy relationship) corresponding to the node text segment is created on nodeParInfo.

[0089] Once the analysis of the entire Maya ASCII file is complete, the complete nodeParInfo is obtained, which stores the hierarchical relationships of all nodes in the Maya ASCII file.

[0090] Iterate through the key-value pairs in `nodeParInfo` to obtain the current scene node `node` and its parent node `par`. Create a `parList` for the parent nodes of the current scene node. If `par` is empty, stop recursively recursively retrieving `par2` from `nodeParInfo` until the complete `par` path (i.e., the path of the first node) is obtained.

[0091] The obtained `parList` is iterated in reverse order, and then combined with the current scene node `node` to generate the complete path of the current scene node (i.e., the second node path). For example, the final complete path of `par` for `[par1,par2,par3]` is `|par3|par2|par1`, and the complete path generated by combining it with the current scene node `node` is `|par3|par2|par1|node`. Based on the complete paths generated for each scene node, a complete path list for the Maya ASCII file is obtained. This complete path list is sorted to obtain the node hierarchy structure (i.e., node structure information) corresponding to the Maya file.

[0092] For example, the complete paths generated by each scene node can be like this: Figure 5 As shown in the figure, based on the complete paths corresponding to each scene node, a pattern can be constructed as follows: Figure 6 The node hierarchy structure corresponding to the Maya file shown.

[0093] Thus, by reading Maya ASCII files using Python and reducing unnecessary data reading through keyword matching, a hierarchical outline can be quickly generated. This function not only facilitates quick comparison of object hierarchy changes between different versions by production and technical personnel but also provides a foundation for integration with other tools, further optimizing the efficiency of the production pipeline. Furthermore, the node hierarchy structure of a Maya file can be obtained through analysis of the Maya ASCII file without needing to open the Maya software, thus avoiding the problem of inefficient node hierarchy analysis caused by excessively long startup times in Maya software.

[0094] This embodiment also provides an information processing device, which can be specifically integrated into a terminal device. For example, such as Figure 7 As shown, the information processing device may include:

[0095] The text acquisition module 201 is used to acquire the description text corresponding to the target scene file, wherein the description text is used to describe several scene nodes contained in the target scene file;

[0096] The reading module 202 is used to read the description text multiple times to obtain multiple text blocks to be analyzed;

[0097] The first analysis module 203 is used to perform scene node analysis on each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block.

[0098] The second analysis module 204 is used to perform node hierarchy analysis on several scene nodes contained in the target scene file based on the node hierarchy relationship corresponding to each text block, so as to obtain the hierarchical structure information of several scene nodes contained in the target scene file.

[0099] In some embodiments, the reading module 202 reads the description text multiple times to obtain multiple text blocks to be analyzed, including:

[0100] The reading unit is used to read the description text multiple times according to the reading length corresponding to the description text;

[0101] The first determining unit is used to identify the initial text block obtained from the first reading based on the paragraph feature expression, determine several text segments in the initial text block, and form a text block to be analyzed from the several text segments.

[0102] The second determining unit is used to determine the initial text block obtained before the first reading. If there are remaining contents in the initial text block obtained in the previous reading besides the text segments, the remaining contents are added to the initial text block. The initial text block is then identified according to the paragraph feature expression to determine several text segments in the initial text block, and several text segments are used to form a text block to be analyzed.

[0103] In some embodiments, the first analysis module 203 performs scene node analysis on each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block, including:

[0104] The first recognition unit is used to identify several node text segments from the text segments of each text block based on the node paragraph feature expression, wherein a node text segment is used to describe a scene node.

[0105] The second recognition unit is used to perform scene node mark recognition and parent node mark recognition on each node text segment to obtain the recognition result corresponding to the node text segment.

[0106] The first analysis unit is used to determine the node hierarchy relationship of the scene nodes contained in the node text segment based on the recognition results corresponding to the node text segment.

[0107] In some embodiments, the second recognition unit performs scene node marker recognition and parent node marker recognition on the node text segment to obtain the recognition result corresponding to the node text segment, including:

[0108] Based on the first node marker expression, scene node marker recognition is performed on the node text segment to obtain the first recognition result;

[0109] Based on the second node flag expression, the parent node flag is identified in the node text segment to obtain the second identification result.

[0110] In some embodiments, the first analysis unit, based on the recognition result corresponding to the node text segment, determines the node hierarchy relationship corresponding to the scene nodes contained in the node text segment, including:

[0111] When the first identification result includes a scene node flag and the second identification result includes a parent node flag, a node hierarchy relationship between the scene node and the parent node to which the scene node belongs is constructed based on the node corresponding to the scene node flag and the node corresponding to the parent node flag. The node corresponding to the parent node flag indicates the parent node to which the scene node belongs.

[0112] If the first recognition result includes scene node markers and the second recognition result is empty, construct a node hierarchy with scene nodes as the root node based on the nodes corresponding to the scene node markers.

[0113] In some embodiments, the above node hierarchy is used to indicate that a scene node is a root node, or to indicate the relationship between a scene node and its parent node.

[0114] Based on this, the second analysis module 204, based on the node hierarchy relationship corresponding to each text block, performs node hierarchy analysis on several scene nodes contained in the target scene file to obtain the hierarchical structure information of several scene nodes contained in the target scene file, including:

[0115] The first path determination unit is used to determine the first node path from the parent node to the root node based on other node hierarchical relationships for each node hierarchy relationship if the node hierarchy relationship includes a parent node.

[0116] The second path determination unit is used to generate a second node path between the scene node and the root node based on the scene node in the node hierarchy relationship and the first node path corresponding to the parent node to which the scene node belongs.

[0117] The second analysis unit is used to obtain the hierarchical structure information of several scene nodes contained in the target scene file based on the paths of each second node.

[0118] In some embodiments, the first path determining unit, for each node hierarchy, if the node hierarchy includes a parent node, determines the first node path from the parent node to the root node based on other node hierarchy relationships, including:

[0119] Determine whether the currently selected node hierarchy contains a parent node;

[0120] If the currently selected node hierarchy does not contain a parent node, then the scene node in the node hierarchy is determined as the root node.

[0121] If the currently selected node hierarchy contains a parent node, then select a node hierarchy from other node hierarchy relationships that matches the parent node of the currently selected node hierarchy relationship as the new selected node hierarchy relationship. Then return to the step of determining whether the currently selected node hierarchy relationship contains a parent node and continue execution until the first node path corresponding to the parent node to the root node is determined.

[0122] The solution adopted in this application embodiment can obtain the descriptive text corresponding to the target scene file through the text acquisition module 201, wherein the descriptive text is used to describe several scene nodes contained in the target scene file; the reading module 202 reads the descriptive text multiple times to obtain multiple text blocks to be analyzed; the first analysis module 203 performs scene node analysis on each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block; the second analysis module 204 performs node hierarchy analysis on several scene nodes contained in the target scene file based on the node hierarchy relationship corresponding to each text block to obtain the hierarchical structure information of several scene nodes contained in the target scene file. Based on this, by obtaining the descriptive text corresponding to the scene file and performing node hierarchy relationship analysis on the scene file based on the descriptive text, the hierarchical structure information of the scene nodes contained in the scene file can be obtained, thereby realizing the parsing and node hierarchy relationship of the scene nodes contained in the scene file without starting the scene file in a proprietary digital content generation tool. Since it is not necessary to start the scene file in a proprietary digital content generation tool, the efficiency of scene file analysis is improved.

[0123] Accordingly, this application also provides an electronic device, which can be a terminal, such as a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. Alternatively, the electronic device can be a server.

[0124] like Figure 8 As shown, Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 300 includes a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 and the memory 302 are electrically connected. Those skilled in the art will understand that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0125] The processor 301 is the control center of the electronic device 300. It connects various parts of the electronic device 300 via various interfaces and lines. By running or loading software programs and / or units stored in the memory 302, and by calling data stored in the memory 302, it executes various functions and processes data of the electronic device 300, thereby providing overall monitoring of the electronic device 300. The processor 301 can be a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), etc., and can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application.

[0126] In this embodiment, the processor 301 in the electronic device 300 loads the instructions corresponding to the processes of one or more applications into the memory 302 according to the following steps, and the processor 301 runs the applications stored in the memory 302 to realize various functions, such as:

[0127] Obtain the description text corresponding to the target scene file, where the description text is used to describe several scene nodes contained in the target scene file;

[0128] The description text is read multiple times to obtain multiple text blocks to be analyzed;

[0129] For each text block, scene node analysis is performed to obtain the node hierarchy relationship corresponding to each scene node contained in the text block.

[0130] Based on the node hierarchy relationship corresponding to each text block, node hierarchy analysis is performed on several scene nodes contained in the target scene file to obtain the hierarchical structure information of several scene nodes contained in the target scene file.

[0131] The electronic device provided in this application embodiment can obtain descriptive text corresponding to a target scene file, wherein the descriptive text is used to describe several scene nodes contained in the target scene file; read the descriptive text multiple times to obtain multiple text blocks to be analyzed; perform scene node analysis on each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block; and perform node hierarchy analysis on several scene nodes contained in the target scene file based on the node hierarchy relationship corresponding to each text block to obtain the hierarchical structure information of several scene nodes contained in the target scene file. Based on this, by obtaining the descriptive text corresponding to the scene file and performing node hierarchy relationship analysis on the scene file based on the descriptive text, the hierarchical structure information of the scene nodes contained in the scene file can be obtained. This achieves the goal of parsing and obtaining the node hierarchy relationship of the scene nodes contained in the scene file without starting the scene file in a proprietary digital content generation tool. Since it is not necessary to start the scene file in a proprietary digital content generation tool, the efficiency of scene file analysis is improved.

[0132] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0133] Optional, such as Figure 8 As shown, the electronic device 300 also includes: a touch display screen 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the touch display screen 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307. Those skilled in the art will understand that... Figure 8 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0134] The touch display screen 303 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 303 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 301. It can also receive and execute commands from the processor 301. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 301 to determine the type of touch event. Subsequently, the processor 301 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 303 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 303 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 303 can also be used as part of the input unit 306 to achieve input functions.

[0135] The radio frequency circuit 304 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices, and to transmit and receive signals with network devices or other electronic devices.

[0136] Audio circuitry 305 can be used to provide an audio interface between a user and an electronic device via a speaker and a microphone. Audio circuitry 305 converts received audio data into electrical signals, transmits them to the speaker, and the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 305, converted back into audio data, and then processed by processor 301 before being transmitted via radio frequency circuitry 304 to, for example, another electronic device, or output to memory 302 for further processing. Audio circuitry 305 may also include an earphone jack to facilitate communication between peripheral headphones and electronic devices.

[0137] The input unit 306 can be used to receive user touch operations, user gaze points on the screen, etc.

[0138] Power supply 307 is used to supply power to various components of electronic device 300. Optionally, power supply 307 can be logically connected to processor 301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 307 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0139] although Figure 8 As not shown in the diagram, the electronic device 300 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.

[0140] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0141] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0142] Therefore, embodiments of this application provide a computer-readable storage medium storing multiple computer programs that can be loaded by a processor to execute any of the information processing methods provided in this application. The computer program can execute the steps of the following information processing method:

[0143] Obtain the description text corresponding to the target scene file, where the description text is used to describe several scene nodes contained in the target scene file;

[0144] The description text is read multiple times to obtain multiple text blocks to be analyzed;

[0145] For each text block, scene node analysis is performed to obtain the node hierarchy relationship corresponding to each scene node contained in the text block.

[0146] Based on the node hierarchy relationship corresponding to each text block, node hierarchy analysis is performed on several scene nodes contained in the target scene file to obtain the hierarchical structure information of several scene nodes contained in the target scene file.

[0147] Using the computer-readable storage medium provided in this application embodiment, the following steps can be taken: First, obtain the descriptive text corresponding to the target scene file. This descriptive text describes several scene nodes contained in the target scene file. Second, read the descriptive text multiple times to obtain multiple text blocks to be analyzed. Third, perform scene node analysis on each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block. Fourth, based on the node hierarchy relationship corresponding to each text block, perform node hierarchy analysis on several scene nodes contained in the target scene file to obtain the hierarchical structure information of several scene nodes contained in the target scene file. Based on this, by obtaining the descriptive text corresponding to the scene file and performing node hierarchy relationship analysis on the scene file based on the descriptive text, the hierarchical structure information of the scene nodes contained in the scene file can be obtained. This allows for parsing and obtaining the node hierarchy relationship of the scene nodes contained in the scene file without starting the scene file in a proprietary digital content generation tool. Since starting the scene file in a proprietary digital content generation tool is not required, the efficiency of analyzing scene files is improved.

[0148] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0149] 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.

[0150] Since the computer program stored in the computer-readable storage medium can execute any of the information processing methods provided in the embodiments of this application, it can achieve the beneficial effects that any of the information processing methods provided in the embodiments of this application can achieve, as detailed in the preceding embodiments, and will not be repeated here.

[0151] According to one aspect of this application, a computer program product or computer program is also provided, comprising computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in the various optional implementations of the above embodiments.

[0152] In the above embodiments of the information processing apparatus, computer-readable storage medium, electronic device, and computer program product, the descriptions of each embodiment have different focuses. Parts not described in detail in a particular embodiment can be referred to in the relevant descriptions of other embodiments. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes and beneficial effects of the information processing apparatus, computer-readable storage medium, computer program product, electronic device, and their corresponding units described above can be referred to the description of the information processing method in the above embodiments, and will not be repeated here.

[0153] The foregoing has provided a detailed description of an information processing method, apparatus, electronic device, computer-readable storage medium, and computer program product provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. An information processing method, characterized in that, The method includes: Obtain the description text corresponding to the target scene file, wherein the description text is used to describe several scene nodes contained in the target scene file; The description text is read multiple times to obtain multiple text blocks to be analyzed; For each of the text blocks, scene node analysis is performed to obtain the node hierarchy relationship corresponding to each scene node contained in the text block; Based on the node hierarchy relationship corresponding to each text block, a node hierarchy analysis is performed on several scene nodes contained in the target scene file to obtain the hierarchical structure information of several scene nodes contained in the target scene file.

2. The information processing method according to claim 1, characterized in that, The process of repeatedly reading the description text to obtain multiple text blocks to be analyzed includes: The description text is read multiple times according to the reading length corresponding to the description text; For the initial text block obtained from the first reading, the initial text block is identified according to the paragraph feature expression, and several text segments in the initial text block are determined. These several text segments are then used to form a text block to be analyzed. For initial text blocks that are not read for the first time, if there are remaining contents in the initial text block besides the text segments, the remaining contents are added to the initial text block. The initial text block is then identified according to the paragraph feature expression to determine several text segments in the initial text block. These several text segments are then used to form a text block to be analyzed.

3. The information processing method according to claim 2, characterized in that, The step of performing scene node analysis for each text block to obtain the node hierarchy relationship corresponding to each scene node contained in the text block includes: For each text block, based on the node paragraph feature expression, several node text segments are identified from the text segments of the text block, wherein one of the node text segments is used to describe a scene node; For each node text segment, scene node marker recognition and parent node marker recognition are performed on the node text segment to obtain the recognition result corresponding to the node text segment; Based on the recognition results corresponding to the node text segment, the node hierarchy relationship corresponding to the scene nodes contained in the node text segment is determined.

4. The information processing method according to claim 3, characterized in that, The process of performing scene node marker recognition and parent node marker recognition on the node text segment to obtain the recognition result corresponding to the node text segment includes: Based on the first node marker expression, scene node marker recognition is performed on the node text segment to obtain the first recognition result; Based on the second node flag expression, the parent node flag is identified in the node text segment to obtain the second identification result.

5. The information processing method according to claim 4, characterized in that, The step of determining the node hierarchy relationship of the scene nodes contained in the node text segment based on the recognition result corresponding to the node text segment includes: When the first identification result includes a scene node flag and the second identification result includes a parent node flag, a node hierarchy relationship between the scene node and the parent node to which the scene node belongs is constructed based on the node corresponding to the scene node flag and the node corresponding to the parent node flag, wherein the node corresponding to the parent node flag indicates the parent node to which the scene node belongs; If the first identification result includes the scene node marker and the second identification result is empty, a node hierarchy relationship with the scene node as the root node is constructed based on the node corresponding to the scene node marker.

6. The information processing method according to any one of claims 1 to 5, characterized in that, The node hierarchy is used to indicate that the scene node is the root node, or to indicate the scene node and its parent node; Based on the node hierarchy relationship corresponding to each of the text blocks, the node hierarchy analysis is performed on the several scene nodes contained in the target scene file to obtain the hierarchical structure information of the several scene nodes contained in the target scene file, including: For each of the node hierarchy relationships, if the node hierarchy relationship includes a parent node, then based on the other node hierarchy relationships, the first node path from the parent node to the root node is determined. Based on the scene nodes in the node hierarchy and the first node path corresponding to the parent node of the scene node, a second node path is generated between the scene node and the root node. Based on the paths of each of the second nodes, the hierarchical structure information of several scene nodes contained in the target scene file is obtained.

7. The information processing method according to claim 6, characterized in that, For each of the node hierarchy relationships, if the node hierarchy relationship includes a parent node, then based on the other node hierarchy relationships, the path from the parent node to the first node corresponding to the root node is determined, including: Determine whether the currently selected node hierarchy contains a parent node; If the currently selected node hierarchy does not contain a parent node, then the scene node in the node hierarchy is determined as the root node. If the currently selected node hierarchy contains a parent node, then from the other node hierarchy relationships, select a node hierarchy relationship that matches the parent node of the currently selected node hierarchy relationship as the new selected node hierarchy relationship, and return to the step of determining whether the currently selected node hierarchy relationship contains a parent node to continue execution until the first node path corresponding to the parent node to the root node is determined.

8. An information processing device, characterized in that, The device includes: The text acquisition module is used to acquire the description text corresponding to the target scene file, wherein the description text is used to describe several scene nodes contained in the target scene file; The reading module is used to read the description text multiple times to obtain multiple text blocks to be analyzed; The first analysis module is used to perform scene node analysis on each of the text blocks to obtain the node hierarchy relationship corresponding to each scene node contained in the text block. The second analysis module is used to perform node hierarchy analysis on several scene nodes contained in the target scene file based on the node hierarchy relationship corresponding to each of the text blocks, so as to obtain the hierarchical structure information of several scene nodes contained in the target scene file.

9. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the information processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, It includes a computer program that, when run on an electronic device, causes the electronic device to perform the steps of the information processing method according to any one of claims 1 to 7.