CN113138793B - Application resource packaging process monitoring method, device, equipment and medium - Google Patents

Application resource packaging process monitoring method, device, equipment and medium Download PDF

Info

Publication number
CN113138793B
CN113138793B CN202110467297.2A CN202110467297A CN113138793B CN 113138793 B CN113138793 B CN 113138793B CN 202110467297 A CN202110467297 A CN 202110467297A CN 113138793 B CN113138793 B CN 113138793B
Authority
CN
China
Prior art keywords
resource
import
packaging
application
time length
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
CN202110467297.2A
Other languages
Chinese (zh)
Other versions
CN113138793A (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 ltd filed Critical Shanghai Miha Youliyue Technology Co ltd
Priority to CN202110467297.2A priority Critical patent/CN113138793B/en
Publication of CN113138793A publication Critical patent/CN113138793A/en
Application granted granted Critical
Publication of CN113138793B publication Critical patent/CN113138793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Abstract

The embodiment of the invention discloses a method, a device, equipment and a medium for monitoring an application resource packaging process. The method comprises the following steps: when the application resource packaging is started, recording the real-time importing time length of the current importing resource; acquiring a classification identifier of the current imported resource, and determining a resource import upper limit duration corresponding to the current imported resource according to the classification identifier; and stopping the resource import and sending out the early warning of the packaging overtime of the application resource when the real-time import time length is longer than or equal to the upper limit time length of the resource import. By the technical scheme of the embodiment of the invention, the problem that the whole process of finishing the final resource packaging is too long because errors occur in the process of packaging the application resources and cannot be found in time in the prior art is solved, the process of packaging the application resources can be effectively controlled and managed, and packaging errors and overtime caused by introducing errors are avoided.

Description

Application resource packaging process monitoring method, device, equipment and medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method, a device, equipment and a medium for monitoring an application resource packaging process.
Background
The application packages are code packages that can run on the corresponding devices, such as apple system applications (iPhoneApplication, ipa) and android system applications (AndroidPackage, apk). The application package is compiled first and then packaged into a file that can be identified by the corresponding system before it can be run. In the process of code resource packaging, the time consumed by the process becomes longer and longer along with the application program resources, and the importing process is very unstable, so that packaging errors, failures, resource importing errors and the like are likely to occur.
Generally, there may be tens of thousands of resources in an application package, however, there is no monitoring in the packaging process, and errors in the packaging process cannot be found timely, or early warning is performed in advance, and the problem that the packaging time is too long due to the introduction of errors can occur, so that the whole package packaging and constructing process is dragged slowly.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a medium for monitoring an application resource packaging process, which are used for effectively controlling and managing the application resource packaging process and avoiding packaging overtime caused by import errors.
In a first aspect, an embodiment of the present invention provides a method for monitoring an application resource packaging process, where the method includes:
when the application resource packaging is started, recording the real-time importing time length of the current importing resource;
acquiring a classification identifier of the current imported resource, and determining a resource import upper limit duration corresponding to the current imported resource according to the classification identifier;
and stopping the resource import and sending out the early warning of the packaging overtime of the application resource when the real-time import time length is longer than or equal to the upper limit time length of the resource import.
Optionally, before the application resource packaging is started, the method further includes:
classifying the resources to be packaged according to the preset attribute of each resource, and setting corresponding upper limit time length for importing the resources for each classified resource.
Optionally, when the real-time import time length is greater than or equal to the resource import upper limit time length, stopping the resource import and sending out an application resource packaging overtime early warning, including:
inquiring whether the real-time import time length is greater than or equal to the resource import upper limit time length according to a preset time interval;
And stopping the resource import process and sending out the early warning of overtime packaging of the application resources when the real-time import time length is longer than or equal to the resource import upper limit time length.
Optionally, the application resource packaging process monitoring method further includes:
when the application resource packaging is started, a preset resource import timer is started, and the upper limit time length of the resource import corresponding to the current import resource is set as the timing time length of the preset resource import timer.
Optionally, when the real-time import time length is greater than or equal to the resource import upper limit time length, stopping the resource import and sending out an application resource packaging overtime early warning, including:
and stopping the resource import and sending out an application resource packaging overtime early warning when the timing of the preset resource import timer is finished and the import process of the current imported resource is not finished.
Optionally, the application resource packaging process monitoring method further includes:
Before the timing of the preset resource import timer is finished, when the import process of the current import resource is finished, finishing the timing process of the preset resource import timer, and taking the next resource to be imported of the current import resource as a new current import resource to conduct resource import until application resource packaging is finished.
Optionally, the classification of the currently imported resource includes mapping, modeling, animation, prefabricating, special effects, materials and script resources.
In a second aspect, an embodiment of the present invention further provides an application resource packaging process monitoring device, where the device includes:
The resource packaging timing module is used for recording the real-time importing time length of the current importing resource when the application resource packaging is started;
The timing upper limit acquisition module is used for acquiring the classification identifier of the current imported resource and determining the resource import upper limit duration corresponding to the current imported resource according to the classification identifier;
and the resource import overtime early warning module is used for stopping the resource import and sending out the application resource packaging overtime early warning when the real-time import time length is longer than or equal to the resource import upper limit time length.
Optionally, the application resource packaging process monitoring device further includes a resource classification module, configured to classify the resources to be packaged according to preset attributes of each resource before application resource packaging is started, and set a corresponding resource import upper limit duration for each classified resource.
Optionally, the resource import timeout early warning module is specifically configured to:
inquiring whether the real-time import time length is greater than or equal to the resource import upper limit time length according to a preset time interval;
And stopping the resource import process and sending out the early warning of overtime packaging of the application resources when the real-time import time length is longer than or equal to the resource import upper limit time length.
Optionally, the resource packaging timing module is further configured to:
when the application resource packaging is started, a preset resource import timer is started, and the upper limit time length of the resource import corresponding to the current import resource is set as the timing time length of the preset resource import timer.
Optionally, the resource import timeout early warning module is further configured to:
and stopping the resource import and sending out an application resource packaging overtime early warning when the timing of the preset resource import timer is finished and the import process of the current imported resource is not finished.
Optionally, the resource packaging timing module is further configured to:
Before the timing of the preset resource import timer is finished, when the import process of the current import resource is finished, finishing the timing process of the preset resource import timer, and taking the next resource to be imported of the current import resource as a new current import resource to conduct resource import until application resource packaging is finished.
Optionally, the classification of the currently imported resource includes mapping, modeling, animation, prefabricating, special effects, materials and script resources.
In a third aspect, an embodiment of the present invention further provides a computer apparatus, including:
one or more processors;
a memory for storing one or more programs;
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the application resource packaging process monitoring method as 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 having stored thereon a computer program, which when executed by a processor implements an application resource packaging process monitoring method as provided in any embodiment of the present invention.
The embodiments of the above invention have the following advantages or benefits:
According to the embodiment of the invention, when the application resource is packaged and started, the real-time importing time length of the current importing resource is recorded; acquiring a classification identifier of a current imported resource, and determining a resource import upper limit duration corresponding to the current imported resource according to the classification identifier; when the real-time import time length is longer than or equal to the upper limit time length of the resource import, the resource import is stopped and the overtime early warning of the application resource package is sent out, so that the problem that the whole process of finishing the final resource package is too long because errors occur in the application resource package process and cannot be found in time in the prior art is solved, the application resource package process can be effectively controlled and managed, and package errors and overtime caused by the import errors are avoided.
Drawings
FIG. 1 is a flowchart of a method for monitoring an application resource packaging process according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a method for monitoring an application resource packaging process according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an application resource packaging process monitoring device according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to a fourth 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.
Example 1
Fig. 1 is a flowchart of a method for monitoring a packaging process of an application resource according to a first embodiment of the present invention, where the embodiment is applicable to a case of monitoring a packaging process of an application program installation package. The method can be executed by an application resource packaging process monitoring device, and the device can be realized by software and/or hardware, and is integrated into computer equipment with application development functions, such as an intelligent mobile terminal, a computer, a server and the like.
As shown in fig. 1, the application resource packaging process monitoring method includes the following steps:
S110, when the application resource package is started, recording the real-time import duration of the current import resource.
In the final stage of application program development, the code needs to be compiled, and after the compiling is normal, all program resources are packaged to generate a program package which can run on an application system. In this embodiment, in order to better monitor and manage the resource packaging process, when the application resource packaging work is started, timing is performed for each resource that is imported by packaging, and the real-time accumulated duration of resource import is recorded.
S120, acquiring the classification identification of the current imported resource, and determining the resource import upper limit duration corresponding to the current imported resource according to the classification identification.
Further, each imported resource will have a corresponding role and function in the final application installation package. Therefore, each resource can be classified according to its corresponding function, and then, the corresponding resource import upper limit time is set for each type of resource in advance according to the characteristics of the different types of resources. For example, if the application installation package to be packaged is a game application installation package, the resources to be packaged may be classified into a map, a model, an animation, prefab preforms, special effects, materials, scripts, and the like, and the upper limit time of resource import, that is, the maximum tolerance time, is set according to a predetermined type, for example, 30 seconds of map, 5 seconds of prefab preforms, 25 seconds of materials, and 20 seconds of scripts. Alternatively, a corresponding maximum resource import tolerance schedule (which may be named MaxDurationTable) may be established to manage the resource import upper limit time corresponding to each resource. If each resource can be imported within the corresponding upper limit time of the resource import, the resource import process is normal.
And S130, stopping the resource import and sending out the early warning of the packaging overtime of the application resource when the real-time import time length is longer than or equal to the upper limit time length of the resource import.
Specifically, in the process of resource packaging, inquiring whether the real-time import time length is greater than or equal to the corresponding upper limit time length of resource import according to a preset time interval; and stopping the resource import process and sending out the early warning of overtime packaging of the application resources when the real-time import time length is longer than or equal to the corresponding upper limit time length of the resource import.
In the process of resource introduction, if the time length of resource introduction has accumulated to reach the upper limit of the corresponding time length of resource introduction but the current process of resource introduction has not been finished, the process of resource introduction is abnormal, the resource introduction is stopped, and the early warning of overtime packaging of application resources is sent out. The method has the advantages that program developers are reminded of intervention, the problem is solved, the importing process of the application program resource is smoothly completed, and the packaging of the application program package is completed.
Furthermore, when the early warning of the packaging overtime of the application resource is sent, a resource packaging overtime log can be generated, so that a user can trace back the packaging abnormal event.
According to the technical scheme, when the application resource is packaged and started, the real-time importing time length of the current importing resource is recorded; acquiring a classification identifier of a current imported resource, and determining a resource import upper limit duration corresponding to the current imported resource according to the classification identifier; when the real-time import time length is longer than or equal to the resource import upper limit time length, stopping the resource import and sending out an application resource packaging overtime early warning, so that the problem that the whole process of finishing the final resource packaging is too long because errors occur in the application resource packaging process and cannot be found in time in the prior art is solved, the application resource packaging process can be effectively controlled and managed, and packaging errors and overtime caused by import errors are avoided.
Example two
Fig. 2 is a flowchart of a method for monitoring an application resource packaging process according to a second embodiment of the present invention, where the embodiment and the foregoing embodiment belong to the same inventive concept, and on the basis of the foregoing embodiment, a specific implementation process of monitoring an application resource packaging process is further described. Wherein, the explanation of the same or corresponding terms as the above embodiments is not repeated herein.
Referring to fig. 2, the method for monitoring the application resource packaging process provided in this embodiment includes the following steps:
S210, classifying the resources to be packaged according to preset attributes of the resources, and setting corresponding resource import upper limit duration for the classified resources.
In this embodiment, the resources to be packaged are classified first, and may be classified according to the functions, storage paths or volumes of the resources, and then, according to the characteristics of different types of resources, corresponding upper limit time for importing the resources is set in advance for each type of resources. For example, if the application installation package to be packaged is a game application installation package, the resources to be packaged may be classified into a map, a model, an animation, prefab preforms, special effects, materials, scripts, and the like, and the upper limit time of resource import, that is, the maximum tolerance time, is set according to a predetermined type, for example, 30 seconds of map, 5 seconds of prefab preforms, 25 seconds of materials, and 20 seconds of scripts.
S220, when the application resource package is started, starting a preset resource import timer, and setting the upper limit time length of the resource import corresponding to the current import resource as the time length of the preset resource import timer.
And simultaneously starting a preset resource import timer when starting to pack the resources, wherein the timing duration of the timer is set according to the type of the currently packed resources. Or a dedicated resource import timer is correspondingly arranged for each different type of resources to be imported. Each dedicated resource import timer is provided with a corresponding timing duration.
S230, inquiring whether the preset resource import timer is ended or not according to a preset time interval in the current import resource import process, and determining whether the current import resource import process is ended or not.
Specifically, if the current importing process of importing resources has been completed before the timer of the preset importing timer is completed, it indicates that the importing of resources is successfully completed, no abnormality occurs, and the process goes to step S250. Otherwise, if the current resource import process is not finished and the preset resource import timer is finished, it is indicated that the current resource import packaging process is abnormal, and step S240 is executed.
S240, stopping the resource import and sending out the early warning of the packaging overtime of the application resource.
S250, ending the timing process of the preset resource import timer, and importing the resource to be imported next to the current imported resource as a new current imported resource.
That is, after the importing process of the currently imported resource is finished, other uninformed resources are continuously imported. For each resource to be imported, the method of the embodiment is adopted to monitor the process of importing the resource.
According to the technical scheme, the resources to be packaged are classified in advance, then the upper limit time length of the packaging of the resources is set for various classified resources, when the packaging of the application resources is started, the timer is started, and the upper limit time length of the packaging of the resources to be packaged is used as the timing time length of the timer, so that the process of importing the resources into the packaging is monitored, the problem that errors occur in the process of packaging the application resources in the prior art, the errors cannot be found in time, and the whole time consumption of the process of finishing the packaging of the final resources is too long is solved, the process of packaging the application resources can be effectively controlled and managed, and packaging errors and overtime caused by importing the errors are avoided.
The following is an embodiment of the application resource packaging process monitoring device provided by the embodiment of the present invention, where the device and the application resource packaging process monitoring method of each embodiment belong to the same inventive concept, and the application resource packaging process monitoring method of each embodiment can be implemented. Details not described in detail in the embodiment of the application resource packaging process monitoring device may refer to the embodiment of the application resource packaging process monitoring method described above.
Example III
Fig. 3 is a schematic structural diagram of an application resource packaging process monitoring device according to a third embodiment of the present invention, where the present embodiment is applicable to a case of monitoring an application program installation package packaging and compiling process.
As shown in fig. 3, the application resource packaging process monitoring device specifically includes: the system comprises a resource packaging timing module 310, a timing upper limit acquisition module 320 and a resource import overtime early warning module 330.
The resource packaging timing module 310 is configured to record a real-time importing duration of a currently imported resource when the application resource packaging is started; the timing upper limit obtaining module 320 is configured to obtain a classification identifier of the currently imported resource, and determine a resource import upper limit duration corresponding to the currently imported resource according to the classification identifier; and the resource import timeout early warning module 330 is configured to stop resource import and send out an application resource packaging timeout early warning when the real-time import time length is greater than or equal to the resource import upper limit time length.
According to the technical scheme, when the application resource is packaged and started, the real-time importing time length of the current importing resource is recorded; acquiring a classification identifier of the current imported resource, and determining a resource import upper limit duration corresponding to the current imported resource according to the classification identifier; when the real-time import time length is longer than or equal to the resource import upper limit time length, stopping the resource import and sending out an application resource packaging overtime early warning, solving the problem that the whole process of finishing the final resource packaging is too long because errors occur in the application resource packaging process and cannot be found in time in the prior art, effectively controlling and managing the application resource packaging process and avoiding packaging errors and overtime caused by import errors.
Optionally, the application resource packaging process monitoring device further includes a resource classification module, configured to classify the resources to be packaged according to preset attributes of each resource before application resource packaging is started, and set a corresponding resource import upper limit duration for each classified resource.
Optionally, the resource import timeout early warning module 330 is specifically configured to:
inquiring whether the real-time import time length is greater than or equal to the resource import upper limit time length according to a preset time interval;
And stopping the resource import process and sending out the early warning of overtime packaging of the application resources when the real-time import time length is longer than or equal to the resource import upper limit time length.
Optionally, the resource packaging timing module 310 is further configured to:
when the application resource packaging is started, a preset resource import timer is started, and the upper limit time length of the resource import corresponding to the current import resource is set as the timing time length of the preset resource import timer.
Optionally, the resource import timeout early warning module 310 is further configured to:
and stopping the resource import and sending out an application resource packaging overtime early warning when the timing of the preset resource import timer is finished and the import process of the current imported resource is not finished.
Optionally, the resource packaging timing module 310 is further configured to:
Before the timing of the preset resource import timer is finished, when the import process of the current import resource is finished, finishing the timing process of the preset resource import timer, and taking the next resource to be imported of the current import resource as a new current import resource to conduct resource import until application resource packaging is finished.
Optionally, the classification of the currently imported resource includes mapping, modeling, animation, prefabricating, special effects, materials and script resources.
The application resource packaging process monitoring device provided by the embodiment of the invention can execute the application resource packaging process monitoring method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. Fig. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in fig. 4 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention. In the embodiment of the invention, the computer equipment can be a smart phone, a tablet Personal Computer (PC), server cluster equipment or other computer equipment with operation capability.
As shown in FIG. 4, the computer device 12 is in the form of a general purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 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, and 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.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 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 the embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 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 42 generally perform the functions and/or methods of the embodiments described herein.
The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Moreover, computer device 12 may also 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 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computer device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing an application resource packaging process monitoring method step provided in the present embodiment, the method includes:
when the application resource packaging is started, recording the real-time importing time length of the current importing resource;
acquiring a classification identifier of the current imported resource, and determining a resource import upper limit duration corresponding to the current imported resource according to the classification identifier;
and stopping the resource import and sending out the early warning of the packaging overtime of the application resource when the real-time import time length is longer than or equal to the upper limit time length of the resource import.
Of course, those skilled in the art will understand that the processor may also implement the technical solution of the application resource packaging process monitoring method provided in any embodiment of the present invention.
Example five
A fifth embodiment provides a computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of an application resource packaging process monitoring method as provided by any embodiment of the present invention, the method comprising:
when the application resource packaging is started, recording the real-time importing time length of the current importing resource;
acquiring a classification identifier of the current imported resource, and determining a resource import upper limit duration corresponding to the current imported resource according to the classification identifier;
and stopping the resource import and sending out the early warning of the packaging overtime of the application resource when the real-time import time length is longer than or equal to the upper limit time length of the resource import.
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 may 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 foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: 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, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations 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).
It will be appreciated by those of ordinary skill in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device, or distributed over a network of computing devices, or they may alternatively be implemented in program code executable by a computer device, such that they are stored in a memory device and executed by the computing device, or they may be separately fabricated as individual integrated circuit modules, or multiple modules or steps within them may be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
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 (9)

1. An application resource packaging process monitoring method, comprising the steps of:
When the application resource packaging is started, synchronously starting a preset resource import timer, and recording the real-time import duration of the current import resource; the timing duration of the timer is set according to the current packaged resource category; or a dedicated resource import timer is correspondingly arranged for each different type of resources to be imported, and the dedicated resource import timer is provided with a corresponding timing time length;
acquiring a classification identifier of the current imported resource, and determining a resource import upper limit duration corresponding to the current imported resource according to the classification identifier;
and stopping the resource import and sending out the early warning of the packaging overtime of the application resource when the real-time import time length is longer than or equal to the upper limit time length of the resource import.
2. The method of claim 1, wherein stopping the resource import and issuing an application resource package timeout warning when the real-time import time period is greater than or equal to the resource import upper limit time period comprises:
inquiring whether the real-time import time length is greater than or equal to the resource import upper limit time length according to a preset time interval;
And stopping the resource import process and sending out the early warning of overtime packaging of the application resources when the real-time import time length is longer than or equal to the resource import upper limit time length.
3. The method according to claim 1, wherein the method further comprises:
when the application resource packaging is started, a preset resource import timer is started, and the upper limit time length of the resource import corresponding to the current import resource is set as the timing time length of the preset resource import timer.
4. The method of claim 3, wherein stopping the resource import and issuing an application resource package timeout warning when the real-time import time period is greater than or equal to the resource import upper limit time period comprises:
and stopping the resource import and sending out an application resource packaging overtime early warning when the timing of the preset resource import timer is finished and the import process of the current imported resource is not finished.
5. The method according to claim 4, wherein the method further comprises:
Before the timing of the preset resource import timer is finished, when the import process of the current import resource is finished, finishing the timing process of the preset resource import timer, and taking the next resource to be imported of the current import resource as a new current import resource to conduct resource import until application resource packaging is finished.
6. The method of any of claims 1-5, wherein the classification of the currently imported resource comprises a map, model, animation, preform, effect, material, and script-like resource.
7. An application resource packaging process monitoring device, comprising:
The resource packaging timing module is used for synchronously starting a preset resource import timer when the application resource packaging is started, and recording the real-time import duration of the current import resource; the timing duration of the timer is set according to the current packaged resource category; or a dedicated resource import timer is correspondingly arranged for each different type of resources to be imported, and the dedicated resource import timer is provided with a corresponding timing time length;
The timing upper limit acquisition module is used for acquiring the classification identifier of the current imported resource and determining the resource import upper limit duration corresponding to the current imported resource according to the classification identifier;
and the resource import overtime early warning module is used for stopping the resource import and sending out the application resource packaging overtime early warning when the real-time import time length is longer than or equal to the resource import upper limit time length.
8. A computer device, the computer device comprising:
one or more processors;
a memory for storing one or more programs;
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the application resource packaging process monitoring method of any of claims 1-6.
9. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the application resource packaging process monitoring method according to any of claims 1-6.
CN202110467297.2A 2021-04-28 2021-04-28 Application resource packaging process monitoring method, device, equipment and medium Active CN113138793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110467297.2A CN113138793B (en) 2021-04-28 2021-04-28 Application resource packaging process monitoring method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110467297.2A CN113138793B (en) 2021-04-28 2021-04-28 Application resource packaging process monitoring method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN113138793A CN113138793A (en) 2021-07-20
CN113138793B true CN113138793B (en) 2024-05-03

Family

ID=76816483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110467297.2A Active CN113138793B (en) 2021-04-28 2021-04-28 Application resource packaging process monitoring method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN113138793B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107784481A (en) * 2017-08-30 2018-03-09 平安科技(深圳)有限公司 Task timeliness method for early warning and device
CN110908707A (en) * 2019-11-28 2020-03-24 米哈游科技(上海)有限公司 Resource packaging method, device, server and storage medium
CN112164210A (en) * 2020-09-16 2021-01-01 南京领行科技股份有限公司 Object-based early warning method and device, storage medium and electronic equipment
CN112363753A (en) * 2020-11-17 2021-02-12 上海米哈游天命科技有限公司 Data verification method and device, electronic equipment and storage medium
WO2021063339A1 (en) * 2019-09-30 2021-04-08 星环信息科技(上海)股份有限公司 Cluster resource scheduling method, apparatus, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107784481A (en) * 2017-08-30 2018-03-09 平安科技(深圳)有限公司 Task timeliness method for early warning and device
WO2021063339A1 (en) * 2019-09-30 2021-04-08 星环信息科技(上海)股份有限公司 Cluster resource scheduling method, apparatus, device and storage medium
CN110908707A (en) * 2019-11-28 2020-03-24 米哈游科技(上海)有限公司 Resource packaging method, device, server and storage medium
CN112164210A (en) * 2020-09-16 2021-01-01 南京领行科技股份有限公司 Object-based early warning method and device, storage medium and electronic equipment
CN112363753A (en) * 2020-11-17 2021-02-12 上海米哈游天命科技有限公司 Data verification method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113138793A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
CN107729139B (en) Method and device for concurrently acquiring resources
WO2021259013A1 (en) Data processing method and apparatus, electronic device, and computer-readable medium
CN108595316B (en) Lifecycle management method, manager, device, and medium for distributed application
CN105718570A (en) Data migration method and device used for database
CN108416657B (en) Order generation method and equipment based on consultation service
CN110515795A (en) A kind of monitoring method of big data component, device, electronic equipment
CN113127050B (en) Application resource packaging process monitoring method, device, equipment and medium
CN110569154B (en) Chip interface function testing method, system, terminal and storage medium
CN113658351B (en) Method and device for producing product, electronic equipment and storage medium
CN114244821B (en) Data processing method, device, equipment, electronic equipment and storage medium
CN113157411B (en) Celery-based reliable configurable task system and device
CN113190427A (en) Caton monitoring method and device, electronic equipment and storage medium
CN113138793B (en) Application resource packaging process monitoring method, device, equipment and medium
CN114610597A (en) Pressure testing method, device, equipment and storage medium
CN111913861A (en) Performance test method, device, equipment and medium of Internet of things system
CN108459942A (en) A kind of data processing method, device and storage medium
CN115756322A (en) Data storage method and device, electronic equipment and storage medium
CN113127001B (en) Method, device, equipment and medium for monitoring code compiling process
CN114996134A (en) Containerized deployment method, electronic equipment and storage medium
CN111506360B (en) External equipment access system and method of real-time data processing system
CN110262856B (en) Application program data acquisition method, device, terminal and storage medium
CN113127051B (en) Application resource packaging process monitoring method, device, equipment and medium
CN112434013A (en) Data table migration method and device, electronic equipment and storage medium
CN111581059A (en) Spark application monitoring method, system, equipment and storage medium
CN113127002B (en) Method, device, equipment and medium for monitoring code compiling process

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