Method and apparatus for processing resource information, storage medium, and electronic device

CN115421770BActive Publication Date: 2026-10-09NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211013844.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2026-10-09
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

[0004]本公开的目的在于提供一种资源信息的处理方法、资源信息的处理装置、计算机可读存储介质以及电子设备,进而至少在一定程度上克服由于相关技术的限制和缺陷而导致的无法对虚幻引擎本身的源代码文件进行差异性比对的问题

Benefits of technology

[0079]This disclosure provides a method for processing resource information. On one hand, it acquires resource information to be processed and determines the resource type of the resource information to be processed; then, it assigns a difference comparison tool to the resource information to be processed according to the resource type; finally, it performs a difference comparison on the resource information to be processed based on the difference comparison tool to obtain the difference comparison result. This method realizes the difference comparison of plaintext source code and binary resources of the engine, solving the problem that the existing technology cannot perform difference comparison on the source code files of Unreal Engine itself. On the other hand, since the difference comparison tool can be assigned to the resource information to be processed according to the resource type, and then the difference comparison tool is used to perform a difference comparison on the resource information to be processed to obtain the difference comparison result, the method realizes the classification comparison of resource information, thereby improving the accuracy of the difference comparison result.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115421770B_ABST
    Figure CN115421770B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a resource information processing method and device, a storage medium and an electronic device, and relates to the technical field of Unreal Engine resource processing. The method comprises: obtaining to-be-processed resource information, and determining a resource type of the to-be-processed resource information; wherein the resource type comprises engine plaintext source code and / or engine binary resources; assigning a differential comparison tool to the to-be-processed resource information according to the resource type; and performing differential comparison on the to-be-processed resource information based on the differential comparison tool to obtain a differential comparison result. The present disclosure realizes differential comparison on source code files of Unreal Engine itself.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of resource processing technology for Unreal Engine, and more specifically, to a method for processing resource information, a device for processing resource information, a computer-readable storage medium, and an electronic device. Background Technology

[0002] Existing methods for processing resource information cannot perform differential comparisons of the Unreal Engine's source code files.

[0003] It should be noted that the information in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0004] The purpose of this disclosure is to provide a method for processing resource information, a device for processing resource information, a computer-readable storage medium, and an electronic device, thereby overcoming, to at least a certain extent, the problem of being unable to perform differential comparisons of the source code files of Unreal Engine itself due to limitations and defects in related technologies.

[0005] According to one aspect of this disclosure, a method for processing resource information is provided, comprising:

[0006] Obtain the resource information to be processed and determine the resource type of the resource information to be processed; wherein, the resource type includes engine plaintext source code and / or engine binary resources;

[0007] Assign a difference comparison tool to the resource information to be processed according to the resource type;

[0008] The discrepancy comparison tool is used to perform a discrepancy comparison on the resource information to be processed, and the discrepancy comparison result is obtained.

[0009] In one exemplary embodiment of this disclosure, obtaining resource information to be processed includes:

[0010] The source code control system monitors operation events acting on preset triggers through application programming interfaces, and when a trigger event acting on the preset trigger is detected, obtains the resource information to be processed corresponding to the trigger event;

[0011] The resource information to be processed includes the current version number of the resource information to be processed, the producer of the resource information to be processed, the submission time of the resource information to be processed, the current log information corresponding to the resource information to be processed, the current branch information, the current operation type information, and various other items in the current modified file list.

[0012] In one exemplary embodiment of this disclosure, assigning a difference comparison tool to the resource information to be processed according to the resource type includes:

[0013] When the resource type is engine plaintext source code, a first difference comparison tool is assigned to the resource information to be processed; wherein, the first difference comparison tool includes a difference comparison tool applicable to plaintext source code that is implemented based on the source code control system and / or a third-party difference comparison tool applicable to plaintext source code;

[0014] When the resource type is an engine binary resource, a second difference comparison tool is assigned to the resource information to be processed; wherein, the second difference comparison tool includes a difference comparison tool implemented based on Unreal Engine.

[0015] In one exemplary embodiment of this disclosure, when the resource type is engine plaintext source code, the difference comparison tool is used to perform a difference comparison on the resource information to be processed to obtain a difference comparison result, including:

[0016] Based on the current version number included in the resource information to be processed, obtain the historical version number of the historical resource information corresponding to the resource information to be processed, and obtain the historical resource information based on the historical version number;

[0017] The discrepancy comparison tool is used to perform a discrepancy comparison between the resource information to be processed and the historical resource information to obtain the discrepancy comparison results.

[0018] In one exemplary embodiment of this disclosure, the difference comparison tool is used to perform a difference comparison between the resource information to be processed and the historical resource information to obtain a difference comparison result, including:

[0019] Based on the resource information to be processed and the historical resource information, generate a submission entry to be parsed and determine whether the Unreal Engine editor is available;

[0020] When it is determined that the Unreal Engine editor is available, it is determined whether the version of the original editor used to edit the pending resource information and historical resource information included in the submitted entry to be parsed is consistent with the version of the current editor.

[0021] If the version of the original editor used to edit the resource information to be processed and the historical resource information is the same as the version of the current editor, then determine whether the resource information to be processed and the historical resource information included in the submitted entry to be parsed are files generated based on Unreal Engine.

[0022] If the resource information to be processed and the historical resource information are files generated based on Unreal Engine, then the submission entry to be parsed is passed to the Unreal Engine server, and the submission entry to be parsed is compared with the plaintext source code using a difference comparison tool that is implemented based on the source code control system within the Unreal Engine server, and the difference comparison result is obtained.

[0023] In one exemplary embodiment of this disclosure, the method for processing the resource information further includes:

[0024] If the version of the original editor used to edit the resource information to be processed and the historical resource information is inconsistent with the version of the current editor, the file status of the resource information to be processed and the historical resource information will be synchronized using the current editor until the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the version of the current editor.

[0025] In one exemplary embodiment of this disclosure, the method for processing the resource information further includes:

[0026] If the resource information to be processed and the historical resource information are not files generated based on Unreal Engine, then a third-party difference comparison tool suitable for plaintext source code is used to perform difference comparison on the submitted entries to be parsed to obtain the difference comparison results.

[0027] In one exemplary embodiment of this disclosure, when the resource type is an engine binary resource, the resource information to be processed is compared based on the difference comparison tool to obtain the difference comparison result, including:

[0028] Based on the current version number included in the resource information to be processed, obtain the historical version number of the historical resource information corresponding to the resource information to be processed, and obtain the historical resource information based on the historical version number;

[0029] Based on the resource information to be processed and the historical resource information, generate a submission entry to be parsed and determine whether the Unreal Engine editor is available;

[0030] When it is determined that the Unreal Engine editor is available, it is determined whether the version of the original editor used to edit the pending resource information and historical resource information included in the submitted entry to be parsed is consistent with the version of the current editor.

[0031] If the version of the original editor used to edit the resource information to be processed and the historical resource information is the same as the version of the current editor, then determine whether the resource information to be processed and the historical resource information included in the submitted entry to be parsed are files generated based on Unreal Engine.

[0032] If the resource information to be processed and the historical resource information are files generated based on Unreal Engine, then within the Unreal Engine server, a difference comparison tool that depends on Unreal Engine is used to perform a difference comparison on the submitted entries to be parsed to obtain the difference comparison result.

[0033] In one exemplary embodiment of this disclosure, when the resource type is an engine binary resource, the method further includes performing a difference comparison on the resource information to be processed based on the difference comparison tool to obtain the difference comparison result:

[0034] Based on the current version number included in the resource information to be processed, obtain the historical version number of the historical resource information corresponding to the resource information to be processed, and obtain the historical resource information based on the historical version number;

[0035] Based on the resource information to be processed and the historical resource information, generate a submission entry to be parsed and determine whether the Unreal Engine editor is available;

[0036] When it is determined that the Unreal Engine editor is available, it is determined whether the version of the original editor used to edit the pending resource information and historical resource information included in the submitted entry to be parsed is consistent with the version of the current editor.

[0037] If the version of the original editor used to edit the resource information to be processed and the historical resource information is the same as the version of the current editor, then determine whether the resource information to be processed and the historical resource information included in the submitted entry to be parsed are files generated based on Unreal Engine.

[0038] If the resource information to be processed and the historical resource information are files generated based on Unreal Engine, then the submission entries to be parsed are loaded into the memory of Unreal Engine based on the preset resource loading tool, and the differences between the submission entries to be parsed are compared to obtain the difference comparison results.

[0039] In one exemplary embodiment of this disclosure, the method for processing the resource information further includes:

[0040] The difference comparison results are displayed through the graphical interface included in the Unreal Engine and / or display tools implemented using the source code control system.

[0041] In one exemplary embodiment of this disclosure, the method for processing the resource information further includes:

[0042] The difference comparison results and the resource information to be processed are stored in a preset database;

[0043] The difference comparison result includes the specific location of the difference and the context corresponding to the specific location of the difference.

[0044] In one exemplary embodiment of this disclosure, storing the difference comparison results and the resource information to be processed in a preset database includes:

[0045] A communication link is established between the Unreal Engine and the preset database based on the Hypertext Transfer Protocol module natively encapsulated in Unreal Engine.

[0046] Based on the communication link, the difference comparison results and the resource information to be processed are stored in a preset database.

[0047] In one exemplary embodiment of this disclosure, storing the difference comparison results and the resource information to be processed in a preset database includes:

[0048] The resource information to be processed is stored in the submission information database of the preset database, and the difference comparison result is stored in the difference comparison database of the preset database.

[0049] In one exemplary embodiment of this disclosure, a communication link is established between the Unreal Engine and the preset database based on a Hypertext Transfer Protocol module natively encapsulated in the Unreal Engine, including:

[0050] The communication data protocol structure required by Unreal Engine is created by the Hypertext Transfer Protocol module natively encapsulated by Unreal Engine, and the communication data protocol is serialized to obtain a communication data protocol character stream.

[0051] A Hypertext Transfer Protocol (HTTP) request is generated based on the character stream of the communication data protocol, and the HTTP request is sent to the preset database based on the HTTP interface.

[0052] The system receives response information from the preset database that is associated with the Hypertext Transfer Protocol request, and establishes a communication link between the Unreal Engine and the preset database.

[0053] In one exemplary embodiment of this disclosure, the method for processing the resource information further includes:

[0054] Based on the Unreal Engine's Unreal Schematic Graphics Interface Designer, an interactive interface corresponding to the difference comparison results is created; wherein, the interactive interface includes a search function area and a search result display area;

[0055] In response to an operation event of the query interaction control applied to the search function area, a comparison result query request is generated and the result query request is sent to a preset database;

[0056] The system receives the query results returned by the preset database in response to the comparison result query request, and displays the query results in the search results display area.

[0057] In one exemplary embodiment of this disclosure, in response to an operation event acting on a query interaction control in the search function area, a comparison result query request is generated, including:

[0058] In response to an input event that acts on the query conditions set in the search function area, the query parameters required to query the difference comparison results are obtained;

[0059] In response to an operation event performed on the query interaction control in the search function area, a comparison result query request is generated based on the query parameters.

[0060] In one exemplary embodiment of this disclosure, the method for processing the resource information further includes:

[0061] In response to an operation event performed on a jump control corresponding to any query result displayed in the search results display area, jump to the folder containing the filename corresponding to the query result; and / or

[0062] In response to an operation event acting on a modification control corresponding to any query result displayed in the search results display area, modify the icon type corresponding to the query result; and / or

[0063] In response to an operation event acting on a modification control corresponding to any query result displayed in the search results display area, modify the filename corresponding to the query result; and / or

[0064] In response to an operation event performed on any query result displayed in the search results display area, display the difference comparison results of the filenames corresponding to the query result.

[0065] In one exemplary embodiment of this disclosure, the method for processing the resource information further includes:

[0066] In response to an operation event acting on the log file corresponding to any query result displayed in the search results display area, the display mode of the log file is changed from a first display mode to a second display mode.

[0067] In one exemplary embodiment of this disclosure, the search results display area includes a confirmation control for monitoring and tracking the query results.

[0068] In one exemplary embodiment of this disclosure, the method for processing the resource information further includes:

[0069] In response to an operation event applied to the confirmation control, a marking instruction corresponding to the difference comparison result of the confirmation control is generated, and the marking instruction is sent to the preset database so that the difference comparison result is marked for confirmation in the preset database according to the marking instruction.

[0070] According to one aspect of this disclosure, a resource information processing apparatus is provided, comprising:

[0071] The resource type determination module is used to acquire the resource information to be processed and determine the resource type of the resource information to be processed; wherein, the resource type includes engine plaintext source code and / or engine binary resources;

[0072] The difference comparison tool allocation module is used to allocate difference comparison tools to the resource information to be processed according to the resource type;

[0073] The difference comparison module is used to perform difference comparison on the resource information to be processed based on the difference comparison tool to obtain the difference comparison result.

[0074] According to one aspect of this disclosure, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the processing of the resource information described in any of the preceding claims.

[0075] According to one aspect of this disclosure, an electronic device is provided, comprising:

[0076] Processor; and

[0077] Memory for storing the executable instructions of the processor;

[0078] The processor is configured to execute the resource information processing method described above by executing the executable instructions.

[0079] This disclosure provides a method for processing resource information. On one hand, it acquires resource information to be processed and determines the resource type of the resource information to be processed; then, it assigns a difference comparison tool to the resource information to be processed according to the resource type; finally, it performs a difference comparison on the resource information to be processed based on the difference comparison tool to obtain the difference comparison result. This method realizes the difference comparison of plaintext source code and binary resources of the engine, solving the problem that the existing technology cannot perform difference comparison on the source code files of Unreal Engine itself. On the other hand, since the difference comparison tool can be assigned to the resource information to be processed according to the resource type, and then the difference comparison tool is used to perform a difference comparison on the resource information to be processed to obtain the difference comparison result, the method realizes the classification comparison of resource information, thereby improving the accuracy of the difference comparison result.

[0080] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0081] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0082] Figure 1 This diagram illustrates an interface for selecting resource versions.

[0083] Figure 2 The diagram illustrates an example of a graphical interface displaying Diff details.

[0084] Figure 3 This diagram illustrates an example of a Diff result display for a texture resource.

[0085] Figure 4 A flowchart illustrating one comparison method is shown.

[0086] Figure 5 The flowchart illustrates a method for processing resource information according to an example embodiment of the present disclosure.

[0087] Figure 6 The flowchart illustrates a method for comparing plaintext source code of an engine according to an exemplary embodiment of this disclosure.

[0088] Figure 7 An example diagram illustrating a comparison scenario of engine binary resources according to an exemplary embodiment of the present disclosure is shown.

[0089] Figure 8 The illustration shows an example scenario of storing resource information to be processed and difference comparison results according to an example embodiment of the present disclosure.

[0090] Figure 9 This schematically illustrates a flowchart of the communication principle of an HTTP communication module of Unreal Engine according to an exemplary embodiment of this disclosure.

[0091] Figure 10 An example diagram schematically illustrates a method for searching the results of a difference comparison according to an exemplary embodiment of the present disclosure.

[0092] Figure 11 The diagram illustrates an example of an interactive interface for querying difference comparison results according to an exemplary embodiment of the present disclosure.

[0093] Figure 12 The schematic diagram illustrates a design outline corresponding to an interactive interface according to an example embodiment of the present disclosure.

[0094] Figure 13 The diagram schematically illustrates an encapsulated calendar and a nested multi-functional dropdown list control according to an example embodiment of the present disclosure.

[0095] Figure 14 An example diagram schematically illustrates a specific display interface of a difference comparison result according to an exemplary embodiment of the present disclosure.

[0096] Figure 15 This schematically illustrates a block diagram of a resource information processing apparatus according to an exemplary embodiment of the present disclosure.

[0097] Figure 16 An electronic device for implementing the above-described method for processing resource information is illustrated according to an example embodiment of the present disclosure. Detailed Implementation

[0098] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more of the specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.

[0099] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0100] The commercial engine UE4 (Unreal Engine) is renowned for its powerful development features and excellent visual presentation; however, due to the encrypted nature of its commercial engine resources, UE4 inherently suffers from disadvantages in collaborative work. For example, although UE4 provides support for commonly used collaborative tools in its engine editor, there are still many issues in terms of efficiency and user habits.

[0101] In actual development, developers frequently modify UE4 resource files, and also alter the UE4 engine source code. These modifications often directly or indirectly affect the stability of the development content. Errors can negatively impact daily development progress and even reduce product functionality and quality. Furthermore, in large-scale projects, long project cycles, diverse functionalities, and large team sizes lead to numerous complex modification operations during daily development. These operations inherently carry certain risks, and the more modifications performed, the greater the risk, posing a significant challenge to team collaboration. Poor management can directly result in slow development progress, escalating interpersonal conflicts, and increased costs.

[0102] Unreal Engine itself supports source code control and version control repositories to address collaborative development issues. However, its handling of differences in modifications to various resource files and its monitoring capabilities are inadequate, resulting in a lack of automation, poor user experience, and low efficiency. Furthermore, with Unreal Engine's rapid adoption in the Chinese market, effective team collaboration is crucial for boosting productivity, and the management of resource differences has a profound impact on teamwork; therefore, effective resource difference management is extremely important.

[0103] In some implementations, Unreal Engine supports diffing certain resources within the editor, primarily in two types. One is graphical interface diffing; graphical interface diffing mainly handles blueprint resources commonly used in UX development. It allows viewing the diff results between any two versions of a blueprint resource when connected to any SCCS. The specific steps are as follows: First, open the resource version history and select any two versions (see [link to relevant documentation]). Figure 1 As shown), a Diff operation is then performed to obtain the corresponding Diff result (see reference for details). Figure 2 (As shown); another method is third-party tool diffing; third-party tool diffing mainly handles non-blueprint resources because these resources are diverse in type and have complex and variable data structures, making them unsuitable for display through a single graphical interface. Therefore, UE supports some third-party diffing tools, allowing diffing of partial resource data in memory through external calls. The specific usage steps are as follows: Open the resource version history, select any two versions, and then perform the diff operation to obtain the corresponding diff results (see details in [reference]). Figure 3 (As shown).

