CN102521530A - License recycling method and system - Google Patents

License recycling method and system Download PDF

Info

Publication number
CN102521530A
CN102521530A CN2011103227117A CN201110322711A CN102521530A CN 102521530 A CN102521530 A CN 102521530A CN 2011103227117 A CN2011103227117 A CN 2011103227117A CN 201110322711 A CN201110322711 A CN 201110322711A CN 102521530 A CN102521530 A CN 102521530A
Authority
CN
China
Prior art keywords
monitoring objective
program
objective program
licence
unit
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.)
Pending
Application number
CN2011103227117A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN2011103227117A priority Critical patent/CN102521530A/en
Publication of CN102521530A publication Critical patent/CN102521530A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses a license recycling method and system, applied to the field of license recycling. The license recycling method comprises the following steps of: creating a monitoring target program list, and judging whether target programs are used when finding out that these target programs are existent; starting to time the current states of the target programs if the target programs are unused; recycling checkout licenses when reaching a set time threshold; clearing a timer if the timer does not reach the time threshold and the monitoring target process is in a use state again; and as long as clicking a related icon when a user needs to continuously use software of which the license is compulsively checked out, enabling the software to obtain the license, wherein the whole processes of checking in and checking out the license is completely transparent to the user, and any influence cannot be caused to the user operations. According to the license recycling system, the license can be furthest kept in the use state, so that idle licenses can be avoided, therefore the license use efficiency is improved, and the license use cost is reduced.

Description

