CN105550566B - A kind of method of multiple users share soft ware authorization USB device - Google Patents

A kind of method of multiple users share soft ware authorization USB device Download PDF

Info

Publication number
CN105550566B
CN105550566B CN201510884777.3A CN201510884777A CN105550566B CN 105550566 B CN105550566 B CN 105550566B CN 201510884777 A CN201510884777 A CN 201510884777A CN 105550566 B CN105550566 B CN 105550566B
Authority
CN
China
Prior art keywords
usb device
user
request
usb
information
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.)
Active
Application number
CN201510884777.3A
Other languages
Chinese (zh)
Other versions
CN105550566A (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.)
BEIJING SKYCLOUD RONGCHUANG SOFTWARE TECHNOLOGY Co Ltd
Original Assignee
BEIJING SKYCLOUD RONGCHUANG SOFTWARE TECHNOLOGY 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 BEIJING SKYCLOUD RONGCHUANG SOFTWARE TECHNOLOGY Co Ltd filed Critical BEIJING SKYCLOUD RONGCHUANG SOFTWARE TECHNOLOGY Co Ltd
Priority to CN201510884777.3A priority Critical patent/CN105550566B/en
Publication of CN105550566A publication Critical patent/CN105550566A/en
Application granted granted Critical
Publication of CN105550566B publication Critical patent/CN105550566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of methods of multiple users share soft ware authorization USB device, belong to cloud computing and virtual machine technique field, the step of including the steps that the step of the step of registering USB, registration service, request use USB device, starting the step of USB device and terminate USB device, the present invention can be in the case where only configuring a USB virtualization device card, more meet the needs of users, and the utilization rate of USB device is improved, resource has effectively been saved and user uses the cost of software.

Description

A kind of method of multiple users share soft ware authorization USB device
Technical field
The invention belongs to cloud computings and virtual machine technique field, more particularly to a kind of multiple users share soft ware authorization USB The method of equipment.
Background technique
With the rapid development of computer techno-stress, the shortcomings that secure context of traditional character authentication mode, is more and more brighter It is aobvious.Traditional character type software license is cracked on a large scale and piracy, and software service company is made to suffer huge economic damage It loses.
With the development of safe practice, service provider solidifies secure authenticated information in the usb device, makes authentication information It cannot be extracted and crack.In this way, the certification of safety could be passed through when only corresponding to correct USB device.It can effectively protect The safety of software is demonstrate,proved, and is managed convenient for service provider.
Since USB device itself has certain manufacturing cost, and largely with being the short time per family using corresponding Service, so, for most of user, using the authentication service of USB Type, the use cost of software can be made to mention significantly It is high.Now it is badly in need of that a kind of dispatching method of multiple users share USB authenticating device resource is wanted to carry out pipe to USB authenticating device resource Reason uses needs not only to meet the USB authenticating device of user, but also can maximize shared USB authenticating device resource, effectively Reduce cost.
Summary of the invention
In view of the above drawbacks of the prior art, technical problem to be solved by the invention is to provide one kind to maximize Shared USB authenticating device resource, and the method for the lower multiple users share soft ware authorization USB device of cost.
To achieve the above object, the present invention provides a kind of methods of multiple users share soft ware authorization USB device, including with Lower step:
Step 1: registration USB;
Step 2: registration service,
Step 3: request using USB device,
Step 4: beginning USB device,
Step 5: terminating USB device;
Request described in step 3 is sequentially included the following steps: using USB device
A1, it when needing, is filed a request to management module when user has using USB device;Judge whether user has VM;Such as Fruit user has had VM, then inquires the USB device reservation table of VM, according to USB device reservation table application USB device;When user does not have There is VM then to create the VM with USB device using USB device;
After A2, management module receive request, request is handled;Judge that user is renew a contract request, newly-built VM+USB Request or existing VM+USB request;Check whether the request of user is effective;
A3, the request of user is recorded;Judge whether user needs to renew a contract;
If user needs to renew a contract, directly renew a contract, then terminates;Otherwise step 4 is executed;
In step 4, the beginning USB device is sequentially included the following steps:
USB device in management module regular check system is safeguarded:
B1, the request that will start is checked whether there is;
B2, when having the request of beginning, then whether the resource in inspection system meets user;Otherwise terminate;
B3, when the resource in system meets user, send request to USB resource manager and Hyperviso r;When being When resource in system is unsatisfactory for user, the USB device of user is delayed using the time, and notify user;
B4, management module check the current state of USB device: if it is idle state, the connection of U SB equipment being believed Breath is sent to Hypervisor;
If not being idle state, VM, user and host the Hypervisor letter of the currently used USB device are inquired Breath;
B5, notice is sent to previous user;
B6, management module send to former VM host Hypervisor and request, and unload the specified USB device of specified VM;
B7, the host Hypervisor that the link information of USB device is sent to new VM;
B8, management module send to Hypervisor and request, and carry the link information and VM information of USB device; Hypervisor according to request VM of the creation with USB device and adds USB device for existing VM;
Terminate USB device in step 5 to sequentially include the following steps:
USB device in management module regular check system is safeguarded:
C1, it checks whether there is and overdue will request;Whether have if there is that overdue will request, in inspection system enough Resource allow user renew a contract:
If there are enough resources that user is allowed to continue to use in system, first resource is preempted, then sends letter It ceases and is prompted to user;If user does not renew a contract before expiring, camp-on resource is discharged, is otherwise returned to step Three;
If allowing user to continue to use without enough resources in system, user is sent information to prompt its USB to set It is standby to expire;
C2, it sends and requests to Hypervisor, carry the link information and VM information of USB device;Hypervisor according to The VM with USB device is deleted in request.
Preferably, further including that user proposes modification to management module or cancels USB device request before the step 4 Step;After management module receives the request of user, the request of user in record or request of renewing a contract are modified or cancelled.
Preferably, step 1 sequentially includes the following steps:
D1, judge that the corresponding service of USB device exists;If it does not, creation service in systems, and record service Relevant information, including title, version number, issuing time, company's information, software type and use description, then perform the next step; If it is present directly carrying out in next step;
D2, access USB device: USB device is first inserted into unified USB interface bus;Scan U SB equipment;It will newly be inserted into USB device record and be marked.
Preferably, step 2 sequentially includes the following steps:
E1, new USB device is found;
E2, USB is associated with corresponding service;
E3, agent list is established for USB device, records the service condition and corresponding use information of current USB device.
Preferably, in the step 3, according to the validity of permission and amount audit user's request of user, re-inspection system Whether available resources match with the request of user in system, reserve or distribute resource for user if matching;If it does not match, Suggested design, mail notification client are provided a user, and is guaranteed in finite time effectively;If user receives suggested design, Then determine that suggested design is true reservation;If user does not receive suggested design, selection is re-started;It is used when system receives reason USB device is then mounted to user virtual machine, and user is notified and mentioned according to the service condition of user by the request at family Show.
The beneficial effects of the present invention are: the present invention can be in the case where only configuring a USB virtualization device card, more Meet the needs of users, and improve the utilization rate of USB device, effectively saved resource and user using software at This.
Detailed description of the invention
Fig. 1 is scheduling structure figure of the present invention.
Fig. 2 is role's interaction scenarios figure of the present invention.
Fig. 3 is that user uses USB device flow chart.
Specific embodiment
Below in conjunction with the accompanying drawings and embodiment the invention will be further described:
As shown in Figure 1 to Figure 3, a kind of method of multiple users share soft ware authorization USB device, comprising the following steps:
Step 1: registration USB:
D1, judge that the corresponding service of USB device exists;If it does not, creation service in systems, and record service Relevant information, including title, version number, issuing time, company's information, software type and use description, then perform the next step; If it is present directly carrying out in next step;
D2, access USB device: USB device is first inserted into unified USB interface bus;Scan U SB equipment;It will newly be inserted into USB device record and be marked.
Step 2: registration service:
E1, new USB device is found;
E2, USB is associated with corresponding service;
E3, agent list is established for USB device, records the service condition and corresponding use information of current USB device.
Step 3: request uses USB device:
A1, it when needing, is filed a request to management module when user has using USB device;Judge whether user has VM;Such as Fruit user has had VM, then inquires the USB device reservation table of VM, and as shown in table 1, user is according to USB device reservation table, application USB device;
USB mark Software service mark The period 1 can be used The period 2 can be used …… Period n can be used
Table 1.USB device reservation table
When user does not have VM then to create the VM with USB device using USB device;
After A2, management module receive request, request is handled;Judge that user is renew a contract request, newly-built VM+USB Request or existing VM+USB request;Check whether the request of user is effective;
A3, the request of user is recorded;Judge whether user needs to renew a contract;
If user needs to renew a contract, directly renew a contract, then terminates;Otherwise step 4 is executed.
Step 4: starting USB device:
USB device in management module regular check system is safeguarded:
B1, the request that will start is checked whether there is;
B2, when having the request of beginning, then whether the resource in inspection system meets user;Otherwise terminate;
B3, when the resource in system meets user, send request to USB resource manager and Hyperviso r;When being When resource in system is unsatisfactory for user, the USB device of user is delayed using the time, and notify user;
B4, the current state for checking USB device: if it is idle state, the link information of USB device is sent to Hypervisor;
If not being idle state, VM, user and host the Hypervisor letter of the currently used USB device are inquired Breath;
B5, send notice to previous user: it applies for that the USB device used is disconnected due to expiring.
B6, Xiang Yuan VM host Hypervisor send request, unload the specified USB device of specified VM;
B7, the host Hypervisor that the link information of USB device is sent to new VM;
B8, it sends and requests to Hypervisor, carry the link information and VM information of USB device;Hypervisor according to Request VM of the creation with USB device simultaneously adds USB device for existing VM.
Step 5: terminating USB device:
USB device in management module regular check system is safeguarded:
C1, it checks whether there is and overdue will request;Whether have if there is that overdue will request, in inspection system enough Resource allow user renew a contract:
If there are enough resources that user is allowed to continue to use in system, first resource is preempted, then sends letter Cease and prompt to user: resource will expire, if renew a contract;It, will be pre- if user does not renew a contract before expiring Resource release is accounted for, otherwise returns to step three;
If allowing user to continue to use without enough resources in system, user is sent information to prompt its USB to set It is standby to expire;
C2, it sends and requests to Hypervisor, carry the link information and VM information of USB device;Hypervisor according to The VM with USB device is deleted in request.
In the present embodiment, in the step 3, according to the validity of permission and amount audit user's request of user, then examine It looks into whether available resources in system match with the request of user, reserves or distribute resource for user if matching;If not Match, then provide a user suggested design, mail notification client, and guarantees in finite time effectively;If user receives recommendation Scheme, it is determined that suggested design is true reservation;If user does not receive suggested design, selection is re-started;When system connects The request of user is accepted, then USB device is mounted to user virtual machine, and notify user according to the service condition of user And prompt.
It in another embodiment, further include that user proposes modification or cancel USB to set to management module before the step 4 The step of standby request;After management module receives the request of user, the request of user in record or request of renewing a contract are modified Or revocation.
The preferred embodiment of the present invention has been described in detail above.It should be appreciated that those skilled in the art without It needs creative work according to the present invention can conceive and makes many modifications and variations.Therefore, all technologies in the art Personnel are available by logical analysis, reasoning, or a limited experiment on the basis of existing technology under this invention's idea Technical solution, all should be within the scope of protection determined by the claims.