[0104] Based on the above description, it can be seen that the two types of implementation techniques described above can be simply used... Figure 4 To summarize. For details, please refer to [reference needed]. Figure 4 As shown, the specific comparison process may include the following steps:

[0105] Step S401: Obtain the UE resource file and load it into memory during engine runtime;

[0106] Step S402: Obtain the current SCCS library and the list of historical versions, and find the instance object copies of the specified two versions;

[0107] Step S403: Determine if it is a blueprint resource; if yes, proceed to step S404; otherwise, proceed to step S406.

[0108] Step S404: Load the data into memory, perform a diff on the data, and draw the image interface;

[0109] Step S405: Display the Diff result in the corresponding position on the interface;

[0110] Step S406: Load the data into memory and process it according to the resource type; serialize the data or information that the user needs to diff.

[0111] Step S407: Call a third-party Diff tool to perform Diff on the serialized information and display the Diff result in text form.

[0112] However, the above solution has the following drawbacks: First, it operates on a single resource file, which is inconsistent with the practice of submitting large quantities of resources in actual work; at the same time, it requires manually searching for resource files and going through multiple steps to obtain results, resulting in low work efficiency; second, it lacks SCCS-related submission information, which cannot meet other work requirements, and the types of Diff resources displayed in the graphical interface are limited, and the text results are not clear; third, it cannot perform Diff operations on the engine's own source code files, and the Diff results can only be viewed by local users, without any added value and having little impact on product quality assurance; furthermore, it lacks practical auxiliary functions, resulting in a poor user experience, low overall efficiency, and the inability to achieve automated monitoring of resource Diff.

[0113] Based on this, this exemplary embodiment first provides a method for processing resource information. This method can run on Unreal Engine, or on a server, server cluster, or cloud server, etc. Of course, those skilled in the art can also run the method disclosed herein on other platforms as needed, and this exemplary embodiment does not impose any special limitations on this. Specifically, refer to... Figure 5 As shown, the method for processing this resource information may include the following steps:

[0114] Step S510: Obtain the resource information to be processed and determine the resource type of the resource information to be processed; wherein, the resource type includes engine plaintext source code and / or engine binary resources;

[0115] Step S520: Assign a difference comparison tool to the resource information to be processed according to the resource type;

[0116] Step S530: Perform a difference comparison on the resource information to be processed based on the difference comparison tool to obtain the difference comparison result.

[0117] In the above-mentioned resource information processing method, on the one hand, the resource information to be processed is obtained, and the resource type of the resource information to be processed is determined; then, a difference comparison tool is assigned to the resource information to be processed according to the resource type; finally, the difference comparison tool is used to perform difference comparison on the resource information to be processed to obtain the difference comparison result, thus realizing the difference comparison of the engine plaintext source code and the engine binary resources, solving the problem that the existing technology cannot perform difference comparison on the source code files of Unreal Engine itself; on the other hand, since the difference comparison tool can be assigned to the resource information to be processed according to the resource type, and then the difference comparison tool is used to perform difference comparison on the resource information to be processed to obtain the difference comparison result, the classification comparison of resource information is realized, thereby improving the accuracy of the difference comparison result.

[0118] The following will provide a detailed explanation and description of the resource information processing method of the exemplary embodiments of this disclosure, in conjunction with the accompanying drawings.

[0119] First, the terms used in the exemplary embodiments of this disclosure will be explained and described.

[0120] Unreal Engine 4 (UE4): An open-source, commercially available, but free-to-learn game engine developed by Epic Games. Currently, Unreal Engine is in its fourth generation and is very powerful, capable of being used to create console games.

[0121] UE resource file (UAsset): This is a resource file format that comes with the UE. It stores all types of resources in binary form and can only be parsed by the UE itself.

[0122] Unreal Motion Graphics UI Designer (UMG) is a visual UI (User Interface) creation tool that can be used to create UI elements, making it easier to develop interfaces directly within the UE editor, which is more efficient than pure code development.

[0123] Difference File (Diff): An executable tool used to compare the differences between two files, record and display the differences, and the resulting file is called a Diff file.

[0124] Source Code Control System (SCCS): Refers to a system solution that manages various versions of source code, facilitating software development and user collaboration.

[0125] Subversion (SVN): An open-source version control system that uses the efficient management of a branch management system. In short, it is used by multiple people to develop the same project together, achieving resource sharing and centralized management.

[0126] Perforce (P4): A very useful version control tool that is lightweight and fast, and supports multiple usage methods such as GUI (Graphical User Interface) interface and command line.

[0127] Secondly, the technical problems to be solved and the purpose of the invention will be explained and described. Specifically, the resource information processing method provided in the example embodiments of this disclosure can, on the one hand, capture SCCS information externally and communicate remotely with the engine for internal engine use; at the same time, it can also summarize SCCS information and display it uniformly on a graphical interface for user use; on the other hand, it can perform Diff on the engine source code files and import them into the engine for display; at the same time, it can also expand the types of Diff resources that can be graphically displayed within the engine; furthermore, the graphical interface functions can be designed according to daily submission habits, and a submission change confirmation function can be added to create added value for modification monitoring. On this basis, practical auxiliary functions such as search, jump, external links, and quick Diff can be added to improve work efficiency; furthermore, a data source platform can be built outside the engine to realize automated monitoring of Diff.

[0128] In practical applications, the engine externally captures modification information (Engine Source and / or Project Assets) submitted by developers on SCCS. For modifications to the engine source code within the modification information, any Diff tool can be used externally to perform Diff (MakeDifference), storing the results (Diff Info) and related information (Submit Info) in the database (SaveDataBase). For modifications to binary resources (Project Assets) within the modification information, Diff is performed using the engine's native methods (ByUnreal Engine), storing the results (Diff Info) and related information (SubmitInfo) in the database (SaveDataBase). Furthermore, the necessary data can be remotely transmitted to the engine editor via Remote HTTP, and the information can be presented through an interactive interface within the engine editor (Unreal Engine Editor Interface), providing various auxiliary functions for user use.

[0129] In a resource information processing method provided in the exemplary embodiments of this disclosure:

[0130] In step S510, the resource information to be processed is obtained, and the resource type of the resource information to be processed is determined; wherein, the resource type includes engine plaintext source code and / or engine binary resources.

[0131] In this example embodiment, firstly, the resource information to be processed is obtained. Specifically, the resource information to be processed can be obtained in the following way: by monitoring operation events acting on preset triggers through the source code control system including the application programming interface, and when a trigger event acting on the preset trigger is detected, the resource information to be processed corresponding to the trigger event is obtained; wherein, the resource information to be processed includes the current version number of the resource information to be processed, the producer of the resource information to be processed, the submission time of the resource information to be processed, the current log information, the current branch information, the current operation type information, and various items in the current modified file list.

[0132] Specifically, in practical applications, the core of acquiring pending resource information (also known as SCCS information capture) is to obtain the operation events triggered by the Trigger through the API (Application Programming Interface) provided by the SCCS tool itself. Then, when an operation event acting on the trigger is detected, the pending resource information corresponding to that operation event is obtained. That is, after any commit operation by the user (Developers) takes effect, the necessary pending resource information can be extracted from the server, and even certain pre-processing functions can be implemented. Typically, the acquired pending resources can include various useful information such as version number, committer, time, logs, branches, operation type, and a list of modified files. Here, "branch" refers to the number of copies of the source code.

[0133] In one example implementation, two mainstream Source Control tools can be used to understand the technical implementation of information capture. Tool 1: Subvision; In specific applications, Subvision can obtain pending resource information through post-commit. In contrast, regular SVN triggers a trigger immediately after a commit, thus obtaining the pending resource information. Tool 2: Perforce; In specific applications, Perforce can obtain pending resource information in two ways: Method 1, change-commit, a Perforce post-commit trigger function, similar to SVN's post-commit. Method 2, change-content, a Perforce-specific mechanism. After a user submits information, it is uploaded to the Perforce server but triggered before being written to the database. These submissions are called pending approval submissions, and some checks, restrictions, and pre-alarm functions can be performed by viewing this information.

[0134] Furthermore, once the resource information to be processed is obtained, the resource type of the resource information can be determined; wherein, the resource type includes engine plaintext source code and / or engine binary resources. Engine plaintext source code can include plaintext files used in various source codes such as C++, header, XML, and py; engine binary resources can include data tables, curve tables, behavior trees, blueprints, widget blueprints, editor utility widget blueprints, and animation blueprints, etc.

[0135] In step S520, a difference comparison tool is assigned to the resource information to be processed according to the resource type.

