CN100449562C - License control method and device - Google Patents

License control method and device Download PDF

Info

Publication number
CN100449562C
CN100449562C CNB200610063004XA CN200610063004A CN100449562C CN 100449562 C CN100449562 C CN 100449562C CN B200610063004X A CNB200610063004X A CN B200610063004XA CN 200610063004 A CN200610063004 A CN 200610063004A CN 100449562 C CN100449562 C CN 100449562C
Authority
CN
China
Prior art keywords
license
server
data
client
permission
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.)
Expired - Fee Related
Application number
CNB200610063004XA
Other languages
Chinese (zh)
Other versions
CN1996332A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB200610063004XA priority Critical patent/CN100449562C/en
Publication of CN1996332A publication Critical patent/CN1996332A/en
Priority to PCT/CN2007/070843 priority patent/WO2008043311A1/en
Application granted granted Critical
Publication of CN100449562C publication Critical patent/CN100449562C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a License control method that comprises applying for License approval to the application License customer end from the operation module of the application server, approval for the operation module with the License customer based on the acquired License data from License server, executing operation after operation module acquired approval from License customer end. It improves the timely effect of the License approval with reduced system loading and License approval reliability.

Description

A kind of License control method and device
Technical field
The present invention relates to the communications field, relate in particular to License control method and device.
Background technology
Along with the appearance of the popularizing of PC, large quantities of programmers and software company, software engineering obtains tremendous development, and meanwhile, software protection has been subjected to very big challenge.
As long as the user had had software and just can move and use it in the past, so the use that comes Control Software with software dispatch is mainly duplicated by Control Software by software company.At this moment many softwares that prevent occurred by the bootlegging technological means, its ultimate principle normally ties up software and specific hardware carrier, for example floppy disk, CD etc., thus but this mode too depends on hardware brings limitation for the popularization of software.
Along with the sharp increase and the software size of software use amount are more and more huger; the propagation of software begins to break away from hardware carrier; this moment, software began to carry out installation, the operation permission of localization; software company adopts advanced encryption technology to protect the right to use of software usually; different software copy needs different passwords to install, move; the License of this moment is equivalent to a key, is used for opening corresponding software.
Along with development of internet technology, software system architecture becomes and becomes increasingly complex, and the appearance of Distributed Application makes the localization permission lose effectiveness, and many softwares transfer to install, move permission by server, and its networking example as shown in Figure 1.The License server that cloth heat is special, the License permission that leading subscriber is all, business module is distributed on the different application servers, each business module is directly visited the License server and is applied for the License resource, the License server is dynamic to be judged remaining License and returns the License allowed results, and business module is according to License allowed results decision operation flow.
Its method flow example is as shown in Figure 2:
S1: business module is received service request, to License server application License resource;
The S2:License server is checked the License resource of current residual, judges whether to provide the License resource;
S3: if the License resource that can provide in addition, the License server carries out the License permission, and the License resource is deducted 1, and returns the successful response message of application to business module;
S4: business module is carried out business operation after receiving the License permission.
This programme License that the user is all concentrates and gives License server admin, therefore can realize the dynamic granting of License, and improves the License utilization rate.
But this programme relies on License server admin and control License fully, when application server quantity more, when the business module operation is busy, because of the each License request of each business module all needs to the application of License server, the License server load is heavy, also can increase the flow of network simultaneously.
For the strict operation flow of the real-time of obtaining License, audio conference service for example, because business module just can be proceeded operation flow at the return results that obtains the License server, therefore the execution efficient of business module is limited by the operational efficiency of License server and the network condition between application server and the License server to a great extent, in License server and network load weight, the real-time of obtaining License can be had a strong impact on.
If reasons such as License server service amount is excessive, the system failure cause traffic congestion even collapse, thereby all business modules are all stopped running owing to obtaining License.In addition, if network anomaly between application server and the License server also will be brought great influence to business module.Therefore for tightly coupled framework between business module and the License server with and method flow bring very big operation risk can for the License business, reduced the reliability of system.
Summary of the invention
The invention provides a kind of License control method, Apparatus and system, to solve system loading weight, real-time and the bad problem of reliability that the License centralized management causes in the prior art.
The invention provides following technical scheme:
A kind of License control method comprises step:
A: the business module of application server is permitted to the License of application server client application License;
The B:License client is carried out the License permission according to the License global data that obtains from the License server to business module, and described License global data comprises: all License quantity of License server, the License quantity of using and remain available License quantity;
C: carry out business operation after the permission of business module acquisition License client.
Wherein:
Before execution in step A, also comprise License data in server initialization step:
The License server reads the License sum, obtains the License quantity that all License clients are used;
The License client is suspended provides permission to business module, and returns the License quantity of use to the License server;
The License server gathers the License quantity that each License client is used, and upgrades the License global data, and the License data after all License clients send renewal;
The License data of License client after according to described renewal are upgraded local available License data, and recover to provide permission to business module.
The data initialization step that before execution in step A, also comprises application server:
The local License quantity of using of License client zero clearing also sends message to the License server;
The License global data is upgraded in the License quantity zero clearing that the License server uses described License client, and the License data after all License clients send renewal;
The License client is upgraded local License data, and provides permission according to the data after upgrading to business module.
The License client is specially from the step that the License server obtains the License data among the described step B:
The License client regularly sends the License incremental data to the License server, the License server upgrades the License global data according to described License incremental data, and the License data after all License clients send renewal, the License client is upgraded local License data;
Perhaps,
The License client regularly sends the License quantity that its accumulative total is used to the License server, the License server upgrades the License global data according to the License quantity that described accumulative total is used, and the License data after all License clients send renewal, the License client is upgraded local License data.
Described incremental data refers to that single License client newly takies and newly discharges in a update cycle License quantity.
Described License permission comprises:
Judge whether to apply for new License; Perhaps
Judge whether to discharge License; Perhaps
Judge whether to carry out business operation.
The License sum that all License clients are signed and issued surpasses the total License quantity of License server.
The present invention also provides a kind of License control device, and described device comprises:
Business module, to License client application License permission, and at the back execution business operation that secures permission;
The License client, according to the License global data of obtaining from the License server business module is carried out License permission, described License global data comprises: all License quantity of License server, the License quantity of using and remain available License quantity.
In an embodiment of the present invention, directly be deployed in the permissions module of License on the application server, each application server all has independent License client to be responsible for the License permission, so originally, numerous application servers is given in the permission job analysis of being born alone by the License server, and the concurrent processing pressure of License server will obtain very big alleviation.Simultaneously, when the License client operation exception on the application server, business module can permit to the License server directly that also such mechanism has improved the operational efficiency of system, and has effectively solved the performance bottleneck of License server.
In an embodiment of the present invention, application server no longer directly carries out long-range permission to the License server, but permit to the License of this locality client, be the loose coupling relation between application server and the License server, the expense of having saved Network Transmission and the encoding and decoding of message bag compared with far call is called in this locality; Efficient that call this locality and reliability are much larger than far call; Therefore in addition, the License client only need provide licensed service to single application server, and operating pressure is very little, can support more complicated, Licese strategy more flexibly; Because distributed arrangement and independent operating, the temporary fault of License server can not have influence on the service operation of application server at once, network takes place unusually also can not have influence on service operation immediately between License server and the application server, and the reliability of system strengthens greatly.
In an embodiment of the present invention, what the License client was obtained is the preceding License resource that once refreshes, before data obtain next time, if run into the peak value of service concurrence, the resource sum that a plurality of License clients are signed and issued might surpass total License resource pool, make and allow the actual quantity of signing and issuing of License temporarily to exceed the License sum that service provider ASP has when operation system runs into the peak traffic of large-scale concurrent, therefore this programme has well been supported " License is overlapping " operation mode of ASP, but causes damage can for again software obligee's legitimate interests.
Description of drawings
Fig. 1 is the networking example of the License control system of prior art;
Fig. 2 is the License control method of prior art;
Fig. 3 is the networking example of the License control system of the embodiment of the invention;
Fig. 4 is the License control method process flow diagram of the embodiment of the invention;
Fig. 5 is the initialization flow process of the License server of the embodiment of the invention;
Fig. 6 is the initialization flow process of the application server of the embodiment of the invention;
Fig. 7 obtains the process of data from application server for the License server of the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, the embodiment that develops simultaneously with reference to the accompanying drawings is described in further detail the present invention.
See also Fig. 3, the whole License resource of License server admin is given all application servers synchronously with the License global data when system start-up, and regularly up-to-date License data is sent to application server according to the request of application server.Wherein, the License global data mainly comprises all License quantity of License server, the License quantity of using, the available License quantity of residue.
Each application server comprises at least one License client and at least one business module.Described business module is engaged in operating in the laggard industry of the permission that obtains the License client to the License of this end application server client-requested License permission.Described License client is carried out the License permission according to the License data that obtain from the License server to business module, and sends permission response message to business module.Described License client also regularly sends to the License server with the License data, and upgrades local License data according to the response message of License server.Wherein, the License data that the License client sends to the License server are License incremental data or License cumulative data, described incremental data refers to that single License client newly takies and newly discharges in a refresh cycle License quantity, described License cumulative data are meant that single application server begins the License quantity that accumulative total takies and discharges from startup.
Describe as can be known according to Fig. 3, the data owner of License server repository will comprise License quantity and the up-to-date License global data that each License client is used.In first embodiment, promptly during the mutual incremental data of License server and License client, what the License client was deposited is incremental data and local available License data.In a second embodiment, i.e. during the License quantity of mutual its accumulative total use of License server and License client, what the License client was deposited is License quantity and local available License data that its accumulative total is used.Corresponding therewith, the data owner of depositing in the License client will comprise the License quantity that License incremental data or accumulative total are used, and available License quantity wherein.Wherein the data in the License client also can leave in other the module or device.
Seeing also Fig. 4, is the process flow diagram of a kind of License control method of present embodiment, comprises the steps:
A: the business module of application server is permitted to the License of present application server client-requested License;
The B:License client is carried out the License permission according to the License data of obtaining from the License server to business module;
C: business module is carried out business operation after the permission that obtains the License client.
Because of License server and License client are distributed frameworks, the data that both running statuses and both deposit not are constantly synchronous, when the License startup of server or when restarting, need carry out initialization operation to the data on the License server.Seeing also Fig. 5, is that License data in server initialization step is:
The License server reads the License sum, obtains the License quantity of its use to the License of all application servers client;
The License client is suspended provides permission to business module, and returns the License quantity of its use to the License server;
The License server gathers the License quantity that each application server uses, and generates the License global data, and the License data after all License clients provide renewal;
The License client is upgraded local available License data, and recovers to provide permission to business module.
Application server might abnormal end, and the License server can be thought that this License permits and still taking the License resource after application server stops.Therefore when application server starts or restarts, need send out message to the License server, allow the License data of this License client of License server initialization, promptly need the data of application server to carry out initialization, see also Fig. 6, be the initialization step of application server:
The local License quantity of using of License client zero clearing also sends message to the License server;
The License global data is upgraded in the License quantity zero clearing that the License server uses described License client, and the License data after all License clients send renewal;
The License client is upgraded local available License data, and provides permission according to the local License data after upgrading to business module.
Seeing also Fig. 7, is application server obtains the License data from the License server step:
The License client regularly reports the License data of local terminal to the License server;
The License server is according to the License Data Update License global data that reports, and the License data after all License clients send renewal, and the License data after the wherein said renewal comprise available License data at least;
The License client is upgraded local License data.
In specific embodiment, described License client regularly reports the incremental data of local terminal or the License quantity that accumulative total is used to the License server.If report for incremental data, when then the License client is upgraded local License data with the incremental data zero clearing.
Alternatively, the License client is from reporting the License data during upgrade local License data, and suspending provides License permission.
Business module is directly visited local License client and is carried out the License permission, mainly contains three kinds of permit operation: judge whether the business of can carrying out or apply for new License or release License.
When applying for new License, if permit operation is the new License of application, then the License client judges according to the License global data of this locality whether remaining available License quantity is enough, if License quantity inadequately then refuse the application of business module, if enough then provide permission success response message, and the available License data bulk of this locality is subtracted 1 to business module.
If permit operation is for discharging License, then that this locality is available License data bulk adds 1.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1, a kind of License control method is characterized in that, comprises step:
A: the business module of application server is permitted to the License of application server client application License;
The B:License client is carried out the License permission according to the License global data that obtains from the License server to business module, and described License global data comprises: all License quantity of License server, the License quantity of using and remain available License quantity;
C: carry out business operation after the permission of business module acquisition License client.
2, method according to claim 1 is characterized in that, also comprises License data in server initialization step before execution in step A:
The License server reads the License sum, obtains the License quantity that all License clients are used;
The License client is suspended provides permission to business module, and returns the License quantity of use to the License server;
The License server gathers the License quantity that each License client is used, and upgrades the License global data, and the License data after all License clients send renewal;
The License data of License client after according to described renewal are upgraded local available License data, and recover to provide permission to business module.
3, method according to claim 1 is characterized in that, also comprises the data initialization step of application server before execution in step A:
The local License quantity of using of License client zero clearing also sends message to the License server;
The License global data is upgraded in the License quantity zero clearing that the License server uses described License client, and the License data after all License clients send renewal;
The License client is upgraded local License data, and provides permission according to the data after upgrading to business module.
4, according to each described method of claim 1 to 3, it is characterized in that the License client is specially from the step that the License server obtains the License data among the described step B:
The License client regularly sends the License incremental data to the License server, the License server upgrades the License global data according to described License incremental data, and the License data after all License clients send renewal, the License client is upgraded local License data;
Perhaps,
The License client regularly sends the License quantity that its accumulative total is used to the License server, the License server upgrades the License global data according to the License quantity that described accumulative total is used, and the License data after all License clients send renewal, the License client is upgraded local License data.
5, method according to claim 4 is characterized in that, described incremental data refers to that single License client newly takies and newly discharges in a update cycle License quantity.
According to each described method of claim 1 to 3, it is characterized in that 6, described License permission comprises:
Judge whether to apply for new License; Perhaps
Judge whether to discharge License; Perhaps
Judge whether to carry out business operation.
According to each described method of claim 1 to 3, it is characterized in that 7, the License sum that all License clients are signed and issued surpasses the total License quantity of License server.
8, a kind of License control device is characterized in that, described device comprises:
Business module, to License client application License permission, and at the back execution business operation that secures permission;
The License client, according to the License global data of obtaining from the License server business module is carried out License permission, described License global data comprises: all License quantity of License server, the License quantity of using and remain available License quantity.
9, device according to claim 8 is characterized in that, the License client regularly sends the License incremental data to the License server, and local License data are upgraded in response according to the License server; Perhaps, the License client regularly sends the License quantity that its accumulative total is used to the License server, and local License data are upgraded in response according to the License server.
10, device according to claim 9 is characterized in that, described incremental data refers to that single License client newly takies and newly discharges in a update cycle License quantity.
According to Claim 8 to 10 each described devices, it is characterized in that 11, the License sum that all License clients are signed and issued surpasses the total License quantity of License server.
CNB200610063004XA 2006-09-30 2006-09-30 License control method and device Expired - Fee Related CN100449562C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB200610063004XA CN100449562C (en) 2006-09-30 2006-09-30 License control method and device
PCT/CN2007/070843 WO2008043311A1 (en) 2006-09-30 2007-09-30 Method, apparatus, and system for controlling resource license

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200610063004XA CN100449562C (en) 2006-09-30 2006-09-30 License control method and device