A kind of licence recovery method and system
Technical field
The present invention relates to a kind of network license technology, relate in particular to a kind of licence recovery method and system.
Background technology
At present; The floating type licence is the various large-scale main flow authorizations that manufacture and design software; The use-pattern that the floating type licence is general is: client is occupied this floating type licence from getting access to the floating type licence until all stage of giving back this floating type licence chronically when using software.Because the current large-scale extremely costliness of software that manufactures and designs; A lot of companies and a large amount of licence of all unable purchase of designing institute; Cause the license resources of these organization units all more in short supply, the situation that the employee seizes licence occurs through regular meeting, employee self temporarily need not use software in fact; Cause some real needs to use the employee of software can't carry out operate as normal, and cause the waste of license resources; Situation about also having is, the employee owing to receive the interference of other things as going to toilet, make a phone call etc., does not close software when using software during this period, also can cause expensive license resources idle for a long time; More than all situation all caused the waste of license resources to a certain extent, also reduced the service efficiency of licence simultaneously.
Summary of the invention
To above-mentioned technical matters, the object of the present invention is to provide a kind of licence recovery method and system, it makes licence be in user mode to greatest extent, has avoided the idle of licence, has improved the service efficiency of licence, has reduced use cost.
For achieving the above object, the present invention realizes through following technical scheme:
A kind of licence recovery method, said method comprises the steps:
A, monitoring objective program listing of establishment when these monitoring objective programs of discovery exist, judge whether the monitoring objective program is used;
B, according to the judged result of steps A to the monitoring objective program, further the relevant information of monitoring objective program is monitored;
C, according to the monitored results of step B to the relevant information of monitoring objective program, handle the corresponding licence of monitoring objective program.
Special, said steps A judges that the method whether the monitoring objective program is being used may further comprise the steps:
A1, judge whether the CPU usage of monitoring objective program reaches specified threshold;
A2, said steps A 1 judge when the CPU usage of monitoring objective program does not reach specified threshold, judges then whether the monitoring objective program is positioned at front window;
A3, said steps A 2 judges when the monitoring objective programs are positioned at front window, then judges whether the signal input of keyboard or mouse.
Special; Said step B monitors specifically the relevant information of monitoring objective program and comprises: said step B monitors specifically the relevant information of monitoring objective program and comprises: for not the time, timer picks up counting from the current state of target program in steps A 1 to A3 any judged result.
Special, said step C specifically comprises: when timer arrives the setting-up time threshold values, then hang up the monitoring objective program, close the monitoring objective program then and be connected with the network of license server, reclaim the licence of monitoring objective program; Do not reach time threshold values and steps A at timer and judge the monitoring objective program just in use, then timer zero clearing, the monitoring objective program regains licence, wakes the monitoring objective program up.
The invention also discloses a kind of licence recovery system, it is characterized in that, said system comprises:
The list creating unit is used to create a monitoring objective program listing, and judges whether the monitoring objective program exists;
Judging unit is used for when the monitoring objective program exists, judging whether the monitoring objective program is used;
The information monitoring unit is used for further the relevant information of monitoring objective program being monitored according to the judged result of judging unit;
The licence processing unit is used for handling the corresponding licence of monitoring objective program according to the monitored results of information monitoring unit.
Special, said judging unit comprises: the occupancy judging unit is used to judge whether the CPU usage of monitoring objective program reaches specified threshold; The window judging unit is used to judge whether the monitoring objective program is positioned at front window; Signal input judging unit is used for judging whether when the monitoring objective program is positioned at front window the signal input of keyboard or mouse.
Special, said information monitoring unit comprises: timer, be used for the time that the record object program is in unused state, and when target program transfers user mode to by unused state, with the zero clearing as a result of record; The time threshold values is provided with the unit, is used to be provided with the time threshold values that allows target program to be in unused state.
Special, said licence processing unit comprises: the program halt unit is used for when timer reaches the time threshold values time that the unit is provided with is set, hanging up the monitoring objective program; The connection closed unit is used for after the monitoring objective program is hung up in the program halt unit, closing the monitoring objective program and being connected with the network of license server; Licence reclaims the unit, after being used for closing the monitoring objective program and the network of license server being connected in the connection closed unit, and the licence of recovery monitoring objective program; The program wakeup unit is used for when the monitoring objective program regains licence, waking the monitoring objective program up.
Beneficial effect of the present invention is that said a kind of licence recovery method and system just judge whether it uses through creating a monitoring objective program listing when finding that these target programs exist; If target program is not used, then begin the current state of this target program is picked up counting, the time that reaches setting is during threshold values; Recovery checks out licence; If timer does not reach the time threshold values, the monitoring objective process is initially located in user mode again, then timer zero clearing; Avoid the idle of licence, improved the service efficiency of licence.
Description of drawings
According to accompanying drawing and embodiment the present invention is done further explain below.
Fig. 1 is the process flow diagram of licence recovery method of the present invention;
Fig. 2 is the block diagram of licence recovery system of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is described further.Please with reference to shown in Figure 1, Fig. 1 is the process flow diagram of licence recovery method of the present invention.
In the present embodiment, the licence recovery method, said method comprises step:
Step 101, client are created the monitoring objective program listing according to self needs, and judge whether monitored target program exists.
Step 102, judge whether the monitoring objective program is in user mode; Whether the CPU usage of at first judging the monitoring objective program reaches specified threshold; If the CPU usage of monitoring objective program reaches specified threshold, show that then the monitoring objective program is in user mode.
Step 103, according to the judged result of step 102; If the CPU usage of monitoring objective program does not reach specified threshold; Judge then whether the monitoring objective program is positioned at front window,, show that then the monitoring objective program is in unused state if the monitoring objective program is not positioned at front window.
Step 104, according to the judged result of step 103; If the monitoring objective program is positioned at front window; Then judge whether the signal input of keyboard or mouse,, show that then the monitoring objective program is in user mode if the signal input of keyboard or mouse is arranged; If the signal input of keyboard or mouse is not arranged, shows that then the monitoring objective program is in unused state.
Step 105, according to the judged result of step 102 to 104; If the monitoring objective program is in unused state; Then the client is provided with the time threshold values that allows target program to be in unused state according to self needs, and the size of threshold values has determined that target program can be in the idle time.
Step 106, after the time threshold values has been set, record monitoring objective program is in the time of unused state.
Step 107, record monitoring objective program are in unused state after a period of time, and whether the time of determining step 106 records reaches the threshold values that step 105 is provided with, if do not reach the threshold values of setting, the then operation of execution in step 106 again.
Step 108, when step 107 judges that time that the monitoring objective program is in unused state reaches the threshold values of setting, then hang up the monitoring objective program.
Step 109, after hanging up the monitoring objective program, close the monitoring objective program and be connected with the network of license server.
Step 110, target program and license server break off is connected after, the employed floating type licence of recovery monitoring objective program.
Step 111, when the monitoring objective program is reused the floating type licence, the timer zero clearing wakes the monitoring objective program up.
Please with reference to shown in Figure 2, Fig. 2 is the block diagram of licence recovery system of the present invention.
In this enforcement row; A kind of licence recovery system; It comprises list creating unit, judging unit, information monitoring unit and licence processing unit; Said judging unit comprises window judging unit and signal input judging unit, and said information monitoring unit comprises that timer, time threshold values are provided with the unit, and said licence processing unit comprises that program halt unit, connection closed unit, licence reclaim unit and program wakeup unit.
Said list creating unit is used for the client according to self needs establishment monitoring objective program listing, and whether monitored target program exists.
Said window judging unit is used to judge whether the monitoring objective program is in user mode, judges at first whether the monitoring objective program is positioned at front window, if the monitoring objective journey is not positioned at front window, shows that then the monitoring objective program is positioned at unused state; Said signal input judging unit is used for when window judgment unit judges monitoring objective program is positioned at front window; Judge whether the signal input of keyboard or mouse; If the signal input of keyboard or mouse is arranged; Explain that then the monitoring objective program is in the use filling, if keyboard or mouse do not have the signal input, explains that then the monitoring objective program is in unused state.
Said timer is used to write down the time that the monitoring objective program is in unused state; Said time threshold values is provided with the unit and is used for the client and according to self needs the time threshold values that allows target program to be in unused state is set, and the size of threshold values has determined that target program can be in the idle time.
Said program halt unit is used for when counter judges that time that the monitoring objective program is in unused state reaches the threshold values of setting, hanging up the monitoring objective program; After said connection closed unit is used for the monitoring objective program halt, closes the monitoring objective program and be connected with the network of license server; Said licence reclaim the unit be used for target program and license server break off be connected after, the employed floating type licence of recovery monitoring objective program; The program wakeup unit is used for when the monitoring objective program regains licence, waking the monitoring objective program up.
Said a kind of licence recovery method and system just judge whether it uses through creating a monitoring objective program listing when finding that these target programs exist, if target program is not used; Then begin the current state of this target program is picked up counting; The time that reaches setting reclaims and checks out licence, if timer does not reach the time threshold values during threshold values; The monitoring objective process is initially located in user mode again, then timer zero clearing; Avoid the idle of licence, improved the service efficiency of licence.
Above-mentioned preferred embodiment of the present invention and the institute's application technology principle of being merely, any technician who is familiar with the present technique field in the technical scope that the present invention discloses, the variation that can expect easily or replacement, all should be encompassed in protection scope of the present invention in.