[0136] In this example embodiment, assigning a difference comparison tool to the resource information to be processed based on the resource type can be achieved in the following way: when the resource type is engine plaintext source code, a first difference comparison tool is assigned to the resource information to be processed; wherein, the first difference comparison tool includes a difference comparison tool applicable to plaintext source code implemented by the source code control system and / or a third-party difference comparison tool applicable to plaintext source code; when the resource type is engine binary resource, a second difference comparison tool is assigned to the resource information to be processed; wherein, the second difference comparison tool includes a difference comparison tool implemented by Unreal Engine.

[0137] It should be noted that third-party difference comparison tools, such as Diff commands (e.g., Colordiff or wdiff), vimdiff, Kompare, DiffMerge, etc., are not specifically limited in this example; difference comparison tools applicable to plaintext source code implemented by the source code control system can be any tool included with SCCS, such as UAssetToolsImpl::DiffAssets, and are not specifically limited in this example; difference comparison tools implemented by Unreal Engine, such as UAssetToolsImpl::DiffAssets, are not specifically limited in this example.

[0138] In step S530, the resource information to be processed is compared based on the difference comparison tool to obtain the difference comparison result.

[0139] In this example embodiment, a difference comparison tool is used to perform a difference comparison on the resource information to be processed, and the difference comparison result is obtained. Specifically, this can be achieved in the following ways:

[0140] Method 1: When the resource type is plaintext source code of an engine, the difference comparison tool is used to perform a difference comparison on the resource information to be processed to obtain the difference comparison result. This can be achieved as follows: First, based on the current version number included in the resource information to be processed, the historical version number of the historical resource information corresponding to the resource information to be processed is obtained, and the historical resource information is obtained based on the historical version number; Second, the difference comparison tool is used to perform a difference comparison on the resource information to be processed and the historical resource information to obtain the difference comparison result.

[0141] The process of comparing the resource information to be processed and the historical resource information using the aforementioned difference comparison tool to obtain the difference comparison result can be achieved as follows: First, generate a submission entry to be parsed based on the resource information to be processed and the historical resource information, and determine whether the Unreal Engine editor is available; second, if the Unreal Engine editor is available, determine whether the version of the original editor used to edit the resource information to be processed and the historical resource information included in the submission entry to be parsed is consistent with the version of the current editor; then, if the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the version of the current editor, determine whether the resource information to be processed and the historical resource information included in the submission entry to be parsed are files generated based on Unreal Engine; finally, if the resource information to be processed and the historical resource information are files generated based on Unreal Engine, then transmit the submission entry to be parsed to the Unreal Engine server, and within the Unreal Engine server, perform a difference comparison on the submission entry to be parsed using a difference comparison tool applicable to plaintext source code, which is implemented based on the source code control system, to obtain the difference comparison result.

[0142] In one example embodiment, if the version of the original editor used to edit the resource information to be processed and the historical resource information is inconsistent with the version of the current editor, the file status of the resource information to be processed and the historical resource information is synchronized using the current editor until the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the version of the current editor.

[0143] In one example embodiment, if the resource information to be processed and the historical resource information are not files generated based on Unreal Engine, a third-party difference comparison tool suitable for plaintext source code is used to perform difference comparison on the submitted entries to be parsed to obtain the difference comparison results.

[0144] The following will combine Figure 6 The specific implementation process of Method 1 will be explained and illustrated. For details, please refer to [link / reference]. Figure 6 As shown, the comparison of differences in the plaintext source code of the engine can include the following steps:

[0145] Step S601: Input the submission entry to be parsed and determine whether the UE editor is available; if the UE editor is available, proceed to step S602; if the UE editor is not available, proceed to step S608.

[0146] Step S602: Determine whether the version to be parsed is consistent with the editor version; if they are consistent, proceed to step S604; if they are inconsistent, proceed to step S603.

[0147] Step S603: Synchronize UE editor file status;

[0148] Step S604: Determine if it is a UE file; if yes, proceed to step S605; if no, proceed to step S607.

[0149] Step S605: The data is sent to the UE server for parsing to obtain the Diff file, and then stored.

[0150] Step S606: Generate a Diff file from the text Diff and save it;

[0151] Step S607: Do not parse, store directly.

[0152] It's important to note that the Diff generation tool can be any tool included with SCCS or other third-party Diff tools, provided the plaintext is usable. When determining if the UE editor is usable, if it's unavailable, it indicates engine source code or an external plaintext file. These do not require engine parsing and can be directly generated into a Diff file and stored in the database. Otherwise, they need to be parsed within the editor. When determining if the resource to be parsed is consistent with the engine version, because the data structure of some resources is closely related to the engine source code, different versions may cause data parsing errors, leading to Diff generation errors within the engine. Therefore, file state synchronization needs to be performed through the UE editor.

[0153] Method 2: When the resource type is an engine binary resource, the difference comparison tool is used to perform a difference comparison on the resource information to be processed to obtain the difference comparison result. This can be achieved as follows: First, based on the current version number included in the resource information to be processed, the historical version number of the historical resource information corresponding to the resource information to be processed is obtained, and the historical resource information is obtained based on the historical version number; Second, based on the resource information to be processed and the historical resource information, a submission entry to be parsed is generated, and it is determined whether the Unreal Engine editor is available; Then, if it is determined that the Unreal Engine editor is available, it is determined whether the submission entry to be parsed includes... The system checks whether the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the current editor version. Further, if the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the current editor version, it determines whether the resource information to be processed and the historical resource information included in the submitted entry to be parsed are files generated based on the Unreal Engine. Finally, if the resource information to be processed and the historical resource information are files generated based on the Unreal Engine, a difference comparison is performed on the submitted entry to be parsed within the Unreal Engine server using a difference comparison tool implemented based on the Unreal Engine to obtain the difference comparison result.

[0154] Method 3: When the resource type is an engine binary resource, the difference comparison tool is used to perform a difference comparison on the resource information to be processed to obtain the difference comparison result. This can also be achieved as follows: First, based on the current version number included in the resource information to be processed, obtain the historical version number of the historical resource information corresponding to the resource information to be processed, and obtain the historical resource information based on the historical version number; second, generate a submission entry to be parsed based on the resource information to be processed and the historical resource information, and determine whether the Unreal Engine editor is available; then, if it is determined that the Unreal Engine editor is available, determine whether to edit the submission entry to be parsed. The system checks whether the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the version of the current editor. Further, if the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the version of the current editor, it determines whether the resource information to be processed and the historical resource information included in the submitted entry to be parsed are files generated based on the Unreal Engine. Finally, if the resource information to be processed and the historical resource information are files generated based on the Unreal Engine, the submitted entry to be parsed is loaded into the memory of the Unreal Engine using a preset resource loading tool, and a difference comparison is performed on the submitted entry to be parsed to obtain the difference comparison result.

[0155] In one example embodiment, after obtaining the difference comparison results, the difference comparison results can also be displayed through the graphical interface included in the Unreal Engine and / or the display tools implemented by the source code control system.

[0156] The following will combine Figure 7 The implementation details of methods two and three are explained. Specifically, the acquisition process for methods two and three is the same as that of method one, the difference being that the data here is not plaintext and cannot be directly generated by Diff tools; instead, it needs to be processed within the Unreal Engine. Therefore, it can be implemented in the following two ways: One is through the UAssetToolsImpl::DiffAssets method within the engine, which can directly generate Diff for various resources within the engine. This method is a native engine function, and the Diff results are displayed through a graphical interface or supported SCCS tools. Its underlying structure can be found in [reference needed]. Figure 7 As shown, this demonstrates the diffing process performed on binary resources from several different engines. Another approach is to load the binary resources into memory within the engine using methods such as LoadAssets, and then directly perform diffing on the required resource data objects in memory. This approach is flexible and diverse; the data can be first converted to plaintext and then processed as in the first method, or the results can be directly compared and then converted back to plaintext for output.

[0157] In one example embodiment, after obtaining the difference comparison result, the method for processing the resource information further includes: storing the difference comparison result and the resource information to be processed in a preset database; wherein, the difference comparison result includes the specific location of the difference and the context corresponding to the specific location of the difference.

[0158] In one example embodiment, storing the difference comparison results and the resource information to be processed in a preset database can be achieved as follows: establishing a communication link between the Unreal Engine and the preset database based on the Hypertext Transfer Protocol module natively encapsulated by the Unreal Engine; and storing the difference comparison results and the resource information to be processed in the preset database based on the communication link.

[0159] In one example embodiment, storing the difference comparison results and the resource information to be processed in a preset database can be achieved by storing the resource information to be processed in the submission information database of the preset database, and storing the difference comparison results in the difference comparison database of the preset database.

[0160] The following, combined with Figure 8This section explains and clarifies the storage of the difference comparison results. Specifically, the difference comparison results (also known as Diff data, Diff files, or Diff results) require the storage of information including the various submission and modification information extracted above (i.e., resource information to be processed) and the difference comparison results, i.e., the Diff results. The Diff results can be stored in any format, such as text, JSON, data blocks, embedded data tables, etc., and other formats are not specifically restricted in this example. Furthermore, a certain range of context related to the Diff results needs to be stored to facilitate user identification of the Diff content and optimize the user experience. Moreover, the difference comparison results (Diff data) can be quite complex, and different storage schemes can be designed depending on the different plaintext file types. Specifically, any database can be used to store the resource information to be processed and the difference comparison results; refer to [reference needed]. Figure 8 As shown, the specific storage can be as follows: Commit database (commit information database), which can store commit information in units of commit version number. The commit information can include SVN commit entries, Perforce commit entries, and dPerforce commit entries; Difference comparison database (i.e., Diff table) can be used to store difference comparison results, which can include text Diff, blueprint Diff, and UE table Diff, etc.

[0161] It's worth noting that this preset database can also include a DataTable, which stores the contents of all versions of each UE4 table. This facilitates comparisons across multiple versions without requiring re-parsing in the UE editor, thus improving comparison efficiency. A Status table records flags indicating whether the Diff generator is idle and whether the UE editor needs to be restarted. An Editor_version table records the current version number of the UE editor for all user-registered branches, facilitating file status synchronization during Diff parsing. A Cache_changelist table records the version number of each branch editor and the number of versions of file status that have been synchronized. Synchronized versions are not processed again until the editor restarts and changes its version number.

[0162] The following, combined with Figure 9This document explains how to establish a communication link between Unreal Engine and a preset database. Specifically, in one example embodiment, the communication link between Unreal Engine and the preset database is established based on the Hypertext Transfer Protocol (HTTP) module natively encapsulated by Unreal Engine. This can be achieved as follows: First, a communication data protocol structure required by Unreal Engine is created using the HTTP module natively encapsulated by Unreal Engine, and the communication data protocol is serialized to obtain a communication data protocol character stream. Second, an HTTP request is generated based on the communication data protocol character stream, and the HTTP request is sent to the preset database via the HTTP interface. Finally, the response information associated with the HTTP request from the preset database is received, thus establishing the communication link between Unreal Engine and the preset database.

[0163] Specifically, in the resource information processing method described in the exemplary embodiments of this disclosure, the Unreal Engine backend and an external server (such as the aforementioned preset database, or other servers, which this example does not specifically limit) need to perform certain remote data communication to realize the interaction functions between the engine source code files, submitted modification information, etc., and the database. Remote communication can be implemented in two ways; one is through the Unreal Engine's native plugin Remote Control API HTTP. The reference-based approach is suitable for passive communication, where the Unreal Engine acts as a server, listening for external remote requests and returning data. Another approach uses Unreal Engine's natively encapsulated HTTP communication module, suitable for active communication. In this case, the engine acts as a client, sending requests to an external remote server and receiving data from it. The specific implementation principle is as follows: First, a communication module is implemented through secondary encapsulation, facilitating the subsequent implementation of other data communication function interfaces. Second, a custom data protocol is used, implemented using data structures. The protocols used are summarized below: FSearchDiffStruct: requests information about a binary resource, including various combinations of search conditions; FSearchInfoFile: returns binary resources that meet the search conditions. Source file commit modification information; FSearchInfoRet: Returns Diff information for binary resource files that meet the criteria; FGetDiffInfoStruct: Requests Diff information for plaintext files such as engine source code, including various combined search conditions; FTextDiffInfo: Returns commit modification information for plaintext files that meet the criteria; FTextDiffResult: Returns Diff information for plaintext files that meet the criteria; FGetPersonStruct: Requests a list of relevant users; FPersonListStruct: Returns a list of users that meet the criteria; FBrancheStruct: Requests branch-related information; FBrancheListStruct: Returns branch-related information that meets the criteria. It should be noted that the functional protocols and their detailed contents listed above are for illustrative purposes only. Other functional protocols and their detailed contents are not listed individually and can be defined according to actual needs in practical applications. This example does not impose any special restrictions on them.

[0164] Further reference Figure 9 As shown, the specific communication process of this HTTP (Hypertext Transfer Protocol) communication module may include the following steps:

[0165] Step S901: Define a custom communication data protocol structure and serialize the communication data protocol structure to obtain a communication data protocol character stream; wherein, protocol serialization refers to serializing the communication data protocol structure Struct into a character stream in JSON format, and its specific implementation process can be implemented through the interface FJsonObjectConverter::UstructToJsonObjectString;

[0166] Step S902: Load the HTTP communication module (FhttpModule) and create a remote request object (CreateRequest);

[0167] Step S903: Set the relevant information for the HTTP request object; the relevant information may include URL (Uniform Resource Locator), protocol header, protocol data format, protocol content, and communication method, etc.

[0168] Step S904: Bind the listener callback interface (BindRow); whereby the callback interface is triggered when the origin server returns data.

[0169] Step S905: Trigger the HTTP communication process (ProcessRequest);

[0170] Step S906: Receive remote return data (GetContentAsString);

[0171] Step S907: Deserialize the character stream into the protocol format and extract useful data for related processing; wherein, protocol deserialization refers to deserializing the JSON format character stream in the remotely returned data into a Struct structure; in specific applications, this can be achieved through the interface FJsonObjectConverter::JsonObjectStringToUStruct.

[0172] It should be noted here that the external remote server is developed using Python and can be accessed via a standard HTTP communication interface. Figure 9 The method described avoids the problem in existing technologies where the comparison results due to differences can only be viewed by local users and have no added value, thus having little impact on product quality assurance.

[0173] Figure 10 The illustration schematically shows an example diagram of a search method for difference comparison results according to an exemplary embodiment of this disclosure. Specifically, refer to... Figure 10 As shown, the following steps may be included:

[0174] Step S1010: Based on the Unreal Engine's Unreal Schematic Graphics Interface Designer, create an interactive interface corresponding to the difference comparison result; wherein, the interactive interface includes a search function area and a search result display area.

[0175] Specifically, the exemplary embodiments of this disclosure can use Unreal Engine UMG (Unreal Motion Graphics UIDesigner technology) to complete the development of the interactive interface during the editing period. The developed interactive interface can be as follows: Figure 11 As shown; and, in Figure 11 The interactive interface shown mainly encapsulates several necessary front-end controls and implements the corresponding back-end logic. Finally, it integrates with the protocols, auxiliary interfaces, and data storage mentioned in the context to complete the corresponding functions. The overall design overview diagram can be seen as follows: Figure 12 As shown; in some example embodiments, the encapsulated calendar and nested multi-functional dropdown list controls can be displayed as follows: Figure 13 As shown.

[0176] Step S1020: In response to the operation event of the query interaction control applied to the search function area, a comparison result query request is generated and the result query request is sent to a preset database.

[0177] Specifically, firstly, in response to the operation event of the query interaction control in the search function area, a comparison result query request is generated. The specific implementation process can be as follows: Firstly, in response to the input event of the query conditions set in the search function area, the query parameters required to query the difference comparison results are obtained; secondly, in response to the operation event of the query interaction control in the search function area, a comparison result query request is generated based on the query parameters. Further, after obtaining the comparison result query request, it can be sent to a preset database for data query (search); the specific method of sending the comparison result query request can be implemented through the HTTP communication module described above, and will not be further elaborated here.

[0178] Step S1030: Receive the query results returned by the preset database after querying the difference comparison results in response to the comparison result query request, and display the query results in the search results display area. The displayed query results may also be as follows: Figure 11 As shown.

[0179] In some example embodiments, after obtaining the query results, the following interactive operations can be performed: On the one hand, in response to the operation event of the jump control corresponding to any query result displayed in the search results display area, jump to the folder where the file name corresponding to the query result is located; on the other hand, in response to the operation event of the modification control corresponding to any query result displayed in the search results display area, modify the icon type corresponding to the query result; furthermore, in response to the operation event of the modification control corresponding to any query result displayed in the search results display area, modify the file name corresponding to the query result; and further still, in response to the operation event of the operation event of any query result displayed in the search results display area, display the difference comparison result of the file name corresponding to the query result; wherein, the specific display interface of the difference comparison result can be referred to Figure 14 As shown.

[0180] In some example embodiments, after obtaining the query results, the following interactive operation can also be performed: in response to the operation event acting on the log file corresponding to any query result displayed in the search results display area, the display mode of the log file is changed from the first display mode to the second display mode.

[0181] In some example embodiments, the search results display area includes a confirmation control for monitoring and tracking the query results. This confirmation control can also perform the following interactive operations: responding to an operation event acting on the confirmation control, generating a marking instruction corresponding to the difference comparison result of the confirmation control, and sending the marking instruction to the preset database, so that the difference comparison result is marked with the marking instruction in the preset database.

[0182] In other words, the implementation of practical auxiliary functions in the Unreal Engine backend is carried out. Furthermore, by introducing several auxiliary functions, the user experience is improved, work efficiency is increased, and monitoring and security are strengthened. The implementation of several practical auxiliary functions is briefly introduced below:

