A process identification method and device

By generating a process UID that combines the process creation timestamp and ID, the problem of difficulty in identifying process uniqueness in existing technologies is solved, and accurate identification of process state and program determination are achieved.

CN115756618BActive Publication Date: 2026-03-03ZHUHAI BAOQU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-16
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In existing technologies, when identifying processes using process ID, process name, or GUID, there are problems such as difficulty in determining process uniqueness and large identification errors.

Method used

By generating a process UID, and combining it with the process creation timestamp and process ID, a unique process identifier is formed, which is used to identify and determine the running status of the process.

Benefits of technology

It enables simple, fast, and accurate identification of processes and determination of their respective programs after the operating system starts, solving the limitations and error problems of process uniqueness identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115756618B_ABST
    Figure CN115756618B_ABST
Patent Text Reader

Abstract

The application discloses a process identification method and device, and relates to the computer application field.The method comprises the following steps: receiving a process identification instruction input by a user, wherein the process identification instruction comprises the identification of a program where the process is located; acquiring a plurality of process UIDs belonging to the program according to the identification of the program where the process is located; identifying each process UID of the plurality of process UIDs to obtain the running state of each process; and displaying the identification result to the user, wherein the identification result comprises the running state of each process.The application realizes simple, fast and accurate identification of the process and determination of the program where the process is located after the operating system is started.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer applications, and more particularly to a method and apparatus for process identification. Background Technology

[0002] A process is a program's execution activity on a certain set of data in a computer. It is the foundation of the operating system structure and the basic unit for the operating system to allocate and schedule resources.

[0003] Currently, identifying the existence of processes within a program is a common method in business logic. By identifying processes, the running status of the program can be monitored in real time.

[0004] In the first implementation, the terminal can identify a process and determine the program it belongs to by judging its process ID, process name, and process command line. In the second implementation, the terminal can generate a globally unique identifier (GUID) for each started process or record a creation marker for each process in a local file. By judging the GUID and creation marker, the terminal can identify the process and determine the program it belongs to.

[0005] However, the above scheme also reveals the following defects: 1) As processes start and close, since process IDs and process names can be reused, the same process ID and process name may be assigned to different processes at different times. At this time, the terminal cannot identify the uniqueness of the process and determine the program to which the process belongs. The first implementation method has certain limitations; 2) Since GUIDs and creation tags are generated by the terminal itself, it is inevitable that there will be duplicate GUIDs and creation tags or insufficient allocation, resulting in a large error in the process identification. Summary of the Invention

[0006] In view of this, embodiments of the present invention provide a process identification method and apparatus to solve the problems of limitations and large identification errors in existing process identification schemes.

[0007] In a first aspect, embodiments of the present invention provide a process identification method, the method comprising:

[0008] Receive a process identification instruction input by the user, wherein the process identification instruction includes the identifier of the program to which the process belongs;

[0009] Based on the identifier of the program to which the process belongs, obtain multiple process UIDs belonging to the program;

[0010] Identify the process UID of each of the multiple process UIDs to obtain the running status of each process;

[0011] The identification results are displayed to the user, and the identification results include the running status of each process.

[0012] Optionally, before receiving the process identification instruction input by the user, the method further includes:

[0013] Receive a user-input command to launch a program, the command including an identifier of the program selected by the user;

[0014] Based on the program's identifier, create multiple processes to start the program, and assign a different process ID to each process;

[0015] Generate the process UID for each process based on its process ID.

[0016] Optionally, the process UID includes the process creation timestamp and the process ID.

[0017] Optionally, generating the process UID for each process based on its process ID specifically includes:

[0018] Get the process creation timestamp;

[0019] The process UID is the combination of the process's creation timestamp and the process ID.

[0020] Record the correspondence between the process and the process UID.

[0021] Optionally, identifying each process UID among multiple process UIDs to obtain the running status of each process specifically includes:

[0022] During the startup cycle, the survival and running status of the process indicated by the process ID is determined based on the creation timestamp;

[0023] If the time difference between the creation timestamp and the current time exceeds a preset time threshold, then the generation state of the process is determined to be a continuously running state.

[0024] If the time difference between the creation timestamp and the current time does not exceed the time threshold, then the process is determined to be in a newly generated running state.

[0025] Optionally, the method further includes:

[0026] Based on the identifier of the program to which the process belongs, obtain the process record belonging to the program. The process record includes the process name, process UID, and creation / closing status of each process belonging to the program.

[0027] Using the creation and shutdown states, you can view the number of times a process is created and shut down during the startup cycle;

[0028] The viewing results are displayed to the user, including the number of times the process was created and closed during the startup cycle.

[0029] Secondly, embodiments of the present invention provide a process identification device, the device comprising:

[0030] A receiving unit is used to receive a process identification instruction input by the user, wherein the process identification instruction includes the identifier of the program to which the process belongs;

[0031] The acquisition unit is used to acquire multiple process UIDs belonging to the program based on the identifier of the program to which the process is located;

[0032] The identification unit is used to identify each process UID of multiple process UIDs and obtain the running status of each process.

[0033] The display unit is used to display the recognition results to the user, the recognition results including the running status of each process.

[0034] Optionally, the receiving unit is further configured to receive a user-input program launch instruction, the program launch instruction including an identifier of the program selected by the user;

[0035] The device further includes: a creation unit, configured to create multiple processes for starting the program based on the program's identifier, and assign a different process ID to each process;

[0036] The generation unit is used to generate the process UID of each process based on the process ID of each process.

[0037] Optionally, the process UID includes the process creation timestamp and the process ID.

[0038] Optionally, the generation unit is specifically used to obtain the creation timestamp of the process;

[0039] The process UID is the combination of the process's creation timestamp and the process ID.

[0040] Record the correspondence between the process and the process UID.

[0041] Optionally, the process UID includes the process creation timestamp and the process ID;

[0042] The identification unit is specifically used to determine the survival and running status of the process indicated by the process ID based on the creation timestamp during the startup cycle.

[0043] If the time difference between the creation timestamp and the current time exceeds a preset time threshold, then the generation state of the process is determined to be a continuously running state.

[0044] If the time difference between the creation timestamp and the current time does not exceed the time threshold, then the process is determined to be in a newly generated running state.

[0045] Optionally, the acquisition unit is further configured to acquire process records belonging to the program based on the identifier of the program to which the process belongs, wherein the process records include the process name, process UID and creation / closing status of each process belonging to the program;

[0046] The device further includes: a viewing unit, used to view the number of times a process is created and closed during the startup cycle using the creation and closing status;

[0047] The display unit is also used to display viewing results to the user, the viewing results including the number of times the process was created and closed during the startup cycle.

[0048] Thirdly, embodiments of the present invention provide an electronic device, the electronic device comprising: a housing, a processor, a memory, a circuit board, and a power supply circuit, wherein the circuit board is disposed within the space enclosed by the housing, and the processor and the memory are disposed on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the process identification method described in the first aspect.

[0049] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing one or more programs, which can be executed by one or more processors to implement the process identification method described in the first aspect.

[0050] This invention provides a process identification method and apparatus. An electronic device receives a process identification instruction input by a user, the instruction including the identifier of the program to which the process belongs. Based on the identifier of the program, the electronic device obtains multiple process UIDs belonging to the program. The electronic device identifies each of the multiple process UIDs to obtain the running status of each process. The electronic device displays the identification result to the user, the result including the running status of each process.

[0051] The aforementioned solution addresses the limitations and significant identification errors inherent in existing process identification methods. It enables simple, fast, and accurate process identification and determination of the program to which the process belongs after the operating system starts. Attached Figure Description

[0052] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0053] Figure 1 A flowchart of a process identification method provided in an embodiment of the present invention;

[0054] Figure 2 A schematic diagram of the process identification device provided in an embodiment of the present invention;

[0055] Figure 3 This is a schematic diagram of an electronic device structure provided in an embodiment of the present invention. Detailed Implementation

[0056] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0057] It should be understood that the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0058] The following is in conjunction with the appendix Figure 1 The solutions provided in the embodiments of the present invention will be described in detail below. Figure 1 This is a flowchart illustrating a process identification method provided in an embodiment of the present invention. In this embodiment, the implementing entity is an electronic device. This electronic device can be a terminal device, such as a personal computer or desktop computer; it can also be a server. Figure 1 As shown, the method in this embodiment specifically includes the following steps: Figure 1As shown, the method in this embodiment specifically includes the following steps:

[0059] Step 110: Receive a process identification instruction input by the user, wherein the process identification instruction includes the identifier of the program to which the process is located.

[0060] In this step, the user (also known as the administrator) wants to view the processes within a specific open program. For example, they can view the running status information of each process, including but not limited to the number of times the process has been run, closed, and its current status, to understand whether the program containing the process has been opened, closed, or crashed.

[0061] Users can input process identification commands into electronic devices via command line. These commands include the identifier of the program to which the process belongs.

[0062] Optionally, before performing step 110, the process may also include opening the program on the electronic device, creating the process, and assigning a unique identifier (UID) to the process.

[0063] Furthermore, the terminal's operating system has been started and displayed to the user. To open a program, the user can input a launch command into the electronic device via command line. This launch command includes the identifier of the program selected by the user. Upon receiving the launch command, the electronic device creates multiple processes for launching the program based on its identifier and assigns a different process ID to each process.

[0064] For example, an electronic device creates 5 processes and assigns a different process ID to each process: process ID 1000, process ID 1001, process ID 1003, process ID 1004, and process ID 1005.

[0065] Based on the process ID of each process, the electronic device generates a process UID for each process.

[0066] Optionally, the process UID of each of the above processes includes the process creation timestamp and the process ID.

[0067] Optionally, the electronic device generates a process UID for each process based on its process ID. Specifically, the electronic device assigns a different process ID to each process and then obtains the creation timestamp of each process. The electronic device uses the combination of the creation timestamp and the process ID of each process as the process UID.

[0068] For example, if the creation timestamp of process 1 is 10:00, then the process UID of process 1 is 10:00+1001; if the creation timestamp of process 2 is 10:01, then the process UID of process 1 is 10:01+1002; if the creation timestamp of process 3 is 10:02, then the process UID of process 1 is 10:02+1003; if the creation timestamp of process 4 is 10:03, then the process UID of process 1 is 10:03+1004; if the creation timestamp of process 5 is 10:04, then the process UID of process 1 is 10:04+1005.

[0069] Electronic devices record the correspondence between each process and its process UID.

[0070] It should be noted that an electronic device may create multiple processes simultaneously. For a process ID, the electronic device will only assign it to one process at a time. However, for a process ID at different times, the electronic device can assign it to any process.

[0071] Understandably, because the UID includes a creation timestamp of the electronic device's creation process, and the ID included in the UID is only assigned to one process at a time, this UID can be used to uniquely identify a specific process and will not be the same as the UIDs of other processes.

[0072] Step 120: Obtain multiple process UIDs belonging to the program based on the identifier of the program to which the process is located.

[0073] In this step, after the electronic device obtains the program's identifier, it searches for and retrieves the process UIDs of multiple processes belonging to the program locally.

[0074] It is understandable that after an electronic device creates multiple processes to launch a program, it records the correspondence between the program's identifier and the process's UID locally.

[0075] Step 130: Identify the process UID of each of the multiple process UIDs to obtain the running status of each process.

[0076] In this step, after the electronic device obtains multiple process UIDs, it identifies each process UID to obtain the running status of each process.

[0077] Optionally, in one implementation, the electronic device identifies each of the multiple process UIDs to obtain the running status of each process. Specifically, during the startup cycle, based on the creation timestamp, the electronic device determines the survival and running status of the process indicated by the process ID. The electronic device compares the time difference between the creation timestamp and the current time with a preset time threshold. If the time difference exceeds the time threshold, the electronic device determines that the process has always existed and that the process's generation state is a continuously running state; if the time difference does not exceed the time threshold, the electronic device determines that the process was first closed and then recreated, and that the process's generation state is a newly created running state.

[0078] The above implementation method can be used to identify the living and running status of a process within a program, and can also determine whether a process has ever crashed.

[0079] It should be noted that the aforementioned startup cycle specifically refers to a time period from when an electronic device is turned on until it is turned off.

[0080] Step 140: Display the identification results to the user, the identification results including the running status of each process.

[0081] In this step, after the electronic device obtains the running status of each process, it generates an identification result. This identification result includes the running status of each process.

[0082] The electronic device displays the recognition results so that the user can perform corresponding actions based on the running status of each process. For example, after obtaining the running status of each process, the user can use the running status to determine whether the program has started; or, the user can use the running status of the processes to perform data refresh processing.

[0083] By using process UIDs, electronic devices can easily identify processes with the same process name or process ID. The above solution addresses the limitations and significant identification errors inherent in existing process uniqueness identification methods. It enables simple, fast, and accurate process identification and determination of the program to which the process belongs after the operating system starts.