Claims (8)

1. a licence recovery method is characterized in that, comprises the steps:
A, monitoring objective program listing of establishment when these monitoring objective programs of discovery exist, judge whether the monitoring objective program is used;
B, according to the judged result of steps A to the monitoring objective program, further the relevant information of monitoring objective program is monitored;
C, according to the monitored results of step B to the relevant information of monitoring objective program, handle the corresponding licence of monitoring objective program.
2. licence recovery method according to claim 1 is characterized in that, said steps A judges that the method whether the monitoring objective program is being used may further comprise the steps:
A1, judge whether the CPU usage of monitoring objective program reaches specified threshold;
A2, said steps A 1 judge when the CPU usage of monitoring objective program does not reach specified threshold, judges then whether the monitoring objective program is positioned at front window;
A3, said steps A 2 judges when the monitoring objective programs are positioned at front window, then judges whether the signal input of keyboard or mouse.
3. licence recovery method according to claim 2; It is characterized in that; Said step B monitors specifically the relevant information of monitoring objective program and comprises: for not the time, timer picks up counting from the current state of target program in steps A 1 to A3 any judged result.
4. licence recovery method according to claim 3; It is characterized in that; Said step C specifically comprises: when timer arrives the setting-up time threshold values; Then hang up the monitoring objective program, close the monitoring objective program then and be connected, reclaim the licence of monitoring objective program with the network of license server; Do not reach time threshold values and steps A at timer and judge the monitoring objective program just in use, then timer zero clearing, the monitoring objective program regains licence, wakes the monitoring objective program up.
5. a licence recovery system is characterized in that, said system comprises:
The list creating unit is used to create a monitoring objective program listing, and judges whether the monitoring objective program exists;
Judging unit is used for when the monitoring objective program exists, judging whether the monitoring objective program is used;
The information monitoring unit is used for further the relevant information of monitoring objective program being monitored according to the judged result of judging unit;
The licence processing unit is used for handling the corresponding licence of monitoring objective program according to the monitored results of information monitoring unit.
6. licence recovery system according to claim 5 is characterized in that, said judging unit comprises: the occupancy judging unit is used to judge whether the CPU usage of monitoring objective program reaches specified threshold; The window judging unit is used to judge whether the monitoring objective program is positioned at front window; Signal input judging unit is used for judging whether when the monitoring objective program is positioned at front window the signal input of keyboard or mouse.
7. according to claim 5 or 6 described licence recovery systems; It is characterized in that; Said information monitoring unit comprises: timer is used for that the record object program is in the time of unused state and when target program transfers user mode to by unused state, with the zero clearing as a result of record; The time threshold values is provided with the unit, is used to be provided with the time threshold values that allows target program to be in unused state.
8. licence recovery system according to claim 7 is characterized in that, said licence processing unit comprises: the program halt unit is used for when timer reaches the time threshold values time that the unit is provided with is set, hanging up the monitoring objective program; The connection closed unit is used for after the monitoring objective program is hung up in the program halt unit, closing the monitoring objective program and being connected with the network of license server; Licence reclaims the unit, after being used for closing the monitoring objective program and the network of license server being connected in the connection closed unit, and the licence of recovery monitoring objective program; The program wakeup unit is used for when the monitoring objective program regains licence, waking the monitoring objective program up.
CN2011103227117A 2011-10-21 2011-10-21 License recycling method and system Pending CN102521530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103227117A CN102521530A (en) 2011-10-21 2011-10-21 License recycling method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103227117A CN102521530A (en) 2011-10-21 2011-10-21 License recycling method and system

Publications (1)

Publication Number Publication Date
CN102521530A true CN102521530A (en) 2012-06-27

Family

ID=46292441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103227117A Pending CN102521530A (en) 2011-10-21 2011-10-21 License recycling method and system

Country Status (1)

Country Link
CN (1) CN102521530A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104504308A (en) * 2014-12-11 2015-04-08 国云科技股份有限公司 License verification method for forbidding virtual machine to use software
CN104598778A (en) * 2013-10-30 2015-05-06 中国移动通信集团江苏有限公司 Permission dispatching method and device
CN105530524A (en) * 2014-09-30 2016-04-27 中兴通讯股份有限公司 Authority management device and method for terminal equipment acquiring encrypted content
CN107885980A (en) * 2017-12-06 2018-04-06 武汉万创科技有限公司 A kind of method of managing software and system
CN109189734A (en) * 2018-09-30 2019-01-11 维沃移动通信有限公司 A kind of file open method and mobile terminal
CN109711115A (en) * 2018-12-03 2019-05-03 中国石油化工股份有限公司 A kind of method that software license actively discharges and restores automatically
CN112115034A (en) * 2020-08-20 2020-12-22 胜宏科技(惠州)股份有限公司 System and method for automatically cleaning and distributing InCAM License

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5717604A (en) * 1995-05-25 1998-02-10 Wiggins; Christopher Network monitoring system for tracking, billing and recovering licenses
US6502079B1 (en) * 1997-12-08 2002-12-31 Aprisma Management Technologies, Inc. Method and system for enforcing floating licenses
US20050049973A1 (en) * 2003-09-02 2005-03-03 Read Mark A. Method and program for automated management of software license usage by monitoring and disabling inactive software products
US20070005505A1 (en) * 2005-07-01 2007-01-04 D Alo Salvatore Method, system and computer program for planning assignment of software licenses
CN101009592A (en) * 2006-12-31 2007-08-01 华为技术有限公司 Management method and system of the network permit, and permit server and client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5717604A (en) * 1995-05-25 1998-02-10 Wiggins; Christopher Network monitoring system for tracking, billing and recovering licenses
US6502079B1 (en) * 1997-12-08 2002-12-31 Aprisma Management Technologies, Inc. Method and system for enforcing floating licenses
US20050049973A1 (en) * 2003-09-02 2005-03-03 Read Mark A. Method and program for automated management of software license usage by monitoring and disabling inactive software products
US20070005505A1 (en) * 2005-07-01 2007-01-04 D Alo Salvatore Method, system and computer program for planning assignment of software licenses
CN101009592A (en) * 2006-12-31 2007-08-01 华为技术有限公司 Management method and system of the network permit, and permit server and client

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HANS ANDERSSON,MARCUS SUNDBERG: "《Identifying Behavioral Patterns in Using Software Licenses》", 28 July 2011 *
SIGNE MARIE STENSETH: "Metering Monitors Savings", 《CONFERENCE ITAK 2010》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598778A (en) * 2013-10-30 2015-05-06 中国移动通信集团江苏有限公司 Permission dispatching method and device
CN104598778B (en) * 2013-10-30 2018-03-23 中国移动通信集团江苏有限公司 Authority dispatching method and device
CN105530524A (en) * 2014-09-30 2016-04-27 中兴通讯股份有限公司 Authority management device and method for terminal equipment acquiring encrypted content
CN104504308A (en) * 2014-12-11 2015-04-08 国云科技股份有限公司 License verification method for forbidding virtual machine to use software
CN104504308B (en) * 2014-12-11 2017-09-01 国云科技股份有限公司 A kind of license validation method for forbidding virtual machine to use software
CN107885980A (en) * 2017-12-06 2018-04-06 武汉万创科技有限公司 A kind of method of managing software and system
CN107885980B (en) * 2017-12-06 2020-02-11 武汉万创科技有限公司 Software management method and system
CN109189734A (en) * 2018-09-30 2019-01-11 维沃移动通信有限公司 A kind of file open method and mobile terminal
CN109711115A (en) * 2018-12-03 2019-05-03 中国石油化工股份有限公司 A kind of method that software license actively discharges and restores automatically
CN112115034A (en) * 2020-08-20 2020-12-22 胜宏科技(惠州)股份有限公司 System and method for automatically cleaning and distributing InCAM License

