Data processing method and device, equipment and storage medium
By pulling the data of the target folder on demand in the application development tool, the problem of low data transmission rate between the engine IDE and the resource IDE is solved, achieving more efficient data rendering and a better development experience.
Patent Information
- Application Number
- CN202311036475.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-16
- Publication Date
- 2025-02-21
AI Technical Summary
In application development tools, the data transmission rate between the engine IDE and the resource IDE is low, resulting in a long data transmission time and reducing data rendering efficiency and developer experience.
The interface editing module pulls the data of the target folder as needed without pulling all application resources. The resource processing module obtains the required data from the operating system file system and sends data or part of the data to the interface editing module. The interface editing module Render the required data in the Explorer interface.
It shortens data transmission time, improves data rendering efficiency, and improves the developer's experience.
Smart Images

Figure CN119493772A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a data processing method, apparatus, device and storage medium. Background Art
[0002] Application development tools are tools that help developers develop and debug applications conveniently and efficiently. When developers use application development tools to develop and debug applications, they frequently interact with application resources.
[0003] Currently, when a developer opens an application development tool, or when the developer adds, deletes, or modifies application files or folders in the resource manager interface of the application development tool, or when the developer directly adds, deletes, or modifies application files or folders in the file system of the operating system, the engine integrated development environment (IDE) in the application development tool needs to pull all application resources from the file system of the operating system through the assets IDE to render these application resources in the resource manager interface of the application development tool so that the developer can interact with the application resources.
[0004] However, since the engine IDE and the resource IDE communicate based on the WebSocket protocol, the data transmission rate between the engine IDE and the resource IDE is low. Based on this, if the current full data transmission method is adopted, the data transmission time will be relatively long, thereby reducing the data rendering efficiency and further reducing the developer's development experience. Summary of the invention
[0005] The embodiments of the present application provide a data processing method, apparatus, device and storage medium, which can shorten data transmission time, improve data rendering efficiency, and thus improve the developer's development experience.
[0006] In a first aspect, an embodiment of the present application provides a data processing method, which is applied to an electronic device, wherein the electronic device is installed with an application development tool, and the application development tool includes: an interface editing module and a resource processing module; the method includes: the interface editing module obtains an expansion instruction for a target folder; wherein the target folder is any folder in the resource manager interface of the application development tool; the interface editing module sends a first request message to the resource processing module in response to the expansion instruction; wherein the first request message is used to request to obtain all the data of the target folder; the resource processing module obtains all the data of the target folder from the file system in the operating system, and sends all or part of the data of the target folder to the interface editing module; the interface editing module renders all or part of the data of the target folder in the resource manager interface.
[0007] In a second aspect, an embodiment of the present application provides a data processing method, which is applied to an electronic device, wherein the electronic device is installed with an application development tool, and the application development tool includes: an interface editing module and a resource processing module; the method includes: the interface editing module obtains a target instruction for a target object; wherein the target object is any file or folder in the resource manager interface of the application development tool; the target instruction is an add instruction, a delete instruction or a modify instruction; the interface editing module sends relevant information of the target instruction to the resource processing module; the resource processing module sends relevant information to the file system in the operating system, so that the file system executes the target instruction on the target object in the file system based on the relevant information, and sends all data of the upper-level folder of the target object to the resource processing module; the resource processing module sends all or part of the data of the upper-level folder to the interface editing module; the interface editing module renders all or part of the data of the upper-level folder in the resource manager interface.
[0008] In a third aspect, an embodiment of the present application provides a data processing method, which is applied to an electronic device, wherein the electronic device is installed with an application development tool, and the application development tool includes: an interface editing module and a resource processing module; the method includes: the resource processing module obtains a file change callback sent by a file system in an operating system; the resource processing module responds to the file change callback and sends a first request message to the file system, and the first request message is used to request to obtain all data of the parent folder of the file or folder that has changed in the file system; the resource processing module obtains all data of the parent folder from the file system; the resource processing module sends all or part of the data of the parent folder to the interface editing module; and the interface editing module renders all or part of the data of the parent folder in the resource manager interface.
[0009] In a fourth aspect, an embodiment of the present application provides a data processing device, comprising: an interface editing module and a resource processing module; the interface editing module is used to obtain an expansion instruction for a target folder; wherein the target folder is any folder in the resource manager interface of the application development tool; the interface editing module is also used to send a first request message to the resource processing module in response to the expansion instruction; wherein the first request message is used to request to obtain all the data of the target folder; the resource processing module is used to obtain all the data of the target folder from the file system in the operating system, and send all or part of the data of the target folder to the interface editing module; the interface editing module is also used to render all or part of the data of the target folder in the resource manager interface.
[0010] In the fifth aspect, an embodiment of the present application provides a data processing device, including: an interface editing module and a resource processing module; the interface editing module is used to obtain a target instruction for a target object; wherein the target object is any file or folder in the resource manager interface of the application development tool; the target instruction is an add instruction, a delete instruction or a modify instruction; the interface editing module is also used to send relevant information of the target instruction to the resource processing module; the resource processing module is used to send relevant information to the file system in the operating system, so that the file system executes the target instruction on the target object in the file system based on the relevant information, and sends all the data of the upper-level folder of the target object to the resource processing module; the resource processing module is also used to send all or part of the data of the upper-level folder to the interface editing module; the interface editing module is also used to render all or part of the data of the upper-level folder in the resource manager interface.
[0011] In a sixth aspect, an embodiment of the present application provides a data processing device, comprising: an interface editing module and a resource processing module; the resource processing module is used to obtain a file change callback sent by a file system in an operating system; the resource processing module is also used to send a first request message to the file system in response to the file change callback, the first request message being used to request to obtain all the data of the parent folder of the file or folder that has changed in the file system; the resource processing module is also used to obtain all the data of the parent folder from the file system; the resource processing module is also used to send all or part of the data of the parent folder to the interface editing module; the interface editing module is used to render all or part of the data of the parent folder in the resource manager interface.
[0012] In the seventh aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory, and executing a method as in any one of the first to third aspects or its various implementations.
[0013] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute a method as in any one of the first to third aspects or any of their implementations.
[0014] In a ninth aspect, an embodiment of the present application provides a computer program product, comprising computer program instructions, which enable a computer to execute a method as in any one of the first to third aspects or any of their implementations.
[0015] In a tenth aspect, an embodiment of the present application provides a computer program, which enables a computer to execute a method as described in any one of the first to third aspects or any of their implementations.
[0016] Through the technical solution provided in the embodiment of the present application, data of a certain folder can be pulled on demand without pulling all application resources, thereby shortening data transmission time, improving data rendering efficiency, and further improving the developer's development experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 This is an architecture diagram of an instant messaging game developer tool;
[0019] Figure 2 is a flow chart of the data processing method;
[0020] Figure 3 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0021] Figure 4 A flowchart of a data processing method provided in an embodiment of the present application;
[0022] Figure 5A A schematic diagram of a first tree structure provided in an embodiment of the present application;
[0023] Figure 5B A schematic diagram of a second tree structure provided in an embodiment of the present application;
[0024] Figure 6 A schematic diagram of an interface provided in an embodiment of the present application;
[0025] Figure 7 A schematic diagram of a fourth tree structure provided in an embodiment of the present application;
[0026] Figure 8 A schematic diagram of another interface provided in an embodiment of the present application;
[0027] Fig. 9 Another interface schematic diagram provided for an embodiment of the present application;
[0028] Fig.10 A flowchart of another data processing method provided in an embodiment of the present application;
[0029] Fig.11 A flowchart of another data processing method provided in an embodiment of the present application;
[0030] Fig.12 A flowchart of a data processing method provided in an embodiment of the present application;
[0031] Fig.13 A schematic diagram of a data processing device 1300 provided in an embodiment of the present application;
[0032] Fig.14 A schematic diagram of a data processing device 1400 provided in an embodiment of the present application;
[0033] Fig.15 A schematic diagram of a data processing device 1500 provided in an embodiment of the present application;
[0034] Fig.16 It is a schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0037] Before introducing the technical solution of this application, the relevant knowledge of the technical solution of this application will be explained below:
[0038] 1. Instant Messaging (IM) refers to the service of sending and receiving Internet messages instantly.
[0039] 2. Mini Program is an application that can be used without downloading and installing.
[0040] 3. Instant messaging games are games based on instant messaging clients. Instant messaging games can be understood as mini programs.
[0041] 4. Application development tools, also known as application developer tools, are tools that help developers develop and debug applications conveniently and efficiently. For example, the instant messaging mini-game developer tool is an application development tool that is used to edit and preview the mini-game that the developer is making.
[0042] Application development tools may include: Engine module, Engine Integrated Development Environment (IDE) and Assets IDE.
[0043] The engine module is the core of the application engine and is mainly responsible for application engine tasks, including application objects and the logic of application operation and rendering.
[0044] The engine IDE is the module that developers use most often and directly contact. It is mainly responsible for application editing interface tasks, including editing application nodes, components, and modifying resource management files.
[0045] Resource IDE is mainly responsible for application resource processing tasks, including: processing application resources, that is, managing the core and backend tasks of application resources. The underlying layer of resource IDE is connected to the file system of the operating system.
[0046] For example, Figure 1 This is an architecture diagram of an instant messaging game developer tool, such as Figure 1 As shown in the figure, the engine module is the core of the game engine, and is mainly responsible for game engine tasks, including game objects and the logic of game operation and rendering. The engine IDE is mainly responsible for game editing interface tasks, including editing game nodes, components, and modifying resource management files. The resource IDE is mainly responsible for game resource processing tasks, including processing game resources, that is, the core and backend tasks of managing game resources.
[0047] It should be understood that, from a code perspective, the instant messaging developer tool may be a container, and the instant messaging mini-game developer tool may be a sub-container of the container.
[0048] 5. Application resources are files used to store application data, so application resources are also called application resource files. Application resources can be instantiated into application instances at runtime. For example, game resources are files used to store game data, which can be instantiated into game instances at runtime. For another example, game scene resources are files used to store game scene data, which can be instantiated into game scenes at runtime. For another example, game material resources are files used to store game material data, which can be instantiated into item materials in the game at runtime. For another example, game model resources are files used to store game model data, which can be instantiated into game models at runtime. Among them, usually an application project can include multiple types and quantities of application resources.
[0049] 6. Resource Manager (project): It is a window in the application development tool used to manage application resources. Developers can add, delete, modify or search for application resources. The resource manager interface can display all application resources. For example, developers can add, delete, modify or search for mini-game resources in the resource manager interface in the instant messaging mini-game developer tool.
[0050] 7. The WebSocket protocol is a network transmission protocol based on the Transmission Control Protocol (TCP). It can implement full-duplex communication on a single TCP connection. The WebSocket protocol is located in the application layer of the Open System Interconnection (OSI) model and can be used for inter-process communication.
[0051] The following is a description of the technical problems to be solved by the embodiments of the present application, as well as the inventive concepts and application scenarios:
[0052] The following will be combined Figure 1 The architecture diagram shown and Figure 2 The data processing method flow chart shown in the figure describes the data processing methods in the following three situations:
[0053] 1. Initialization phase:
[0054] When the developer opens the instant messaging mini game developer tools, the resource IDE and engine IDE will be initialized.
[0055] In some implementations, the engine IDE includes, but is not limited to: an initialization module and a resource manager.
[0056] In some implementations, the resource IDE includes, but is not limited to: an initialization module and a file read-write control module.
[0057] Currently, when the resource IDE is initialized, the initialization module in the resource IDE can detect changes in game resources in the file system.
[0058] Currently, when the engine IDE is initialized, you can perform the following steps:
[0059] 1.1. The initialization module in the engine IDE can request all game resources from the file read and write control module in the resource IDE.
[0060] 1.2. The file read and write control module requests all game resources from the file system.
[0061] 1.3. The file system returns all game resources to the file read and write control module.
[0062] 1.4. The file read and write control module transfers all game resources to the resource manager so that the resource manager renders all game resources on the resource manager interface.
[0063] In the embodiment of the present application, the file read and write control module and the resource manager can communicate via the WebSocket protocol, or in other words, the resource IDE and the engine IDE can communicate via the WebSocket protocol.
[0064] 2. Developers can add, delete or modify files or folders in the resource manager interface of the instant messaging mini game developer tool:
[0065] It should be understood that in the embodiment of the present application, the files or folders in the resource manager interface of a certain application development tool are the files or folders associated with the application.
[0066] 2.1. The developer adds, deletes or modifies files or folders in the resource manager interface.
[0067] 2.2. The resource manager transmits the relevant information of the add, delete or modify operation to the file read and write control module.
[0068] In some implementations, the related information of the adding operation includes, but is not limited to: an identifier of the file or folder on which the adding operation is performed, and an adding instruction.
[0069] In some implementations, the relevant information of the deletion operation includes, but is not limited to: an identifier of the file or folder on which the deletion operation is performed, and a deletion instruction.
[0070] In some implementations, the relevant information of the modification operation includes, but is not limited to: an identifier of the file or folder on which the modification operation is performed, and a modification instruction.
[0071] 2.3. The file read and write control module sends the above related information to the file system, so that the file system can add, delete or modify the above files or folders in the file system.
[0072] 2.4. The file system returns a file change callback to the file read and write control module.
[0073] It should be understood that, in the present application, the file change callback is used to indicate that a change has occurred in the file system.
[0074] 2.5. The file read and write control module requests all game resources from the file system.
[0075] 2.6. The file system returns all game resources to the file read and write control module.
[0076] 2.7. The file read and write control module transfers all game resources to the resource manager so that the resource manager renders all game resources on the resource manager interface.
[0077] 3. The developer adds, deletes or modifies files or folders in the file system:
[0078] 3.1. The developer adds, deletes or modifies files or folders in the file system.
[0079] 3.2. The file system returns a file change callback to the file read and write control module.
[0080] It should be understood that since the initialization module in the resource IDE can detect changes in game resources in the file system, when a file change occurs in the file system, the file system can return a file change callback to the file read and write control module.
[0081] 3.3. The file read and write control module requests all game resources from the file system.
[0082] 3.4. The file system returns all game resources to the file read and write control module.
[0083] 3.5. The file read and write control module transfers all game resources to the resource manager so that the resource manager renders all game resources on the resource manager interface.
[0084] Based on this, from the data processing methods in the current three cases, it can be seen that since the engine IDE and the resource IDE communicate based on the WebSocket protocol, the data transmission rate between the engine IDE and the resource IDE is low. Based on this, if the current full data transmission method is adopted, the data transmission time will be relatively long, thereby reducing the data rendering efficiency and further reducing the developer's development experience.
[0085] In order to solve the above technical problems, the embodiment of the present application proposes to pull the data of a certain folder on demand without pulling all application resources, thereby shortening the data transmission time, improving the data rendering efficiency, and further improving the developer's development experience.
[0086] For example, Figure 3 A schematic diagram of an application scenario provided in an embodiment of the present application, such as Figure 3 As shown, an application development tool and an operating system are installed on the electronic device 310. The operating system may include a file system, in which application resources are stored, including application folders, files, etc. The application development tool and the file system are connected by a communication interface.
[0087] In some implementations, the electronic device may be a smart phone, a desktop computer, a notebook, a tablet computer, etc., but is not limited thereto.
[0088] In some possible implementations, the application development tool may be a development tool for an application that needs to be downloaded and installed, or a mini-program development tool, such as an instant messaging mini-game developer tool. The embodiments of the present application do not limit the applications corresponding to the application development tool.
[0089] In some implementations, the application development tool may include, but is not limited to: an engine module, an engine IDE, and a resource IDE.
[0090] It should be understood that the explanation of the functions of these three modules can be found above, and the embodiments of the present application will not be repeated here.
[0091] In some possible implementations, the operating system may be any of the following, but is not limited thereto: Windows operating system, Linux operating system, Unix operating system, Android operating system, IOS operating system, etc.
[0092] It should be understood that other applications (Application, APP) can also be installed on the electronic device 310, such as video APP, payment APP, instant messaging APP, etc., and the embodiment of the present application does not limit this.
[0093] It should be understood that Figure 3 This is only an exemplary application scenario applicable to the embodiments of the present application, and the application scenarios of the embodiments of the present application are not limited to this.
[0094] The technical solution of this application will be described in detail below:
[0095] Figure 4 A flowchart of a data processing method provided for an embodiment of the present application, the method can be applied to an electronic device, the electronic device can be a smart phone, a desktop computer, a notebook, a tablet computer, etc., but not limited thereto. The electronic device is installed with an application development tool, and the application development tool includes: an interface editing module and a resource processing module. Among them, the application development tool can be a development tool for an application that needs to be downloaded and installed, or a small program development tool, such as an instant messaging mini-game developer tool. The embodiment of the present application does not limit the application corresponding to the application development tool. The interface editing module is the module that developers use most frequently and directly contact, and is mainly responsible for application editing interface tasks, including: editing application nodes, components, and modifying resource management files, etc. The interface editing module can be an engine IDE, but not limited thereto. The resource processing module is mainly responsible for application resource processing tasks, including: processing application resources, that is, managing the core and back-end tasks of application resources. The resource processing module is connected to the file system of the operating system at the bottom layer, and the resource processing module can be a resource IDE, but not limited thereto. As Figure 4 As shown, the data processing method may include:
[0096] S410: The interface editing module obtains an expansion instruction for the target folder;
[0097] The target folder is any folder in the resource manager interface of the application development tool. For example, the target folder may be a root folder in the resource manager interface.
[0098] It should be understood that the expansion instruction is an instruction for expanding the target folder. The expansion instruction may also be referred to as a display instruction, an open instruction, etc., which is not limited in the embodiment of the present application.
[0099] In some possible implementations, the expansion instruction is an instruction generated based on a developer's expansion operation on the target folder, wherein the expansion operation may be a single-click operation or a double-click operation, etc. The embodiment of the present application does not limit the expansion operation.
[0100] In some possible implementations, the expansion instruction may also be a voice instruction, etc. The embodiment of the present application does not limit the expansion instruction.
[0101] S420: the interface editing module sends a first request message to the resource processing module in response to the expansion instruction;
[0102] The first request message is used to request to obtain all the data in the target folder.
[0103] In some implementations, all data of the target folder includes: all sub-folders of the target folder and all sub-files of the target folder.
[0104] For example, assuming that the target folder is folder 1, its next-level folders include folder 11 and folder 12, and its next-level files include 13.json, 14.json, and 15.jpg. Based on this, the data of folder 1 includes 11, 12, 13.json, 14.json, and 15.jpg.
[0105] S430: The resource processing module obtains all data of the target folder from the file system in the operating system;
[0106] S440: The resource processing module sends all or part of the data of the target folder to the interface editing module;
[0107] It should be understood that in order to further reduce the amount of data transmission between the resource processing module and the interface editing module, in an embodiment of the present application, the resource processing module may send part of the data of the target folder to the interface editing module.
[0108] In some implementations, the partial data of the target folder includes, but is not limited to: all lower-level folders of the target folder, and the current page content in the multiple pages of content consisting of all lower-level folders and all lower-level files. The resource processing module can divide the content consisting of all lower-level folders and all lower-level files into pages, and the number of entries included in each page can be a preset value, such as 30.
[0109] S450: The interface editing module renders all or part of the data of the target folder in the resource manager interface.
[0110] It should be understood that when the resource processing module sends all the data of the target folder to the interface editing module, the interface editing module renders all the data of the target folder in the resource manager interface. When the resource processing module sends part of the data of the target folder to the interface editing module, the interface editing module renders part of the data of the target folder in the resource manager interface.
[0111] In the embodiment of the present application, the interface editing module may render all the data of the target folder in the resource manager interface in any of the following achievable ways, but is not limited thereto:
[0112] A first achievable method is that the interface editing module renders all the data of the target folder in the resource manager interface based on the data structure of all the data of the target folder.
[0113] The second implementation method is that the interface editing module can directly render all the data of the target folder in the resource manager interface. In other words, the interface editing module can ignore the data structure of all the data of the target folder and only needs to render all the data of the target folder to the resource manager interface.
[0114] The following is a detailed description of the first achievable method:
[0115] In some implementations, the data structure of all data of the target folder includes: a first tree structure consisting of the target folder and all lower-level folders, and a second tree structure consisting of the target folder, all lower-level folders, and all lower-level files.
[0116] For example, assuming that the target folder is folder 1, its next-level folders include folder 11 and folder 12, and its next-level files include 13.json, 14.json, and 15.jpg. Based on this, all the data in folder 1 includes 11, 12, 13.json, 14.json, and 15.jpg. Figure 5A A schematic diagram of a first tree structure provided in an embodiment of the present application, such as Figure 5A As shown, folder 1 is the root node of the first tree structure, and folder 11 and folder 12 are two child nodes of the root node. Figure 5B A schematic diagram of a second tree structure provided in an embodiment of the present application, such as Figure 5B As shown, folder 1 is the root node of the second tree structure, and folder 11, folder 12, and three files 13.json, 14.json, and 15.jpg are five child nodes of the root node.
[0117] Based on this, the interface editing module can render all next-level folders in the first area of the resource manager interface based on the first tree structure; the interface editing module can render all next-level folders and all next-level files in the second area of the resource manager interface based on the second tree structure.
[0118] In some implementations, the first area may be a left area of the resource manager interface, and the second area may be a right area of the resource manager interface. Alternatively, the first area may be an upper area of the resource manager interface, and the second area may be a lower area of the resource manager interface.
[0119] In some implementations, the sizes of the first area and the second area may be the same or different.
[0120] It should be understood that the embodiments of the present application do not limit the position and size of the first area and the second area.
[0121] For example, assuming the first tree structure is Figure 5A As shown, the second tree structure is as follows Figure 5B As shown, Figure 6 A schematic diagram of an interface provided in an embodiment of the present application, such as Figure 6 As shown, the left area of the resource manager interface displays the next level folders of folder 1 according to the first tree structure, including: folder 11 and folder 12. The right area of the resource manager interface displays the next level folders and files of folder 1 according to the second tree structure, including: folder 11, folder 12 and 13.json, 14.json, 15.jpg.
[0122] It should be understood that the embodiment of the present application does not limit the data structure of all the data in the target folder, and does not limit the rendering mode of all the data in the target folder.
[0123] In some implementations, all folders in an expanded state may be displayed in the first area, and only all lower-level folders and all lower-level files of the target folder may be displayed in the second area.
[0124] For example, when the developer opens the application development tool, the first area of the resource manager interface can display the root folder. At this time, the developer can expand the root folder. The interface editing module pulls all the data of the root folder and renders all the next-level folders of the root folder in the first area, and renders all the next-level folders and all the next-level files of the root folder in the second area. When the developer expands any next-level folder of the root folder, the interface editing module can pull all the data of the folder and continue to add all the next-level folders of the folder in the first area, and only render all the next-level folders and all the next-level files of the folder in the second area.
[0125] In some implementations, when a folder has subfolders, an expansion icon corresponding to the folder can be displayed in the resource manager interface, and when the developer clicks the expansion icon, the folder is expanded. Figure 6 As shown, there is a "triangle" icon on the left side of folder 1. When the developer clicks the "triangle" icon, the folder 1 is expanded.
[0126] In the embodiment of the present application, the interface editing module may render part of the data of the target folder in the resource manager interface in any of the following achievable ways, but is not limited thereto:
[0127] A first achievable method is that the interface editing module renders partial data of the target folder in the resource manager interface based on the data structure of the partial data of the target folder.
[0128] The second implementation method is that the interface editing module can directly render part of the data of the target folder in the resource manager interface. In other words, the interface editing module does not need to consider the data structure of the part of the data of the target folder, and only needs to render part of the data of the target folder to the resource manager interface.
[0129] The following is a detailed description of the first achievable method:
[0130] In some implementations, the data structure of the partial data of the target folder includes: a third tree structure consisting of the target folder and all lower-level folders, and a fourth tree structure consisting of the target folder and the current page content.
[0131] It should be understood that in the embodiment of the present application, the third tree structure is the same as the first tree structure.
[0132] For example, suppose the target folder is folder 1, its next-level folders include folder 11 and folder 12, and its next-level files include 13.json, 14.json, and 15.jpg. Based on this, all the data in folder 1 includes 11, 12, 13.json, 14.json, and 15.jpg, and the current page content includes 11, 12, and 13.json. Since the third tree structure is the same as the first tree structure, the third tree structure can be referenced. Figure 5A As shown, folder 1 is the root node of the first tree structure, and folder 11 and folder 12 are two child nodes of the root node. Figure 7 A schematic diagram of a fourth tree structure provided in an embodiment of the present application, such as Figure 7 As shown, folder 1 is the root node of the fourth tree structure, and folder 11, folder 12 and file 13.json are three child nodes of the root node.
[0133] Based on this, the interface editing module can render all next-level folders in the third area of the resource manager interface based on the third tree structure; the interface editing module can render the current page content in the fourth area of the resource manager interface based on the fourth tree structure.
[0134] In some implementations, the third area may be the left area of the resource manager interface, and the fourth area may be the right area of the resource manager interface. Alternatively, the third area may be the upper area of the resource manager interface, and the fourth area may be the lower area of the resource manager interface.
[0135] In some implementations, the sizes of the third area and the fourth area may be the same or different.
[0136] It should be understood that the embodiment of the present application does not limit the position and size of the third area and the fourth area.
[0137] For example, assuming the third tree structure is Figure 5A As shown, the fourth tree structure is as follows Figure 7 As shown, Figure 8 Another interface diagram provided in the embodiment of the present application is as follows: Figure 8 As shown, the left area of the resource manager interface displays the next level folders of folder 1 according to the third tree structure, including: folder 11 and folder 12. The right area of the resource manager interface displays the current page content according to the fourth tree structure, including: folder 11, folder 12 and 13.json.
[0138] It should be understood that the embodiment of the present application does not limit the data structure of the partial data of the target folder, and does not limit the rendering mode of the partial data of the target folder.
[0139] In some implementations, all folders in an expanded state may be displayed in the first area, and only the current page content may be displayed in the second area.
[0140] For example, when the developer opens the application development tool, the first area of the resource manager interface can display the root folder. At this time, the developer can expand the root folder. The interface editing module pulls the current page content of the root folder, and renders all the next-level folders of the root folder in the first area, and renders the current page content in the second area. When the developer expands any next-level folder of the root folder, the interface editing module can pull the current page content of the folder, and continue to add all the next-level folders of the folder in the first area, and only render the current page content of the folder in the second area.
[0141] In some possible implementations, the data processing method also includes: the interface editing module obtains an instruction to enter the next page for the fourth area; the interface editing module sends a second request message to the resource processing module in response to the instruction to enter the next page; wherein the second request message is used to request to obtain the next page content of the current page content; the resource processing module sends the next page content to the interface editing module; and the interface editing module renders the next page content in the resource manager interface.
[0142] It should be understood that the enter next page instruction is an instruction for entering the next page of content. The enter next page instruction may also be referred to as a next page instruction, which is not limited in the embodiment of the present application.
[0143] In some possible implementations, the instruction to enter the next page is an instruction generated based on an operation of reaching the bottom of the fourth area, where the operation can be a scrolling down operation, a pulling up operation, etc. The embodiment of the present application does not limit this operation.
[0144] In some possible implementations, the instruction to enter the next page may also be a voice instruction, etc. The embodiment of the present application does not limit the instruction to enter the next page.
[0145] For example, suppose the target folder is folder 1, and its next-level folders include folder 11 and folder 12, and its next-level files include 13.json, 14.json, and 15.jpg. Based on this, all the data in folder 1 includes 11, 12, 13.json, 14.json, and 15.jpg, and the current page content includes 11, 12, and 13.json, and the next page content includes 14.json and 15.jpg. When the developer Figure 8 When the right area shown in the figure is scrolled down and reaches the bottom of the right area, Fig. 9As shown, the right area displays the next page content, namely 14.json and 15.jpg.
[0146] It should be understood that the interface editing module does not need to be initialized, and based on this, the interface editing module does not need to pull all application resources from the file system in the operating system. In the embodiment of the present application, when the interface editing module obtains the expansion instruction for the target folder, it can pull the data of the target folder on demand and render the data, thereby shortening the data transmission time, improving the data rendering efficiency, and further improving the developer's development experience.
[0147] Furthermore, in an embodiment of the present application, the interface editing module can pull part of the data of the target folder from the resource processing module each time. Compared with the case of pulling all the data of the target folder, this method of pulling part of the data can further reduce the amount of data transmission between the resource processing module and the interface editing module, thereby further shortening the data transmission time, further improving the data rendering efficiency, and further improving the developer's development experience.
[0148] In addition, in an embodiment of the present application, the interface editing module can partition and render the data of the target folder according to the data structure of the data in the resource manager interface, so that the developer can more intuitively feel the situation of pulling data on demand, thereby improving the development experience.
[0149] Fig.10 A flowchart of another data processing method provided for an embodiment of the present application, the method can be applied to an electronic device, the electronic device can be a smart phone, a desktop computer, a notebook, a tablet computer, etc., but not limited thereto. The electronic device is installed with an application development tool, and the application development tool includes: an interface editing module and a resource processing module. Among them, the application development tool can be a development tool for an application that needs to be downloaded and installed, or a small program development tool, such as an instant messaging small game developer tool. The embodiment of the present application does not limit the application corresponding to the application development tool. The interface editing module is the module that developers use most frequently and directly contact, and is mainly responsible for application editing interface tasks, including: editing application nodes, components, and modifying resource management files, etc. The interface editing module can be an engine IDE, but not limited thereto. The resource processing module is mainly responsible for application resource processing tasks, including: processing application resources, that is, managing the core and back-end tasks of application resources. The resource processing module is connected to the file system of the operating system at the bottom layer, and the resource processing module can be a resource IDE, but not limited thereto. As Fig.10 As shown, the data processing method may include:
[0150] S1010: The interface editing module obtains a target instruction for a target object;
[0151] The target object is any file or folder in the resource manager interface of the application development tool. For example, the target object can be a root folder in the resource manager interface, or a file in the root folder.
[0152] In some implementations, the target instruction is an add instruction, a delete instruction, or a modify instruction.
[0153] It should be understood that the add instruction is used to add a target object in the resource manager interface. The add instruction may also be referred to as an add instruction, an insert instruction, etc., which is not limited in the embodiment of the present application.
[0154] In some implementations, the adding instruction is an instruction generated based on an adding operation performed by a developer on the target object.
[0155] In some possible implementations, the added instruction may also be a voice instruction, etc. The embodiment of the present application does not limit the added instruction.
[0156] It should be understood that the delete instruction is used to delete the target object in the resource manager interface. The delete instruction may also be referred to as an erase instruction, etc., which is not limited in the embodiment of the present application.
[0157] In some implementations, the deletion instruction is an instruction generated based on a developer's deletion operation on the target object.
[0158] In some possible implementations, the deletion instruction may also be a voice instruction, etc. The embodiment of the present application does not limit the addition instruction.
[0159] It should be understood that the modification instruction is used to modify the target object in the resource manager interface. The modification instruction may also be referred to as a change instruction, etc., which is not limited in the embodiment of the present application.
[0160] In some implementations, the modification instruction is an instruction generated based on a modification operation of the developer on the target object. For example, when the target object is a folder, the modification operation may modify the name of the folder. For another example, when the target object is a file, the modification operation may modify the name of the file, or may modify the file content.
[0161] In some possible implementations, the modification instruction may also be a voice instruction, etc. The embodiment of the present application does not limit the addition of instructions.
[0162] S1020: The interface editing module sends relevant information of the target instruction to the resource processing module;
[0163] In some implementations, the related information of the adding operation includes, but is not limited to: an identifier of the target object and an adding instruction.
[0164] In some implementations, the relevant information of the deletion operation includes, but is not limited to: an identifier of the target object and a deletion instruction.
[0165] In some implementations, the relevant information of the modification operation includes, but is not limited to: an identifier of the target object and a modification instruction.
[0166] In some implementations, the identifier of the target object may include at least one of the following, but is not limited thereto: the name of the target object, the unique index of the target object. For example, the identifier of folder 11 is the name 11 of the folder 11. For another example, assuming that the unique index corresponding to folder 11 is 0011, the identifier of folder 11 may be 0011.
[0167] S1030: The resource processing module sends the relevant information to the file system in the operating system, so that the file system executes the target instruction on the target object in the file system based on the relevant information, and sends all data of the upper-level folder of the target object to the resource processing module;
[0168] In some possible implementations, after obtaining the relevant information, the file system parses the target object to obtain the target object's identifier and target instruction. Based on this, the file system can determine the target object based on the target object's identifier carried by the relevant information and execute the target instruction on the target object.
[0169] It should be understood that when the target object changes, all the data in the upper-level folder will also change accordingly. Based on this, the embodiment of the present application proposes that the file system sends all the data in the upper-level folder to the resource processing module, so that the interface editing module can pull all or part of the data in the upper-level folder and render the data.
[0170] In some implementations, all data of the upper-level folder includes: all lower-level folders of the upper-level folder and all lower-level files of the upper-level folder.
[0171] It should be understood that the example of all the data in the upper-level folder can refer to the example of all the data in the target folder mentioned above, and the embodiment of the present application will not go into details therein.
[0172] In some possible implementations, the file system executes a target instruction on a target object in the file system based on the relevant information, and directly sends all data of an upper-level folder of the target object to the resource processing module.
[0173] In other possible implementations, the file system executes the target instruction on the target object in the file system based on the relevant information, and sends a file change callback to the resource processing module. Further, the resource processing module may send a first request message to the file system, and the first request message is used to request to obtain all the data of the upper-level folder of the target object. Furthermore, the file system sends all the data of the upper-level folder of the target object to the resource processing module in response to the first request message.
[0174] S1040: The resource processing module sends all or part of the data of the upper-level folder to the interface editing module;
[0175] It should be understood that in order to further reduce the amount of data transmission between the resource processing module and the interface editing module, in an embodiment of the present application, the resource processing module may send part of the data of the upper-level folder to the interface editing module.
[0176] In some implementations, the partial data of the upper-level folder includes, but is not limited to: all lower-level folders of the upper-level folder, and the current page content in multiple pages of content consisting of all lower-level folders and all lower-level files. The resource processing module can paginate the content consisting of all lower-level folders and all lower-level files, and the number of entries included in each page can be a preset value, such as 30.
[0177] S1050: The interface editing module renders all or part of the data of the upper-level folder in the resource manager interface.
[0178] It should be understood that when the resource processing module sends all the data of the upper-level folder to the interface editing module, the interface editing module renders all the data of the upper-level folder in the resource manager interface. When the resource processing module sends partial data of the upper-level folder to the interface editing module, the interface editing module renders partial data of the upper-level folder in the resource manager interface.
[0179] In the embodiment of the present application, the interface editing module may render all the data of the upper-level folder in the resource manager interface in any of the following achievable ways, but is not limited thereto:
[0180] In a first implementation mode, the interface editing module renders all the data of the upper-level folder in the resource manager interface based on the data structure of all the data of the upper-level folder.
[0181] The second implementation method is that the interface editing module can directly render all the data of the upper-level folder in the resource manager interface. In other words, the interface editing module can ignore the data structure of all the data of the upper-level folder, and only needs to render all the data of the upper-level folder to the resource manager interface.
[0182] The following is a detailed description of the first achievable method:
[0183] In some implementations, the data structure of all data of the upper-level folder includes: a first tree structure consisting of the upper-level folder and all lower-level folders, and a second tree structure consisting of the upper-level folder, all lower-level folders, and all lower-level files.
[0184] It should be understood that the example of the first tree structure corresponding to the previous-level file can refer to the example of the first tree structure corresponding to the target file in the above text, and the example of the second tree structure corresponding to the previous-level file can refer to the example of the second tree structure corresponding to the target file in the above text, and the embodiments of the present application will not go into details about this.
[0185] Based on this, the interface editing module can render all next-level folders in the first area of the resource manager interface based on the first tree structure; the interface editing module can render all next-level folders and all next-level files in the second area of the resource manager interface based on the second tree structure.
[0186] It should be understood that the explanation about the first area and the second area can be referred to above, and the embodiments of the present application will not be described in detail.
[0187] It should be understood that the data rendering effect based on the first tree structure and the data rendering effect based on the second tree structure are similar to Figure 6 The data rendering effect shown is not described in detail in the embodiment of the present application.
[0188] It should be understood that the embodiment of the present application does not limit the data structure of all the data in the upper-level folder, and does not limit the rendering mode of all the data in the upper-level folder.
[0189] In some implementations, all folders in an expanded state may be displayed in the first area, and only all lower-level folders and all lower-level files of the upper-level folder may be displayed in the second area.
[0190] In the embodiment of the present application, the interface editing module may render part of the data of the upper-level folder in the resource manager interface in any of the following achievable ways, but is not limited thereto:
[0191] In a first implementation mode, the interface editing module renders part of the data of the upper-level folder in the resource manager interface based on the data structure of the part of the data of the upper-level folder.
[0192] The second implementation method is that the interface editing module can directly render part of the data of the upper-level folder in the resource manager interface. In other words, the interface editing module can ignore the data structure of the part of the data of the upper-level folder, and only needs to render part of the data of the upper-level folder to the resource manager interface.
[0193] The following is a detailed description of the first achievable method:
[0194] In some implementations, the data structure of the partial data of the upper-level folder includes: a third tree structure consisting of the upper-level folder and all lower-level folders, and a fourth tree structure consisting of the upper-level folder and the current page content.
[0195] It should be understood that the example of the third tree structure corresponding to the previous-level file can refer to the example of the third tree structure corresponding to the target file above, and the example of the fourth tree structure corresponding to the previous-level file can refer to the example of the fourth tree structure corresponding to the target file above, and the embodiments of the present application will not go into details about this.
[0196] Based on this, the interface editing module can render all next-level folders in the third area of the resource manager interface based on the third tree structure; the interface editing module can render the current page content in the fourth area of the resource manager interface based on the fourth tree structure.
[0197] In some implementations, the third area may be the left area of the resource manager interface, and the fourth area may be the right area of the resource manager interface. Alternatively, the third area may be the upper area of the resource manager interface, and the fourth area may be the lower area of the resource manager interface.
[0198] It should be understood that the explanation of the third area and the fourth area can be referred to above, and the embodiments of the present application will not be repeated here.
[0199] It should be understood that the data rendering effect based on the third tree structure and the data rendering effect based on the fourth tree structure are similar to Figure 8 The data rendering effect shown is not described in detail in the embodiment of the present application.
[0200] It should be understood that the embodiment of the present application does not limit the data structure of the partial data of the upper-level folder, and does not limit the rendering mode of the partial data of the upper-level folder.
[0201] In some implementations, all folders in an expanded state may be displayed in the third area, and only the current page content may be displayed in the fourth area.
[0202] In some possible implementations, the data processing method also includes: the interface editing module obtains an instruction to enter the next page for the fourth area; the interface editing module sends a second request message to the resource processing module in response to the instruction to enter the next page; wherein the second request message is used to request to obtain the next page content of the current page content; the resource processing module sends the next page content to the interface editing module; and the interface editing module renders the next page content in the resource manager interface.
[0203] It should be understood that the explanation of the instruction to enter the next page can be found above, and the embodiments of the present application will not go into details.
[0204] It should be understood that the data rendering effect of entering the next page content is similar to Fig. 9 The data rendering effect shown is not described in detail in the embodiment of the present application.
[0205] In an embodiment of the present application, when the interface editing module obtains an instruction to add, delete or modify a target object, the interface editing module can pull the data of the parent folder of the target object as needed and render the data without pulling the full amount of data, thereby shortening the data transmission time, improving data rendering efficiency, and thereby improving the developer's development experience.
[0206] Furthermore, in an embodiment of the present application, the interface editing module can pull part of the data of the upper-level folder from the resource processing module each time. Compared with the case of pulling all the data of the upper-level folder, this method of pulling part of the data can further reduce the amount of data transmission between the resource processing module and the interface editing module, thereby further shortening the data transmission time, further improving the data rendering efficiency, and further improving the developer's development experience.
[0207] In addition, in an embodiment of the present application, the interface editing module can partition and render the data of the upper-level folder according to the data structure of the data in the resource manager interface, so that the developer can more intuitively feel the situation of pulling data on demand, thereby improving the development experience.
[0208] Fig.11A flowchart of another data processing method provided in an embodiment of the present application, the method can be applied to an electronic device, the electronic device can be a smart phone, a desktop computer, a notebook, a tablet computer, etc., but not limited thereto. The electronic device is installed with an application development tool, and the application development tool includes: an interface editing module and a resource processing module. Among them, the application development tool can be a development tool for an application that needs to be downloaded and installed, or a small program development tool, such as an instant messaging mini-game developer tool. The embodiment of the present application does not limit the application corresponding to the application development tool. The interface editing module is the module that developers use most frequently and directly contact, and is mainly responsible for application editing interface tasks, including: editing application nodes, components, and modifying resource management files, etc. The interface editing module can be an engine IDE, but not limited thereto. The resource processing module is mainly responsible for application resource processing tasks, including: processing application resources, that is, managing the core and back-end tasks of application resources. The resource processing module is connected to the file system of the operating system at the bottom layer, and the resource processing module can be a resource IDE, but not limited thereto. As Fig.11 As shown, the data processing method may include:
[0209] S1110: The resource processing module obtains a file change callback sent by the file system in the operating system;
[0210] In some implementations, after the file system obtains the target instruction for the target object, it sends a file change callback to the resource processing module.
[0211] The target object is any file or folder in the file system. For example, the target object may be a root folder in the file system, or a file in the root folder.
[0212] In some implementations, the target instruction is an add instruction, a delete instruction, or a modify instruction.
[0213] It should be understood that the explanations on adding instructions, deleting instructions or modifying instructions can be referred to above, and the embodiments of the present application will not go into details.
[0214] S1120: The resource processing module sends a first request message to the file system in response to the file change callback;
[0215] The first request message is used to request to obtain all data of the parent folder of the file or folder that has been changed in the file system.
[0216] It should be understood that when the target object changes, all the data in the upper-level folder will also change accordingly. Based on this, the embodiment of the present application proposes that the file system sends all the data in the upper-level folder to the resource processing module, so that the interface editing module can pull all or part of the data in the upper-level folder and render the data.
[0217] In some implementations, all data of the upper-level folder includes: all lower-level folders of the upper-level folder and all lower-level files of the upper-level folder.
[0218] It should be understood that the example of all the data in the upper-level folder can refer to the example of all the data in the target folder mentioned above, and the embodiment of the present application will not go into details therein.
[0219] In some implementations, the upper-level folder is a folder that is in an expanded state or a selected state in the resource manager interface.
[0220] It should be understood that the selected state is also referred to as the expanding state. For example, when the developer is expanding the folder 1, the folder 1 is in the selected state.
[0221] S1130: The resource processing module obtains all data of the upper-level folder from the file system;
[0222] S1140: The resource processing module sends all or part of the data of the upper-level folder to the interface editing module;
[0223] It should be understood that in order to further reduce the amount of data transmission between the resource processing module and the interface editing module, in an embodiment of the present application, the resource processing module may send part of the data of the upper-level folder to the interface editing module.
[0224] In some implementations, the partial data of the upper-level folder includes, but is not limited to: all lower-level folders of the upper-level folder, and the current page content in multiple pages of content consisting of all lower-level folders and all lower-level files. The resource processing module can paginate the content consisting of all lower-level folders and all lower-level files, and the number of entries included in each page can be a preset value, such as 30.
[0225] S1150: The interface editing module renders all or part of the data of the upper-level folder in the resource manager interface.
[0226] It should be understood that when the resource processing module sends all the data of the upper-level folder to the interface editing module, the interface editing module renders all the data of the upper-level folder in the resource manager interface. When the resource processing module sends partial data of the upper-level folder to the interface editing module, the interface editing module renders partial data of the upper-level folder in the resource manager interface.
[0227] It should be understood that the explanation of how the interface editing module renders all or part of the data of the upper-level folder in the resource manager interface can be referred to the explanation of S1050, and this embodiment of the present application will not be repeated here.
[0228] In an embodiment of the present application, when the file system obtains an instruction to add, delete or modify a target object, the interface editing module can pull the data of the parent folder of the target object as needed and render the data without pulling the full data, thereby shortening the data transmission time, improving data rendering efficiency, and thereby improving the developer's development experience.
[0229] Furthermore, in an embodiment of the present application, the interface editing module can pull part of the data of the upper-level folder from the resource processing module each time. Compared with the case of pulling all the data of the upper-level folder, this method of pulling part of the data can further reduce the amount of data transmission between the resource processing module and the interface editing module, thereby further shortening the data transmission time, further improving the data rendering efficiency, and further improving the developer's development experience.
[0230] In addition, in an embodiment of the present application, the interface editing module can partition and render the data of the upper-level folder according to the data structure of the data in the resource manager interface, so that the developer can more intuitively feel the situation of pulling data on demand, thereby improving the development experience.
[0231] Combination Figure 1 The architecture diagram shown and Fig.12 The data processing method flow chart shown in the figure respectively describes the data processing method of the embodiment of the present application in the following three situations:
[0232] When the developer opens the instant messaging mini game developer tool, the engine IDE does not need to be initialized. Based on this, the engine IDE does not need to pull all game resources from the file system in the operating system. The resource IDE will be initialized.
[0233] In some implementations, the engine IDE includes, but is not limited to: a resource manager.
[0234] In some implementations, the resource IDE includes, but is not limited to: an initialization module and a file read-write control module.
[0235] Currently, when the resource IDE is initialized, the initialization module in the resource IDE can detect changes in game resources in the file system.
[0236] 1 ’ When the developer expands the target folder, the following steps can be performed:
[0237] 1.1 ’ , the resource manager obtains the expansion instructions for the target folder.
[0238] 1.2 ’ , the resource manager requests all the data of the target folder from the file read and write control module.
[0239] 1.3 ’ , the file read and write control module requests all the data of the target folder from the file system in the operating system.
[0240] 1.4 ’ , the file read and write control module obtains all the data of the target folder from the file system.
[0241] 1.5 ’ , the file read and write control module sends all or part of the data of the target folder to the resource manager, so that the resource manager renders the data in the resource manager interface.
[0242] In some implementations, the file read and write control module and the resource manager may communicate via the WebSocket protocol, or in other words, the resource IDE and the engine IDE may communicate via the WebSocket protocol.
[0243] 2 ’ 2. Developers can add, delete or modify files or folders in the resource manager interface of the instant messaging mini game developer tool:
[0244] 2.1 ’ , developers add, delete or modify files or folders in the resource manager interface.
[0245] 2.2', the resource manager transmits the relevant information of the add, delete or modify operation to the file read and write control module.
[0246] In some implementations, the related information of the adding operation includes, but is not limited to: an identifier of the file or folder on which the adding operation is performed, and an adding instruction.
[0247] In some implementations, the relevant information of the deletion operation includes, but is not limited to: an identifier of the file or folder on which the deletion operation is performed, and a deletion instruction.
[0248] In some implementations, the relevant information of the modification operation includes, but is not limited to: an identifier of the file or folder on which the modification operation is performed, and a modification instruction.
[0249] 2.3'. The file read and write control module sends the above related information to the file system, so that the file system can add, delete or modify the above files or folders in the file system.
[0250] 2.4', the file system returns a file change callback to the file read and write control module.
[0251] 2.5', the file read and write control module requests the file system for all data of the upper-level folder of the file or folder on which the addition operation, deletion operation or modification operation is performed.
[0252] 2.6'. The file system returns all the data of the upper-level folder to the file read and write control module.
[0253] 2.7'. The file read and write control module sends all or part of the data of the upper-level folder to the resource manager, so that the resource manager renders the data on the resource manager interface.
[0254] 3'、The developer adds, deletes or modifies files or folders in the file system:
[0255] 3.1', the developer adds, deletes or modifies files or folders in the file system.
[0256] 3.2', the file system returns a file change callback to the file read and write control module.
[0257] It should be understood that since the initialization module in the resource IDE can detect changes in game resources in the file system, when a file change occurs in the file system, the file system can return a file change callback to the file read and write control module.
[0258] 3.3', the file read and write control module requests the file system for all data of the parent folder of the file or folder on which the addition operation, deletion operation or modification operation is performed.
[0259] In some implementations, the upper-level folder is a folder that is in an expanded state or a selected state in a resource manager interface.
[0260] 3.4', the file system returns all the data of the upper-level folder to the file read and write control module.
[0261] 3.5', the file read and write control module sends all or part of the data of the upper-level folder to the resource manager, so that the resource manager renders the data on the resource manager interface.
[0262] Based on this, from the data processing methods in the current three cases, it can be seen that even if the engine IDE and the resource IDE communicate based on the WebSocket protocol, since the engine IDE can pull the data of the parent folder of the target object on demand and render the data without pulling the full data, it can shorten the data transmission time, improve the data rendering efficiency, and thus improve the developer's development experience.
[0263] The preferred embodiments of the present application are described in detail above in conjunction with the accompanying drawings. However, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, the technical solution of the present application can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the present application. For example, the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present application will not further explain various possible combinations. For another example, the various different embodiments of the present application can also be arbitrarily combined, as long as they do not violate the ideas of the present application, they should also be regarded as the contents disclosed in the present application.
[0264] It should also be understood that in the various method embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0265] The method provided in the embodiment of the present application is described above, and the device provided in the embodiment of the present application is described below.
[0266] Fig.13 A schematic diagram of a data processing device 1300 provided in an embodiment of the present application is shown as follows: Fig.13 As shown, the device 1300 includes: an interface editing module 1310 and a resource processing module 1320 .
[0267] The interface editing module 1310 is used to obtain an expansion instruction for a target folder; wherein the target folder is any folder in the resource manager interface of the application development tool; the interface editing module 1310 is also used to send a first request message to the resource processing module 1320 in response to the expansion instruction; wherein the first request message is used to request to obtain all the data of the target folder; the resource processing module 1320 is used to obtain all the data of the target folder from the file system in the operating system, and send all or part of the data of the target folder to the interface editing module 1310; the interface editing module 1310 is also used to render all or part of the data of the target folder in the resource manager interface.
[0268] In some implementations, the interface editing module 1310 is specifically used to render all the data of the target folder in the resource manager interface based on the data structure of all the data of the target folder.
[0269] In some implementations, all data of the target folder includes: all next-level folders of the target folder and all next-level files of the target folder; wherein, the data structure of all data of the target folder includes: a first tree structure consisting of the target folder and all next-level folders, and a second tree structure consisting of the target folder, all next-level folders and all next-level files.
[0270] Correspondingly, the interface editing module 1310 is specifically used to: render all next-level folders in the first area of the resource manager interface based on the first tree structure; and render all next-level folders and all next-level files in the second area of the resource manager interface based on the second tree structure.
[0271] In some implementations, the interface editing module 1310 is specifically used to render partial data of the target folder in the resource manager interface based on the data structure of the partial data of the target folder.
[0272] In some possible implementations, partial data of the target folder includes: all next-level folders of the target folder, and current page content in a multi-page content consisting of all next-level folders and all next-level files; wherein, the data structure of partial data of the target folder includes: a third tree structure consisting of the target folder and all next-level folders, and a fourth tree structure consisting of the target folder and current page content.
[0273] Correspondingly, the interface editing module 1310 is specifically used to: render all lower-level folders in the third area of the resource manager interface based on the third tree structure; and render the current page content in the fourth area of the resource manager interface based on the fourth tree structure.
[0274] In some possible implementations, the interface editing module 1310 is also used to obtain an instruction to enter the next page for the fourth area; the interface editing module 1310 is also used to send a second request message to the resource processing module 1320 in response to the instruction to enter the next page; wherein the second request message is used to request to obtain the next page content of the current page content; the resource processing module 1320 is also used to send the next page content to the interface editing module 1310; the interface editing module 1310 is also used to render the next page content in the resource manager interface.
[0275] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, Fig.13 The device 1300 shown may perform Figure 4 The corresponding method embodiments, and the aforementioned and other operations and / or functions of each module in the device 1300 are respectively to implement Figure 4 For the sake of brevity, the corresponding processes in each method are not repeated here.
[0276] The above describes the device 1300 of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.
[0277] Fig.14 A schematic diagram of a data processing device 1400 provided in an embodiment of the present application is shown as follows: Fig.14 As shown, the device 1400 includes: an interface editing module 1410 and a resource processing module 1420 .
[0278] The interface editing module 1410 is used to obtain target instructions for the target object; wherein the target object is any file or folder in the resource manager interface of the application development tool; the target instruction is an add instruction, a delete instruction or a modify instruction; the interface editing module 1410 is also used to send relevant information of the target instruction to the resource processing module 1420; the resource processing module 1420 is used to send relevant information to the file system in the operating system, so that the file system executes the target instruction on the target object in the file system based on the relevant information, and sends all data of the upper-level folder of the target object to the resource processing module 1420; the resource processing module 1420 is also used to send all or part of the data of the upper-level folder to the interface editing module 1410; the interface editing module 1410 is also used to render all or part of the data of the upper-level folder in the resource manager interface.
[0279] In some implementations, the interface editing module 1410 is specifically used to render all the data of the upper-level folder in the resource manager interface based on the data structure of all the data of the upper-level folder.
[0280] In some possible implementations, all data of an upper-level folder includes: all lower-level folders of the upper-level folder and all lower-level files of the upper-level folder; wherein the data structure of all data of an upper-level folder includes: a first tree structure consisting of an upper-level folder and all lower-level folders, and a second tree structure consisting of an upper-level folder, all lower-level folders, and all lower-level files.
[0281] Correspondingly, the interface editing module 1410 is specifically used to: render all next-level folders in the first area of the resource manager interface based on the first tree structure; and render all next-level folders and all next-level files in the second area of the resource manager interface based on the second tree structure.
[0282] In some implementations, the interface editing module 1410 is specifically used to render partial data of the upper-level folder in the resource manager interface based on the data structure of the partial data of the upper-level folder.
[0283] In some possible implementations, partial data of an upper-level folder includes: all lower-level folders of the upper-level folder, and content of a current page in a multi-page content consisting of all lower-level folders and all lower-level files; wherein the data structure of partial data of an upper-level folder includes: a third tree structure consisting of an upper-level folder and all lower-level folders, and a fourth tree structure consisting of an upper-level folder and content of the current page.
[0284] Correspondingly, the interface editing module 1410 is specifically used to: render all lower-level folders in the third area of the resource manager interface based on the third tree structure; and render the current page content in the fourth area of the resource manager interface based on the fourth tree structure.
[0285] In some implementations, the interface editing module 1410 is also used to obtain an instruction to enter the next page for the fourth area; the interface editing module 1410 is also used to send a second request message to the resource processing module 1420 in response to the instruction to enter the next page; wherein the second request message is used to request to obtain the next page content of the current page content; the resource processing module 1420 is also used to send the next page content to the interface editing module 1410; the interface editing module 1410 is also used to render the next page content in the resource manager interface.
[0286] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, Fig.14 The device 1400 shown may perform Fig.10 The corresponding method embodiments, and the aforementioned and other operations and / or functions of each module in the device 1400 are respectively to implement Fig.10 For the sake of brevity, the corresponding processes in each method are not repeated here.
[0287] The above describes the device 1400 of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.
[0288] Fig.15 A schematic diagram of a data processing device 1500 provided in an embodiment of the present application is shown as follows: Fig.15 As shown, the device 1500 includes: an interface editing module 1510 and a resource processing module 1520.
[0289] The resource processing module 1520 is used to obtain the file change callback sent by the file system in the operating system; the resource processing module 1520 is also used to send a first request message to the file system in response to the file change callback, and the first request message is used to request to obtain all the data of the parent folder of the file or folder that has changed in the file system; the resource processing module 1520 is also used to obtain all the data of the parent folder from the file system; the resource processing module 1520 is also used to send all or part of the data of the parent folder to the interface editing module 1510; the interface editing module 1510 is used to render all or part of the data of the parent folder in the resource manager interface.
[0290] In some implementations, the upper-level folder is a folder that is in an expanded state or a selected state in the resource manager interface.
[0291] In some implementations, the interface editing module 1510 is specifically used to render all the data of the upper-level folder in the resource manager interface based on the data structure of all the data of the upper-level folder.
[0292] In some possible implementations, all data of an upper-level folder includes: all lower-level folders of the upper-level folder and all lower-level files of the upper-level folder; wherein the data structure of all data of an upper-level folder includes: a first tree structure consisting of an upper-level folder and all lower-level folders, and a second tree structure consisting of an upper-level folder, all lower-level folders, and all lower-level files.
[0293] Correspondingly, the interface editing module 1510 is specifically used to: render all next-level folders in the first area of the resource manager interface based on the first tree structure; and render all next-level folders and all next-level files in the second area of the resource manager interface based on the second tree structure.
[0294] In some implementations, the interface editing module 1510 is specifically used to render partial data of the upper-level folder in the resource manager interface based on the data structure of the partial data of the upper-level folder.
[0295] In some possible implementations, partial data of an upper-level folder includes: all lower-level folders of the upper-level folder, and content of a current page in a multi-page content consisting of all lower-level folders and all lower-level files; wherein the data structure of partial data of an upper-level folder includes: a third tree structure consisting of an upper-level folder and all lower-level folders, and a fourth tree structure consisting of an upper-level folder and content of the current page.
[0296] Correspondingly, the interface editing module 1510 is specifically used to: render all lower-level folders in the third area of the resource manager interface based on the third tree structure; and render the current page content in the fourth area of the resource manager interface based on the fourth tree structure.
[0297] In some possible implementations, the interface editing module 1510 is also used to obtain an instruction to enter the next page for the fourth area; the interface editing module 1510 is also used to send a second request message to the resource processing module 1520 in response to the instruction to enter the next page; wherein the second request message is used to request the next page content of the current page content; the resource processing module 1520 is also used to send the next page content to the interface editing module 1510; the interface editing module 1510 is also used to render the next page content in the resource manager interface.
[0298] It should be understood that the device embodiment and the method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, Fig.15 The device 1500 shown may perform Fig.11 The corresponding method embodiments, and the aforementioned and other operations and / or functions of each module in the device 1500 are respectively to implement Fig.11 For the sake of brevity, the corresponding processes in each method are not repeated here.
[0299] The above describes the device 1500 of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above method embodiment in conjunction with its hardware.
[0300] Fig.16 It is a schematic block diagram of an electronic device provided in an embodiment of the present application.
[0301] like Fig.16 As shown, the electronic device may include:
[0302] The memory 1610 and the processor 1620, the memory 1610 is used to store the computer program and transmit the program code to the processor 1620. In other words, the processor 1620 can call and run the computer program from the memory 1610 to implement the method in the embodiment of the present application.
[0303] For example, the processor 1620 may be configured to execute the above method embodiments according to instructions in the computer program.
[0304] In some embodiments of the present application, the processor 1620 may include but is not limited to:
[0305] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
[0306] In some embodiments of the present application, the memory 1610 includes but is not limited to:
[0307] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).
[0308] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 1610 and executed by the processor 1620 to complete the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0309] like Fig.16 As shown, the electronic device may also include:
[0310] The transceiver 1630 may be connected to the processor 1620 or the memory 1610 .
[0311] The processor 1620 may control the transceiver 1630 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 1630 may include a transmitter and a receiver. The transceiver 1630 may further include an antenna, and the number of antennas may be one or more.
[0312] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.
[0313] The present application also provides a computer storage medium on which a computer program is stored, and when the computer program is executed by a computer, the computer can perform the method of the above method embodiment. In other words, the present application embodiment also provides a computer program product containing instructions, and when the instructions are executed by a computer, the computer can perform the method of the above method embodiment.
[0314] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state drive (solid state disk, SSD)), etc.
[0315] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0316] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0317] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0318] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A data processing method, characterized in that: The method is applied to an electronic device, wherein the electronic device is equipped with an application development tool, wherein the application development tool comprises: an interface editing module and a resource processing module; the method comprises: The interface editing module obtains an expansion instruction for a target folder; wherein the target folder is any folder in the resource manager interface of the application development tool; The interface editing module sends a first request message to the resource processing module in response to the expansion instruction; wherein the first request message is used to request to obtain all the data of the target folder; The resource processing module obtains all the data of the target folder from the file system in the operating system, and sends all or part of the data of the target folder to the interface editing module; The interface editing module renders all or part of the data of the target folder in the resource manager interface.
2. The method according to claim 1, characterized in that The interface editing module renders all data of the target folder in the resource manager interface, including: The interface editing module renders all the data of the target folder in the resource manager interface based on the data structure of all the data of the target folder.
3. The method according to claim 2, characterized in that All data of the target folder includes: all sub-folders of the target folder and all sub-files of the target folder; The data structure of all data of the target folder includes: a first tree structure consisting of the target folder and all lower-level folders, and a second tree structure consisting of the target folder, all lower-level folders, and all lower-level files; The interface editing module renders all the data of the target folder in the resource manager interface based on the data structure of all the data of the target folder, including: The interface editing module renders all the lower-level folders in the first area of the resource manager interface based on the first tree structure; The interface editing module renders all the next-level folders and all the next-level files in the second area of the resource manager interface based on the second tree structure.
4. The method according to claim 1, characterized in that: The interface editing module renders part of the data of the target folder in the resource manager interface, including: The interface editing module renders the partial data of the target folder in the resource manager interface based on the data structure of the partial data of the target folder.
5. The method according to claim 4, characterized in that The partial data of the target folder includes: all lower-level folders of the target folder, and the current page content of the multiple pages of content consisting of all lower-level folders and all lower-level files; The data structure of the partial data of the target folder includes: a third tree structure consisting of the target folder and all the lower-level folders, and a fourth tree structure consisting of the target folder and the current page content; The interface editing module renders the partial data of the target folder in the resource manager interface based on the data structure of the partial data of the target folder, including: The interface editing module renders all the next-level folders in the third area of the resource manager interface based on the third tree structure; The interface editing module renders the current page content in a fourth area of the resource manager interface based on the fourth tree structure.
6. The method according to claim 5, characterized in that Also includes: The interface editing module obtains an instruction to enter the next page for the fourth area; The interface editing module sends a second request message to the resource processing module in response to the instruction to enter the next page; wherein the second request message is used to request to obtain the next page content of the current page content; The resource processing module sends the next page content to the interface editing module; The interface editing module renders the next page content in the resource manager interface.
7. A data processing method, characterized in that: The method is applied to an electronic device, wherein the electronic device is equipped with an application development tool, wherein the application development tool comprises: an interface editing module and a resource processing module; the method comprises: The interface editing module obtains a target instruction for a target object; wherein the target object is any file or folder in the resource manager interface of the application development tool; the target instruction is an add instruction, a delete instruction or a modify instruction; The interface editing module sends the relevant information of the target instruction to the resource processing module; The resource processing module sends the relevant information to the file system in the operating system, so that the file system executes the target instruction on the target object in the file system based on the relevant information, and sends all data of the upper-level folder of the target object to the resource processing module; The resource processing module sends all or part of the data of the upper-level folder to the interface editing module; The interface editing module renders all or part of the data of the upper-level folder in the resource manager interface.
8. A data processing method, characterized in that: The method is applied to an electronic device, wherein the electronic device is equipped with an application development tool, wherein the application development tool comprises: an interface editing module and a resource processing module; the method comprises: The resource processing module obtains a file change callback sent by the file system in the operating system; The resource processing module sends a first request message to the file system in response to the file change callback, wherein the first request message is used to request to obtain all data of the parent folder of the file or folder that has been changed in the file system; The resource processing module obtains all data of the upper-level folder from the file system; The resource processing module sends all or part of the data of the upper-level folder to the interface editing module; The interface editing module renders all or part of the data of the upper-level folder in the resource manager interface.
9. The method according to claim 8, characterized in that The upper-level folder is a folder that is in an expanded state or a selected state in the resource manager interface.
10. A data processing device, characterized in that: include: Interface editing module and resource processing module; The interface editing module is used to obtain an expansion instruction for a target folder; wherein the target folder is any folder in the resource manager interface of the application development tool; The interface editing module is further used to send a first request message to the resource processing module in response to the expansion instruction; wherein the first request message is used to request to obtain all the data of the target folder; The resource processing module is used to obtain all the data of the target folder from the file system in the operating system, and send all or part of the data of the target folder to the interface editing module; The interface editing module is also used to render all or part of the data of the target folder in the resource manager interface.
11. A data processing device, characterized in that: include: Interface editing module and resource processing module; The interface editing module is used to obtain a target instruction for a target object; wherein the target object is any file or folder in the resource manager interface of the application development tool; the target instruction is an add instruction, a delete instruction or a modify instruction; The interface editing module is also used to send relevant information of the target instruction to the resource processing module; The resource processing module is used to send the relevant information to the file system in the operating system, so that the file system executes the target instruction on the target object in the file system based on the relevant information, and sends all data of the upper-level folder of the target object to the resource processing module; The resource processing module is also used to send all or part of the data of the upper-level folder to the interface editing module; The interface editing module is also used to render all or part of the data of the upper-level folder in the resource manager interface.
12. A data processing device, characterized in that: include: Interface editing module and resource processing module; The resource processing module is used to obtain the file change callback sent by the file system in the operating system; The resource processing module is further used to send a first request message to the file system in response to the file change callback, wherein the first request message is used to request to obtain all data of the parent folder of the file or folder that has been changed in the file system; The resource processing module is also used to obtain all the data of the upper-level folder from the file system; The resource processing module is also used to send all or part of the data of the upper-level folder to the interface editing module; The interface editing module is used to render all or part of the data of the upper-level folder in the resource manager interface.
13. An electronic device, characterized in that: include: A processor and a memory, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 9.
14. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 9.
15. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 9 is implemented.