CN112269713B - Method, device and equipment for acquiring program running state and storage medium - Google Patents

Method, device and equipment for acquiring program running state and storage medium Download PDF

Info

Publication number
CN112269713B
CN112269713B CN202011096093.4A CN202011096093A CN112269713B CN 112269713 B CN112269713 B CN 112269713B CN 202011096093 A CN202011096093 A CN 202011096093A CN 112269713 B CN112269713 B CN 112269713B
Authority
CN
China
Prior art keywords
memory
file
preset
preset mark
target process
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
CN202011096093.4A
Other languages
Chinese (zh)
Other versions
CN112269713A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202011096093.4A priority Critical patent/CN112269713B/en
Publication of CN112269713A publication Critical patent/CN112269713A/en
Application granted granted Critical
Publication of CN112269713B publication Critical patent/CN112269713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • 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

Abstract

The invention discloses a method, a device and equipment for acquiring a program running state and a computer readable storage medium, wherein the method comprises the following steps: in the running process of a target process, acquiring a memory image file corresponding to the target process; determining mirror image memory contents corresponding to each preset mark in the preset mark files according to the memory mirror image files and the preset mark files of the target process; the preset mark file comprises data information to be marked and mark name information which correspond to each preset mark; according to the method and the device, the mirror image memory content corresponding to each preset mark in the preset mark file is determined according to the memory mirror image file and the preset mark file of the target process, so that the memory information needing attention in the memory mirror image file can be obtained, the running state of the target process is determined, the program running state is obtained under the condition that a log file is not used, the problem of log flooding can be avoided, and the delay condition of the program is reduced.

Description