Similar Documents

Publication Publication Date Title
CN102521530A (en) License recycling method and system
CN104360878B (en) A kind of method and device of application software deployment
CN103809990B (en) Servomechanism
CN103209197B (en) cluster server deployment method and system
CN109408210B (en) Distributed timed task management method and system
CN107122321A (en) Hardware restorative procedure, hardware repair system and embodied on computer readable storage device
CN107465575A (en) The monitoring method and system of a kind of cluster
CN104156298B (en) Application monitoring method and device
CN111258921B (en) Garbage memory recycling method and device, electronic equipment and storage medium
CN102404603B (en) Detection method and the system of the USB device plug on Set Top Box
CN102902583A (en) Managing processes within suspend states and execution states
CN102722429A (en) Processing system of hard disk maintenance equipment
US20130254524A1 (en) Automated configuration change authorization
CN102761439A (en) Device and method for detecting and recording abnormity on basis of watchdog in PON (Passive Optical Network) access system
CN102833120B (en) The abnormal method and system of NM server are processed in a kind of rapid automatized test
CN106326061A (en) High-speed cache data processing method and equipment
CN102999384A (en) Managing processes within suspend states and execution states
CN109582486A (en) A kind of house dog monitoring method, system and equipment and storage medium
CN102984582B (en) Carry intelligent television system management method and the device of operating system
CN105589772A (en) Method and apparatus for detecting logic crash of FPGA chip
CN103188162A (en) Load balancing method and system
CN103902011A (en) Electronic device controlling method and electronic device
CN105354127A (en) Cloud management platform based monitoring method
Cortellessa et al. Enabling Performance Antipatterns to arise from an ADL-based Software Architecture
CN106021024A (en) Method for reminding response stopping of user terminal, and user terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120627