CN105550566A - Method for enabling multiple users to share software authorization USB (Universal Serial Bus) device - Google Patents
Method for enabling multiple users to share software authorization USB (Universal Serial Bus) device Download PDFInfo
- Publication number
- CN105550566A CN105550566A CN201510884777.3A CN201510884777A CN105550566A CN 105550566 A CN105550566 A CN 105550566A CN 201510884777 A CN201510884777 A CN 201510884777A CN 105550566 A CN105550566 A CN 105550566A
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program 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 method for enabling multiple users to share a software authorization USB (Universal Serial Bus) device, and belongs to the technical field of cloud computing and virtual machines. The method comprises a step of registering a USB, a step of registering a service, a step of requesting to use the USB device, a step of starting the USB device and a step of ending the USB device. According to the method disclosed by the invention, under the condition of only configuring a USB virtualization device card, requirements of users can be further met, moreover, a utilization rate of the USB device is improved, and resources and cost of using software by the users are effectively saved.
Description
Technical field
The invention belongs to cloud computing and virtual machine technique field, particularly relate to a kind of method of multiple users share soft ware authorization USB device.
Background technology
Along with the develop rapidly of computer techno-stress, the shortcoming of the secure context of traditional character authentication mode is more and more obvious.Traditional character type software license is cracked and piracy on a large scale, makes software service company suffer huge economic loss.
Along with the development of safety technique, service provider by secure authenticated information solidification in the usb device, makes authentication information not be extracted and to crack.Like this, when only having corresponding correct USB device, just by the certification of safety.Effectively can ensure the security of software, and be convenient to service provider and manage.
Because USB device itself has certain manufacturing cost, and major part is with being use corresponding service the short time per family, so for most of user, the authentication service of use USB type, can make the use cost of software greatly improve.Now be badly in need of wanting a kind of dispatching method of multiple users share USB authenticating device resource to manage USB authenticating device resource, so that the USB authenticating device both having met user uses needs, shared USB authenticating device resource can be maximized again, effectively reduce cost.
Summary of the invention
Because the above-mentioned defect of prior art, technical matters to be solved by this invention is to provide one can maximize shared USB authenticating device resource, and the method for the lower multiple users share soft ware authorization USB device of cost.
For achieving the above object, the invention provides a kind of method of multiple users share soft ware authorization USB device, comprise the following steps:
Step one, registration USB;
Step 2, registration service,
Step 3, request use USB device,
Step 4, the USB device that starts,
Step 5, end USB device;
Request described in step 3 uses USB device to carry out according to the following steps:
A1, when user have use the needing of USB device time, file a request to administration module; Judge whether user has VM; If user has VM, then inquire about the USB device reservation table of VM, according to USB device reservation table application USB device; When user does not have VM to use USB device, then create the VM of band USB device;
After A2, administration module receive request, request is processed; Judge that user is the request of renewing a contract, newly-built VM+USB asks or have VM+USB request; Check that whether the request of user is effective;
A3, record is carried out to the request of user; Judge that user is the need of renewed treaty;
If user needs to renew a contract, then directly renew a contract, then terminate; Otherwise execution step 4;
In step 4, described beginning USB device is carried out according to the following steps:
USB device in administration module quantitative check system is safeguarded:
B1, check whether the request that will start;
B2, when have will start request, then whether the resource in check system meets user; Otherwise terminate;
B3, when the resource in system meets user, to send request to USB explorer and Hypervisor; When the resource in system does not meet user, the USB device of user is delayed service time, and notifies user;
B4, administration module check the current state of USB device: if be idle condition, then the link information of USB device is sent to Hypervisor;
If be not idle condition, then inquire the VM of current this USB device of use, user and host Hypervisor information;
B5, send notice to previous user;
B6, administration module send request to former VM host Hypervisor, and the appointment USB device of VM is specified in unloading;
B7, the link information of USB device is sent to the host Hypervisor of new VM;
B8, administration module send request to Hypervisor, carry link information and the VM information of USB device; Hypervisor creates the VM of band USB device according to request and is that existing VM adds USB device;
Terminate USB device in step 5 to carry out according to the following steps:
USB device in administration module quantitative check system is safeguarded:
C1, check whether and will overduely ask; Overduely will ask if had, in check system, whether have enough resources to allow user to renew a contract:
If there are enough resources to allow user to continue to use in system, then first preempt resource, the information that then sends is pointed out to user; If user renews a contract before expiring, then camp-on resource is discharged, otherwise return execution step 3;
If allow user to continue to use without enough resources in system, then send information and will expire to point out its USB device to user;
C2, to send request to Hypervisor, carry link information and the VM information of USB device; Hypervisor deletes the VM of band USB device according to request.
Preferably, before described step 4, also comprise user and propose amendment to administration module or cancel the step of USB device request; After administration module receives the request of user, the request of user in record or renewed treaty request are modified or cancelled.
Preferably, step one is carried out according to the following steps:
D1, judge that service corresponding to USB device exists; If there is no, service is created in systems in which, and the relevant information of record service, comprise title, version number, issuing time, company information, software type and use description, then performing next step; If existed, then directly carry out next step;
D2, access USB device: first USB device is inserted unified USB interface bus; Scanning USB device; The USB device record newly inserted to be gone forward side by side row labels.
Preferably, step 2 is carried out according to the following steps:
E1, find new USB device;
E2, USB is associated with corresponding service;
E3, set up agent list for USB device, record the service condition of current USB device and corresponding use information.
Whether preferably, in described step 3, according to the authority of user and the validity of amount examination & verification user request, reexamining available resources in system and mate with the request of user, if coupling, is user's reservation or Resources allocation; If do not mated, then provide suggested design to user, mail notification client, and ensure in finite time effective; If user accepts suggested design, then determine that suggested design is true reservation; If user does not accept suggested design, then re-start selection; When system connects the request of accepted user, then USB device is mounted to user virtual machine, and according to the service condition of user user is notified and point out.
The invention has the beneficial effects as follows: the present invention when only configuring a USB virtual equipment card, more can meet the demand of user, and improve the utilization factor of USB device, effectively saved the cost that resource and user use software.
Accompanying drawing explanation
Fig. 1 is scheduling structure figure of the present invention.
Fig. 2 is role interaction scenarios figure of the present invention.
Fig. 3 is that user uses USB device process flow diagram.
Embodiment
Below in conjunction with drawings and Examples, 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, comprises the following steps:
Step one, registration USB:
D1, judge that service corresponding to USB device exists; If there is no, service is created in systems in which, and the relevant information of record service, comprise title, version number, issuing time, company information, software type and use description, then performing next step; If existed, then directly carry out next step;
D2, access USB device: first USB device is inserted unified USB interface bus; Scanning USB device; The USB device record newly inserted to be gone forward side by side row labels.
Step 2, registration service:
E1, find new USB device;
E2, USB is associated with corresponding service;
E3, set up agent list for USB device, record the service condition of current USB device and corresponding use information.
Step 3, request use USB device:
A1, when user have use the needing of USB device time, file a request to administration module; Judge whether user has VM; If user has VM, then inquire about the USB device reservation table of VM, as shown in table 1, user, according to USB device reservation table, applies for USB device;
USB identifies | Software service identifies | Available slot 1 | Available slot 2 | …… | Available slot n |
Table 1.USB device reservation table
When user does not have VM to use USB device, then create the VM of band USB device;
After A2, administration module receive request, request is processed; Judge that user is the request of renewing a contract, newly-built VM+USB asks or have VM+USB request; Check that whether the request of user is effective;
A3, record is carried out to the request of user; Judge that user is the need of renewed treaty;
If user needs to renew a contract, then directly renew a contract, then terminate; Otherwise execution step 4.
Step 4, beginning USB device:
USB device in administration module quantitative check system is safeguarded:
B1, check whether the request that will start;
B2, when have will start request, then whether the resource in check system meets user; Otherwise terminate;
B3, when the resource in system meets user, to send request to USB explorer and Hypervisor; When the resource in system does not meet user, the USB device of user is delayed service time, and notifies user;
The current state of B4, inspection USB device: if be idle condition, then the link information of USB device is sent to Hypervisor;
If be not idle condition, then inquire the VM of current this USB device of use, user and host Hypervisor information;
B5, send notice to previous user: the USB device that its application uses is disconnected owing to expiring.
B6, send request to former VM host Hypervisor, the appointment USB device of VM is specified in unloading;
B7, the link information of USB device is sent to the host Hypervisor of new VM;
B8, to send request to Hypervisor, carry link information and the VM information of USB device; Hypervisor creates the VM of band USB device according to request and is that existing VM adds USB device.
Step 5, end USB device:
USB device in administration module quantitative check system is safeguarded:
C1, check whether and will overduely ask; Overduely will ask if had, in check system, whether have enough resources to allow user to renew a contract:
If there are enough resources to allow user to continue to use in system, then first preempt resource, the information that then sends is pointed out to user: whether resource is about to expire, renew a contract; If user renews a contract before expiring, then camp-on resource is discharged, otherwise return execution step 3;
If allow user to continue to use without enough resources in system, then send information and will expire to point out its USB device to user;
C2, to send request to Hypervisor, carry link information and the VM information of USB device; Hypervisor deletes the VM of band USB device according to request.
Whether in the present embodiment, in described step 3, according to the authority of user and the validity of amount examination & verification user request, reexamining available resources in system and mate with the request of user, if coupling, is user's reservation or Resources allocation; If do not mated, then provide suggested design to user, mail notification client, and ensure in finite time effective; If user accepts suggested design, then determine that suggested design is true reservation; If user does not accept suggested design, then re-start selection; When system connects the request of accepted user, then USB device is mounted to user virtual machine, and according to the service condition of user user is notified and point out.
In another embodiment, before described step 4, also comprise user and propose amendment to administration module or cancel the step of USB device request; After administration module receives the request of user, the request of user in record or renewed treaty request are modified or cancelled.
More than describe preferred embodiment of the present invention in detail.Should be appreciated that those of ordinary skill in the art just design according to the present invention can make many modifications and variations without the need to creative work.Therefore, all technician in the art, all should by the determined protection domain of claims under this invention's idea on the basis of existing technology by the available technical scheme of logical analysis, reasoning, or a limited experiment.
Claims (5)
1. a method for multiple users share soft ware authorization USB device, is characterized in that comprising the following steps:
Step one, registration USB;
Step 2, registration service,
Step 3, request use USB device,
Step 4, the USB device that starts,
Step 5, end USB device;
Request described in step 3 uses USB device to carry out according to the following steps:
A1, when user have use the needing of USB device time, file a request to administration module; Judge whether user has VM; If user has VM, then inquire about the USB device reservation table of VM, according to USB device reservation table application USB device; When user does not have VM to use USB device, then create the VM of band USB device;
After A2, administration module receive request, request is processed; Judge that user is the request of renewing a contract, newly-built VM+USB asks or have VM+USB request; Check that whether the request of user is effective;
A3, record is carried out to the request of user; Judge that user is the need of renewed treaty;
If user needs to renew a contract, then directly renew a contract, then terminate; Otherwise execution step 4;
In step 4, described beginning USB device is carried out according to the following steps:
USB device in administration module quantitative check system is safeguarded:
B1, check whether the request that will start;
B2, when have will start request, then whether the resource in check system meets user; Otherwise terminate;
B3, when the resource in system meets user, to send request to USB explorer and Hypervisor; When the resource in system does not meet user, the USB device of user is delayed service time, and notifies user;
B4, administration module check the current state of USB device: if be idle condition, then the link information of USB device is sent to Hypervisor;
If be not idle condition, then inquire the VM of current this USB device of use, user and host Hypervisor information;
B5, send notice to previous user;
B6, administration module send request to former VM host Hypervisor, and the appointment USB device of VM is specified in unloading;
B7, the link information of USB device is sent to the host Hypervisor of new VM;
B8, administration module send request to Hypervisor, carry link information and the VM information of USB device; Hypervisor creates the VM of band USB device according to request and is that existing VM adds USB device;
Terminate USB device in step 5 to carry out according to the following steps:
USB device in administration module quantitative check system is safeguarded:
C1, check whether and will overduely ask; Overduely will ask if had, in check system, whether have enough resources to allow user to renew a contract:
If there are enough resources to allow user to continue to use in system, then first preempt resource, the information that then sends is pointed out to user; If user renews a contract before expiring, then camp-on resource is discharged, otherwise return execution step 3;
If allow user to continue to use without enough resources in system, then send information and will expire to point out its USB device to user;
C2, to send request to Hypervisor, carry link information and the VM information of USB device; Hypervisor deletes the VM of band USB device according to request.
2. the method for a kind of multiple users share soft ware authorization USB device as claimed in claim 1, is characterized in that: before described step 4, also comprises user and proposes amendment to administration module or cancel the step of USB device request; After administration module receives the request of user, the request of user in record or renewed treaty request are modified or cancelled.
3. the method for a kind of multiple users share soft ware authorization USB device as claimed in claim 1, is characterized in that: step one is carried out according to the following steps:
D1, judge that service corresponding to USB device exists; If there is no, service is created in systems in which, and the relevant information of record service, comprise title, version number, issuing time, company information, software type and use description, then performing next step; If existed, then directly carry out next step;
D2, access USB device: first USB device is inserted unified USB interface bus; Scanning USB device; The USB device record newly inserted to be gone forward side by side row labels.
4. the method for a kind of multiple users share soft ware authorization USB device as claimed in claim 1, is characterized in that: step 2 is carried out according to the following steps:
E1, find new USB device;
E2, USB is associated with corresponding service;
E3, set up agent list for USB device, record the service condition of current USB device and corresponding use information.
5. the method for a kind of multiple users share soft ware authorization USB device as described in claim 1,2,3 or 4, it is characterized in that: in described step 3, according to the authority of user and the validity of amount examination & verification user request, whether reexamine available resources in system to mate with the request of user, if coupling, be user's reservation or Resources allocation; If do not mated, then provide suggested design to user, mail notification client, and ensure in finite time effective; If user accepts suggested design, then determine that suggested design is true reservation; If user does not accept suggested design, then re-start selection; When system connects the request of accepted user, then USB device is mounted to user virtual machine, and according to the service condition of user user is notified and point out.
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 true CN105550566A (en) | 2016-05-04 |
CN105550566B 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) |
Cited By (3)
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 |
CN112948146A (en) * | 2021-03-18 | 2021-06-11 | 江门职业技术学院 | 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 (7)
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 |
US20120246359A1 (en) * | 2011-03-23 | 2012-09-27 | Scragg Jr Anthony K | Method and System for USB Device Virtualization |
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 |
-
2015
- 2015-12-06 CN CN201510884777.3A patent/CN105550566B/en active Active
Patent Citations (8)
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 |
US20120246359A1 (en) * | 2011-03-23 | 2012-09-27 | Scragg Jr Anthony K | Method and System for USB Device Virtualization |
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 |
Cited By (4)
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 |
CN112948146A (en) * | 2021-03-18 | 2021-06-11 | 江门职业技术学院 | Application sharing system, control method and storage medium |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105550566B (en) | 2019-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108549580B (en) | Method for automatically deploying Kubernets slave nodes and terminal equipment | |
US20200097365A1 (en) | User authorization for file level restoration from image level backups | |
CN103078932B (en) | A kind of methods, devices and systems realizing universal single sign-on | |
CN104320423A (en) | Single sign-on light weight implementation method based on Cookie | |
CN105550566A (en) | Method for enabling multiple users to share software authorization USB (Universal Serial Bus) device | |
CN102707985A (en) | Access control method and system for virtual machine system | |
CN104951688B (en) | Suitable for the exclusive data encryption method and encrypted card under Xen virtualized environment | |
US9734016B2 (en) | Secure live virtual machine guest based snapshot recovery | |
CN103618752A (en) | Virtual machine remote desktop safety access system and method | |
CN103473489A (en) | Permission validation system and permission validation method for safety production comprehensive supervision | |
CN101741558A (en) | Method for realizing uniform identity authentication | |
US20120117247A1 (en) | Binding resources in a shared computing environment | |
CN102891862A (en) | Cloud computing batch signature method and system | |
CN111092936A (en) | Application service authority management method and terminal based on cloud platform | |
CN113821308A (en) | System on chip, virtual machine task processing method and device, and storage medium | |
CN106648832A (en) | Virtual machine resource utilization improving device and method thereof | |
CN102270153A (en) | Method and device for sharing encrypted card in virtual environment | |
CN103345598A (en) | Multiple-business-software License management method based on super-calculation Cloud service | |
CN102412969B (en) | Method for carrying out authentication by remotely using certificate and secret key, apparatus and system thereof | |
CN105721441A (en) | Method for authenticating identity under virtualized environment | |
CN113298620A (en) | Frequent traveler information management method and related device | |
CN109102265B (en) | Data processing method and device based on block chain | |
CN106713093A (en) | Avionics data distribution model and method thereof | |
CN103853957A (en) | Login verifying method for operating system based on fingerprint | |
CN105282180B (en) | The processing method and processing device of service authentication |
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 |