Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method, device and electronic equipment for releasing a mutex

A resource lock and lock state technology, applied in the field of releasing mutex locks, can solve the problems of inability to detect and kill the security protection efficiency of the operating system, and the operating system crashes, and achieve the effect of improving the security protection efficiency.

Active Publication Date: 2019-12-24
ZHUHAI BAOQU TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiments of the present invention provide a method, device, and electronic device for releasing a mutex, which can improve the security protection efficiency of the operating system and solve the problem of mutual exclusion on the process in the existing method for obtaining the process path. The lock phenomenon, the problem of low security protection efficiency of the operating system caused by calling the enumeration process virtual memory kernel function to obtain process path information is likely to cause the operating system to crash, making it impossible to check and kill the process

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, device and electronic equipment for releasing a mutex
  • A method, device and electronic equipment for releasing a mutex
  • A method, device and electronic equipment for releasing a mutex

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] figure 1 It is a schematic flow diagram of a method for releasing a mutex lock according to an embodiment of the present invention, as figure 1 As shown, the method of this embodiment may include:

[0057] Step 101, obtain process resource lock information in the process environment block, and obtain the lock field in the process resource lock information;

[0058] In this embodiment, as an optional embodiment, the acquiring the process resource lock information in the process environment block includes:

[0059] A01, obtain the process environment block address;

[0060] As an optional embodiment, the process environment block (Process Environment Block, PEB) address can query the basic type information of the ProcessBasicInformation process by calling the ZwQueryInformationProcess function, wherein the PEB address is saved, named PebBaseAddress, thereby obtaining the process environment block PEB address.

[0061] A02. Obtain a pointer to the process resource lock ...

Embodiment 2

[0081] figure 2 It is a schematic structural diagram of a device for releasing a mutex in Embodiment 2 of the present invention, such as figure 2 As shown, the device in this embodiment may include: a lock field acquisition module 21, a lock judgment module 22, and a status update module 23, wherein,

[0082] The lock field acquiring module 21 is used to acquire the process resource lock information in the process environment block, and acquire the lock field in the process resource lock information;

[0083] In this embodiment, as an optional embodiment, the lock field acquisition module 21 includes: an address acquisition unit, a pointer acquisition unit, a process resource lock information acquisition unit, and a lock field acquisition unit (not shown in the figure), wherein,

[0084] An address obtaining unit, configured to obtain the address of the process environment block;

[0085] A pointer acquisition unit, configured to obtain the pointer of the process resource ...

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

An embodiment of the invention discloses a mutually-exclusive lock release method and device and electronic equipment and relates to information safety technology. The mutually-exclusive lock release method and device is conducive to improving safety protection efficiency of an operation system. The method includes: acquiring process resource lock information in a process environment block, and acquiring a locking field in the process resource lock information; judging whether the locking field in the process resource information is in a locked state or not; if yes, updating the locking field into a unlocked state according to a pointer of the process resource lock information.

Description

technical field [0001] The invention relates to information security technology, in particular to a method, device and electronic equipment for releasing a mutual exclusion lock. Background technique [0002] With the gradual disclosure of the technical details of the kernel layer of the Windows system, more and more malicious applications (APP, Application) such as Trojan horse viruses, for their own survival and illegal interests, begin to use kernel layer drivers to protect their own process files. The process corresponding to the process file of the malicious application program protected by the kernel layer driver can end (kill) the security protection process in the Windows system, for example, the process of antivirus software or firewall software, so that the process of the malicious application program can The intent of the application provider is to maliciously attack the user's process or system process, which may cause the computer to run unstable, and may even c...

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 Patents(China)
IPC IPC(8): G06F9/52
CPCG06F9/526
Inventor 李文靖
Owner ZHUHAI BAOQU TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products