[0084] Optionally, in embodiments of the present invention, the process of the electronic device allowing the user to view the creation and closing status of a process is also included.

[0085] Specifically, after obtaining the program's identifier, the electronic device identifies the program corresponding to that identifier and retrieves the process records belonging to that program locally. These process records include the process name, process UID, and creation / closing status of each process belonging to that program.

[0086] It is understandable that when an electronic device starts a program, it also records the correspondence between the program and the processes belonging to that program locally, so that the electronic device knows how many processes the program includes, the name of each process, the UID, and the running status of each process, etc.

[0087] After acquiring process records, the electronic device uses the process's creation and shutdown status to view the number of times the process was created and shut down during the startup cycle. Once the electronic device obtains the number of times the process was created and shut down during the startup cycle, it generates a viewing result. This viewing result includes the number of times the process was created and shut down during the startup cycle.

[0088] Electronic devices display the results, allowing users to take appropriate actions based on the number of times a process is created and closed during its startup cycle. For example, users can determine the health status of a process by counting the number of creations and closures, identifying which processes are unstable and prone to crashing, and which are stable.

[0089] For example, the process record includes the process name, process UID, and creation / closing status of process 1, process 2, and process 3, as shown in the table below.

[0090] Table 1 Process Records

[0091]

[0092] The above implementation method can be used to accurately identify the number of times a process within a program is started and stopped.

[0093] Figure 2 This is a schematic diagram of a process identification device provided in an embodiment of the present invention, as shown below. Figure 2 As shown, the process identification device in this embodiment may include: a receiving unit 210, an acquisition unit 220, an identification unit 230, and a display unit 240.

[0094] The receiving unit 210 is used to receive a process identification instruction input by the user, wherein the process identification instruction includes the identifier of the program to which the process is located;

[0095] The acquisition unit 220 is used to acquire multiple process UIDs belonging to the program based on the identifier of the program to which the process is located;

[0096] The identification unit 230 is used to identify each process UID of multiple process UIDs and obtain the running status of each process.

[0097] Display unit 240 is used to display the recognition results to the user, the recognition results including the running status of each process.

[0098] Optionally, the receiving unit 210 is further configured to receive a user-input start program instruction, the start program instruction including an identifier of the program selected by the user;

[0099] The device further includes: a creation unit (not shown in the figure), configured to create multiple processes for starting the program based on the program's identifier, and assign a different process ID to each process;

[0100] The generation unit (not shown in the figure) is used to generate the process UID of each process based on the process ID of each process.

[0101] Optionally, the process UID includes the process creation timestamp and the process ID.

[0102] Optionally, the generation unit (not shown in the figure) is specifically used to obtain the creation timestamp of the process;

[0103] The process UID is the combination of the process's creation timestamp and the process ID.

[0104] Record the correspondence between the process and the process UID.

[0105] Optionally, the identification unit 230 is specifically used to determine the survival and running status of the process indicated by the process ID based on the creation timestamp during the startup cycle.

[0106] If the time difference between the creation timestamp and the current time exceeds a preset time threshold, then the generation state of the process is determined to be a continuously running state.

[0107] If the time difference between the creation timestamp and the current time does not exceed the time threshold, then the process is determined to be in a newly generated running state.

[0108] Optionally, the acquisition unit 220 is further configured to acquire process records belonging to the program based on the identifier of the program to which the process is located, wherein the process records include the process name, process UID and creation / closing status of each process belonging to the program;

[0109] The device further includes: a viewing unit, used to view the number of times a process is created and closed during the startup cycle using the creation and closing status;

[0110] The display unit 240 is further configured to display viewing results to the user, the viewing results including the number of times the process was created and closed during the startup cycle.

[0111] The apparatus of this embodiment can be used to perform Figure 1The technical solutions of the method embodiments shown are similar in principle and in effect, and will not be described again here.

[0112] Accordingly, the process identification device provided in this embodiment of the invention can also be implemented using another structure. Figure 3 This is a schematic diagram of an embodiment of an electronic device provided by the present invention, which can realize the present invention. Figure 1 The process of the illustrated embodiment is as follows: Figure 3 As shown, the above-mentioned electronic device may include: a housing 31, a processor 32, a memory 33, a circuit board 34, and a power supply circuit 35, wherein the circuit board 34 is disposed inside the space enclosed by the housing 31, and the processor 32 and the memory 33 are disposed on the circuit board 34; the power supply circuit 35 is used to supply power to the various circuits or devices of the above-mentioned electronic device; the memory 33 is used to store executable program code; the processor 32 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 33, for executing the methods described in the foregoing embodiments.

[0113] For details on the specific execution process of the above steps by processor 32, and the steps further executed by processor 32 through running executable program code, please refer to the present invention. Figure 1 The description of the illustrated embodiments will not be repeated here.

[0114] The electronic device is a device that provides computing services. It consists of a processor, hard drive, memory, system bus, etc. The electronic device is similar to the general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.

[0115] It should be noted that, in this document, terms such as "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0116] The various embodiments in this specification are described in a related manner. The same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on describing the differences from other embodiments.

[0117] In particular, the device embodiment is basically similar to the method embodiment, so the description is relatively simple. For relevant details, please refer to the description of the method embodiment.

[0118] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-including system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0119] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0120] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof.

[0121] In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0122] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0123] For ease of description, the above apparatus is described by dividing it into various functional units / modules. Of course, in implementing this invention, the functions of each unit / module can be implemented in one or more software and / or hardware.

[0124] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.

Claims

1. A method for process identification, characterized in that, The method includes: Receive a process identification instruction input by the user, wherein the process identification instruction includes the identifier of the program to which the process belongs; Based on the identifier of the program to which the process belongs, obtain multiple process UIDs belonging to the program; Identify the process UID of each of the multiple process UIDs to obtain the running status of each process; The identification results are displayed to the user, and the identification results include the running status of each process; Prior to receiving the process identification instruction input by the user, the method further includes: Receive a user-input command to launch a program, the command including an identifier of the program selected by the user; Based on the program's identifier, create multiple processes to start the program, and assign a different process ID to each process; Generate the process UID for each process based on its process ID; The process UID includes the process creation timestamp and the process ID; The process of identifying each process UID from multiple process UIDs to obtain the running status of each process specifically includes: During the startup cycle, the survival and running status of the process indicated by the process ID is determined based on the creation timestamp; If the time difference between the creation timestamp and the current time exceeds a preset time threshold, then the generation state of the process is determined to be a continuously running state. If the time difference between the creation timestamp and the current time does not exceed the time threshold, then the process is determined to be in a newly generated running state.

2. The method according to claim 1, characterized in that, The process UID generation for each process based on its process ID specifically includes: Get the process creation timestamp; The process UID is the combination of the process's creation timestamp and the process ID. Record the correspondence between the process and the process UID.

3. The method according to any one of claims 1-2, characterized in that, The method further includes: Based on the identifier of the program to which the process belongs, obtain the process record belonging to the program. The process record includes the process name, process UID, and creation / closing status of each process belonging to the program. Using the creation and shutdown states, you can view the number of times a process is created and shut down during the startup cycle; The viewing results are displayed to the user, including the number of times the process was created and closed during the startup cycle.

4. A process identification device, characterized in that, The device includes: A receiving unit is used to receive a process identification instruction input by the user, wherein the process identification instruction includes the identifier of the program to which the process belongs; The acquisition unit is used to acquire multiple process UIDs belonging to the program based on the identifier of the program to which the process is located; The identification unit is used to identify each process UID of multiple process UIDs and obtain the running status of each process. A display unit is used to display the recognition results to the user, the recognition results including the running status of each process; The receiving unit is further configured to receive a user-input program launch instruction, the program launch instruction including an identifier of the program selected by the user; A creation unit is configured to create multiple processes for starting the program based on the program's identifier, and assign a different process ID to each process; The generation unit is used to generate the process UID of each process based on the process ID of each process; The process UID includes the process creation timestamp and the process ID; The identification unit is specifically used to determine the survival and running status of the process indicated by the process ID based on the creation timestamp during the startup cycle. If the time difference between the creation timestamp and the current time exceeds a preset time threshold, then the generation state of the process is determined to be a continuously running state. If the time difference between the creation timestamp and the current time does not exceed the time threshold, then the process is determined to be in a newly generated running state.

5. The apparatus according to claim 4, characterized in that, The generation unit is specifically used to obtain the creation timestamp of the process; The process UID is the combination of the process's creation timestamp and the process ID. Record the correspondence between the process and the process UID.

Citation Information

Patent Citations

  • Method and apparatus for application filtering during freezing, and electronic device

    CN112714907A

  • Process-level activity tagging

    US20180196487A1