Claims (3)

1. a kind of method of multiple users share soft ware authorization USB device, it is characterised in that the following steps are included:
Step 1: registration USB;
Step 2: registration service;
Step 3: request uses USB device;
Step 4: starting USB device;
Step 5: terminating USB device;
Registration USB described in step 1 sequentially includes the following steps:
D1, judge that the corresponding service of USB device exists;If it does not, creation service in systems, and record the correlation of service Information, including title, version number, issuing time, company's information, software type and use description, then perform the next step;If In the presence of, then directly carry out in next step;
D2, access USB device: USB device is first inserted into unified USB interface bus;Scan USB device;The USB that will be newly inserted into Equipment is recorded and is marked;
Registration service described in step 2 sequentially includes the following steps:
E1, new USB device is found;
E2, USB is associated with corresponding service;
E3, agent list is established for USB device, records the service condition and corresponding use information of current USB device;
Request described in step 3 is sequentially included the following steps: using USB device
A1, it when needing, is filed a request to management module when user has using USB device;Judge whether user has VM;If with There has been VM at family, then inquires the USB device reservation table of VM, standby according to USB device reservation table application USB;When user does not have VM to come Using USB device, then the VM with USB device is created;
After A2, management module receive request, request is handled;Judge that user is renew a contract request, newly-built VM+USB request Or existing VM+USB request;Check whether the request of user is effective;
A3, the request of user is recorded;Judge whether user needs to renew a contract;
If user needs to renew a contract, directly renew a contract, then terminates;Otherwise step 4 is executed;
In step 4, the beginning USB device is sequentially included the following steps:
USB device in management module regular check system is safeguarded:
B1, the request that will start is checked whether there is;
B2, when having the request of beginning, then whether the resource in inspection system meets user;Otherwise terminate;
B3, when the resource in system meets user, send request to USB resource manager and Hyperviso r;When in system Resource when being unsatisfactory for user, the USB device of user is delayed using the time, and notify user;
B4, management module check the current state of USB device: if it is idle state, the link information of USB device being sent To Hypervisor;
If being not idle state, the VM, user and host's Hypervisor information of the currently used USB device are inquired;
B5, notice is sent to previous user;
B6, management module send to former VM host Hypervisor and request, and unload the specified USB device of specified VM;
B7, the host Hypervisor that the link information of USB device is sent to new VM;
B8, management module send to Hypervisor and request, and carry the link information and VM information of USB device;Hypervisor According to request VM of the creation with USB device and USB device is added for existing VM;
Terminate USB device in step 5 to sequentially include the following steps:
C1, it checks whether there is and overdue will request;If there is that overdue will request, whether there is enough money in inspection system Source allows user to renew a contract:
If there are enough resources that user is allowed to continue to use in system, first resource is preempted, is then sent information to User prompts;If user does not renew a contract before expiring, camp-on resource is discharged, otherwise returns to step three;
If allowing user to continue to use without enough resources in system, user is sent information to prompt its USB device will It expires;
C2, it sends and requests to Hypervisor, carry the link information and VM information of USB device;Hypervisor is according to request Delete the VM with USB device.
2. a kind of method of multiple users share soft ware authorization USB device as described in claim 1, it is characterized in that: the step Before four, further include the steps that user proposes modification or revocation USB device request to management module;Management module receives user Request after, by the request of user in record or renew a contract request modify or cancel.
3. a kind of method of multiple users share soft ware authorization USB device as claimed in claim 1 or 2, it is characterized in that: the step In rapid three, according to the validity of permission and amount audit user's request of user, available resources and user in re-inspection system Whether request matches, and reserves or distribute resource for user if matching;If it does not match, suggested design is provided a user, Mail notification client, and guarantee in finite time effectively;If user receives suggested design, it is determined that suggested design is true Reservation;If user does not receive suggested design, selection is re-started;When system receives the request of reason user, then by USB device It is mounted to user virtual machine, and user is notified and prompted according to the service condition of user.
CN201510884777.3A 2015-12-06 2015-12-06 A kind of method of multiple users share soft ware authorization USB device Active CN105550566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510884777.3A CN105550566B (en) 2015-12-06 2015-12-06 A kind of method of multiple users share soft ware authorization USB device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510884777.3A CN105550566B (en) 2015-12-06 2015-12-06 A kind of method of multiple users share soft ware authorization USB device

Publications (2)

Publication Number Publication Date
CN105550566A CN105550566A (en) 2016-05-04
CN105550566B true CN105550566B (en) 2019-03-29

Family

ID=55829753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510884777.3A Active CN105550566B (en) 2015-12-06 2015-12-06 A kind of method of multiple users share soft ware authorization USB device

Country Status (1)

Country Link
CN (1) CN105550566B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460283A (en) * 2018-10-24 2019-03-12 南京米好信息安全有限公司 The distribution method of virtual machine under a kind of cloud computing environment
CN112948146B (en) * 2021-03-18 2023-11-28 江门职业技术学院 Application sharing system, control method and storage medium
CN114490472A (en) * 2021-12-06 2022-05-13 南京蒙柏信息产业有限公司 One-port multi-machine concurrent sharing terminal for data conversion

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620578A (en) * 2009-06-23 2010-01-06 上海北大方正科技电脑系统有限公司 Method for managing USB equipment based on virtualized system
CN102622538A (en) * 2011-02-01 2012-08-01 中国电信股份有限公司 Method and system for software licensing control
CN103310132A (en) * 2012-01-24 2013-09-18 国际商业机器公司 Method and system software license management in a networked computing environment
CN103810405A (en) * 2012-11-09 2014-05-21 国际商业机器公司 Methods and apparatus for software license management
CN103902878A (en) * 2012-12-28 2014-07-02 杭州华三通信技术有限公司 License authentication method and device under virtual environment
CN103984884A (en) * 2014-05-30 2014-08-13 广东轩辕网络科技股份有限公司 Method and system for licensing software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9116821B2 (en) * 2011-03-23 2015-08-25 Avocent Corporation Method and system for USB device virtualization

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101620578A (en) * 2009-06-23 2010-01-06 上海北大方正科技电脑系统有限公司 Method for managing USB equipment based on virtualized system
CN102622538A (en) * 2011-02-01 2012-08-01 中国电信股份有限公司 Method and system for software licensing control
CN103310132A (en) * 2012-01-24 2013-09-18 国际商业机器公司 Method and system software license management in a networked computing environment
CN103810405A (en) * 2012-11-09 2014-05-21 国际商业机器公司 Methods and apparatus for software license management
CN103902878A (en) * 2012-12-28 2014-07-02 杭州华三通信技术有限公司 License authentication method and device under virtual environment
CN103984884A (en) * 2014-05-30 2014-08-13 广东轩辕网络科技股份有限公司 Method and system for licensing software
WO2015180272A1 (en) * 2014-05-30 2015-12-03 广东轩辕网络科技股份有限公司 Software licensing method and system

Also Published As

Publication number Publication date
CN105550566A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN110197058B (en) Unified internal control security management method, system, medium and electronic device
JP6135022B2 (en) Licensing in the cloud
CN105991734B (en) A kind of cloud platform management method and system
CN108965480A (en) Cloud desktop login management-control method, device and computer readable storage medium
CN111556047B (en) Deployment method of security service in private cloud environment
CN110912938A (en) Access verification method and device for network access terminal, storage medium and electronic equipment
CN109564524A (en) The safety guidance of virtualization manager
CN107634951A (en) Docker vessel safeties management method, system, equipment and storage medium
CN109564523A (en) Variability of performance is reduced using opportunistic management program
CN103888252A (en) UID, PID, and APPID-based control application access permission method
CN106446638A (en) Cloud computing operation system security access method and device
CN105550566B (en) A kind of method of multiple users share soft ware authorization USB device
CN103618752A (en) Virtual machine remote desktop safety access system and method
CN107832592B (en) Authority management method, device and storage medium
CN108037978A (en) A kind of managing computing resources method based on virtualization technology
CN104951688B (en) Suitable for the exclusive data encryption method and encrypted card under Xen virtualized environment
CN103473489A (en) Permission validation system and permission validation method for safety production comprehensive supervision
CN106487815A (en) A kind of container operation safety verification processing method based on white list and system
CN102567683A (en) Cloud computing system and cloud computing realizing method
WO2017004918A1 (en) Security control method and device, and computer storage medium
CN110677453A (en) ZooKeeper-based distributed lock service implementation method, device, equipment and storage medium
CN105959309A (en) User permission management method and system
CN102957666A (en) License control method and license control system
CN102739405A (en) Authentication method for service-orientated architecture service costumer
CN103400066B (en) For managing the system and method for software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant