Movatterモバイル変換


[0]ホーム

URL:


CN113590222B - Method and device for detecting action resources, electronic equipment and storage medium - Google Patents

Method and device for detecting action resources, electronic equipment and storage medium

Info

Publication number
CN113590222B
CN113590222BCN202110880246.2ACN202110880246ACN113590222BCN 113590222 BCN113590222 BCN 113590222BCN 202110880246 ACN202110880246 ACN 202110880246ACN 113590222 BCN113590222 BCN 113590222B
Authority
CN
China
Prior art keywords
action
target
loading
resource
resources
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.)
Active
Application number
CN202110880246.2A
Other languages
Chinese (zh)
Other versions
CN113590222A (en
Inventor
王达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Miha Youliyue Technology Co ltd
Original Assignee
Shanghai Miha Youliyue Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Miha Youliyue Technology Co ltdfiledCriticalShanghai Miha Youliyue Technology Co ltd
Priority to CN202110880246.2ApriorityCriticalpatent/CN113590222B/en
Publication of CN113590222ApublicationCriticalpatent/CN113590222A/en
Application grantedgrantedCritical
Publication of CN113590222BpublicationCriticalpatent/CN113590222B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The embodiment of the invention discloses a method, a device, electronic equipment and a storage medium for detecting action resources, wherein the method comprises the steps of loading a pre-constructed action monitoring hook file in the starting process of an editor of a target engine, detecting the target loading action resources to be detected corresponding to the target engine based on the action monitoring hook file, and determining whether to continue to execute the operation of starting the editor of the target engine based on a detection result. According to the technical scheme, the target loading action resources can be automatically detected in the starting process of the editor of the target engine, the accuracy of the target loading action resources is guaranteed, a manual processing mode is not needed, the manpower resources are saved, the starting flow of the editor is optimized, and a foundation is laid for efficient project development.

Description

Method and device for detecting action resources, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computer application, in particular to a method and a device for detecting action resources, electronic equipment and a storage medium.
Background
During the project engine editor startup process, it is often necessary to load a wide variety of action resources required for project development or operation. If the expired action resource is loaded or the action resource is damaged, the project object matched with the action resource can not accurately display the preset action, and the picture display effect is affected.
At present, a mode of checking whether an action resource is out of date is that after an editor is started, a professional technician performs manual checking, the professional requirement on checking operators is high, and certain hysteresis exists in checking time.
Disclosure of Invention
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for detecting action resources, which are used for optimizing the starting flow of an engine editor and realizing automatic detection of project resources.
In a first aspect, an embodiment of the present invention provides a method for detecting an action resource, including:
loading a pre-constructed action monitoring hook file in the starting process of an editor of a target engine;
detecting target loading action resources to be detected, which correspond to the target engine, based on the action monitoring hook file;
It is determined whether to continue the operation of starting the editor of the target engine based on the detection result.
In a second aspect, an embodiment of the present invention further provides a device for detecting an action resource, including:
the hook file loading module is used for loading a pre-constructed resource monitoring hook file in the starting process of the editor of the target engine;
The project resource detection module is used for detecting the local loading project resource based on the resource monitoring hook file and the target loading project resource in the resource server;
And the starting operation execution module is used for determining whether to continue executing the operation of starting the editor of the target engine or not based on the detection result.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
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 method for detecting action resources 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, where the computer program, when executed by a processor, implements the method for detecting an action resource provided by any embodiment of the present invention.
According to the technical scheme, the pre-built action monitoring hook file is loaded in the starting process of the editor of the target engine, the target loading action resources to be detected corresponding to the target engine are detected based on the action monitoring hook file, the target loading action resources can be automatically detected in the starting process of the editor of the target engine, accuracy of the target loading action resources is guaranteed, and whether the operation of starting the editor of the target engine is continuously executed or not is determined based on a detection result. The starting process of the editor of the target engine does not need to rely on a manual processing mode, so that manpower resources are saved, the starting flow of the editor is optimized, and a foundation is laid for high-efficiency project development.
Drawings
In order to more clearly illustrate the technical solution of the exemplary embodiments of the present invention, a brief description is given below of the drawings required for describing the embodiments. It is obvious that the drawings presented are only drawings of some of the embodiments of the invention to be described, and not all the drawings, and that other drawings can be made according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for detecting action resources according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for detecting action resources according to an embodiment of the present invention;
Fig. 3 is a flow chart of a method for detecting action resources in an application scenario according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a detection device for motion resources according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
It should be further noted that, for convenience of description, only some, but not all of the matters related to the present invention are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example 1
Fig. 1 is a flow chart of a method for detecting action resources according to an embodiment of the present invention, where the method may be performed by an apparatus for detecting action resources, and the apparatus may be implemented by software and/or hardware, and may be configured in a terminal and/or a server to implement the method for detecting action resources according to the embodiment of the present invention.
As shown in fig. 1, the method of this embodiment may specifically include:
S101, loading a pre-constructed action monitoring hook file in the starting process of an editor of a target engine.
In embodiments of the present invention, the goal engine comprises a gaming application that currently requires development or updating by a developer. The starting process of the editor of the target engine can comprise the following steps of 1, initializing basic configuration of the target engine, 2, compiling all codes of the target engine, 3, importing project resources of the target engine, and 4, importing numerical value files of the target engine.
The all codes of the compiled target engine comprise a native code library of the target engine, plug-in layer codes of the target engine, all codes of project engineering of the target engine and a third party library software development kit library or a third party plug-in library code of the target engine. Project resources of the target engine may include resources of character models, building models, weapon models, maps, actions, bones, prefab preforms, and the like. The value file for the target engine may be a file describing model base values, action related values, or scene related values, such as model height values, weapon appearance values, weapon firing values, person action speed values, special effects time values, scene transparency values, etc.
Taking the starting of the game engine editor as an example, the starting step of the game engine editor comprises compiling an engine native code library, such as UnityEngine series dll compilation, inserting an EnginePreEntry hook.dll file, compiling engine plug-in layer codes, such as package and plug in series dll compilation, compiling game engineering codes, such as Project series dll compilation, compiling a third party SDK library or a third party plug-in library, such as sound effect wwise and game SDK compilation, and the like.
Optionally, the pre-built action monitoring hook file is loaded during the start-up of the editor of the target engine, i.e. when entering the stage of starting the editor of the target engine. The action monitoring hook file can trigger detection operation on target loading action resources to be detected corresponding to the target engine. The target load action resources may include map resources corresponding to roles in the target engine. Such as kicking, raising, turning around, lying down, or vacating the character's in-game type mapping resources.
Optionally, the action monitoring hook file is a dynamic link library file or a tag file. Exemplary, action monitoring hook files include the EnginePreEntry hook.
Optionally, the method of the present embodiment further comprises performing at least one of loading a native code library of the target engine, loading an engine plug-in layer program set of the target engine, loading a pre-built project engineering program set, and loading a pre-built third party software development kit program set.
Specifically, after the basic configuration of the target engine is initialized in the starting process of the editor of the target engine, a native code library of the target engine is loaded first to provide a development basic environment for the editor of the target engine, and then the operations of loading a plug-in layer program set of the target engine, loading a pre-built project engineering program set and loading a pre-built third-party software development kit program set are completed.
Illustratively, the native code library includes UnityEngine series dll compiled code libraries. The original code library of the target engine can be repeatedly applied to the development or update scene of the target engine, so that later management and maintenance of research personnel are facilitated, and the development or update efficiency of the target engine is improved.
Optionally, loading a pre-built action monitoring hook file, including at least one of:
when the loading of the native code library of the target engine is completed, a pre-constructed action monitoring hook file is loaded, or
When the loading of the engine plug-in layer program set of the target engine is completed, loading a pre-constructed action monitoring hook file, or
When the pre-built project engineering program set is loaded, loading the pre-built action monitoring hook file, or
When the loading of the pre-built third party software development kit program set is completed, the pre-built action monitoring hook file is loaded.
Specifically, on the basis of the completion of the loading of the native code library of the target engine, a pre-constructed action monitoring hook file is loaded so as to fully utilize the code resources of the loaded native code library, simplify the construction of the action monitoring hook file as much as possible, and prepare for the use of the action monitoring hook file in advance.
Further, the operation of loading the pre-built action monitoring hook file may be at any time during the start-up of the editor of the target engine. The method can load the pre-built action monitoring hook file when the engine plug-in layer program set of the target engine is loaded, or can load the pre-built action monitoring hook file when the pre-built project engineering program set is loaded, or can load the pre-built action monitoring hook file when the pre-built third-party software development kit program set is loaded.
The method and the device load the action monitoring hook file in the starting process of the editor of the target engine, ensure that the target loading action resource to be detected is detected in the starting process, fully utilize the loaded engine plug-in resource, project engineering resource or third party software development kit resource, and facilitate the use of the action monitoring hook file.
S102, detecting target loading action resources to be detected, which correspond to the target engine, based on the action monitoring hook file.
Optionally, after the action monitoring hook file is loaded, the target loading action resource to be detected corresponding to the target engine can be triggered to be detected. Specifically, the target loading action resources may include action resources corresponding to each role in the target engine. Taking the target engine as a game engine, for example, a role in a game can be kicked, lifted, turned around, laid down or vacated, and other action resources.
Specifically, the detection content includes at least one of whether the target loading action resource is data corrupted, whether the target loading action resource corresponds to a role, and whether the target loading action resource opens an optimization option. And determining whether the game role can perform the mapping action operation by detecting whether the target loading action resource is damaged or not. Determining whether the action executed by the game character is accurate by detecting whether the target loading action resource corresponds to the character or not, and determining whether the display effect of the target loading action resource meets the requirement or not by detecting whether the target loading action resource starts optimization selection or not.
S103, determining whether to continue to execute the operation of starting the editor of the target engine or not based on the detection result.
Specifically, the target loading action resource is detected based on the action monitoring hook file, and when the detection result is that the detection is passed, the operation of starting the editor of the target engine can be continuously executed. When the detection result is that the target loading action resource does not pass, the target loading action resource can be modified, the modified target loading action resource is detected again, the operation of starting the editor of the target engine is continuously executed, or detection prompt information can be generated, and the detection prompt information is displayed. The detection prompt information may be at least one of information for prompting a detection result of the target loading action resource, information for prompting a target user to modify the target loading action resource, and prompt information for prompting a next operation performed on the target loading action resource.
According to the technical scheme, the pre-built action monitoring hook file is loaded in the starting process of the editor of the target engine, the target loading action resources to be detected corresponding to the target engine are detected based on the action monitoring hook file, the target loading action resources can be automatically detected in the starting process of the editor of the target engine, accuracy of the target loading action resources is guaranteed, and whether the operation of starting the editor of the target engine is continuously executed or not is determined based on a detection result. The starting process of the editor of the target engine does not need to rely on a manual processing mode, so that manpower resources are saved, the starting flow of the editor is optimized, and a foundation is laid for high-efficiency project development.
Example two
In this embodiment, on the basis of any optional technical scheme in the embodiment of the invention, optionally, detecting the target loading action resources to be detected corresponding to the target engine based on the action monitoring hook file includes reading the target loading action resources to be detected corresponding to the target engine based on the action detection class of the action monitoring hook file, and detecting the target loading action resources based on at least one pre-trained action recognition model. The method and the device for starting the editor of the target engine can be used for judging whether the target engine is started or not according to the detection result, and the method and the device for starting the editor of the target engine can be used for starting the editor of the target engine. Wherein, the explanation of the same or corresponding terms as the above embodiments is not repeated herein.
As shown in fig. 2, the method of this embodiment may specifically include:
s201, loading a pre-constructed action monitoring hook file in the starting process of an editor of the target engine.
S202, reading target loading action resources to be detected corresponding to a target engine based on an action detection class of an action monitoring hook file, and detecting the target loading action resources based on at least one pre-trained action recognition model. If the detection result is that the detection has not passed, the process proceeds to S203, and if the detection result is that the detection has passed, the process proceeds to S204.
Alternatively, the target loading action resource to be detected corresponding to the target engine may be read based on the action detection class in the action monitoring hook file. Illustratively, the development environment of the target engine may be the C# language. Because C# is an object-oriented programming language derived from C and C++, C# inherits the powerful functions of C and C++, and reduces the complex characteristics of C and C++, therefore, the adoption of the C# language to write the function functions can enable programmers to develop programs more efficiently. In particular, the action detection class may include PEAnimationOptChecking.
Optionally, an action recognition model may be trained in advance, where the action recognition model is obtained by training according to a sample action resource and tag information of the sample action resource, where the tag information is used to represent a type of the sample action resource. It will be appreciated that the motion recognition model is an artificial intelligence model, and the initial model of the motion recognition model may be a classification model. The classification model may be a deep learning network or a machine learning model.
Specifically, the pre-training action recognition model comprises the steps of inputting at least one sample action resource into a pre-established initial model to obtain an output type of the sample action resource, adjusting model parameters of the initial model based on the output type and label information of the sample action resource, and taking the initial model as the action recognition model if a preset end training condition is reached after the initial model is adjusted. The preset end training condition may be a model loss function or a cost function convergence, which is pre-constructed and corresponds to the initial model.
Exemplary, sample action resources include action resources corresponding to sample tag information. For example, when an action recognition model is required to train actions of a army character in a game, the tag information is army adviser action types, and the sample action resources can be "raise hands", "command", "play a musical instrument", and the like. The label information is the type of the martial arts action, and the sample action resources can be 'riding a horse', 'swinging a knife', 'shooting a arrow', and the like.
Optionally, the detection of the target loading action resources based on the at least one pre-trained action recognition model includes determining a type of the target loading action resources, determining a target action recognition model from the at least one pre-trained action recognition model based on the type, and inputting the target loading action resources into the target action recognition model for detection.
It should be noted that, the target loading action resources may be classified according to actual requirements, so as to determine the type of the target loading action resources. Taking a game engine as an example, the target loading action resource may be an action resource corresponding to a game subject. For example, the type of the target loading action resource may be determined according to the setting information of the game body corresponding to the target loading action resource. The setting information may include information such as occupation, sex, or age. Specifically, the target loading action resources corresponding to the game subjects in the same occupation may belong to the same type.
Specifically, after determining the type of the target loading action resource, the identification information of each pre-trained action recognition model can be obtained, the target identification information matched with the type is determined in each identification information, the action recognition model corresponding to the target identification information can be determined as the target action recognition model, and the target loading action resource is input into the target action recognition model for detection.
It should be noted that the identification information may be displayed in the form of numerals and/or characters. By way of example, the tag information may be digital, with "1" representing army adviser action types, and "0" representing armed action types. When the type of the target loading action resource is determined to be the martial action type, the action recognition model with the tag information of 0 can be determined to be the target action recognition model, and the target loading action resource is input into the target action recognition model for detection.
S203, an action update class of the action monitoring hook file is called to update the target loading action resource.
Optionally, a detection result output by the target action recognition model is obtained, when the detection result is that the detection is failed, the target loading action resource is damaged or is not matched with the corresponding action type, and an action update class of the action monitoring hook file can be called to update the target loading action resource.
Specifically, the step of calling the action update class of the action monitoring hook file to update the target loading action resource comprises the steps of calling the action update class of the action monitoring hook file, acquiring the action resource corresponding to the target loading action resource from a resource server as the target updating action resource, and updating the target loading action resource into the target updating action resource. That is, the target load action resource may be replaced with the target update action resource.
To ensure that the target update action resource is undamaged, the target update action resource still needs to be detected. Optionally, after updating the target loading action resource to the target updating action resource, the method further comprises calling an action detection class of the action monitoring hook file to detect the target updating action resource. It is determined whether to continue the operation of starting the editor of the target engine based on the detection result.
Specifically, if the detection result of the target update action resource is that the detection is passed, the operation of starting the editor of the target engine is continuously executed.
Specifically, if the detection result of the target update action resource is that the detection fails, sending detection notification information to at least one target terminal, and continuing to execute the operation of starting the editor of the target engine. The target terminal can comprise an operation terminal of an artist, and the artist can be informed of timely finding the current situation by sending detection notification information to repair the action resource.
The embodiment of the invention also comprises the steps of receiving the target repair action resources corresponding to the target update action resources and fed back by the target terminal, and updating the target update resources into the target repair action resources.
S204, continuing to execute the operation of starting the editor of the target engine.
Optionally, a detection result output by the target action recognition model is obtained, and when the detection result is that the detection is passed, it is indicated that the target loading action resource is intact and matched with the corresponding action type, and the operation of starting the editor of the target engine can be continuously executed.
Alternatively, the operation of opening the editor of the target engine may be continued after the target loading action resource is updated by invoking the action update class of the action monitoring hook file. S203 and S204 may also be performed in parallel.
According to the technical scheme, the target loading action resources are detected through the action recognition model which is trained in advance, the target loading action resources are effectively detected, if the detection is not passed, the target loading action resources are updated, each action resource is ensured to be accurate, the accurate operation of a target engine is realized, and a foundation is laid for efficient project development.
Example III
The foregoing details of the embodiments corresponding to the method for detecting an action resource are provided, so that a specific application scenario is given below in order to make a technical solution of the method further clear to a person skilled in the art.
Fig. 3 is a flow chart of a method for detecting action resources in an application scenario according to an embodiment of the present invention, and as shown in fig. 3, an engine is a game application that currently needs to be developed or updated by a developer. The development or update process of the editor of the engine comprises an engine basic configuration initialization stage, a whole code compiling stage, an engine system resource importing stage, a data file importing stage and an editor starting stage.
After the initialization of the engine base configuration, the code compilation is completed. During the code compiling process, an action monitoring hook file is constructed in advance. Specifically, code compilation includes engine native code library compilation, such as UnityEngine series dll compilation, and inserted EnginePreEntry hook. Dll file, i.e., the dll compilation of PreEntryHook.
Illustratively, an engineering EnginePreEntryHook is created in the C# language, which generates the corresponding EnginePreEntry hook.
Optionally, the constructed EnginePreEntry hook. Dll is stored under ENGINEDLL directory in game engineering and is separated from dll in other engines for independent maintenance. Further, based on the received updated EnginePreEntryHook, map to the EnginePreEntry hook.dll file under the ENGINEDLL folder within the game project.
In the embodiment of the invention, the C# language plug-in library detection class PEAnimationChecking can be written in EnginePreEntryHook engineering and is used for communicating with the AI artificial intelligence server, triggering the reading of the target loading action resource and sending the target loading action resource to the AI artificial intelligence server. Specifically, the target load action resource includes a target action map.
For example, the AI artificial intelligence server may identify a remote end for a form. The AI artificial intelligent server is pre-trained to complete the action recognition model, and the received target action map can be detected. And if the failure is identified, feeding back information to the target engine, requesting to acquire the target action map again, and sending the target action map.
Optionally, the detection standard of the motion recognition model can be set to be that the similarity between the measured motion play and the actual motion is greater than or equal to 90%, and the passing of detection can be determined. It is understood that the target action map of a character in the target engine passes detection when the target action map is more than or equal to 90% similar to the standard action map of the character.
Further, a c# language plug-in library update class PEAnimationUpdater is written in EnginePreEntryHook engineering for communicating with resource servers.
And when the detection result is failed, the target action map is damaged or the version number of the target action map is not matched with the version number of the current target engine, the EnginePreEntry hook.dll triggers the operation of automatically re-downloading resources, and the corresponding target update map is downloaded from a resource server to update the target action map. When the detection result is that the target action map is passed, the target action map is not damaged, and the starting operation of the editor of the target engine can be continuously executed.
According to the technical scheme, the target loading action resources are detected through the action recognition model which is trained in advance, the target loading action resources are effectively detected, if the detection is not passed, the target loading action resources are updated, each action resource is ensured to be accurate, the accurate operation of a target engine is realized, and a foundation is laid for efficient project development.
Example IV
Fig. 4 is a schematic structural diagram of an apparatus for detecting action resources according to an embodiment of the present invention, where the apparatus for detecting action resources according to the embodiment of the present invention may be implemented by software and/or hardware, and may be configured in a terminal and/or a server to implement a method for detecting action resources according to an embodiment of the present invention. The device specifically can include:
the hook file loading module 10 is used for loading a pre-constructed resource monitoring hook file in the starting process of the editor of the target engine;
The project resource detection module 11 is used for detecting the local loading project resource based on the resource monitoring hook file and the target loading project resource in the resource server;
The start operation execution module 12 is configured to determine whether to continue executing the operation of starting the editor of the target engine based on the detection result.
On the basis of any optional technical scheme in the embodiment of the present invention, optionally, the project resource detection module 11 includes:
And the target loading action resource reading unit is used for reading target loading action resources to be detected corresponding to the target engine based on the action detection class of the action monitoring hook file and detecting the target loading action resources based on at least one pre-trained action recognition model.
On the basis of any optional technical scheme in the embodiment of the invention, optionally, the action recognition model is obtained by training according to sample action resources and label information of the sample action resources, wherein the label information is used for representing types of the sample action resources:
And the type unit is used for determining the type of the target loading action resource, determining a target action recognition model from at least one pre-trained action recognition model based on the type, and inputting the target loading action resource into the target action recognition model for detection.
On the basis of any optional technical scheme of the embodiment of the present invention, optionally, the starting operation executing module 12 includes:
and the updating unit is used for calling an action update class of the action monitoring hook file to update the target loading action resource if the detection result is that the detection is not passed, and continuously executing the operation of starting the editor of the target engine if the detection result is that the detection is passed.
On the basis of any optional technical scheme in the embodiment of the present invention, optionally, the updating unit includes:
And the target updating action resource unit is used for calling the action updating class of the action monitoring hook file, acquiring the action resource corresponding to the target loading action resource from the resource server as a target updating action resource, and updating the target loading action resource into a target updating action resource.
On the basis of any optional technical scheme in the embodiment of the invention, optionally, the device further comprises:
The target updating action resource detection module is used for calling an action detection class of the action monitoring hook file to detect the target updating action resource after updating the target loading action resource into the target updating action resource;
the start operation execution module 12 includes:
and the detection notification information sending unit is used for sending detection notification information to at least one target terminal and continuously executing the operation of starting the editor of the target engine if the detection result of the target update action resource is that the detection fails.
On the basis of any optional technical scheme in the embodiment of the invention, optionally, the device further comprises:
the system comprises a loading module, an engine plug-in layer program set, a project engineering program set and a third party software development kit program set, wherein the loading module is used for loading a native code library of a target engine, loading an engine plug-in layer program set of the target engine, loading a pre-constructed project engineering program set and loading a pre-constructed third party software development kit program set.
The hook file loading module 10 includes:
The system comprises a loading action monitoring hook file unit, a pre-constructed action monitoring hook file unit and a pre-constructed action monitoring hook file unit, wherein the loading action monitoring hook file unit is used for loading the pre-constructed action monitoring hook file when the loading of a native code library of a target engine is completed, or loading the pre-constructed action monitoring hook file when the loading of an engine plug-in layer program set of the target engine is completed, or loading the pre-constructed action monitoring hook file when the loading of a pre-constructed project engineering program set is completed, or loading the pre-constructed action monitoring hook file when the loading of a pre-constructed third party software development kit program set is completed.
The device can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the method.
Example five
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. Fig. 5 shows a block diagram of an exemplary electronic device 20 suitable for use in implementing the embodiments of the present invention. The electronic device 20 shown is merely an example and should not be construed to limit the functionality and scope of use of embodiments of the present invention in any way.
As shown in fig. 5, the electronic device 20 is in the form of a general purpose computing device. The components of electronic device 20 may include, but are not limited to, one or more processors or processing units 201, a system memory 202, and a bus 203 that connects the different system components (including system memory 202 and processing units 201).
Bus 203 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 20 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 20 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 202 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 204 and/or cache memory 205. The electronic device 20 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 206 may be used to read from or write to non-removable, nonvolatile magnetic media. A magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk such as a CD-ROM, DVD-ROM, or other optical media may be provided. In these cases, each drive may be coupled to bus 203 through one or more data medium interfaces. Memory 202 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 208 having a set (at least one) of program modules 207 may be stored in, for example, memory 202, such program modules 207 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 207 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 20 may also communicate with one or more external devices 209 (e.g., keyboard, pointing device, display 210, etc.), one or more devices that enable a user to interact with the electronic device 20, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 20 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 211. Also, electronic device 20 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 212. As shown, network adapter 212 communicates with other modules of electronic device 20 over bus 203. It should be appreciated that other hardware and/or software modules may be used in connection with electronic device 20 including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 201 executes various functional applications and data processing by running programs stored in the system memory 202.
The electronic equipment provided by the invention can realize the following method that a pre-built action monitoring hook file is loaded in the starting process of an editor of a target engine, target loading action resources to be detected corresponding to the target engine are detected based on the action monitoring hook file, and whether the operation of starting the editor of the target engine is continuously executed is determined based on a detection result. According to the technical scheme, the target loading action resources can be automatically detected in the starting process of the editor of the target engine, the accuracy of the target loading action resources is guaranteed, a manual processing mode is not needed, the manpower resources are saved, the starting flow of the editor is optimized, and a foundation is laid for efficient project development.
Example six
A sixth embodiment of the present invention also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method of detecting an action resource, the method comprising:
The method comprises the steps of loading a pre-constructed action monitoring hook file in the starting process of an editor of a target engine, detecting target loading action resources to be detected corresponding to the target engine based on the action monitoring hook file, and determining whether to continue to execute operation of starting the editor of the target engine based on a detection result. According to the technical scheme, the target loading action resources can be automatically detected in the starting process of the editor of the target engine, the accuracy of the target loading action resources is guaranteed, a manual processing mode is not needed, the manpower resources are saved, the starting flow of the editor is optimized, and a foundation is laid for efficient project development.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. 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 electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. 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 (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (8)

The target loading action resource reading unit is used for reading target loading action resources to be detected corresponding to a target engine based on an action detection class of an action monitoring hook file, and detecting the target loading action resources based on at least one pre-trained action recognition model, wherein detection content comprises at least one of whether the target loading action resources are damaged in data, whether the target loading action resources correspond to roles and whether the target loading action resources are opened or not, and the action recognition model is obtained by training according to sample action resources and label information of the sample action resources, wherein the label information is used for representing the types of the sample action resources;
CN202110880246.2A2021-08-022021-08-02Method and device for detecting action resources, electronic equipment and storage mediumActiveCN113590222B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110880246.2ACN113590222B (en)2021-08-022021-08-02Method and device for detecting action resources, electronic equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110880246.2ACN113590222B (en)2021-08-022021-08-02Method and device for detecting action resources, electronic equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN113590222A CN113590222A (en)2021-11-02
CN113590222Btrue CN113590222B (en)2025-07-22

Family

ID=78253676

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110880246.2AActiveCN113590222B (en)2021-08-022021-08-02Method and device for detecting action resources, electronic equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN113590222B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114461485A (en)*2021-12-222022-05-10有半岛(北京)信息科技有限公司Resource loading monitoring method, device, equipment and storage medium
CN114288666B (en)*2021-12-292025-07-04完美世界(北京)软件科技发展有限公司 Game element detection method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106326113A (en)*2016-08-162017-01-11腾讯科技(深圳)有限公司Game data monitoring method and device
CN109598201A (en)*2018-11-052019-04-09北京三快在线科技有限公司Motion detection method, device, electronic equipment and readable storage medium storing program for executing
CN109977022A (en)*2019-04-032019-07-05网易(杭州)网络有限公司Inspection method, device, system and the storage medium of game resource
CN110113391A (en)*2019-04-172019-08-09北京奇艺世纪科技有限公司A kind of client loading method, device and a kind of client operation method, device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10685142B2 (en)*2015-02-022020-06-16Indiana University Research And Technology CorporationExternal resource control of mobile devices
CN106528303A (en)*2016-10-202017-03-22武汉斗鱼网络科技有限公司GPU texture sharing-based method and system for obtaining source images of D3D12 game
US10761812B2 (en)*2016-11-212020-09-01Sap SeVisual code editor for visually developing features in applications
CN110007755A (en)*2019-03-152019-07-12百度在线网络技术(北京)有限公司Object event triggering method, device and its relevant device based on action recognition
CN111277509B (en)*2020-01-132023-12-05奇安信科技集团股份有限公司 Traffic guidance method and device for IPS engine
CN112667310A (en)*2020-12-232021-04-16上海米哈游天命科技有限公司Game engine editor starting method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106326113A (en)*2016-08-162017-01-11腾讯科技(深圳)有限公司Game data monitoring method and device
CN109598201A (en)*2018-11-052019-04-09北京三快在线科技有限公司Motion detection method, device, electronic equipment and readable storage medium storing program for executing
CN109977022A (en)*2019-04-032019-07-05网易(杭州)网络有限公司Inspection method, device, system and the storage medium of game resource
CN110113391A (en)*2019-04-172019-08-09北京奇艺世纪科技有限公司A kind of client loading method, device and a kind of client operation method, device

Also Published As

Publication numberPublication date
CN113590222A (en)2021-11-02

Similar Documents

PublicationPublication DateTitle
EP3542494A2 (en)System and method for implementing native contract on blockchain
US20220237300A1 (en)Firmware component identification and vulnerability assessment
CN110968437A (en)Method, device, equipment and medium for parallel execution of single contract based on Java intelligent contract
CN113590222B (en)Method and device for detecting action resources, electronic equipment and storage medium
CN111459506B (en)Deep learning platform cluster deployment method and device, medium and electronic equipment
CN112860587A (en)UI automatic test method and device
CN108874414A (en)Software upgrading method and device, readable storage medium and television equipment
US11861332B2 (en)String localization for universal use
CN113590327A (en)Project resource detection method and device, electronic equipment and storage medium
CN110659022B (en)Method for automatically calling Python script based on Java
CN116071590A (en) Model training method, system, computer equipment and storage medium
CN114237754B (en)Data loading method and device, electronic equipment and storage medium
CN111930633A (en) Data testing method, platform, electronic device and storage medium
CN118470696B (en)Method and device for acquiring screen display information of vehicle cabin, electronic equipment and storage medium
US11061662B1 (en)Maintenance of fast-changing software applications
CN111061642B (en)Full-automatic competition data processing system and method based on user data
CN113590225B (en)Mapping detection method and device, electronic equipment and storage medium
CN113590446B (en)Method and device for detecting numerical value file, electronic equipment and storage medium
CN113590166B (en)Application program updating method and device and computer readable storage medium
CN117891465A (en)Method and device for putting software package, computer equipment and storage medium
CN116226850A (en)Method, device, equipment, medium and program product for detecting virus of application program
CN113590226B (en)Method and device for starting engine editor, electronic equipment and storage medium
CN113885963A (en)Secondary development file execution method and device and storage medium
CN113128440A (en)Target object identification method, device, equipment and storage medium based on edge equipment
CN110532173A (en)A kind of test preprocess method, device, computer system and readable storage medium storing program for executing

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp