A method and device for detecting the number of process instances based on a memory mapping file

A technology of memory-mapped files and mapped files, which is applied in the field of detecting the number of process instances based on memory-mapped files, can solve problems such as bypassing detection, and achieve the effect of concealed detection.

Active Publication Date: 2019-02-12
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, such detection methods are well known and have been easily bypassed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for detecting the number of process instances based on a memory mapping file
  • A method and device for detecting the number of process instances based on a memory mapping file
  • A method and device for detecting the number of process instances based on a memory mapping file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Embodiments of the present invention provide a method and device for detecting the number of process instances based on a memory-mapped file, which are used to more covertly detect the number of process instances existing at the same time.

[0020] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0021] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a method and device for detecting the number of process instances based on a memory mapping file, which is used for detecting the number of process instancesexisting at the same time more concealed. The method of the embodiment of the invention comprises the following steps of defining a data storage format for writing a process into a memory mapping file; obtaining the unique process identification of the process, and encrypting the unique process identification of the process to obtain the encrypted KEY and the encrypted unique process identification, wherein the encrypted unique process identification changes with the change of the boot state; creating a memory map file, and writing the signature into the head end of the internal map file according to the data storage format, and writing the unique identification of the encrypted KEY and the process into the memory map file; when it is necessary to detect the number of actual inversions ofthe current process, reading the memory mapping file according to the data storage format, and decrypting the encrypted process unique identifier to obtain the decrypted process unique identifier, namely the number of the current process instances.

Description

technical field [0001] The invention relates to the field of development platforms, in particular to a method and a device for detecting the number of process instances based on memory mapping files. Background technique [0002] For some PC client programs, one system can only create one instance of the program, and if multiple instances are opened at the same time, there is a possibility of cheating, and it will also affect the normal functions of the program and have a great impact on performance. Most of the existing detection methods judge whether the instance has been created by creating a mutex variable, or judge whether there are multiple copies of the same process name. However, such detection methods are well known and easily bypassed. So a more concealed approach is needed. Contents of the invention [0003] Embodiments of the present invention provide a method and device for detecting the number of process instances based on memory-mapped files, which are use...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30G06F21/60
CPCG06F11/302G06F21/602
Inventor 周志刚
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products