[0183] One approach is a search function: Various search criteria can be set in the search area, and the SCCS database will filter and select modification and submission records that meet the criteria, displaying them to the user. This allows users to easily extract the information they need for various work requirements such as location, tracing, accountability, and monitoring, thereby improving work efficiency. This function can be implemented by populating the search protocol and remotely transmitting the data to the server backend, where the database is searched and the results are returned. It is important to note that optimizations should be made to the backend search algorithm and the algorithm for displaying large amounts of data on the frontend to avoid functional errors or anomalies caused by large data volumes or data loss.

[0184] Another method is local quick navigation: clicking the "magnifying glass" icon allows users to quickly locate the corresponding resource file in the ContentBrowser window during editing (this is not supported in the source code), enabling them to directly browse the details of the file. This functionality can be achieved using the SyncBrowserToObjects method.

[0185] Another approach is to open the URL: clicking "Submit Log" will open an external URL, which will redirect you to the work platform. You can then view the detailed development requirements, testing points, and other information on the work task sheet, making it easier for users to associate their submissions with the content and determine the correctness of their modifications. Specifically, this function can be implemented using the FPlatformProcess::LaunchURL method.

[0186] Another method involves confirming changes to the diff: this is achieved by adding a confirmation flag to the database. After a manual review confirms the changes are correct, clicking the "Confirm" button will record a confirmation flag in the database, indicating that the change is correct. This function can be implemented by remotely transmitting data to the server backend via a confirmation protocol and writing it into the database.

[0187] This completes the implementation process of the resource information processing method described in the exemplary embodiments of this disclosure. Based on the foregoing description, it can be understood that the resource information processing method described in the exemplary embodiments of this disclosure has at least the following advantages:

[0188] On the one hand, by simplifying operations and associating SCCS information, the quality of user work can be improved. Specifically, based on the foregoing description, the resource information processing method described in the example embodiments of this disclosure allows for quick viewing of the Diff content of various resource files with a single click. Furthermore, it links various modification submission operations with specific SCCS information and displays them uniformly through an interactive interface. Users can intuitively obtain the information they need on the interface, thereby helping them make decisions and improving their work experience, efficiency, and quality.

[0189] On the other hand, the Diff types have been expanded, resulting in clearer and more intuitive display results. Specifically, based on the foregoing description, the resource information processing method described in the example embodiments of this disclosure expands the Diff data types that can be viewed within the Unreal Engine editor. It not only includes the Diff display of binary resources but also allows direct viewing of Diff data from plaintext files such as engine source code. Furthermore, the Diff display interface has been optimized, providing users with a clearer and more intuitive user experience and further improving work efficiency.

[0190] On the other hand, it supports viewing multiple branch diffs locally. Specifically, based on the foregoing description, the resource information processing method described in the example embodiments of this disclosure enables remote viewing of file diffs from multiple different engine branches, including monitoring commit modification information on different branches. This better meets the actual development needs of projects, allowing users to view modification information of various remote branch projects locally at any time, greatly improving user work efficiency, better monitoring the development status of each branch, and enhancing project quality assurance.

[0191] Furthermore, multiple practical auxiliary functions enhance the effect. Specifically, based on the foregoing description, the resource information processing method described in the example embodiments of this disclosure provides users with multiple practical auxiliary functions, such as search, navigation, external links, monitoring and confirmation functions, which facilitate users to quickly perform various operations on their local editors, further improving work efficiency and enhancing the functions and effects of the present invention.

[0192] Furthermore, it supports automation, reducing operational costs. Specifically, based on the foregoing description, the resource information processing method described in the example embodiments of this disclosure fills the gap in Unreal Engine's inability to automatically monitor resource change information. It supports user-defined automated monitoring needs, such as restricting non-standard modifications based on submitted information, automatically checking modifications to important files, and automatically detecting and alerting to high-risk modifications. With the above technical foundation, users can easily implement various customized automated monitoring functions, thereby further reducing actual operational costs.

[0193] This disclosure also provides an example embodiment of a resource information processing apparatus. Specifically, refer to... Figure 15 As shown, the resource information processing device may include a resource type determination module 1510, a difference comparison tool allocation module 1520, and a difference comparison module 1530. Wherein:

[0194] The resource type determination module 1510 can be used to acquire resource information to be processed and determine the resource type of the resource information to be processed; wherein, the resource type includes engine plaintext source code and / or engine binary resources;

[0195] The difference comparison tool allocation module 1520 can be used to allocate difference comparison tools to the resource information to be processed according to the resource type;

[0196] The difference comparison module 1530 can be used to perform difference comparison on the resource information to be processed based on the difference comparison tool to obtain the difference comparison result.

[0197] In one exemplary embodiment of this disclosure, the resource type determination module 1510 may further be configured to: monitor operation events acting on a preset trigger through the source code control system including an application programming interface, and when a trigger event acting on the preset trigger is detected, obtain resource information to be processed corresponding to the trigger event; wherein, the resource information to be processed includes the current version number of the resource information to be processed, the producer of the resource information to be processed, the submission time of the resource information to be processed, the current log information, the current branch information, the current operation type information, and multiple items in the current modified file list.

[0198] In an exemplary embodiment of this disclosure, the difference comparison tool allocation module 1520 may further be configured to: when the resource type is engine plaintext source code, allocate a first difference comparison tool to the resource information to be processed; wherein, the first difference comparison tool includes a difference comparison tool applicable to plaintext source code implemented by a source code control system and / or a third-party difference comparison tool applicable to plaintext source code; when the resource type is engine binary resource, allocate a second difference comparison tool to the resource information to be processed; wherein, the second difference comparison tool includes a difference comparison tool implemented by Unreal Engine.

[0199] In an exemplary embodiment of this disclosure, when the resource type is engine plaintext source code, the difference comparison module 1530 can be further configured to: obtain the historical version number of the historical resource information corresponding to the resource information to be processed based on the current version number included in the resource information to be processed, and obtain the historical resource information based on the historical version number; perform difference comparison on the resource information to be processed and the historical resource information based on the difference comparison tool to obtain the difference comparison result.

[0200] In an exemplary embodiment of this disclosure, the difference comparison module 1530 may further be configured to: generate a submission entry to be parsed based on the resource information to be processed and the historical resource information, and determine whether the Unreal Engine editor is available; when it is determined that the Unreal Engine editor is available, determine whether the version of the original editor used to edit the resource information to be processed and the historical resource information included in the submission entry to be parsed is consistent with the version of the current editor; if the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the version of the current editor, then determine whether the resource information to be processed and the historical resource information included in the submission entry to be parsed are files generated based on Unreal Engine; if the resource information to be processed and the historical resource information are files generated based on Unreal Engine, then transmit the submission entry to be parsed to the Unreal Engine server, and perform a difference comparison on the submission entry to be parsed based on a difference comparison tool applicable to plaintext source code implemented by a source code control system within the Unreal Engine server to obtain a difference comparison result.

[0201] In an exemplary embodiment of this disclosure, the difference comparison module 1530 may further be configured to: if the version of the original editor used to edit the resource information to be processed and the historical resource information is inconsistent with the version of the current editor, then use the current editor to synchronize the file status of the resource information to be processed and the historical resource information until the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the version of the current editor.

[0202] In an exemplary embodiment of this disclosure, the difference comparison module 1530 may also be configured to: if the resource information to be processed and the historical resource information are not files generated based on Unreal Engine, then use a third-party difference comparison tool suitable for plaintext source code to perform difference comparison on the submission entries to be parsed to obtain difference comparison results.

[0203] In an exemplary embodiment of this disclosure, when the resource type is an engine binary resource, the difference comparison module 1530 can be further configured to: obtain the historical version number of the historical resource information corresponding to the resource information to be processed based on the current version number included in the resource information to be processed, and obtain the historical resource information based on the historical version number; generate a submission entry to be parsed based on the resource information to be processed and the historical resource information, and determine whether the Unreal Engine editor is available; when it is determined that the Unreal Engine editor is available, determine whether the version of the original editor used to edit the resource information to be processed and the historical resource information included in the submission entry to be parsed is consistent with the version of the current editor; if the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the version of the current editor, then determine whether the resource information to be processed and the historical resource information included in the submission entry to be parsed are files generated based on the Unreal Engine; if the resource information to be processed and the historical resource information are files generated based on the Unreal Engine, then perform a difference comparison on the submission entry to be parsed based on a difference comparison tool implemented by the Unreal Engine in the Unreal Engine server to obtain a difference comparison result.

[0204] In an exemplary embodiment of this disclosure, when the resource type is an engine binary resource, the difference comparison module 1530 can be further configured to: obtain the historical version number of the historical resource information corresponding to the resource information to be processed based on the current version number included in the resource information to be processed, and obtain the historical resource information based on the historical version number; generate a submission entry to be parsed based on the resource information to be processed and the historical resource information, and determine whether the Unreal Engine editor is available; when it is determined that the Unreal Engine editor is available, determine whether the version of the original editor used to edit the resource information to be processed and the historical resource information included in the submission entry to be parsed is consistent with the version of the current editor; if the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the version of the current editor, then determine whether the resource information to be processed and the historical resource information included in the submission entry to be parsed are files generated based on the Unreal Engine; if the resource information to be processed and the historical resource information are files generated based on the Unreal Engine, then load the submission entry to be parsed into the memory of the Unreal Engine based on a preset resource loading tool, and perform a difference comparison on the submission entry to be parsed to obtain a difference comparison result.

[0205] In one exemplary embodiment of this disclosure, the difference comparison module 1530 may also be configured to display the difference comparison results through a graphical interface included in the Unreal Engine and / or a display tool implemented by a source code control system.

[0206] In one exemplary embodiment of this disclosure, the resource information processing apparatus may further include:

[0207] The difference comparison result storage module can be used to store the difference comparison results and the resource information to be processed into a preset database; wherein, the difference comparison result includes the specific location of the difference and the context corresponding to the specific location of the difference.

[0208] In one exemplary embodiment of this disclosure, the difference comparison result storage module may further be configured to: establish a communication link between the Unreal Engine and the preset database based on a Hypertext Transfer Protocol module natively encapsulated by the Unreal Engine; and store the difference comparison result and the resource information to be processed in the preset database based on the communication link.

[0209] In one exemplary embodiment of this disclosure, the difference comparison result storage module may further be configured to: store the resource information to be processed in the submission information database of the preset database, and store the difference comparison result in the difference comparison database of the preset database.

[0210] In one exemplary embodiment of this disclosure, the difference comparison result storage module may further be configured to: create a communication data protocol structure required by the Unreal Engine through the Hypertext Transfer Protocol module natively encapsulated by the Unreal Engine, and serialize the communication data protocol to obtain a communication data protocol character stream; generate a Hypertext Transfer Protocol request based on the communication data protocol character stream, and send the Hypertext Transfer Protocol request to the preset database based on the Hypertext Transfer Protocol interface; receive response information associated with the Hypertext Transfer Protocol request from the preset database, and establish a communication link between the Unreal Engine and the preset database.

[0211] In one exemplary embodiment of this disclosure, the resource information processing apparatus may further include:

[0212] The interactive interface creation module can be used to create an interactive interface corresponding to the difference comparison results based on the Unreal Engine's Unreal Schematic Interface Designer; wherein, the interactive interface includes a search function area and a search result display area.

[0213] The comparison result query request generation module can be used to generate a comparison result query request in response to the operation event of the query interaction control applied to the search function area, and send the result query request to a preset database;

[0214] The query results display module can be used to receive the query results returned by the preset database after querying the difference comparison results in response to the comparison result query request, and display the query results in the search results display area.

[0215] In one exemplary embodiment of this disclosure, the comparison result query request generation module may further be configured to: in response to an input event acting on a query condition set in the search function area, obtain query parameters required to query the difference comparison result; and in response to an operation event acting on a query interaction control in the search function area, generate a comparison result query request based on the query parameters.

[0216] In one exemplary embodiment of this disclosure, the resource information processing apparatus may further include:

[0217] The first interaction module can be used to respond to an operation event acting on a jump control corresponding to any query result displayed in the search results display area, and jump to the folder containing the filename corresponding to the query result; and / or

[0218] The second interaction module can be used to modify the icon type corresponding to any query result displayed in the search results display area in response to an operation event applied to the modification control corresponding to any query result displayed in the search results display area; and / or

[0219] The third interaction module can be used to modify the filename corresponding to any query result displayed in the search results display area in response to an operation event performed on the modification control corresponding to any query result displayed in the search results display area; and / or

[0220] The fourth interaction module can be used to respond to operation events applied to any query result displayed in the search results display area, and to display the difference comparison results of the file names corresponding to the query results.

[0221] In one exemplary embodiment of this disclosure, the resource information processing apparatus may further include:

[0222] The fifth interaction module can be used to respond to an operation event acting on the log file corresponding to any query result displayed in the search results display area, and to change the display mode of the log file from the first display mode to the second display mode.

[0223] In one exemplary embodiment of this disclosure, the search results display area includes a confirmation control for monitoring and tracking the query results.

[0224] In one exemplary embodiment of this disclosure, the resource information processing apparatus may further include:

[0225] The sixth interaction module can be used to respond to operation events applied to the confirmation control, generate a marking instruction corresponding to the difference comparison result corresponding to the confirmation control, and send the marking instruction to the preset database so that the difference comparison result can be marked as confirmed in the preset database according to the marking instruction.

[0226] The specific details of each module in the above-mentioned resource information processing device have been described in detail in the corresponding resource information processing methods, so they will not be repeated here.

[0227] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0228] Furthermore, although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.

[0229] In an exemplary embodiment of this disclosure, an electronic device capable of implementing the above-described method is also provided.

[0230] Those skilled in the art will understand that various aspects of this disclosure can be implemented as a system, method, or program product. Therefore, various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, collectively referred to herein as a "circuit," "module," or "system."

[0231] The following reference Figure 16 To describe an electronic device 1600 according to such an embodiment of the present disclosure. Figure 16 The electronic device 1600 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.

[0232] like Figure 16As shown, the electronic device 1600 is manifested in the form of a general-purpose computing device. The components of the electronic device 1600 may include, but are not limited to: at least one processing unit 1610, at least one storage unit 1620, a bus 1630 connecting different system components (including storage unit 1620 and processing unit 1610), and a display unit 1640.

[0233] The storage unit stores program code that can be executed by the processing unit 1610, causing the processing unit 1610 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of this disclosure. For example, the processing unit 1610 can perform actions such as... Figure 5 Step S510 shown: Obtain resource information to be processed and determine the resource type of the resource information to be processed; wherein, the resource type includes engine plaintext source code and / or engine binary resources; Step S520: Assign a difference comparison tool to the resource information to be processed according to the resource type; Step S530: Perform difference comparison on the resource information to be processed based on the difference comparison tool to obtain the difference comparison result.

[0234] Storage unit 1620 may include readable media in the form of volatile storage units, such as random access memory (RAM) 16201 and / or cache memory 16202, and may further include read-only memory (ROM) 16203.

[0235] Storage unit 1620 may also include a program / utility 16204 having a set (at least one) program module 16205, such program module 16205 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.

[0236] Bus 1630 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0237] Electronic device 1600 can also communicate with one or more external devices 1700 (e.g., keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with electronic device 1600, and / or any device that enables electronic device 1600 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 1650. Furthermore, electronic device 1600 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1660. As shown, network adapter 1660 communicates with other modules of electronic device 1600 via bus 1630. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0238] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the methods according to the embodiments of this disclosure.

[0239] In exemplary embodiments of this disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible implementations, various aspects of this disclosure may also be implemented as a program product including program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the various exemplary embodiments of this disclosure described in the "Exemplary Methods" section above.

[0240] The program product for implementing the above-described method according to embodiments of the present disclosure may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, the readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0241] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0242] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.

[0243] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0244] Program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0245] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of this disclosure and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0246] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention described herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not invented by this disclosure. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.

Claims

1. A method for processing resource information, characterized in that, include: Obtain the resource information to be processed and determine the resource type of the resource information to be processed; wherein, the resource type includes engine plaintext source code and / or engine binary resources; When the resource type is engine plaintext source code, a first difference comparison tool is assigned to the resource information to be processed; wherein, the first difference comparison tool includes a difference comparison tool applicable to plaintext source code implemented by the source code control system and / or a third-party difference comparison tool applicable to plaintext source code; when the resource type is engine binary resource, a second difference comparison tool is assigned to the resource information to be processed; wherein, the second difference comparison tool includes a difference comparison tool implemented by Unreal Engine; The discrepancy comparison tool is used to perform a discrepancy comparison on the resource information to be processed, and a discrepancy comparison result is obtained. When the resource type is plaintext source code of the engine, the discrepancy comparison result is obtained as follows: A parsing submission entry is generated based on the resource information to be processed and historical resource information, and it is determined whether the Unreal Engine editor is available. If the Unreal Engine editor is available, it is determined whether the version of the original editor used to edit the resource information to be processed and historical resource information included in the parsing submission entry is consistent with the version of the current editor. If the version of the original editor used to edit the resource information to be processed and historical resource information is consistent with the version of the current editor, it is determined whether the resource information to be processed and historical resource information included in the parsing submission entry are files generated based on the Unreal Engine. If the resource information to be processed and historical resource information are files generated based on the Unreal Engine, the parsing submission entry is transmitted to the Unreal Engine server, and a discrepancy comparison is performed on the parsing submission entry using a discrepancy comparison tool applicable to plaintext source code, which is implemented based on the source code control system, to obtain a discrepancy comparison result.

2. The method for processing resource information according to claim 1, characterized in that, Obtain information about the resources to be processed, including: The system monitors operation events acting on preset triggers through the source code control system, including the application programming interface, and obtains the resource information to be processed corresponding to the trigger event when a trigger event acting on the preset trigger is detected. The resource information to be processed includes the current version number of the resource information to be processed, the producer of the resource information to be processed, the submission time of the resource information to be processed, the current log information corresponding to the resource information to be processed, the current branch information, the current operation type information, and various other items in the current modified file list.

3. The method for processing resource information according to claim 1, characterized in that, When the resource type is engine plaintext source code, the historical resource information is determined in the following way: Based on the current version number included in the resource information to be processed, obtain the historical version number of the historical resource information corresponding to the resource information to be processed, and obtain the historical resource information based on the historical version number.

4. The method for processing resource information according to claim 1, characterized in that, The method for processing the resource information further includes: If the version of the original editor used to edit the resource information to be processed and the historical resource information is inconsistent with the version of the current editor, the file status of the resource information to be processed and the historical resource information will be synchronized using the current editor until the version of the original editor used to edit the resource information to be processed and the historical resource information is consistent with the version of the current editor.

5. The method for processing resource information according to claim 1, characterized in that, The method for processing the resource information further includes: If the resource information to be processed and the historical resource information are not files generated based on Unreal Engine, then a third-party difference comparison tool suitable for plaintext source code is used to perform difference comparison on the submitted entries to be parsed to obtain the difference comparison results.

6. The method for processing resource information according to claim 1, characterized in that, When the resource type is an engine binary resource, the difference comparison tool is used to perform a difference comparison on the resource information to be processed, and the difference comparison result is obtained, including: Based on the current version number included in the resource information to be processed, obtain the historical version number of the historical resource information corresponding to the resource information to be processed, and obtain the historical resource information based on the historical version number; Based on the resource information to be processed and the historical resource information, generate a submission entry to be parsed and determine whether the Unreal Engine editor is available; When it is determined that the Unreal Engine editor is available, it is determined whether the version of the original editor used to edit the pending resource information and historical resource information included in the submitted entry to be parsed is consistent with the version of the current editor. If the version of the original editor used to edit the resource information to be processed and the historical resource information is the same as the version of the current editor, then determine whether the resource information to be processed and the historical resource information included in the submitted entry to be parsed are files generated based on Unreal Engine. If the resource information to be processed and the historical resource information are files generated based on Unreal Engine, then within the Unreal Engine server, a difference comparison tool that depends on Unreal Engine is used to perform a difference comparison on the submitted entries to be parsed to obtain the difference comparison result.

7. The method for processing resource information according to claim 1, characterized in that, When the resource type is an engine binary resource, the difference comparison tool is used to perform a difference comparison on the resource information to be processed to obtain the difference comparison result, which also includes: Based on the current version number included in the resource information to be processed, obtain the historical version number of the historical resource information corresponding to the resource information to be processed, and obtain the historical resource information based on the historical version number; Based on the resource information to be processed and the historical resource information, generate a submission entry to be parsed and determine whether the Unreal Engine editor is available; When it is determined that the Unreal Engine editor is available, it is determined whether the version of the original editor used to edit the pending resource information and historical resource information included in the submitted entry to be parsed is consistent with the version of the current editor. If the version of the original editor used to edit the resource information to be processed and the historical resource information is the same as the version of the current editor, then determine whether the resource information to be processed and the historical resource information included in the submitted entry to be parsed are files generated based on Unreal Engine. If the resource information to be processed and the historical resource information are files generated based on Unreal Engine, then the submission entries to be parsed are loaded into the memory of Unreal Engine based on the preset resource loading tool, and the differences between the submission entries to be parsed are compared to obtain the difference comparison results.

8. The method for processing resource information according to claim 6 or 7, characterized in that, The method for processing the resource information further includes: The difference comparison results are displayed through the graphical interface included in the Unreal Engine and / or display tools implemented using the source code control system.

9. The method for processing resource information according to claim 1, characterized in that, The method for processing the resource information further includes: The difference comparison results and the resource information to be processed are stored in a preset database; The difference comparison result includes the specific location of the difference and the context corresponding to the specific location of the difference.

10. The method for processing resource information according to claim 9, characterized in that, The difference comparison results and the resource information to be processed are stored in a preset database, including: A communication link is established between the Unreal Engine and the preset database based on the Hypertext Transfer Protocol module natively encapsulated in Unreal Engine. Based on the communication link, the difference comparison results and the resource information to be processed are stored in a preset database.

11. The method for processing resource information according to claim 10, characterized in that, The difference comparison results and the resource information to be processed are stored in a preset database, including: The resource information to be processed is stored in the submission information database of the preset database, and the difference comparison result is stored in the difference comparison database of the preset database.

12. The method for processing resource information according to claim 10, characterized in that, Based on the Hypertext Transfer Protocol module natively encapsulated in Unreal Engine, a communication link is established between Unreal Engine and the preset database, including: The communication data protocol structure required by Unreal Engine is created by the Hypertext Transfer Protocol module natively encapsulated by Unreal Engine, and the communication data protocol is serialized to obtain a communication data protocol character stream. A Hypertext Transfer Protocol (HTTP) request is generated based on the character stream of the communication data protocol, and the HTTP request is sent to the preset database based on the HTTP interface. The system receives response information from the preset database that is associated with the Hypertext Transfer Protocol request, and establishes a communication link between the Unreal Engine and the preset database.

13. The method for processing resource information according to claim 1, characterized in that, The method for processing the resource information further includes: Based on the Unreal Engine's Unreal Schematic Graphics Interface Designer, an interactive interface corresponding to the difference comparison results is created; wherein, the interactive interface includes a search function area and a search result display area; In response to an operation event of the query interaction control applied to the search function area, a comparison result query request is generated and the result query request is sent to a preset database; The system receives the query results returned by the preset database in response to the comparison result query request, and displays the query results in the search results display area.

14. The method for processing resource information according to claim 13, characterized in that, In response to operation events of the query interaction controls applied to the search function area, a comparison result query request is generated, including: In response to an input event that acts on the query conditions set in the search function area, the query parameters required to query the difference comparison results are obtained; In response to an operation event performed on the query interaction control in the search function area, a comparison result query request is generated based on the query parameters.

15. The method for processing resource information according to claim 13, characterized in that, The method for processing the resource information further includes: In response to an operation event performed on a jump control corresponding to any query result displayed in the search results display area, jump to the folder containing the filename corresponding to the query result; and / or In response to an operation event acting on a modification control corresponding to any query result displayed in the search results display area, modify the icon type corresponding to the query result; and / or In response to an operation event acting on a modification control corresponding to any query result displayed in the search results display area, modify the filename corresponding to the query result; and / or In response to an operation event performed on any query result displayed in the search results display area, display the difference comparison results of the filenames corresponding to the query result.

16. The method for processing resource information according to claim 14, characterized in that, The method for processing the resource information further includes: In response to an operation event acting on the log file corresponding to any query result displayed in the search results display area, the display mode of the log file is changed from a first display mode to a second display mode.

17. The method for processing resource information according to any one of claims 13-16, characterized in that, The search results display area includes a confirmation control for monitoring and tracking the query results.

18. The method for processing resource information according to claim 17, characterized in that, The method for processing the resource information further includes: In response to an operation event applied to the confirmation control, a marking instruction corresponding to the difference comparison result of the confirmation control is generated, and the marking instruction is sent to the preset database so that the difference comparison result is marked for confirmation in the preset database according to the marking instruction.

19. A resource information processing device, characterized in that, include: The resource type determination module is used to acquire the resource information to be processed and determine the resource type of the resource information to be processed; wherein, the resource type includes engine plaintext source code and / or engine binary resources; A difference comparison tool allocation module is used to allocate a first difference comparison tool to the resource information to be processed when the resource type is engine plaintext source code; wherein, the first difference comparison tool includes a difference comparison tool applicable to plaintext source code implemented by a source code control system and / or a third-party difference comparison tool applicable to plaintext source code; and to allocate a second difference comparison tool to the resource information to be processed when the resource type is engine binary resource; wherein, the second difference comparison tool includes a difference comparison tool implemented by Unreal Engine. The difference comparison module is used to perform difference comparison on the resource information to be processed based on the difference comparison tool to obtain the difference comparison result; wherein, when the resource type is engine plaintext source code, the difference comparison result is obtained in the following way: generating a parsing submission entry based on the resource information to be processed and historical resource information, and determining whether the Unreal Engine editor is available; if the Unreal Engine editor is determined to be available, determining whether the version of the original editor used to edit the resource information to be processed and historical resource information included in the parsing submission entry is consistent with the version of the current editor. If the version of the original editor used to edit the resource information to be processed and the historical resource information is the same as the current editor version, then it is determined whether the resource information to be processed and the historical resource information included in the submission entry to be parsed are files generated based on Unreal Engine; if the resource information to be processed and the historical resource information are files generated based on Unreal Engine, then the submission entry to be parsed is transmitted to the Unreal Engine server, and the submission entry to be parsed is compared with the plaintext source code using a difference comparison tool that is implemented based on the source code control system within the Unreal Engine server to obtain the difference comparison result.

20. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the resource information processing method according to any one of claims 1-18.

21. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is configured to execute the resource information processing method according to any one of claims 1-18 by executing the executable instructions.

Citation Information

Patent Citations

  • Accurate resource configuration method and device, server and storage medium

    CN113743084A