CN103902054A - Equipment sharing method and equipment sharing system - Google Patents
Equipment sharing method and equipment sharing system Download PDFInfo
- Publication number
- CN103902054A CN103902054A CN201210582618.4A CN201210582618A CN103902054A CN 103902054 A CN103902054 A CN 103902054A CN 201210582618 A CN201210582618 A CN 201210582618A CN 103902054 A CN103902054 A CN 103902054A
- Authority
- CN
- China
- Prior art keywords
- equipment
- server
- queue
- request
- module
- 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
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
Disclosed are an equipment sharing method and an equipment sharing system. The equipment sharing system comprises a queue management module, a receiving module, a judging module and a switching module. The queue management module is used for establishing a queue according to the preset priority level of the servers, and the queue comprises numbers of multiple servers sending equipment using requests to multiple kernel-based virtual machines (KVM) . The receiving module is used for receiving the equipment using demands transmitted through the servers. The judging module is used for judging whether one or more received equipment using demands are received. The switching module is used for delivering equipment using right to the servers sending the equipment using demands, and is further used for sequentially switching the equipment using right to the corresponding servers according to the priority level for previously establishing the queues when multiple equipment using demands are received. Automatic sharing among multiple servers on equipment of a keyboard, a mouse, a display and the like can be realized, and troublesome of a user in constant observing and switching is omitted.
Description
Technical field
The present invention relates to a kind of device management method and system, relate in particular to a kind of equipment and share method and system.
Background technology
Along with the development of server and cloud computing, server has more and more used centralized deployment, blade server and support (Rack) server is all concentrated and is placed in racks of data centers or in rack, and use multi-computer switch KVM to share a set of mouse-keyboard and display, but under some special occasions, as in the time carrying out integrated testability, the software moving on server need to carry out interactive action frequently with user, for example click with mouse, keyboard input etc., because operating software state differs on a lot of station servers in frame, which platform machinery requirement user user is unable to find out operates, can only indicate with LED or alternate manner, user sees after indication manual switchover keyboard again, mouse and display, very trouble, in this case, use this traditional keyboard, mouse and display changing method are just somewhat unable to do what one wishes and efficiency is very low.
Summary of the invention
In view of above content, be necessary to provide a kind of equipment to share method and system.
Described equipment is shared method and is comprised: create a queue according to the priority level of predefined server, this queue comprises the numbering that uses multiple servers of request to multi-computer switch KVM transmitting apparatus; The equipment that reception server sends uses request; It is one or multiple that the equipment that judgement receives uses request; In the time that the equipment receiving uses request to be one, the equipment right to use is given to the server that sends this equipment use request; When the equipment that receives uses request when multiple, according to the priority orders of server in the queue of setting up the before successively switching device right to use to respective server.
Described equipment shared system comprises: queue management module, and for creating a queue according to the priority level of predefined server, this queue comprises the numbering that uses multiple servers of request to multi-computer switch KVM transmitting apparatus; Receiver module, the equipment sending for reception server uses request; Judge module is one or multiple for judging that the equipment receiving uses request; Handover module, while asking to be one, gives the equipment right to use server that sends this equipment use request for using when the equipment receiving; Described handover module, also for use request when multiple when the equipment that receives, according to the priority orders of server in the queue of setting up the before successively switching device right to use to respective server.
The present invention can realize the equipment such as keyboard, mouse and display automatically sharing between multiple servers.
Accompanying drawing explanation
Fig. 1 is the running environment figure of the preferred embodiments of present device shared system.
Fig. 2 is the functional block diagram of the preferred embodiments of present device shared system.
Fig. 3 is the process flow diagram that present device is shared the preferred embodiments of method.
Main element symbol description
Multi-computer switch KVM | 1 |
Network | 2 |
|
3 |
Equipment shared |
10 |
|
12 |
|
14 |
|
100 |
|
102 |
|
104 |
|
106 |
|
108 |
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the running environment figure of present device shared system preferred embodiment.This equipment shared system 10 operates on a multi-computer switch KVM 1, and described KVM is Keyboard(keyboard), Video(display) and Mouse(mouse) first letter of three words.This multi-computer switch KVM 1 can be by the rights of using of a set of keyboard, display, mouse in 3 switchings of multiple servers, thereby share a set of keyboard, display, mouse with controlling multiple servers 3.
Described server 3(as quantity in Fig. 1 be 3) can for support server, can be also blade server, described server 3 is by wired or wireless network 2 and multi-computer switch KVM 1 connecting communication.
Described multi-computer switch KVM 1 is the key equipment of modern service device supervision, can assisting users by the control end being formed by single keyboard (Keyboard), display (Video) and mouse (Mouse), easily access and manage concentratedly and reach thousands of station servers.This multi-computer switch KVM 1 further comprises storer 12 and processor 14.
In the present embodiment, described equipment shared system 10 can be divided into one or more modules, and described one or more modules are configured to be carried out by one or more processors (the present embodiment is a processor 14), to complete the present invention.For example, consult shown in Fig. 2, described equipment shared system 10 is divided into queue management module 100, receiver module 102, judge module 104, handover module 106, and may further include inquiry module 108.The alleged module of the present invention has been the program segment of a specific function, is more suitable in describing the implementation of software in multi-computer switch KVM 1, the description of consulting Fig. 3 about the function of each module than program.
As shown in Figure 3, be the process flow diagram that present device is shared the preferred embodiment of method.
Step S10, queue management module 100 creates a queue according to the priority level of predefined multiple servers 3, and this queue comprises the numbering that need to use to multi-computer switch KVM 1 transmitting apparatus multiple servers 3 of request.In present embodiment, this equipment uses request to ask for keyboard, mouse and display use, and following examples describe as an example of keyboard, mouse and display use request example.In the present embodiment, can determine from small to large according to the numbering of multiple servers 3 priority level of the plurality of server 3, if the numbering of multiple servers 3 is M1, M2, M3 from small to large, the priority orders that now can determine the plurality of server 3 is M1, M2, M3 from low to high.
Step S11, keyboard, mouse and display that receiver module 102 reception servers 3 send use request.In present embodiment, keyboard, mouse and display that receiver module 102 sends by special interface (as serial ports or USB) reception server 3 use request, described request can be a command sequence, this command sequence comprises the coding of server 3, and the priority level of this server 3.
Step S12, judge module 104 judges that it is one or multiple that the keyboard, mouse and the display that receive use request.
Step S13, in the time receiving a keyboard, mouse and display use request, handover module 106 is given keyboard, mouse and the display right to use server 3 that sends this keyboard, mouse and display use request.
Step S14, in the time receiving multiple keyboards, mouse and display and use request, handover module 106, according to the priority orders of server of setting up before queue, switches keyboard, mouse and the display right to use from high to low successively to respective server 3.In present embodiment, the notice that uses keyboard, mouse and display that described receiver module 102 can also reception server 3 sends, and keyboard, mouse and the display right to use are given to the next server 3 of described queue, the notice that uses keyboard, mouse and display herein, can be sent to multi-computer switch KVM 1 by user UI (User Interface) interface by server 3.
In present embodiment, can also further set every station server 3 and use the Preset Time of keyboard, mouse and display, in the time that server 3 uses the time of keyboard, mouse and display to exceed Preset Time, inquiry module 108 inquires whether server 3 finishes using, in the time that server 3 does not respond this inquiry within a certain period of time, finish current keyboard, mouse and display and use process, give the next server 3 in queue by keyboard, mouse and the display right to use.
Described step S10 realizes the equipment such as keyboard, mouse and display automatically sharing between each station server 3 to step S14.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.
Claims (10)
1. an equipment shared system, is characterized in that, this system comprises:
Queue management module, creates a queue for the priority level according to predefined server, and this queue comprises the numbering that uses multiple servers of request to multi-computer switch KVM transmitting apparatus;
Receiver module, the equipment sending for reception server uses request;
Judge module is one or multiple for judging that the equipment receiving uses request;
Handover module, while asking to be one, gives the equipment right to use server that sends this equipment use request for using when the equipment receiving;
Described handover module, also for use request when multiple when the equipment that receives, according to the priority level of the server of the queue of setting up the before successively switching device right to use to respective server.
2. equipment shared system according to claim 1, is characterized in that, described queue management module is numbered the ascending order priority level of definite server from low to high according to server.
3. equipment shared system according to claim 1, is characterized in that, it is a command sequence that described equipment uses request, and this command sequence comprises the numbering of server and the priority level of this server.
4. equipment shared system according to claim 1, is characterized in that, what described receiver module also sent for reception server uses the notice of equipment, and gives the next server in described queue the equipment right to use.
5. equipment shared system according to claim 1, it is characterized in that, this system also comprises an inquiry module, for in the time that the time of server use equipment exceedes Preset Time, inquire whether this server finishes using, in the time that this server does not respond described inquiry within a certain period of time, finish current device and use process, give the next server in described queue by the equipment right to use.
6. equipment is shared a method, it is characterized in that, the method comprises:
Create a queue according to the priority level of predefined server, this queue comprises the numbering that uses multiple servers of request to multi-computer switch KVM transmitting apparatus;
The equipment that reception server sends uses request;
It is one or multiple that the equipment that judgement receives uses request;
In the time that the equipment receiving uses request to be one, the equipment right to use is given to the server that sends this equipment use request;
When the equipment that receives uses request when multiple, according to the priority level of the server of the queue of setting up the before successively switching device right to use to respective server.
7. equipment according to claim 6 is shared method, it is characterized in that, described server priority level is from low to high to number ascending order according to server to determine.
8. equipment according to claim 6 is shared method, it is characterized in that, it is a command sequence that described equipment uses request, and this command sequence comprises the numbering of server and the priority level of this server.
9. equipment according to claim 6 is shared method, it is characterized in that, the method also comprises: what reception server sent uses the notice of equipment, and gives the next server in described queue the equipment right to use.
10. equipment according to claim 6 is shared method, it is characterized in that, the method also comprises: in the time that server uses the time of equipment to exceed Preset Time, inquire whether this server finishes using, in the time that this server does not respond described inquiry within a certain period of time, finish current device and use process, give the next server in described queue by the equipment right to use.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210582618.4A CN103902054A (en) | 2012-12-28 | 2012-12-28 | Equipment sharing method and equipment sharing system |
TW102101467A TW201435592A (en) | 2012-12-28 | 2013-01-15 | System and method for sharing devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210582618.4A CN103902054A (en) | 2012-12-28 | 2012-12-28 | Equipment sharing method and equipment sharing system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103902054A true CN103902054A (en) | 2014-07-02 |
Family
ID=50993422
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210582618.4A Pending CN103902054A (en) | 2012-12-28 | 2012-12-28 | Equipment sharing method and equipment sharing system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103902054A (en) |
TW (1) | TW201435592A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105245438A (en) * | 2015-10-10 | 2016-01-13 | 形山科技(深圳)有限公司 | Content sharing method, content sharing device and content sharing system |
WO2017206698A1 (en) * | 2016-05-30 | 2017-12-07 | 广州广电运通金融电子股份有限公司 | Device management method and system based on active template library (atl), and financial self-service device |
CN109582265A (en) * | 2018-11-19 | 2019-04-05 | 深圳市美豆智能科技有限公司 | More computer method for handover control, storage medium, control device and its system |
CN110007775A (en) * | 2019-03-27 | 2019-07-12 | 山东超越数控电子股份有限公司 | A kind of method and system localized by network implementations KVM low rate external equipment |
CN111782160A (en) * | 2020-05-25 | 2020-10-16 | 北京博睿维讯科技有限公司 | Multi-machine multi-source common-screen control device |
CN114553935A (en) * | 2021-12-24 | 2022-05-27 | 龙芯中科(西安)科技有限公司 | Equipment switching method and device, electronic equipment and storage medium |
-
2012
- 2012-12-28 CN CN201210582618.4A patent/CN103902054A/en active Pending
-
2013
- 2013-01-15 TW TW102101467A patent/TW201435592A/en unknown
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105245438A (en) * | 2015-10-10 | 2016-01-13 | 形山科技(深圳)有限公司 | Content sharing method, content sharing device and content sharing system |
WO2017206698A1 (en) * | 2016-05-30 | 2017-12-07 | 广州广电运通金融电子股份有限公司 | Device management method and system based on active template library (atl), and financial self-service device |
CN109582265A (en) * | 2018-11-19 | 2019-04-05 | 深圳市美豆智能科技有限公司 | More computer method for handover control, storage medium, control device and its system |
CN110007775A (en) * | 2019-03-27 | 2019-07-12 | 山东超越数控电子股份有限公司 | A kind of method and system localized by network implementations KVM low rate external equipment |
CN111782160A (en) * | 2020-05-25 | 2020-10-16 | 北京博睿维讯科技有限公司 | Multi-machine multi-source common-screen control device |
CN111782160B (en) * | 2020-05-25 | 2023-10-27 | 北京博睿维讯科技有限公司 | Multi-machine multi-source common screen control device |
CN114553935A (en) * | 2021-12-24 | 2022-05-27 | 龙芯中科(西安)科技有限公司 | Equipment switching method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
TW201435592A (en) | 2014-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103902054A (en) | Equipment sharing method and equipment sharing system | |
CN112486648A (en) | Task scheduling method, device, system, electronic equipment and storage medium | |
CN101951411A (en) | Cloud scheduling system and method and multistage cloud scheduling system | |
CN101739287A (en) | Device, system and method for managing virtual machines | |
CN111694646A (en) | Resource scheduling method and device, electronic equipment and computer readable storage medium | |
CN105743995A (en) | Transplantable high-available container cluster deploying and managing system and method | |
US11556369B2 (en) | Virtual machine deployment method and OMM virtual machine | |
CN101267334A (en) | A method and device for dynamic device allocation | |
CN103368785A (en) | Server operation monitoring system and method | |
CN104378218A (en) | System and method for managing servers in cabinet | |
CN100562850C (en) | Multi-processor load distribution-regulation method | |
CN106713042B (en) | Method and device for determining network topology | |
CN110225137B (en) | Service request processing method, system, server and storage medium | |
US9507625B2 (en) | Apparatus and method for generating software defined network(SDN)-based virtual network according to user demand | |
CN102693235A (en) | Information notification device and method of altered equipment configuration file | |
CN104301140A (en) | Service request responding method, device and system | |
CN110868435B (en) | Bare metal server scheduling method and device and storage medium | |
CN102811141A (en) | Method and system for monitoring running of virtual machines | |
JP2016040876A (en) | Arrangement determination device for virtual machine, method thereof and program | |
KR20150007698A (en) | Load distribution system for virtual desktop service | |
CN109617831A (en) | Flow managing method and device and calculating equipment for distributed system | |
CN105245367A (en) | Serial number generation method and electronic device | |
CN110321145B (en) | System, method and device for upgrading multi-connected cluster system unit | |
CN102307201A (en) | Method and device of offline registration | |
CN103685017A (en) | Message forwarding method in stacking system, stacking equipment and stacking system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140702 |