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

Method for processing dynamic library occupation phenomena

A dynamic library and occupied technology, which is applied in the direction of electronic digital data processing, program loading/starting, instruments, etc., can solve the problem that files cannot be replaced or deleted normally, and achieve the effect of convenient installation scripts and appropriate permissions

Inactive Publication Date: 2016-05-25
WATCHDATA SYST
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the defects existing in the prior art, the purpose of the present invention is to provide a method for dealing with the dynamic library being occupied, and solve the problem that certain files cannot be replaced or deleted normally when upgrading or uninstalling

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
  • Method for processing dynamic library occupation phenomena

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0025] Such as figure 1 As shown, it is a flow chart of a method for dealing with the dynamic library being occupied in the embodiment of the present invention. It can be seen from the figure that the method may include the following steps:

[0026] Step S101: The caller loads the function module, and passes two main parameters to the function module, the parameters are the dynamic library path name, and the non-quiet mode.

[0027] Step S201: The function module releases the service program according to the current system. If it is a 64-bit system, start 64-bit and 32-bit services. If it is a 32-bit system, start a 32-bit service. At this time, the service establishes a named pipe and waits for the function module Connect and send commands.

[0028] Step S202: The function module sends the dynamic library path name passed by the caller to the 64-bi...

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 invention relates to a method for processing dynamic library occupation phenomena. The method comprises the following steps: loading a function module by a caller and transferring parameters to the function module; releasing a service program and starting a server by the function module according to the current system; starting a named pipe by the service program and waiting for the function module to be connected and send an instruction; sending an instruction indicating querying a target dynamic library to the service program by the function module through the named pipe; finding a process, in which the target dynamic library is loaded, under all the accounts by the service program according to a path name of the target dynamic library, and recording the process; returning a query result to the function module by the service program; selecting whether to prompt the user the follow-up processing process by the function module according to the result and an interactive processing mode; sending a processing instruction to the service program by the function module; and selecting to end the target dynamic library loading process or not carry out any processing by the service program according to the processing instruction. The method is still capable of ending certain target file loading processes under a plurality of accounts.

Description

technical field [0001] The invention specifically relates to a method for dealing with the phenomenon that a dynamic library is occupied, and belongs to the field of program installation, upgrade, or uninstallation operation methods. Background technique [0002] During the software upgrade process, it is often encountered that the functions of the new version after the upgrade cannot be used normally, or other abnormalities occur. This is because in the application environment of upgrading and uninstalling the installation package, it is necessary to overwrite or delete the installed files, but because a certain file may be being loaded by the process used by the user, the corresponding operation cannot be realized. The result of this situation is that some files are still old versions. This kind of operation that cannot be overwritten and deleted is occupied in the process under multiple accounts, and it is not easy to find, which brings confusion and inconvenience to 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
IPC IPC(8): G06F9/445
CPCG06F8/656
Inventor 张伟
Owner WATCHDATA SYST
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