Publications (2)

Publication Number Publication Date
CN1996332A CN1996332A (en) 2007-07-11
CN100449562C true CN100449562C (en) 2009-01-07

Family

ID=38251417

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200610063004XA Expired - Fee Related CN100449562C (en) 2006-09-30 2006-09-30 License control method and device

Country Status (1)

Country Link
CN (1) CN100449562C (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008043311A1 (en) * 2006-09-30 2008-04-17 Huawei Technologies Co., Ltd. Method, apparatus, and system for controlling resource license
EP2504953A4 (en) * 2009-11-23 2017-07-05 Telefonaktiebolaget LM Ericsson (publ) License redistributing method, moderator and license controlling system thereof
CN101930516B (en) * 2010-09-09 2012-07-18 南京中兴特种软件有限责任公司 Method for using license of embedded equipment
CN102421107B (en) * 2010-09-27 2015-09-16 中兴通讯股份有限公司 A kind of LICENSE management system of telecommunicatioin network management and method
CN102075973A (en) * 2010-12-24 2011-05-25 华为技术有限公司 LICENSE control method and device
BR112013024215A2 (en) * 2011-03-21 2016-12-20 Nokia Siemens Networks Oy software license control
CN102130837B (en) * 2011-03-31 2015-06-03 中兴通讯股份有限公司 Method and system for dynamically regulating service license
CN103400062A (en) * 2013-07-30 2013-11-20 深圳创维数字技术股份有限公司 Method and system for authorized use of software
CN106131187B (en) * 2016-07-13 2020-01-17 新华三技术有限公司 Authorization control method and device
CN107729458A (en) * 2017-10-10 2018-02-23 中国航发控制系统研究所 The method for visually monitoring of instrument license
CN109547435B (en) * 2018-11-23 2021-06-29 新华三信息安全技术有限公司 Authorization authentication method and device
CN112989289B (en) * 2019-12-02 2023-04-25 成都鼎桥通信技术有限公司 Software license checking method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5579222A (en) * 1991-11-27 1996-11-26 Intergraph Corporation Distributed license administration system using a local policy server to communicate with a license server and control execution of computer programs
CN1307289A (en) * 1999-07-22 2001-08-08 株式会社高岳制作所 Office procedure of computer network, terminal and permission and server and related recording medium
WO2001074138A2 (en) * 2000-04-03 2001-10-11 Wireless Knowledge Software licensing system
JP2002006972A (en) * 2000-06-26 2002-01-11 Nec Software Kobe Ltd System and method for software management and memory medium
JP2004054659A (en) * 2002-07-22 2004-02-19 Nikon Corp License management terminal and application execution terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5579222A (en) * 1991-11-27 1996-11-26 Intergraph Corporation Distributed license administration system using a local policy server to communicate with a license server and control execution of computer programs
CN1307289A (en) * 1999-07-22 2001-08-08 株式会社高岳制作所 Office procedure of computer network, terminal and permission and server and related recording medium
WO2001074138A2 (en) * 2000-04-03 2001-10-11 Wireless Knowledge Software licensing system
JP2002006972A (en) * 2000-06-26 2002-01-11 Nec Software Kobe Ltd System and method for software management and memory medium
JP2004054659A (en) * 2002-07-22 2004-02-19 Nikon Corp License management terminal and application execution terminal

Also Published As

Publication number Publication date
CN1996332A (en) 2007-07-11

Similar Documents

Publication Publication Date Title
CN100449562C (en) License control method and device
CN100479575C (en) Method and apparatus for realizing scheduled operation in equipment management
CN102609281B (en) Distributed software patch update method and system
US6286050B1 (en) System and method for monitoring and management of telecommunications equipment using enhanced internet access
CN109358866B (en) Multi-cloud management system for application
CN100487626C (en) Computer implemented method and system for controlling use of digitally encoded products
EP1796000A1 (en) Method, system and computer program for distributing software products in trial mode
CN103716188B (en) The management of Linux server cluster management and maintaining method
CN102833310B (en) Workflow engine trunking system based on virtualization technology
CN103197952A (en) Management system and method aiming at maintenance and deployment of application system based on cloud infrastructure
CN101313518A (en) Management method for communication terminal apparatus and communication terminal and system
CN102724308A (en) Software update method and software update system
CN101316182B (en) Authorization number control method and equipment of user terminal
CN105474678A (en) Centralized selective application approval for mobile devices
CN102045390A (en) Automated deployment of computer-specific software updates
CN101188566A (en) A method and system data buffering and synchronization under cluster environment
CN101655789B (en) Method and device for realizing hot plugging of application components
CN105653329A (en) Application management method, apparatus and system
CN102073814B (en) High-availability service terminal license control mode based on dynamic allocation and behavior analysis
CN101923609A (en) Computer network security protection method and system
CN102467637A (en) Anti-virus system under virtualization environment and anti-virus method thereof
CN107741876A (en) A kind of virtual machine process monitoring system and method
CN101657793A (en) Method, system and computer program for configuring firewalls
CN102801711A (en) Autonomous controllable website safety defensive system based on hardware processing board
CN104503863A (en) Kernel mode and user mode data exchange method used for virtual container system disaster recovery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090107

Termination date: 20170930