Method, device and equipment for acquiring program running state and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for acquiring a program running state.
Background
In the prior art, in a production environment, in order to grasp the running state of a program and quickly locate the problem when the problem occurs, it is a conventional practice to record program state information in a log file so as to be able to locate the problem when the problem occurs through the log file. However, in a large-scale program such as a storage system, a large amount of logs are easily generated, and specific problem causes are difficult to locate; more seriously, a program such as a memory system that is extremely sensitive to IO (Input Output) efficiency, writes a log may cause an intolerable delay.
Therefore, how to avoid using the log file in the process of acquiring the running state of the program so as to avoid the problem of log flooding and reduce the delay condition of the program is a problem which needs to be solved urgently nowadays.
Disclosure of Invention
The invention aims to provide a method, a device and equipment for acquiring a program running state and a computer readable storage medium, which are used for acquiring the program running state by using a memory image file, thereby avoiding the problem of log flooding and reducing the delay condition of the program.
In order to solve the above technical problem, the present invention provides a method for acquiring a program running state, including:
in the running process of a target process, acquiring a memory image file corresponding to the target process;
determining mirror image memory contents corresponding to each preset mark in the preset mark file according to the memory mirror image file and the preset mark file of the target process; the preset mark file comprises data information to be marked and mark name information corresponding to each preset mark.
Optionally, the obtaining the memory image file corresponding to the target process includes:
and generating a sub-process of the target process, and actively and abnormally quitting the sub-process to obtain a memory image file corresponding to the sub-process.
Optionally, the obtaining the memory image file corresponding to the target process includes:
and after receiving a preset state query instruction, acquiring a memory image file corresponding to the target process.
Optionally, the obtaining the memory image file corresponding to the target process includes:
and acquiring the memory image file corresponding to the target process according to a preset time interval.
Optionally, after determining the mirror memory content corresponding to each preset mark according to the preset mark file and the memory mirror file, the method further includes:
receiving a state display instruction; wherein the status display instruction comprises target marking information;
displaying mirror image memory content corresponding to the target mark on the interactive interface; and the target mark is a preset mark corresponding to the target mark information.
Optionally, the determining, according to the memory image file and the preset markup file of the target process, the image memory content corresponding to each preset markup in the preset markup file includes:
and determining mirror image memory content corresponding to each preset mark according to the preset mark file, the symbol table of the target process and the memory mirror image file.
Optionally, the determining, according to the preset tag file, the symbol table of the target process, and the memory mirror file, mirror memory content corresponding to each preset tag includes:
determining a first corresponding relation according to the preset mark file and the symbol table; wherein, the first corresponding relation is the corresponding relation between each preset mark and the memory address;
determining a second corresponding relation according to the file format of the memory mirror image file; the second corresponding relationship is the corresponding relationship between the memory address and the mirror image memory content;
and determining mirror image memory contents corresponding to each preset mark according to the first corresponding relation and the second corresponding relation.
The invention also provides a device for acquiring the running state of the program, which comprises:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a memory image file corresponding to a target process in the running process of the target process;
the determining module is used for determining mirror image memory contents corresponding to each preset mark in the preset mark file according to the memory mirror image file and the preset mark file of the target process; the preset mark file comprises data information to be marked and mark name information corresponding to each preset mark.
The invention also provides a device for acquiring the running state of the program, which comprises:
a memory for storing a computer program;
and the processor is used for realizing the steps of the method for acquiring the program running state when the computer program is executed.
The present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for acquiring the running state of a program as described above.
The invention provides a method for acquiring a program running state, which comprises the following steps: in the running process of a target process, acquiring a memory image file corresponding to the target process; determining mirror image memory contents corresponding to each preset mark in the preset mark file according to the memory mirror image file and the preset mark file of the target process; the preset mark file comprises data information to be marked and mark name information which correspond to each preset mark;
therefore, the method and the device can determine the mirror image memory content corresponding to each preset mark in the preset mark file according to the memory mirror image file and the preset mark file of the target process, can obtain the memory information needing attention in the memory mirror image file, thereby determining the running state of the target process, realizing the acquisition of the program running state under the condition of not using the log file, avoiding the problem of log flooding and reducing the delay condition of the program. In addition, the invention also provides a device and equipment for acquiring the running state of the program and a computer readable storage medium, and the beneficial effects are also achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for acquiring a program running state according to an embodiment of the present invention;
fig. 2 is a block diagram of a device for acquiring a program running state according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for acquiring a program running state according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for acquiring a program running state according to an embodiment of the present invention. The method can comprise the following steps:
step 101: and in the running process of the target process, acquiring a memory image file corresponding to the target process.
The target process in this step may be a process (i.e., a program) that needs to detect the running state of the program. The memory image file corresponding to the target process acquired by the processor in this step may be an image file of the memory content of the target process at the time (i.e., the detection time) when the program running state is to be detected, that is, the memory image file collects the memory information of the target process at the detection time.
Specifically, the specific process of acquiring the memory image file corresponding to the target process in the process of running the target process by the processor in this step may be set by a designer according to a practical scenario and a user requirement, for example, in order to reduce the influence of the acquisition of the memory image file on the execution efficiency of the target process, the processor in this step may generate a child process of the target process when the memory image file needs to be acquired, and the child process may actively generate an abnormal signal to quit so as to generate the memory image file, because the memory content of the child process is completely the same as that of a parent process (the target process), the memory image file generated by the child process actively quitting (i.e., the memory image file corresponding to the child process) includes the memory content of the target process at that moment; that is to say, in this step, the processor may generate a sub-process of the target process, and cause the sub-process to actively exit abnormally, so as to obtain a memory image file corresponding to the sub-process; for example, after the processor receives a specific message (such as a preset state query instruction), the processor may generate a sub-process of the target process by using a message processing function and actively quit abnormally, so as to obtain a memory image file corresponding to the target process.
It can be understood that, in the process of running the target process by the processor in this step, the specific manner of obtaining the memory image file corresponding to the target process may be set by a designer according to a practical scene and a user requirement, for example, the processor may obtain the memory image file corresponding to the target process after receiving a preset state query instruction corresponding to the target process; namely, when a user needs to detect the program running state of the target process, the user can operate the human-computer interaction device to trigger a preset state query instruction corresponding to the target process, so that the processor can receive the preset state query instruction. The processor may also obtain the memory image file corresponding to the target process at preset time intervals. As long as the processor can obtain the memory image file corresponding to the target process in the running process of the target process, this embodiment does not limit this.
Specifically, the specific file Format of the memory image file in this step may be set by a designer, for example, the memory image file may be a file in ELF (Executable and Linkable Format); the file may also be a file in another format, as long as the memory image file may include the memory content of the target process of the image at the detection time, which is not limited in this embodiment.
Step 102: determining mirror image memory contents corresponding to each preset mark in the preset mark file according to the memory mirror image file and the preset mark file of the target process; the preset mark file comprises data information to be marked and mark name information corresponding to each preset mark.
It should be noted that, in this step, the preset markup file of the target process may be a preset file in which information (i.e., data information to be tagged) of memory contents (i.e., operation state data) that the target process needs to pay attention to in the operation process is recorded, so that the processor may determine, by using the preset markup file, mirror image memory contents that need to be paid attention to in the memory image file, i.e., mirror image memory contents corresponding to each preset tag in the preset markup file. The preset mark in this step may be category information corresponding to the memory content that needs to be paid attention to.
Correspondingly, the step can also include the step that the processor obtains the preset mark file of the target process before this step; for example, in the encoding stage of the target process, a designer or a user may record the running state data that needs to be paid attention to the markup file, so that the processor may run a memory image analysis tool to read and analyze the preset markup file, and determine the memory content that needs to be paid attention to.
Specifically, the specific content of the preset markup file in this embodiment may be set by a designer, for example, the preset markup file may include data information (such as the size of data) to be marked and tag name information corresponding to each preset markup; the preset mark file can also comprise display format information corresponding to each preset mark, so that the content of the preset mark file can be displayed in a format corresponding to the display format information on the interactive interface. As long as the processor can determine the mirror image memory content corresponding to each preset tag in the memory mirror image file by using the preset tag file, this embodiment does not limit this.
Correspondingly, the embodiment may further include a step of displaying the content in the preset markup file on the interactive interface, for example, the processor may display the content in the preset markup file on the interactive interface according to the received markup display instruction.
It can be understood that the purpose of this step may be that the processor determines the target mirror image memory content in the memory mirror image file, that is, the mirror image memory content corresponding to each preset mark, by using the memory mirror image file and the preset mark file of the target process, so as to obtain the memory content (that is, the operation state data) of the target process that needs to be concerned in the memory content at the detection time, thereby implementing the monitoring of the program operation state and facilitating the subsequent positioning of the problem.
Specifically, the specific manner in which the processor determines the mirror image memory content corresponding to each preset mark in the preset mark file according to the memory mirror image file and the preset mark file of the target process in this step can be set by a designer according to a practical scene and user requirements, for example, the processor can determine the mirror image memory content corresponding to each preset mark according to the preset mark file, the symbol table of the target process and the memory mirror image file; for example, the processor may operate a memory mirror image analysis tool to read and analyze a preset tag file, then read a symbol table of a target process, and establish association between a preset tag and a memory address; then, analyzing the memory mirror image file according to the file format of the memory mirror image file, and establishing the association between the memory address and the mirror image memory content in the memory mirror image file so as to obtain the association between the preset mark and the mirror image memory content; that is, this step may include determining a first correspondence relationship according to a preset markup file and a symbol table; determining a second corresponding relation according to the file format of the memory mirror image file; determining mirror image memory contents corresponding to each preset mark according to the first corresponding relation and the second corresponding relation; the first corresponding relation is the corresponding relation between each preset mark and the memory address, and the second corresponding relation is the corresponding relation between the memory address and the mirror image memory content. Correspondingly, when the processor marks corresponding preset marks in the memory content according to the preset mark file in the running process of the target process, the processor can preset the mark file and identify the mirror memory content corresponding to each preset mark in the memory mirror file; that is, the preset mark may be a specific identifier (such as a serial number ID), and correspondingly, the preset mark file may include specific identifier contents of each preset mark. As long as the processor can determine the mirror image memory content corresponding to each preset mark in the preset mark file according to the memory image file and the preset mark file of the target process, this embodiment does not limit this.
It should be noted that, this embodiment is exemplified by acquiring the program running state of one target process at one detection time, and the acquisition of the program running state of the target process at other detection times and the acquisition of the program running state of other target processes at any detection time may be implemented in the same or similar manner as the method provided in this embodiment, which is not limited in this embodiment.
Specifically, the step may further include the processor displaying, on the interactive interface, the mirror memory content corresponding to the target mark according to the received state display instruction; the state display instruction comprises target mark information, and the target mark is a preset mark corresponding to the target mark information. For example, when the target tag information is a tag name, the processor may run the memory image analysis tool to search and read corresponding image memory contents in the memory image file according to the memory address associated with the tag name in the state display instruction, and display the corresponding image memory contents in the interactive interface.
In this embodiment, according to the memory image file and the preset mark file of the target process, the mirror image memory content corresponding to each preset mark in the preset mark file is determined, and the memory information to be paid attention to in the memory image file can be obtained, so that the running state of the target process is determined, the program running state is obtained without using a log file, the problem of log flooding can be avoided, and the delay condition of the program is reduced.
Referring to fig. 2, fig. 2 is a block diagram of a device for acquiring a program running state according to an embodiment of the present invention. The apparatus may include:
the acquiring module 10 is configured to acquire a memory image file corresponding to a target process in an operating process of the target process;
the determining module 20 is configured to determine, according to the memory image file and the preset tag file of the target process, image memory contents corresponding to each preset tag in the preset tag file; the preset mark file comprises data information to be marked and mark name information corresponding to each preset mark.
Optionally, the obtaining module 10 may be specifically configured to generate a sub-process of the target process, and enable the sub-process to actively and abnormally quit, so as to obtain a memory image file corresponding to the sub-process.
Optionally, the obtaining module 10 may include:
and the control acquisition submodule is used for receiving the preset state query instruction and acquiring the memory image file corresponding to the target process.
Optionally, the obtaining module 10 may include:
and the interval acquisition submodule is used for acquiring the memory image file corresponding to the target process according to a preset time interval.
Optionally, the apparatus may further include:
the receiving module is used for receiving a state display instruction; wherein the state display instruction comprises target mark information;
the display module is used for displaying mirror image memory content corresponding to the target mark on the interactive interface; and the target mark is a preset mark corresponding to the target mark information.
Optionally, the determining module 20 may be specifically configured to determine, according to the preset tag file, the symbol table of the target process, and the memory mirror file, the mirror memory content corresponding to each preset tag.
Optionally, the determining module 20 may include:
the first determining submodule is used for determining a first corresponding relation according to a preset mark file and a symbol table; wherein, the first corresponding relation is the corresponding relation between each preset mark and the memory address;
the second determining submodule is used for determining a second corresponding relation according to the file format of the memory mirror image file; wherein, the second corresponding relation is the corresponding relation between the memory address and the mirror image memory content;
and the third determining submodule is used for determining the mirror image memory content corresponding to each preset mark according to the first corresponding relation and the second corresponding relation.
In this embodiment, in the embodiment of the present invention, the determining module 20 determines, according to the memory image file and the preset mark file of the target process, the mirror image memory content corresponding to each preset mark in the preset mark file, and can obtain the memory information that needs to be paid attention to in the memory image file, thereby determining the running state of the target process, implementing program running state acquisition without using a log file, avoiding the problem of log flooding, and reducing the delay condition of the program.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus for acquiring a program running state according to an embodiment of the present invention. The device 1 may comprise:
a memory 11 for storing a computer program; the processor 12 is configured to implement the steps of the method for acquiring the program running state provided in the above embodiment when executing the computer program.
The device 1 may be embodied as a server of a storage system, and the device 1 may comprise a memory 11, a processor 12 and a bus 13.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal memory unit of the device 1. The memory 11 may in other embodiments also be an external storage device of the device 1, such as a plug-in hard disk provided on a server, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like. Further, the memory 11 may also comprise both internal memory units of the device 1 and external memory devices. The memory 11 can be used not only for storing application software installed in the device 1 but also various types of data, such as: the code of the program, etc., which executes the acquisition method of the program operation state may also be used to temporarily store data that has been output or is to be output.
The processor 12 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip in some embodiments, and is used for executing program codes stored in the memory 11 or Processing data, such as codes of a program for executing a method for acquiring a program running state.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 3, but that does not indicate only one bus or one type of bus.
Further, the device may further comprise a network interface 14, and the network interface 14 may optionally comprise a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the device 1 and other electronic devices.
Optionally, the device 1 may further comprise a user interface 15, the user interface 15 may comprise a Display (Display), an input unit such as a key, and the optional user interface 15 may further comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the device 1 and for displaying a visual user interface.
Fig. 3 shows only the device 1 with the components 11-15, and it will be understood by a person skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
In addition, the embodiment of the present invention also discloses a computer readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the method for acquiring the program running state provided in the above embodiment are implemented.
Wherein the storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The apparatuses, devices and computer-readable storage media disclosed in the embodiments correspond to the methods disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
The above details are provided for a method, an apparatus, a device and a computer readable storage medium for acquiring a program running state provided by the present invention. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (8)

1. A method for acquiring a program running state is characterized by comprising the following steps:
in the running process of a target process, acquiring a memory image file corresponding to the target process;
determining mirror image memory contents corresponding to each preset mark in the preset mark file according to the memory mirror image file and the preset mark file of the target process; the preset mark file comprises data information to be marked and mark name information which are respectively corresponding to each preset mark;
determining mirror memory contents corresponding to each preset mark in the preset mark file according to the memory mirror image file and the preset mark file of the target process, wherein the determining comprises the following steps:
determining mirror image memory contents corresponding to each preset mark according to the preset mark file, the symbol table of the target process and the memory mirror image file;
determining mirror image memory contents corresponding to each preset mark according to the preset mark file, the symbol table of the target process and the memory image file, wherein the determining comprises the following steps:
determining a first corresponding relation according to the preset mark file and the symbol table; wherein, the first corresponding relation is the corresponding relation between each preset mark and the memory address;
determining a second corresponding relation according to the file format of the memory mirror image file; the second corresponding relationship is the corresponding relationship between the memory address and the mirror image memory content;
and determining mirror image memory contents corresponding to each preset mark according to the first corresponding relation and the second corresponding relation.
2. The method for acquiring the program running state according to claim 1, wherein the acquiring the memory image file corresponding to the target process includes:
and generating a sub-process of the target process, and enabling the sub-process to actively and abnormally quit to obtain a memory image file corresponding to the sub-process.
3. The method according to claim 1, wherein the obtaining of the memory image file corresponding to the target process includes:
and after receiving a preset state query instruction, acquiring a memory image file corresponding to the target process.
4. The method for acquiring the program running state according to claim 1, wherein the acquiring the memory image file corresponding to the target process includes:
and acquiring the memory image file corresponding to the target process according to a preset time interval.
5. The method according to claim 1, wherein after determining, according to the memory image file and the preset markup file of the target process, the mirror memory content corresponding to each preset markup in the preset markup file, the method further comprises:
receiving a state display instruction; wherein the status display instruction comprises target marking information;
displaying mirror image memory content corresponding to the target mark on the interactive interface; and the target mark is a preset mark corresponding to the target mark information.
6. An apparatus for acquiring a program operating state, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a memory image file corresponding to a target process in the running process of the target process;
the determining module is used for determining mirror image memory contents corresponding to each preset mark in the preset mark file according to the memory mirror image file and the preset mark file of the target process; the preset mark file comprises data information to be marked and mark name information which are respectively corresponding to each preset mark;
the determining module is specifically configured to determine, according to the preset tag file, the symbol table of the target process, and the memory mirror file, mirror memory content corresponding to each preset tag;
the determining module includes:
the first determining submodule is used for determining a first corresponding relation according to the preset mark file and the symbol table; wherein, the first corresponding relation is the corresponding relation between each preset mark and the memory address;
the second determining submodule is used for determining a second corresponding relation according to the file format of the memory mirror image file; the second corresponding relationship is the corresponding relationship between the memory address and the mirror image memory content;
and the third determining submodule is used for determining the mirror image memory content corresponding to each preset mark according to the first corresponding relation and the second corresponding relation.
7. An apparatus for acquiring a program operating state, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for acquiring the running state of the program according to any one of claims 1 to 5 when the computer program is executed.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, implements the steps of the method for acquiring a program operating state according to any one of claims 1 to 5.
CN202011096093.4A 2020-10-14 2020-10-14 Method, device and equipment for acquiring program running state and storage medium Active CN112269713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011096093.4A CN112269713B (en) 2020-10-14 2020-10-14 Method, device and equipment for acquiring program running state and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011096093.4A CN112269713B (en) 2020-10-14 2020-10-14 Method, device and equipment for acquiring program running state and storage medium

Publications (2)

Publication Number Publication Date
CN112269713A CN112269713A (en) 2021-01-26
CN112269713B true CN112269713B (en) 2023-01-10

Family

ID=74338584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011096093.4A Active CN112269713B (en) 2020-10-14 2020-10-14 Method, device and equipment for acquiring program running state and storage medium

Country Status (1)

Country Link
CN (1) CN112269713B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113157477B (en) * 2021-04-14 2024-02-06 北京字节跳动网络技术有限公司 Memory leakage attribution method, device, electronic equipment and storage medium
CN114020504B (en) * 2021-10-19 2022-08-09 北京五八信息技术有限公司 Data processing method and device, electronic equipment and storage medium
CN114328134B (en) * 2022-03-16 2022-05-31 深圳超盈智能科技有限公司 Dynamic testing system for computer memory

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7584225B2 (en) * 2003-11-10 2009-09-01 Yahoo! Inc. Backup and restore mirror database memory items in the historical record backup associated with the client application in a mobile device connected to a communion network
US7698732B2 (en) * 2005-02-03 2010-04-13 International Business Machines Corporation Method and apparatus for exchanging information between computer systems from different computer networks
CN101770551A (en) * 2008-12-30 2010-07-07 中国科学院软件研究所 Method for processing hidden process based on hardware simulator
CN102279877B (en) * 2011-07-26 2013-03-13 山东省计算中心 Physical memory mirror image file analyzing method of Mac OS system

Also Published As

Publication number Publication date
CN112269713A (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN112269713B (en) Method, device and equipment for acquiring program running state and storage medium
CN110647471A (en) Interface test case generation method, electronic device and storage medium
US9665574B1 (en) Automatically scraping and adding contact information
CN112506910A (en) Multi-source data acquisition method and device, electronic equipment and storage medium
CN109240664B (en) Method and terminal for collecting user behavior information
CN116644213A (en) XML file reading method, device, equipment and storage medium
CN110888791A (en) Log processing method, device, equipment and storage medium
CN114254008A (en) Information generation method and device and electronic equipment
CN112130944A (en) Page abnormity detection method, device, equipment and storage medium
CN113934617A (en) Data processing method, device, equipment and storage medium
CN116738091A (en) Page monitoring method and device, electronic equipment and storage medium
CN112988776B (en) Method, device and equipment for updating text parsing rule and readable storage medium
CN114221988B (en) Content distribution network hotspot analysis method and system
CN111124841B (en) Alarm method and device for abnormal page and computer system
CN112003647B (en) Detection method, device and equipment for recycled optical modem and storage medium
WO2019071899A1 (en) Electronic device, vehicle data import method and storage medium
CN114285774A (en) Flow recording method and device, electronic equipment and storage medium
CN112131091B (en) Test method and device and electronic equipment
CN111708684B (en) Recording method and device for page access and computer system
CN113722642B (en) Webpage conversion method and device, electronic equipment and storage medium
CN111026575B (en) Abnormality processing method and device and electronic equipment
CN109446166B (en) Method for detecting file directory, computer readable storage medium and terminal device
CN116910333A (en) Crawling method and related equipment applied to web page elements
CN116302813A (en) Log abnormality positioning method, device, equipment and storage medium
CN116126713A (en) Method and device for generating interface automation test case and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant