CN113590327A - Project resource detection method and device, electronic equipment and storage medium - Google Patents
Project resource detection method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN113590327A CN113590327A CN202110879826.XA CN202110879826A CN113590327A CN 113590327 A CN113590327 A CN 113590327A CN 202110879826 A CN202110879826 A CN 202110879826A CN 113590327 A CN113590327 A CN 113590327A
- Authority
- CN
- China
- Prior art keywords
- resource
- project
- file
- detection
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 211
- 238000000034 method Methods 0.000 claims abstract description 53
- 230000008569 process Effects 0.000 claims abstract description 30
- 230000000712 assembly Effects 0.000 claims description 14
- 238000000429 assembly Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 4
- 238000011161 development Methods 0.000 abstract description 12
- 238000007689 inspection Methods 0.000 abstract description 10
- 238000012360 testing method Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000008676 import Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000009877 rendering Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000005266 casting Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 230000036316 preload Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
本发明实施例公开了一种项目资源检测方法、装置、电子设备及存储介质。该方法通过在目标引擎的编辑器的启动过程中加载的预先构建的资源检测钩子文件,以及资源服务器中的目标加载项目资源,对本地加载项目资源进行检测,进而根据检测的结果确定是否继续执行开启目标引擎的编辑器的操作,实现了编辑器启动过程中项目资源的自动检查,无需在编辑器完全启动之后人工检查项目资源是否过期,使得过期的项目资源可以在编辑器启动过程中被快速发现,提高了项目资源的检查效率,进一步的,提高了项目的开发效率;同时,避免了由于项目资源过期所导致的编辑器的重新启动,减少了引擎运行占用内存。
The embodiments of the present invention disclose a project resource detection method, device, electronic device and storage medium. The method detects the local loading project resource through the pre-built resource detection hook file loaded during the startup process of the editor of the target engine and the target loading project resource in the resource server, and then determines whether to continue the execution according to the detection result. The operation of opening the editor of the target engine realizes the automatic inspection of project resources during the editor startup process. It is not necessary to manually check whether the project resources are expired after the editor is fully started, so that the expired project resources can be quickly deleted during the editor startup process. It is found that the inspection efficiency of project resources is improved, and further, the development efficiency of the project is improved; at the same time, the restart of the editor caused by the expiration of project resources is avoided, and the memory occupied by the engine operation is reduced.
Description
技术领域technical field
本发明实施例涉及计算机应用技术领域,尤其涉及一种项目资源检测方法、装置、电子设备及存储介质。Embodiments of the present invention relate to the technical field of computer applications, and in particular, to a project resource detection method, device, electronic device, and storage medium.
背景技术Background technique
在项目引擎编辑器启动的过程中,往往需要加载项目开发或者运行所需要的各种各样的项目资源。如果加载了过期的项目资源,会在项目运行中报错或者出现显示错误,此时需要关闭编辑器,然后手动更新项目资源,再重新启动编辑器,才能够使用插件。In the process of starting the project engine editor, it is often necessary to load various project resources required for project development or operation. If an expired project resource is loaded, an error will be reported or a display error will occur during the project operation. At this time, you need to close the editor, then manually update the project resource, and then restart the editor before you can use the plug-in.
目前,检查项目资源是否过期的方式是,在编辑器启动之后,由专业的技术人员手动进行检查,其检查时间存在一定的滞后性;如果存在项目资源过期的情况,则需要重启编辑器,由于编辑器的启动过程中会涉及到很多程序集的加载以及资源的导入,会造成系统资源的负担以及时间浪费,从而影响项目开发效率。At present, the way to check whether the project resources are expired is to manually check by professional technicians after the editor is started, and the check time has a certain lag; if the project resources are expired, the editor needs to be restarted, because The startup process of the editor will involve the loading of many assemblies and the import of resources, which will cause the burden of system resources and waste of time, thus affecting the efficiency of project development.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种项目资源检测方法、装置、电子设备及存储介质,以提高项目资源的检测效率,进一步的,提高项目的开发效率。The embodiments of the present invention provide a method, device, electronic device and storage medium for detecting project resources, so as to improve the detection efficiency of project resources, and further, improve the development efficiency of projects.
第一方面,本发明实施例提供了一种项目资源检测方法,包括:In a first aspect, an embodiment of the present invention provides a method for detecting project resources, including:
在目标引擎的编辑器的启动过程中,加载预先构建的资源检测钩子文件;During the startup process of the editor of the target engine, load the pre-built resource detection hook file;
基于所述资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测;Detecting the local loading item resource based on the resource detection hook file and the target loading item resource in the resource server;
基于检测结果确定是否继续执行开启目标引擎的编辑器的操作。Based on the detection result, it is determined whether to continue executing the operation of opening the editor of the target engine.
可选的,所述基于所述资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测,包括:Optionally, the detection of the local load item resource based on the resource detection hook file and the target load item resource in the resource server includes:
基于所述资源检测钩子文件将本地加载项目资源的本地配置文件与资源服务器中的目标加载项目资源的远端配置文件进行比对。Based on the resource detection hook file, the local configuration file of the locally loaded project resource is compared with the remote configuration file of the target loaded project resource in the resource server.
可选的,所述基于所述资源检测钩子文件将本地加载项目资源的本地配置文件与资源服务器中的目标加载项目资源的远端配置文件进行比对,包括:Optionally, comparing the local configuration file of the locally loaded project resource with the remote configuration file of the target loaded project resource in the resource server based on the resource detection hook file, including:
基于所述资源检测钩子文件中的资源检测类,将本地加载项目资源的本地配置文件的本地更新时间信息与资源服务器中的目标加载项目资源的远端配置文件的远端更新时间信息进行比对。Based on the resource detection class in the resource detection hook file, the local update time information of the local configuration file of the locally loaded project resource is compared with the remote update time information of the remote configuration file of the target loaded project resource in the resource server .
可选的,所述基于检测结果确定是否继续执行开启目标引擎的编辑器的操作,包括:Optionally, determining whether to continue to perform the operation of starting the editor of the target engine based on the detection result includes:
如果所述本地配置文件与所述远端配置文件不一致,则基于所述资源检测钩子文件中的资源更新类将所述本地加载项目资源更新为所述目标加载项目资源,并继续执行开启目标引擎的编辑器的操作。If the local configuration file is inconsistent with the remote configuration file, update the local loading project resource to the target loading project resource based on the resource update class in the resource detection hook file, and continue to start the target engine editor operations.
可选的,所述基于所述资源检测钩子文件中的资源更新类将所述本地加载项目资源更新为所述目标加载项目资源,包括:Optionally, the updating of the local loading item resource to the target loading item resource based on the resource update class in the resource detection hook file includes:
调用所述资源检测钩子文件中的资源更新类,基于所述远端配置文件从所述资源服务器中拉取所述目标加载项目资源,并将所述本地加载项目资源替换为对应的所述目标加载项目资源。Invoke the resource update class in the resource detection hook file, pull the target loading project resource from the resource server based on the remote configuration file, and replace the local loading project resource with the corresponding target Load project resources.
可选的,所述基于检测结果确定是否继续执行开启目标引擎的编辑器的操作,包括:Optionally, determining whether to continue to perform the operation of starting the editor of the target engine based on the detection result includes:
如果所述本地配置文件与所述远端配置文件一致,则继续执行开启目标引擎的编辑器的操作。If the local configuration file is consistent with the remote configuration file, the operation of opening the editor of the target engine is continued.
可选的,还包括执行下述操作中的至少一项:Optionally, it also includes performing at least one of the following operations:
加载所述目标引擎的原生代码库;Load the native code base of the target engine;
加载所述目标引擎的引擎插件层程序集;Load the engine plug-in layer assembly of the target engine;
加载预先构建的项目工程程序集;Load pre-built project engineering assemblies;
加载预先构建的第三方软件开发工具包程序集;Load pre-built third-party SDK assemblies;
所述加载预先构建的资源检测钩子文件,包括下述操作中的至少一项:The loading of the pre-built resource detection hook file includes at least one of the following operations:
当所述目标引擎的原生代码库加载完成时,加载预先构建的资源检测钩子文件;或者,When the native code base of the target engine is loaded, load the pre-built resource detection hook file; or,
当所述目标引擎的引擎插件层程序集加载完成时,加载预先构建的资源检测钩子文件;或者,When the engine plug-in layer assembly of the target engine is loaded, load the pre-built resource detection hook file; or,
当预先构建的项目工程程序集加载完成时,加载预先构建的资源检测钩子文件;又或者,When the pre-built project project assembly is loaded, load the pre-built resource detection hook file; or,
当预先构建的第三方软件开发工具包程序集加载完成时,加载预先构建的资源检测钩子文件。Loads the pre-built resource detection hook file when the pre-built third-party SDK assembly is loaded.
第二方面,本发明实施例还提供了一种项目资源检测装置,包括:In a second aspect, an embodiment of the present invention also provides a device for detecting project resources, including:
钩子文件加载模块,用于在目标引擎的编辑器的启动过程中,加载预先构建的资源检测钩子文件;The hook file loading module is used to load the pre-built resource detection hook file during the startup process of the editor of the target engine;
项目资源检测模块,用于基于所述资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测;a project resource detection module, configured to detect local loading project resources based on the resource detection hook file and the target loading project resources in the resource server;
开启操作执行模块,用于基于检测结果确定是否继续执行开启目标引擎的编辑器的操作。The starting operation execution module is configured to determine whether to continue to execute the operation of starting the editor of the target engine based on the detection result.
第三方面,本发明实施例还提供了一种电子设备,所述电子设备包括:In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序,storage means for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本发明任意实施例提供的项目资源检测方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the item resource detection method provided by any embodiment of the present invention.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明任意实施例提供的项目资源检测方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the project resource detection method provided by any embodiment of the present invention.
上述发明中的实施例具有如下优点或有益效果:The embodiments in the above invention have the following advantages or beneficial effects:
通过在目标引擎的编辑器的启动过程中加载的预先构建的资源检测钩子文件,以及资源服务器中的目标加载项目资源,对本地加载项目资源进行检测,进而根据检测的结果确定是否继续执行开启目标引擎的编辑器的操作,实现了编辑器启动过程中项目资源的自动检测,无需在编辑器完全启动之后人工检测项目资源是否过期,使得过期的项目资源可以在编辑器启动过程中被快速发现,提高了项目资源的检测效率,进一步的,提高了项目的开发效率;同时,避免了由于项目资源过期所导致的编辑器的重新启动,减少了引擎运行占用内存。Through the pre-built resource detection hook file loaded during the startup process of the editor of the target engine, and the target loading project resource in the resource server, the local loading project resource is detected, and then according to the detection result, it is determined whether to continue to execute the opening target. The operation of the editor of the engine realizes the automatic detection of project resources during the editor startup process. It is not necessary to manually detect whether the project resources are expired after the editor is fully started, so that expired project resources can be quickly found during the editor startup process. The detection efficiency of project resources is improved, and further, the development efficiency of the project is improved; at the same time, the restart of the editor caused by the expiration of the project resources is avoided, and the memory occupied by the engine operation is reduced.
附图说明Description of drawings
为了更加清楚地说明本发明示例性实施例的技术方案,下面对描述实施例中所需要用到的附图做一简单介绍。显然,所介绍的附图只是本发明所要描述的一部分实施例的附图,而不是全部的附图,对于本领域普通技术人员,在不付出创造性劳动的前提下,还可以根据这些附图得到其他的附图。In order to illustrate the technical solutions of the exemplary embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in describing the embodiments. Obviously, the introduced drawings are only a part of the drawings of the embodiments to be described in the present invention, rather than all drawings. For those of ordinary skill in the art, without creative work, they can also obtain the drawings according to these drawings. Additional drawings.
图1为本发明实施例一所提供的一种项目资源检测方法的流程示意图;1 is a schematic flowchart of a method for detecting project resources according to Embodiment 1 of the present invention;
图2为本发明实施例二所提供的一种项目资源检测方法的流程示意图;2 is a schematic flowchart of a method for detecting project resources according to Embodiment 2 of the present invention;
图3为本发明实施例三所提供的一种项目资源检测方法的流程示意图;3 is a schematic flowchart of a method for detecting project resources according to Embodiment 3 of the present invention;
图4为本发明实施例四所提供的一种项目资源检测装置的结构示意图;4 is a schematic structural diagram of a device for detecting project resources according to Embodiment 4 of the present invention;
图5为本发明实施例五所提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to Embodiment 5 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.
实施例一Example 1
图1为本发明实施例一提供的一种项目资源检测方法的流程示意图,本实施例可适用于在启动引擎的编辑器的过程中,对项目资源进行检测的情况,该方法可以由项目资源检测装置来执行,该装置可以由硬件和/或软件来实现,该方法具体包括如下步骤:1 is a schematic flowchart of a method for detecting project resources according to Embodiment 1 of the present invention. This embodiment can be applied to the case where project resources are detected in the process of starting the editor of the engine. The detection device is implemented, and the device can be implemented by hardware and/or software, and the method specifically includes the following steps:
S110、在目标引擎的编辑器的启动过程中,加载预先构建的资源检测钩子文件。S110. During the startup process of the editor of the target engine, load a pre-built resource detection hook file.
其中,目标引擎可以是当前正在启动编辑器的引擎。示例性的,目标引擎可以是为开发者提供大量核心技术、基础支持或功能调用的工具。如,目标引擎可以是游戏引擎,包括但不限于Unity引擎、虚幻引擎、脚本引擎、物理引擎、渲染引擎以及网络引擎等。以渲染引擎为例,利用渲染引擎可以把人物模型、动画、光影、特效等所有效果实时计算出来并展示在屏幕上;以物理引擎为例,利用物理引擎可以使游戏中物体的运动遵循固定的规律,如,规定角色跳起高度、跑步速度、飞行速度、招式的施放轨迹等。Wherein, the target engine can be the engine that is currently starting the editor. Exemplarily, the target engine may be a tool that provides developers with a large number of core technologies, basic support, or function calls. For example, the target engine may be a game engine, including but not limited to a Unity engine, an Unreal engine, a scripting engine, a physics engine, a rendering engine, a network engine, and the like. Taking the rendering engine as an example, the rendering engine can be used to calculate all the effects of character models, animations, light and shadow, special effects, etc. in real time and display them on the screen; taking the physics engine as an example, the physical engine can be used to make the motion of objects in the game follow a fixed value. Rules, for example, specify the character's jumping height, running speed, flight speed, and the casting trajectory of moves.
在本实施例中,目标引擎的编辑器的启动过程可以包括如下步骤:1、初始化目标引擎的基础配置;2、编译目标引擎的全部代码;3、导入目标引擎的项目资源;4、导入目标引擎的数值文件。In this embodiment, the starting process of the editor of the target engine may include the following steps: 1. Initialize the basic configuration of the target engine; 2. Compile all the codes of the target engine; 3. Import the project resources of the target engine; 4. Import the target The value file for the engine.
其中,编译的目标引擎的全部代码包括:目标引擎的原生代码库、目标引擎的插件层代码、目标引擎的项目工程的全部代码以及目标引擎的第三方库或软件开发工具包的插件库。目标引擎的项目资源可以包括角色模型、建筑模型、武器模型、贴图、动作、骨骼、prefab预制体等资源。目标引擎的数值文件可以是描述模型基本数值、动作相关数值或场景相关数值的文件;如,模型高度数值、武器外观数值、武器发射数值、人物动作速度数值、特效时间数值、场景透明度数值等。Wherein, all the compiled codes of the target engine include: the native code base of the target engine, the plug-in layer code of the target engine, the whole code of the project project of the target engine, and the third-party library of the target engine or the plug-in library of the software development kit. The project resources of the target engine can include character models, building models, weapon models, textures, actions, bones, prefabs and other resources. The value file of the target engine can be a file describing the basic value of the model, the value related to the action, or the value related to the scene; for example, the value of the model height, the value of the appearance of the weapon, the value of the weapon launch, the value of the character's movement speed, the value of the special effect time, the value of the scene transparency, etc.
具体的,本实施例可以在上述目标引擎的编辑器的启动过程中的任一步骤中,加载预先构建的资源检测钩子文件。Specifically, in this embodiment, a pre-built resource detection hook file may be loaded in any step in the startup process of the editor of the target engine.
在本实施例中,预先构建的资源检测钩子文件可以是用于进行项目资源检测的文件。具体的,资源检测钩子文件可以包含调用项目资源检测方法的指令。资源检测钩子文件可以是hook文件,如,.dll文件、.lab文件等。示例性的,资源检测钩子文件可以是EnginePreEntryHook.dll文件。In this embodiment, the pre-built resource detection hook file may be a file for performing project resource detection. Specifically, the resource detection hook file may contain an instruction to call the project resource detection method. The resource detection hook file may be a hook file, such as a .dll file, a .lab file, and the like. Exemplarily, the resource detection hook file may be the EnginePreEntryHook.dll file.
可选的,可以基于目标引擎的C#生成dll方法,预先构建一个工程EnginePreEntryHook,从而生成一个EnginePreEntryHook.dll文件,将其作为资源检测钩子文件。可选的,EnginePreEntryHook.dll文件可以放置在项目工程内的EngineDll目录下,并与其它引擎内部的dll文件分开独立维护;在每次编写EnginePreEntryHook内部代码之后,自动映射更新项目工程内EngineDll目录下面的EnginePreEntryHook.dll文件。Optionally, a dll method can be generated based on the C# of the target engine, a project EnginePreEntryHook can be pre-built, so as to generate an EnginePreEntryHook.dll file, which is used as a resource detection hook file. Optionally, the EnginePreEntryHook.dll file can be placed in the EngineDll directory in the project project, and maintained independently from the dll files in other engines; after each internal code of EnginePreEntryHook is written, the files under the EngineDll directory in the project project are automatically mapped and updated. EnginePreEntryHook.dll file.
在一种实施方式中,为了进一步提高项目资源的检测效率,可以在上述编辑器的启动过程中的导入目标引擎的数值文件之前,加载预先构建的资源检测钩子文件,以在导入数值文件之前检测项目资源,进而减少项目资源的检测时间;或者,在导入目标引擎的项目资源之前,加载预先构建的资源检测钩子文件,以在导入项目资源之前检测项目资源,在项目资源过期时及时更新项目资源,相比于在导入项目资源之后检测项目资源,可以在项目资源过期并更新项目资源后,无需重新再次导入项目资源,减少了引擎的编辑器的启动时间,进而减少了项目的开发时间。In one embodiment, in order to further improve the detection efficiency of project resources, a pre-built resource detection hook file may be loaded before importing the numerical file of the target engine in the startup process of the above-mentioned editor, so as to detect before importing the numerical file. project resources, thereby reducing the detection time of project resources; or, before importing project resources of the target engine, load a pre-built resource detection hook file to detect project resources before importing project resources, and update project resources in time when project resources expire , compared to detecting project resources after importing project resources, after project resources expire and project resources are updated, there is no need to import project resources again, which reduces the startup time of the engine's editor, thereby reducing the development time of the project.
在另一种实施方式中,考虑到编译目标引擎的全部代码的操作,可能会对项目资源产生更改,因此,还可以在编译目标引擎的全部代码之后,导入目标引擎的项目资源之前,加载预先构建的资源检测钩子文件,进而在保证项目资源的检测准确率的同时,提高项目资源的检测效率。In another implementation manner, considering that the operation of compiling all the code of the target engine may cause changes to the project resources, therefore, after compiling all the codes of the target engine and before importing the project resources of the target engine, preload the The constructed resource detection hook file improves the detection efficiency of project resources while ensuring the detection accuracy of project resources.
在另一种实施方式中,还可以在编译目标引擎的全部代码的过程中,加载预先构建的资源检测钩子文件。即,本实施例提供项目资源检测方法还包括执行下述操作中的至少一项:In another implementation manner, a pre-built resource detection hook file may also be loaded in the process of compiling the entire code of the target engine. That is, the method for detecting project resources provided in this embodiment further includes performing at least one of the following operations:
加载目标引擎的原生代码库;加载目标引擎的引擎插件层程序集;加载预先构建的项目工程程序集;加载预先构建的第三方软件开发工具包程序集;Load the native code library of the target engine; load the engine plug-in layer assembly of the target engine; load the pre-built project engineering assembly; load the pre-built third-party software development kit assembly;
所述加载预先构建的资源检测钩子文件,包括下述操作中的至少一项:The loading of the pre-built resource detection hook file includes at least one of the following operations:
当目标引擎的原生代码库加载完成时,加载预先构建的资源检测钩子文件;或者,当目标引擎的引擎插件层程序集加载完成时,加载预先构建的资源检测钩子文件;或者,当预先构建的项目工程程序集加载完成时,加载预先构建的资源检测钩子文件;又或者,当预先构建的第三方软件开发工具包程序集加载完成时,加载预先构建的资源检测钩子文件。When the native code library of the target engine is loaded, load the pre-built resource detection hook file; or, when the engine plug-in layer assembly of the target engine is loaded, load the pre-built resource detection hook file; or, when the pre-built resource detection hook file is loaded When the project engineering assembly is loaded, the pre-built resource detection hook file is loaded; or, when the pre-built third-party software development kit assembly is loaded, the pre-built resource detection hook file is loaded.
其中,目标引擎的原生代码库可以包含目标引擎的基础代码;如,原生代码库可以包含UnityEngine系列dll文件。目标引擎的引擎插件层程序集可以包含插件层代码或调用原生代码的程序代码;如,包含package和plugin系列的dll文件。预先构建的项目工程程序集可以包含项目工程的全部程序代码;如游戏工程的全部程序代码,可以是Project系列的dll文件代码。预先构建的第三方软件开发工具包程序集可以包含第三方库或SDK(Software Development Kit,软件开发工具包)的插件库文件。示例性的,第三方软件开发工具包程序集可以是音效Wwise、游戏SDK等。Wherein, the native code base of the target engine may contain the basic code of the target engine; for example, the native code base may contain UnityEngine series dll files. The engine plug-in layer assembly of the target engine can contain plug-in layer code or program code that calls native code; for example, contains dll files of package and plugin series. The pre-built project project assembly can contain all the program codes of the project project; for example, all the program codes of the game project can be the dll file codes of the Project series. The pre-built third-party software development kit assembly may include third-party libraries or plug-in library files of SDK (Software Development Kit, software development kit). Exemplarily, the third-party software development kit assemblies may be sound effects Wwise, game SDKs, and the like.
具体的,在该可选的实施方式中,可以包括加载目标引擎的原生代码库、加载目标引擎的引擎插件层程序集、加载预先构建的项目工程程序集以及加载预先构建的第三方软件开发工具包程序集的至少一项,以对原生代码库、引擎插件层程序集、项目工程程序集、第三方软件开发工具包程序集中的至少一项进行编译。当然,本实施例提供项目资源检测方法还可以包括上述全部加载步骤,需要说明的是,在包括全部加载步骤时,加载顺序为:原生代码库、引擎插件层程序集、项目工程程序集以及第三方软件开发工具包程序集。Specifically, in this optional implementation, it may include loading the native code library of the target engine, loading the engine plug-in layer assembly of the target engine, loading pre-built project engineering assemblies, and loading pre-built third-party software development tools At least one of package assemblies to compile at least one of native code libraries, engine plug-in layer assemblies, project engineering assemblies, and third-party software development kit assemblies. Of course, the project resource detection method provided in this embodiment may also include all the above loading steps. It should be noted that when all the loading steps are included, the loading sequence is: native code library, engine plug-in layer assembly, project engineering assembly, and the first Third-party software development kit assemblies.
在该可选的实施方式中,可以是在目标引擎的原生代码库加载完成时,加载资源检测钩子文件;或者,在目标引擎的引擎插件层程序集加载完成时,加载资源检测钩子文件;或者,在预先构建的项目工程程序集加载完成时,加载预先构建的资源检测钩子文件;或者,在预先构建的第三方软件开发工具包程序集加载完成时,加载预先构建的资源检测钩子文件。通过在原生代码库、引擎插件层程序集、项目工程程序集或第三方软件开发工具包程序集加载完成时,加载预先构建的资源检测钩子文件,可以在加载引擎插件层程序集、项目工程程序集或第三方软件开发工具包程序集之前,完成项目资源的检测,进一步地减少了项目资源的检查时间,提高了项目资源的检查效率,并且,减少了引擎的编辑器的启动时间,极大地提高了项目的开发效率。In this optional implementation manner, when the native code base of the target engine is loaded, the resource detection hook file is loaded; or, when the engine plug-in layer assembly of the target engine is loaded, the resource detection hook file is loaded; or , when the pre-built project engineering assembly is loaded, load the pre-built resource detection hook file; or, when the pre-built third-party software development kit assembly is loaded, load the pre-built resource detection hook file. By loading the pre-built resource detection hook file when the native code library, engine plug-in layer assembly, project engineering assembly or third-party software development kit assembly is loaded, you can load the engine plug-in layer assembly, project engineering program The inspection of project resources is completed before the assembly or third-party software development kit assembly, which further reduces the inspection time of project resources, improves the inspection efficiency of project resources, and reduces the startup time of the engine editor, which greatly reduces the inspection time of project resources. Improve project development efficiency.
可选的,可以通过修改目标引擎的引擎加载代码,将资源检测钩子文件的送入至第一优先加载队列(原生代码库加载队列)中,以在原生代码库加载完成后,加载资源检测钩子文件。该方法仅将资源检测钩子文件添加至第一优先加载队列即可,无需对整个目标引擎进行调整,提高了本实施例提供的项目资源检测方法的适用性。Optionally, by modifying the engine loading code of the target engine, the resource detection hook file can be sent to the first priority loading queue (native code library loading queue), so that the resource detection hook can be loaded after the native code library is loaded. document. This method only needs to add the resource detection hook file to the first priority loading queue, and does not need to adjust the entire target engine, which improves the applicability of the project resource detection method provided by this embodiment.
当然,本实施例还可以在目标引擎的原生代码库编译完成时,加入一个hook(资源检测钩子文件)进行编译,在预先构建的项目工程程序集编译完成时,通过hook触发对项目资源进行检测。Of course, in this embodiment, a hook (resource detection hook file) can also be added to compile when the native code base of the target engine is compiled, and when the pre-built project engineering assembly is compiled, the project resources can be detected by hook triggering .
S120、基于资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测。S120. Detect the local load item resource based on the resource detection hook file and the target load item resource in the resource server.
其中,本地加载项目资源可以是本地存储的启动目标引擎的编辑器所对应的项目资源。目标加载项目资源可以是资源服务器中存储的启动目标引擎的编辑器所需的项目资源。资源服务器可以在服务器本地存储各引擎对应的项目资源;或者,与存储项目资源的仓库相连接,从仓库中读取项目资源。The locally loaded project resource may be a locally stored project resource corresponding to the editor that starts the target engine. The target load project resource may be a project resource required to start the editor of the target engine stored in the resource server. The resource server can store the project resources corresponding to each engine locally on the server; or, connect to the warehouse storing the project resources, and read the project resources from the warehouse.
示例性的,可以根据目标引擎的引擎标识在资源服务器中查询目标引擎对应的目标加载项目资源。需要说明的是,目标加载项目资源可以是目标引擎对应的最新版本的项目资源,也可以不是最新版本的项目资源。如,引擎a对应的目标加载项目资源的版本为4.1.1;引擎b对应的目标加载项目资源的版本为4.1.2。Exemplarily, the resource server may be queried for the target loading project resource corresponding to the target engine according to the engine identifier of the target engine. It should be noted that the target loading project resource may be the project resource of the latest version corresponding to the target engine, or may not be the project resource of the latest version. For example, the version of the target loading project resource corresponding to engine a is 4.1.1; the version of the target loading project resource corresponding to engine b is 4.1.2.
具体的,基于资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测,可以是:通过资源检测钩子文件触发基于资源服务器中的目标加载项目资源对本地加载项目资源进行检测的操作。Specifically, detecting the local loading project resource based on the resource detection hook file and the target loading project resource in the resource server may be: triggering the detection of the local loading project resource based on the target loading project resource in the resource server through the resource detection hook file. operation.
可选的,基于资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测,可以包括下述中的至少一种:Optionally, detecting the local load item resource based on the resource detection hook file and the target load item resource in the resource server may include at least one of the following:
基于资源检测钩子文件和资源服务器中的目标加载项目资源的资源版本对本地加载项目资源的资源版本进行检测;Detect the resource version of the locally loaded project resource based on the resource detection hook file and the resource version of the target loaded project resource in the resource server;
基于资源检测钩子文件和资源服务器中的目标加载项目资源的版本时间对本地加载项目资源的版本时间进行检测;Detect the version time of the locally loaded project resource based on the resource detection hook file and the version time of the target loaded project resource in the resource server;
基于资源检测钩子文件和资源服务器中的目标加载项目资源的资源版本、资源更新时间,对本地加载项目资源的资源版本、资源更新时间进行检测;Based on the resource detection hook file and the resource version and resource update time of the target loading project resource in the resource server, the resource version and resource update time of the locally loaded project resource are detected;
基于资源检测钩子文件和资源服务器中的目标加载项目资源的资源内容对本地加载项目资源的资源内容进行检测。The resource content of the locally loaded project resource is detected based on the resource detection hook file and the resource content of the target loaded project resource in the resource server.
其中,若目标加载项目资源的资源版本与本地加载项目资源的资源版本一致,则检测结果可以为检测通过。或者,若目标加载项目资源的资源更新时间与本地加载项目资源的资源更新时间一致,则检测结果可以为检测通过。或者,若目标加载项目资源的资源内容与本地加载项目资源的资源内容一致,则检测结果可以为检测通过。Wherein, if the resource version of the target loading project resource is consistent with the resource version of the local loading project resource, the detection result may be that the detection is passed. Alternatively, if the resource update time of the target loading item resource is consistent with the resource updating time of the local loading item resource, the detection result may be that the detection is passed. Or, if the resource content of the target loading item resource is consistent with the resource content of the local loading item resource, the detection result may be that the detection is passed.
S130、基于检测结果确定是否继续执行开启目标引擎的编辑器的操作。S130. Determine, based on the detection result, whether to continue to perform the operation of starting the editor of the target engine.
在本实施例中,若检测结果为检测通过,则可以确定本地加载项目资源没有过期,可以继续执行启动目标引擎的编辑器的操作。若检测结果为检测不通过,则可以暂停执行启动目标引擎的编辑器的操作,根据目标加载项目资源对本地加载项目资源进行更新,基于更新后的本地加载项目资源,继续执行启动目标引擎的编辑器的操作。In this embodiment, if the detection result is that the detection passes, it can be determined that the locally loaded project resource has not expired, and the operation of starting the editor of the target engine can be continued. If the detection result is that the detection fails, you can suspend the operation of starting the editor of the target engine, update the local loading project resource according to the target loading project resource, and continue to execute the editing of starting the target engine based on the updated local loading project resource. operation of the device.
示例性的,若在目标引擎的原生代码库加载完成时加载资源检测钩子文件,在预先构建的项目工程程序集加载完成时,基于资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测,检测结果为检测通过,则可以继续执行加载预先构建的第三方软件开发工具包程序集的操作,从而继续执行启动目标引擎的编辑器的操作;检测结果为检测不通过,则可以停止执行启动目标引擎的编辑器的操作。Exemplarily, if the resource detection hook file is loaded when the native code base of the target engine is loaded, when the pre-built project assembly is loaded, the project resource is loaded locally based on the resource detection hook file and the target loading in the resource server. If the project resource is tested, and the test result is that the test is passed, the operation of loading the pre-built third-party software development kit assembly can continue to execute the operation of starting the editor of the target engine; the test result is that the test fails, then You can stop the execution of the editor that started the target engine.
本实施例的技术方案,通过在目标引擎的编辑器的启动过程中加载的预先构建的资源检测钩子文件,以及资源服务器中的目标加载项目资源,对本地加载项目资源进行检测,进而根据检测的结果确定是否继续执行开启目标引擎的编辑器的操作,实现了编辑器启动过程中项目资源的自动检查,无需在编辑器完全启动之后人工检查项目资源是否过期,使得过期的项目资源可以在编辑器启动过程中被快速发现,提高了项目资源的检查效率,进一步的,减少了引擎的编辑器的启动时间,提高了项目的开发效率;同时,避免了由于项目资源过期所导致的编辑器的重新启动,减少了引擎运行占用内存。In the technical solution of this embodiment, the local loading project resource is detected by using the pre-built resource detection hook file loaded during the startup process of the editor of the target engine, and the target loading project resource in the resource server, and then according to the detected The result determines whether to continue the operation of opening the editor of the target engine, which realizes the automatic inspection of project resources during the editor startup process, and does not need to manually check whether the project resources are expired after the editor is fully started, so that expired project resources can be used in the editor. It is quickly discovered during the startup process, which improves the inspection efficiency of project resources, further reduces the startup time of the engine editor, and improves the development efficiency of the project; at the same time, it avoids the re-editing of the editor caused by the expiration of project resources. Startup, reducing the memory occupied by the engine running.
在现有技术需要完全启动编辑器,若编辑器反映故障,则人工更新项目资源的方案中,编辑器的完全启动至少需要20分钟,因此,现有技术的方案至少需要20分钟来完成项目资源的检测,而本申请提出的项目资源检测方法,可以在较短的时间内快速完成项目资源的检测,例如,在目标引擎的编辑器的启动过程的30秒内,检测出项目资源是否过期,并在项目资源过期时自动拉取最新的项目资源。In the prior art, the editor needs to be fully started. If the editor reflects a fault, the project resource is manually updated. It takes at least 20 minutes to fully start the editor. Therefore, the prior art solution requires at least 20 minutes to complete the project resource. However, the project resource detection method proposed in this application can quickly complete the detection of project resources in a relatively short period of time. And automatically pull the latest project resources when the project resources expire.
实施例二Embodiment 2
图2为本发明实施例二提供的一种项目资源检测方法的流程示意图,本实施例在上述各实施例的基础上,可选的,基于资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测,包括:基于资源检测钩子文件将本地加载项目资源的本地配置文件与资源服务器中的目标加载项目资源的远端配置文件进行比对。2 is a schematic flowchart of a project resource detection method according to Embodiment 2 of the present invention. On the basis of the above embodiments, this embodiment optionally loads project resources based on a resource detection hook file and a target in a resource server The detection of the locally loaded project resource includes: comparing the local configuration file of the locally loaded project resource with the remote configuration file of the target loaded project resource in the resource server based on the resource detection hook file.
其中与上述各实施例相同或相应的术语的解释在此不再赘述。参见图2,本实施例提供的项目资源检测方法包括以下步骤:The explanations of terms that are the same as or corresponding to the above embodiments are not repeated here. Referring to FIG. 2, the project resource detection method provided by this embodiment includes the following steps:
S210、在目标引擎的编辑器的启动过程中,加载预先构建的资源检测钩子文件。S210. During the startup process of the editor of the target engine, load a pre-built resource detection hook file.
S220、基于资源检测钩子文件将本地加载项目资源的本地配置文件与资源服务器中的目标加载项目资源的远端配置文件进行比对。S220. Compare the local configuration file of the locally loaded project resource with the remote configuration file of the target loaded project resource in the resource server based on the resource detection hook file.
其中,本地配置文件可以是用于描述本地加载项目资源的资源信息的文件;远端配置文件可以是用于描述目标加载项目资源的资源信息的文件。可选的,远端配置文件可以存储在资源服务器中,或者,存储在资源服务器对应的数据库中。示例性的,本实施例可以通过目标引擎的引擎标识,从资源服务器中读取目标加载项目资源的远端配置文件。Wherein, the local configuration file may be a file used to describe the resource information of the locally loaded project resource; the remote configuration file may be a file used to describe the resource information of the target loaded project resource. Optionally, the remote configuration file may be stored in the resource server, or stored in a database corresponding to the resource server. Exemplarily, in this embodiment, the remote configuration file of the target loading project resource may be read from the resource server through the engine identifier of the target engine.
在本实施例中,基于资源检测钩子文件将本地加载项目资源的本地配置文件与资源服务器中的目标加载项目资源的远端配置文件进行比对,可以是:通过资源检测钩子文件,触发将本地加载项目资源的本地配置文件与资源服务器中的目标加载项目资源的远端配置文件进行比对的操作。In this embodiment, based on the resource detection hook file, the local configuration file of the locally loaded project resource is compared with the remote configuration file of the target loaded project resource in the resource server. The operation of comparing the local configuration file of the loaded project resource with the remote configuration file of the target loaded project resource in the resource server.
具体的,将本地加载项目资源的本地配置文件与资源服务器中的目标加载项目资源的远端配置文件进行比对,可以是:将本地配置文件的文件版本与远端配置文件的文件版本进行比对;或者,将本地配置文件的文件内容与远端配置文件的文件内容进行比对。Specifically, comparing the local configuration file of the locally loaded project resource with the remote configuration file of the target loaded project resource in the resource server may be: comparing the file version of the local configuration file with the file version of the remote configuration file Yes; or, compare the file content of the local configuration file with the file content of the remote configuration file.
在一种实施方式中,将本地配置文件的文件内容与远端配置文件的文件内容进行比对,可以是:确定本地配置文件对应的本地文件哈希值以及远端配置文件对应的远端文件哈希值,将本地文件哈希值与远端文件哈希值进行比对。In one embodiment, comparing the file content of the local configuration file with the file content of the remote configuration file may be: determining the hash value of the local file corresponding to the local configuration file and the remote file corresponding to the remote configuration file Hash value, compare the local file hash value with the remote file hash value.
S230、基于检测结果确定是否继续执行开启目标引擎的编辑器的操作。S230. Determine, based on the detection result, whether to continue to perform the operation of starting the editor of the target engine.
具体的,若本地配置文件的文件版本与远端配置文件的文件版本一致,则检测结果为检测通过;若本地配置文件的文件版本与远端配置文件的文件版本不一致,则检测结果为检测不通过。Specifically, if the file version of the local configuration file is consistent with the file version of the remote configuration file, the detection result is that the detection is passed; if the file version of the local configuration file is inconsistent with the file version of the remote configuration file, the detection result is that the detection fails. pass.
或者,若本地配置文件的文件内容与远端配置文件的文件内容一致,则检测结果为检测通过;若本地配置文件的文件内容与远端配置文件的文件内容不一致,则检测结果为检测不通过。Or, if the file content of the local configuration file is consistent with the file content of the remote configuration file, the test result is passed; if the file content of the local configuration file is inconsistent with the file content of the remote configuration file, the test result is failed. .
可选的,基于检测结果确定是否继续执行开启目标引擎的编辑器的操作,包括:如果本地配置文件与远端配置文件不一致,则基于资源检测钩子文件中的资源更新类将本地加载项目资源更新为目标加载项目资源,并继续执行开启目标引擎的编辑器的操作。Optionally, determining whether to continue to perform the operation of opening the editor of the target engine based on the detection result, including: if the local configuration file is inconsistent with the remote configuration file, updating the locally loaded project resource based on the resource update class in the resource detection hook file Load the project resources for the target and continue with the editor that opens the target engine.
其中,资源更新类可以是预先在资源检测钩子文件中写入的用于更新本地加载项目资源的文件类。具体的,资源更新类可以包含调用本地加载项目资源的更新方法的程序代码。例如,可以在EnginePreEntryHook工程内编写C#资源更新类PEAssetsUpdater。The resource update class may be a file class written in the resource detection hook file in advance and used to update the locally loaded project resource. Specifically, the resource update class may contain program code for calling the update method of the locally loaded project resource. For example, the C# resource update class PEAssetsUpdater can be written in the EnginePreEntryHook project.
在该可选的实施方式中,可以在本地配置文件与远端配置文件不一致时,根据资源更新类,将本地加载项目资源更新为目标加载项目资源,并在本地加载项目资源更新后继续执行启动目标引擎的编辑器的操作,实现了项目资源的自动更新,无需重新启动编辑器或重新导入项目资源,减少了编辑器的启动时间,进而提高了项目的开发效率。In this optional implementation, when the local configuration file is inconsistent with the remote configuration file, the local loading project resource can be updated to the target loading project resource according to the resource update class, and the startup can be continued after the local loading project resource is updated The operation of the editor of the target engine realizes the automatic update of project resources, without restarting the editor or re-importing project resources, reducing the startup time of the editor and improving the development efficiency of the project.
可选的,基于检测结果确定是否继续执行开启目标引擎的编辑器的操作,包括:如果本地配置文件与远端配置文件一致,则继续执行开启目标引擎的编辑器的操作。Optionally, determining whether to continue to perform the operation of opening the editor of the target engine based on the detection result includes: if the local configuration file is consistent with the remote configuration file, continuing to perform the operation of opening the editor of the target engine.
在一种具体的实施方式中,基于资源检测钩子文件中的资源更新类将本地加载项目资源更新为目标加载项目资源,包括:调用资源检测钩子文件中的资源更新类,基于远端配置文件从资源服务器中拉取目标加载项目资源,并将本地加载项目资源替换为对应的目标加载项目资源。In a specific implementation, updating the local loading project resource to the target loading project resource based on the resource update class in the resource detection hook file includes: calling the resource update class in the resource detection hook file, and based on the remote configuration file from The target loading project resource is pulled from the resource server, and the local loading project resource is replaced with the corresponding target loading project resource.
具体的,可以通过远端配置文件的文件标识,从资源服务器中拉取该文件标识对应的目标加载项目资源,并将本地加载项目资源替换为目标加载项目资源。该可选的实施方式实现了项目资源的自动更新,相比于传统人工更新项目资源的方式,提高了项目资源的检查效率和编辑器的启动效率。Specifically, the target loading project resource corresponding to the file ID can be pulled from the resource server through the file ID of the remote configuration file, and the local loading project resource is replaced with the target loading project resource. This optional implementation implements automatic update of project resources, and improves the efficiency of checking project resources and the efficiency of starting editors compared to the traditional way of manually updating project resources.
本实施例的技术方案,通过预先构建的资源检测钩子文件,将本地加载项目资源的本地配置文件,与资源服务器中的目标加载项目资源的远端配置文件进行比对,以通过配置文件进行项目资源的检测,进一步地提高了项目资源的检测效率,进而减少了编辑器的启动时间,提高了项目的开发效率。The technical solution of this embodiment is to compare the local configuration file of the locally loaded project resource with the remote configuration file of the target loaded project resource in the resource server through the pre-built resource detection hook file, so that the project is carried out through the configuration file. The detection of resources further improves the detection efficiency of project resources, thereby reducing the startup time of the editor and improving the development efficiency of the project.
实施例三Embodiment 3
图3为本发明实施例三提供的一种项目资源检测方法的流程示意图,本实施例在上述各实施例的基础上,可选的,基于资源检测钩子文件将本地加载项目资源的本地配置文件与资源服务器中的目标加载项目资源的远端配置文件进行比对,包括:基于资源检测钩子文件中的资源检测类,将本地加载项目资源的本地配置文件的本地更新时间信息与资源服务器中的目标加载项目资源的远端配置文件的远端更新时间信息进行比对。3 is a schematic flowchart of a project resource detection method according to Embodiment 3 of the present invention. On the basis of the above embodiments, this embodiment optionally loads a local configuration file of project resources locally based on a resource detection hook file Compare with the remote configuration file of the target loading project resource in the resource server, including: based on the resource detection class in the resource detection hook file, compare the local update time information of the local configuration file of the local loading project resource with the information in the resource server. Compare the remote update time information of the remote configuration file of the target loading project resource.
其中与上述各实施例相同或相应的术语的解释在此不再赘述。参见图3,本实施例提供的项目资源检测方法包括以下步骤:The explanations of terms that are the same as or corresponding to the above embodiments are not repeated here. Referring to FIG. 3, the project resource detection method provided by this embodiment includes the following steps:
S310、在目标引擎的编辑器的启动过程中,加载预先构建的资源检测钩子文件。S310. During the startup process of the editor of the target engine, load a pre-built resource detection hook file.
S320、基于资源检测钩子文件中的资源检测类,将本地加载项目资源的本地配置文件的本地更新时间信息与资源服务器中的目标加载项目资源的远端配置文件的远端更新时间信息进行比对。S320. Based on the resource detection class in the resource detection hook file, compare the local update time information of the local configuration file of the locally loaded project resource with the remote update time information of the remote configuration file of the target loaded project resource in the resource server .
其中,资源检测类可以是预先在资源检测钩子文件中写入的用于触发本地配置文件与远端配置文件的比对的类文件。资源检测类可以包含调用配置文件比对方法的程序代码。示例性的,可以在EnginePreEntryHook工程内编写C#资源检测类PAssetsChecking。The resource detection class may be a class file written in advance in the resource detection hook file and used to trigger the comparison between the local configuration file and the remote configuration file. The resource detection class can contain program code that calls the configuration file comparison method. Exemplarily, the C# resource detection class PAssetsChecking can be written in the EnginePreEntryHook project.
在本实施例中,本地更新时间可以是本地配置文件的最新修改时间,远端更新时间可以是远端配置文件的最新修改时间。In this embodiment, the local update time may be the latest modification time of the local configuration file, and the remote update time may be the latest modification time of the remote configuration file.
具体的,若本地更新时间与远端更新时间相同,则可以表明在资源服务器中拉取本地配置文件之后,本地配置文件与资源服务器中的远端配置文件均未经过修改,或者,本地配置文件与资源服务器中的远端配置文件同步修改。若本地更新时间与远端更新时间不同,则可以表明在资源服务器中拉取本地配置文件之后,资源服务器中的远端配置文件经过修改,或者,本地配置文件经过修改,或者,本地配置文件与远端配置文件的修改时间不同。Specifically, if the local update time is the same as the remote update time, it can indicate that after the local configuration file is pulled from the resource server, neither the local configuration file nor the remote configuration file in the resource server has been modified, or the local configuration file has not been modified. Synchronize the modification with the remote configuration file in the resource server. If the local update time is different from the remote update time, it can indicate that after the local configuration file is pulled from the resource server, the remote configuration file in the resource server has been modified, or the local configuration file has been modified, or the local configuration file is the same as The modification time of the remote configuration file is different.
示例性的,可以在本地更新时间与远端更新时间一致时,确定检测结果为检测通过;在本地更新时间早于远端更新时间时,确定检测结果为检测不通过;在本地更新时间晚于远端更新时间时,确定检测结果为检测通过。Exemplarily, when the local update time is consistent with the remote update time, it can be determined that the detection result is passed; when the local update time is earlier than the remote update time, it can be determined that the detection result is not passed; when the local update time is later than When the time is updated at the remote end, it is determined that the detection result is the detection pass.
在一种可选的实施方式中,考虑到可能会出现文件更新时间一致,但本地配置文件与远端配置文件仍然不同的情形,还可以在将本地更新时间信息与远端更新时间信息进行比对之前,基于资源检测钩子文件中的资源检测类,将本地加载项目资源的本地配置文件的文件版本与资源服务器中的目标加载项目资源的远端配置文件的文件版本进行比对;若本地文件版本与远端文件版本一致,则执行将本地更新时间信息与远端更新时间信息进行比对的操作。In an optional implementation manner, considering that the file update time may be the same, but the local configuration file and the remote configuration file are still different, the local update time information can also be compared with the remote update time information. Before, based on the resource detection class in the resource detection hook file, the file version of the local configuration file of the locally loaded project resource is compared with the file version of the remote configuration file of the target loaded project resource in the resource server; if the local file If the version is the same as that of the remote file, the operation of comparing the local update time information with the remote update time information is performed.
换言之,基于资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测,包括:对本地配置文件的文件版本与远端配置文件的文件版本进行比对,在本地配置文件的文件版本与远端配置文件的文件版本一致时,对本地更新时间与远端更新时间进行比对。具体的,可以是本地更新时间与远端更新时间一致时,检测结果为检测通过;本地更新时间与远端更新时间不一致,或本地配置文件的文件版本与远端配置文件的文件版本不一致时,检测结果为检测不通过。In other words, detecting the local loading project resource based on the resource detection hook file and the target loading project resource in the resource server includes: comparing the file version of the local configuration file with the file version of the remote configuration file; When the file version is the same as that of the remote configuration file, the local update time is compared with the remote update time. Specifically, when the local update time is consistent with the remote update time, the detection result is the detection pass; when the local update time is inconsistent with the remote update time, or the file version of the local configuration file is inconsistent with the file version of the remote configuration file, The test result is that the test fails.
在该可选的实施方式中,可以先进行文件版本比对,在文件版本不一致时,无需再继续进行文件更新时间的比对,进一步地提高了本地配置文件与远端配置文件的比对效率,同时,避免了出现文件更新时间一致但文件版本不同时检测通过的情形,提高了本地配置文件与远端配置文件的比对准确率,减少了出现由于项目资源错误所导致的数值或代码不匹配的情形。In this optional embodiment, the file version comparison can be performed first, and when the file versions are inconsistent, there is no need to continue the file update time comparison, which further improves the comparison efficiency between the local configuration file and the remote configuration file. , at the same time, it avoids the situation where the file update time is the same but the file version is different and the detection passes at the same time, improves the comparison accuracy between the local configuration file and the remote configuration file, and reduces the occurrence of numerical or code differences caused by project resource errors. matching situation.
当然,本实施例还可以在本地配置文件的本地更新时间信息与远端配置文件的远端更新时间信息一致时,对本地配置文件的文件内容与远端配置文件的文件内容进行比对,进一步地确保本地配置文件与远端配置文件的比对准确度。其中,文件内容的比对可以是基于文件的哈希值进行比对。Of course, this embodiment may also compare the file content of the local configuration file with the file content of the remote configuration file when the local update time information of the local configuration file is consistent with the remote update time information of the remote configuration file, and further To ensure the accuracy of the comparison between the local configuration file and the remote configuration file. Wherein, the comparison of the file contents may be performed based on the hash value of the files.
S330、基于检测结果确定是否继续执行开启目标引擎的编辑器的操作。S330. Determine, based on the detection result, whether to continue to execute the operation of starting the editor of the target engine.
示例性的,若本地更新时间与远端更新时间一致,则检测结果为检测通过;若本地更新时间与远端更新时间不一致,则检测结果为检测不通过。Exemplarily, if the local update time is consistent with the remote update time, the detection result is that the detection passes; if the local update time is inconsistent with the remote update time, the detection result is that the detection fails.
当然,在将本地更新时间信息与远端更新时间信息进行比对之后,若本地更新时间与远端更新时间一致,还继续对本地配置文件的文件内容与远端配置文件的文件内容进行比对,则此时若本地配置文件的文件内容与远端配置文件的文件内容一致,则检测结果为检测通过,若本地配置文件的文件内容与远端配置文件的文件内容不一致,则检测结果为检测不通过。Of course, after the local update time information is compared with the remote update time information, if the local update time is consistent with the remote update time, the file content of the local configuration file and the file content of the remote configuration file are also compared. , then if the file content of the local configuration file is consistent with the file content of the remote configuration file, the detection result is the detection pass; if the file content of the local configuration file is inconsistent with the file content of the remote configuration file, the detection result is detection Fail.
本实施例的技术方案,通过资源检测钩子文件的资源检测类,对本地配置文件的本地更新时间信息与远端配置文件的远端更新时间进行比对,将比对的结果确定为检测结果,以通过文件更新时间实现项目资源的检测,进一步地提高了项目资源的检测效率,减少了编辑器的启动时间,进一步的,提高了项目的开发效率。In the technical solution of this embodiment, the resource detection class of the resource detection hook file is used to compare the local update time information of the local configuration file with the remote update time of the remote configuration file, and the comparison result is determined as the detection result, The detection of project resources is realized through the file update time, which further improves the detection efficiency of project resources, reduces the startup time of the editor, and further improves the development efficiency of the project.
实施例四Embodiment 4
图4为本发明实施例四提供的一种项目资源检测装置的结构示意图,本实施例可适用于在启动引擎的编辑器的过程中,对项目资源进行检测的情况,该装置具体包括:钩子文件加载模块410、项目资源检测模块420和开启操作执行模块430。FIG. 4 is a schematic structural diagram of a project resource detection device according to Embodiment 4 of the present invention. This embodiment can be applied to the case of detecting project resources in the process of starting the editor of the engine. The device specifically includes: a hook A
钩子文件加载模块410,用于在目标引擎的编辑器的启动过程中,加载预先构建的资源检测钩子文件;The hook
项目资源检测模块420,用于基于所述资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测;The project
开启操作执行模块430,用于基于检测结果确定是否继续执行开启目标引擎的编辑器的操作。The starting
可选的,所述项目资源检测模块420包括文件比对单元,所述文件比对单元,用于基于所述资源检测钩子文件将本地加载项目资源的本地配置文件与资源服务器中的目标加载项目资源的远端配置文件进行比对。Optionally, the project
可选的,所述文件比对单元具体用于:Optionally, the file comparison unit is specifically used for:
基于所述资源检测钩子文件中的资源检测类,将本地加载项目资源的本地配置文件的本地更新时间信息与资源服务器中的目标加载项目资源的远端配置文件的远端更新时间信息进行比对。Based on the resource detection class in the resource detection hook file, the local update time information of the local configuration file of the locally loaded project resource is compared with the remote update time information of the remote configuration file of the target loaded project resource in the resource server .
可选的,开启操作执行模块430包括资源更新单元,所述资源更新单元,用于如果所述本地配置文件与所述远端配置文件不一致,则基于所述资源检测钩子文件中的资源更新类将所述本地加载项目资源更新为所述目标加载项目资源,并继续执行开启目标引擎的编辑器的操作。Optionally, the opening
可选的,所述资源更新单元具体用于:Optionally, the resource update unit is specifically used for:
如果所述本地配置文件与所述远端配置文件不一致,则调用所述资源检测钩子文件中的资源更新类,基于所述远端配置文件从所述资源服务器中拉取所述目标加载项目资源,并将所述本地加载项目资源替换为对应的所述目标加载项目资源。If the local configuration file is inconsistent with the remote configuration file, call the resource update class in the resource detection hook file, and pull the target loading project resource from the resource server based on the remote configuration file , and replace the local loading item resource with the corresponding target loading item resource.
可选的,开启操作执行模块430还包括继续启动单元,用于如果所述本地配置文件与所述远端配置文件一致,则继续执行开启目标引擎的编辑器的操作。Optionally, the start
可选的,所述项目资源检测装置还包括代码加载模块,所述代码加载模块,用于执行下述操作中的至少一项:Optionally, the project resource detection device further includes a code loading module, the code loading module is configured to perform at least one of the following operations:
加载所述目标引擎的原生代码库;Load the native code base of the target engine;
加载所述目标引擎的引擎插件层程序集;Load the engine plug-in layer assembly of the target engine;
加载预先构建的项目工程程序集;Load pre-built project engineering assemblies;
加载预先构建的第三方软件开发工具包程序集;Load pre-built third-party SDK assemblies;
所述钩子文件加载模块410包括文件加载单元,所述文件加载单元,用于执行下述操作中的至少一项:The hook
当所述目标引擎的原生代码库加载完成时,加载预先构建的资源检测钩子文件;或者,When the native code base of the target engine is loaded, load the pre-built resource detection hook file; or,
当所述目标引擎的引擎插件层程序集加载完成时,加载预先构建的资源检测钩子文件;或者,When the engine plug-in layer assembly of the target engine is loaded, load the pre-built resource detection hook file; or,
当预先构建的项目工程程序集加载完成时,加载预先构建的资源检测钩子文件;又或者,When the pre-built project project assembly is loaded, load the pre-built resource detection hook file; or,
当预先构建的第三方软件开发工具包程序集加载完成时,加载预先构建的资源检测钩子文件。Loads the pre-built resource detection hook file when the pre-built third-party SDK assembly is loaded.
在本实施例中,通过钩子文件加载模块,在目标引擎的编辑器的启动过程中加载预先构建的资源检测钩子文件,通过项目资源检测模块,基于资源检测钩子文件以及资源服务器中的目标加载项目资源,对本地加载项目资源进行检测,进而通过开启操作执行模块,根据检测的结果确定是否继续执行开启目标引擎的编辑器的操作,实现了编辑器启动过程中项目资源的自动检查,无需在编辑器完全启动之后人工检查项目资源是否过期,使得过期的项目资源可以在编辑器启动过程中被快速发现,提高了项目资源的检查效率,进一步的,提高了项目的开发效率;同时,避免了由于项目资源过期所导致的编辑器的重新启动,减少了引擎运行占用内存。In this embodiment, the module is loaded through the hook file, the pre-built resource detection hook file is loaded during the startup process of the editor of the target engine, and the project is loaded based on the resource detection hook file and the target in the resource server through the project resource detection module. Resource, detects the locally loaded project resources, and then determines whether to continue the operation of opening the editor of the target engine according to the detection result by opening the operation execution module, which realizes the automatic inspection of project resources during the editor startup process, without editing After the editor is fully started, manually check whether the project resources are expired, so that the expired project resources can be quickly discovered during the start-up process of the editor, which improves the inspection efficiency of project resources and further improves the development efficiency of the project; at the same time, it avoids the The restart of the editor caused by the expiration of project resources reduces the memory occupied by the engine running.
本发明实施例所提供的项目资源检测装置可执行本发明任意实施例所提供的项目资源检测方法,具备执行方法相应的功能模块和有益效果。The project resource detection device provided by the embodiment of the present invention can execute the project resource detection method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
值得注意的是,上述系统所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本发明实施例的保护范围。It is worth noting that the units and modules included in the above system are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only For the convenience of distinguishing from each other, it is not used to limit the protection scope of the embodiments of the present invention.
实施例五Embodiment 5
图5是本发明实施例五提供的一种电子设备的结构示意图。图5示出了适于用来实现本发明实施方式的示例性电子设备12的框图。图5显示的电子设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。设备12典型的是承担启动引擎编辑器时检测项目资源的功能的电子设备。FIG. 5 is a schematic structural diagram of an electronic device according to Embodiment 5 of the present invention. Figure 5 shows a block diagram of an exemplary
如图5所示,电子设备12以通用计算设备的形式表现。电子设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,存储器28,连接不同组件(包括存储器28和处理单元16)的总线18。As shown in FIG. 5, the
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry StandardArchitecture,ISA)总线,微通道体系结构(Micro Channel Architecture,MCA)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association,VESA)局域总线以及外围组件互连(Peripheral Component Interconnect,PCI)总线。
电子设备12典型地包括多种计算机可读介质。这些介质可以是任何能够被电子设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。
存储器28可以包括易失性存储器形式的计算机装置可读介质,例如随机存取存储器(Random Access Memory,RAM)30和/或高速缓存存储器32。电子设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机存储介质。仅作为举例,存储装置34可以用于读写不可移动的、非易失性磁介质(图5未显示,通常称为“硬盘驱动器”)。尽管图5中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如只读光盘(Compact Disc-Read Only Memory,CD-ROM)、数字视盘(Digital Video Disc-Read Only Memory,DVD-ROM)或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品40,该程序产品40具有一组程序模块42,这些程序模块被配置以执行本发明各实施例的功能。程序产品40,可以存储在例如存储器28中,这样的程序模块42包括但不限于一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。
电子设备12也可以与一个或多个外部设备14(例如键盘、鼠标、摄像头等和显示器)通信,还可与一个或者多个使得用户能与该电子设备12交互的设备通信,和/或与使得该电子设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,电子设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network,LAN),广域网WideArea Network,WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与电子设备12的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、磁盘阵列(Redundant Arrays of Independent Disks,RAID)装置、磁带驱动器以及数据备份存储装置等。The
处理器16通过运行存储在存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明上述实施例所提供的项目资源检测方法,包括:The
在目标引擎的编辑器的启动过程中,加载预先构建的资源检测钩子文件;During the startup process of the editor of the target engine, load the pre-built resource detection hook file;
基于所述资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测;Detecting the local loading item resource based on the resource detection hook file and the target loading item resource in the resource server;
基于检测结果确定是否继续执行开启目标引擎的编辑器的操作。Based on the detection result, it is determined whether to continue executing the operation of opening the editor of the target engine.
当然,本领域技术人员可以理解,处理器还可以实现本发明任意实施例所提供的项目资源检测方法的技术方案。Of course, those skilled in the art can understand that the processor can also implement the technical solution of the project resource detection method provided by any embodiment of the present invention.
实施例六Embodiment 6
本发明实施例六还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明任意实施例所提供的项目资源检测方法步骤,该方法包括:The sixth embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, implements the project resource detection method steps provided by any embodiment of the present invention, and the method includes:
在目标引擎的编辑器的启动过程中,加载预先构建的资源检测钩子文件;During the startup process of the editor of the target engine, load the pre-built resource detection hook file;
基于所述资源检测钩子文件和资源服务器中的目标加载项目资源对本地加载项目资源进行检测;Detecting the local loading item resource based on the resource detection hook file and the target loading item resource in the resource server;
基于检测结果确定是否继续执行开启目标引擎的编辑器的操作。Based on the detection result, it is determined whether to continue executing the operation of opening the editor of the target engine.
本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may adopt any combination of one or more computer-readable mediums. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, 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 of the foregoing. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including - but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明实施例操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言——诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of embodiments of the present invention may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, and A conventional procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110879826.XA CN113590327B (en) | 2021-08-02 | 2021-08-02 | Project resource detection method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110879826.XA CN113590327B (en) | 2021-08-02 | 2021-08-02 | Project resource detection method, device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113590327A true CN113590327A (en) | 2021-11-02 |
CN113590327B CN113590327B (en) | 2024-11-15 |
Family
ID=78253550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110879826.XA Active CN113590327B (en) | 2021-08-02 | 2021-08-02 | Project resource detection method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113590327B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114399268A (en) * | 2021-12-16 | 2022-04-26 | 珠海金山数字网络科技有限公司 | Resource checking method, system and readable storage medium |
CN115826933A (en) * | 2023-02-14 | 2023-03-21 | 成都曾自科技有限公司 | Method and device for loading resources using Cook under editor and storage medium |
CN116401147A (en) * | 2023-02-08 | 2023-07-07 | 深圳开源互联网安全技术有限公司 | Function library reference version detection method, equipment and storage medium |
CN116863040A (en) * | 2023-05-29 | 2023-10-10 | 上海幻维数码科技有限公司 | Multi-person collaboration system based on engine building |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070006155A1 (en) * | 2005-06-30 | 2007-01-04 | Microsoft Corporation | Locating source code when stopping in a debugger |
CN105446874A (en) * | 2014-09-25 | 2016-03-30 | 北京畅游天下网络技术有限公司 | Method and device for detecting resource configuration file |
CN112667315A (en) * | 2020-12-23 | 2021-04-16 | 上海米哈游天命科技有限公司 | Game engine editor starting method and device, electronic equipment and storage medium |
-
2021
- 2021-08-02 CN CN202110879826.XA patent/CN113590327B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070006155A1 (en) * | 2005-06-30 | 2007-01-04 | Microsoft Corporation | Locating source code when stopping in a debugger |
CN105446874A (en) * | 2014-09-25 | 2016-03-30 | 北京畅游天下网络技术有限公司 | Method and device for detecting resource configuration file |
CN112667315A (en) * | 2020-12-23 | 2021-04-16 | 上海米哈游天命科技有限公司 | Game engine editor starting method and device, electronic equipment and storage medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114399268A (en) * | 2021-12-16 | 2022-04-26 | 珠海金山数字网络科技有限公司 | Resource checking method, system and readable storage medium |
CN116401147A (en) * | 2023-02-08 | 2023-07-07 | 深圳开源互联网安全技术有限公司 | Function library reference version detection method, equipment and storage medium |
CN116401147B (en) * | 2023-02-08 | 2024-05-03 | 深圳开源互联网安全技术有限公司 | Function library reference version detection method, equipment and storage medium |
CN115826933A (en) * | 2023-02-14 | 2023-03-21 | 成都曾自科技有限公司 | Method and device for loading resources using Cook under editor and storage medium |
CN115826933B (en) * | 2023-02-14 | 2023-06-13 | 成都曾自科技有限公司 | Method, device and storage medium for loading and using Cook post-resource under editor |
CN116863040A (en) * | 2023-05-29 | 2023-10-10 | 上海幻维数码科技有限公司 | Multi-person collaboration system based on engine building |
Also Published As
Publication number | Publication date |
---|---|
CN113590327B (en) | 2024-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113590327A (en) | Project resource detection method and device, electronic equipment and storage medium | |
JP5415557B2 (en) | User script code conversion for debugging | |
CN108027722A (en) | The dynamically renewal application in compiling and deployment | |
WO2015055074A1 (en) | Method and device for dynamically loading and invoking program | |
CN105683924A (en) | Debugging native code by transitioning from execution in native mode to execution in interpreted mode | |
CN112667315A (en) | Game engine editor starting method and device, electronic equipment and storage medium | |
CN112099880A (en) | Scenario-driven application reduction method and system | |
CN116303099B (en) | Automated test environment cross-platform rapid deployment method, device, medium and equipment | |
CN108197020A (en) | Plug-in unit method of calibration, electronic equipment and computer storage media | |
CN113590225B (en) | Mapping detection method and device, electronic equipment and storage medium | |
CN118192987A (en) | Source code construction method and device, computer program product and electronic equipment | |
CN113590446B (en) | Method and device for detecting numerical value file, electronic equipment and storage medium | |
CN115543486B (en) | Cold start delay optimization method, device and equipment for serverless computing | |
CN113590228B (en) | Engine editor startup method, device, electronic device and storage medium | |
CN111352631A (en) | Interface compatibility detection method and device | |
CN115454827B (en) | Compatibility detection method, system, equipment and medium | |
CN115080114B (en) | Application program transplanting processing method, device and medium | |
CN114911541B (en) | Processing method and device of configuration information, electronic equipment and storage medium | |
CN113590179B (en) | Plug-in detection method and device, electronic equipment and storage medium | |
CN113590226B (en) | Method and device for starting engine editor, electronic equipment and storage medium | |
CN113590224B (en) | Method and device for detecting server, electronic equipment and storage medium | |
CN113591149A (en) | Folder permission detection method and device, electronic equipment and storage medium | |
CN112667310A (en) | Game engine editor starting method and device, electronic equipment and storage medium | |
CN115421785B (en) | Method, device and medium for transplanting application program | |
CN116450535B (en) | Sub-application debugging method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |