Summary of the invention
In view of this, the present invention provide a kind of KVM display methods and device to solve user cannot be not
The problem of switching between same KVM equipment.
Specifically, the present invention is achieved through the following technical solutions:
The present invention provides a kind of KVM display methods, and described method includes:
Search KVM equipment;
KVM equipment for searching generates list of devices;
The operation interface that the KVM equipment that shows in described list of devices according to default span mode is corresponding.
Further, described search KVM equipment, including:
In default address field, search for the IP address of BMC, obtain corresponding with the IP address of BMC
KVM equipment.
Further, the described KVM equipment for searching generates list of devices, including:
KVM equipment for searching generates list of devices, shows described KVM in described list of devices
The device identification of equipment.
Further, the span mode that described basis is preset shows the KVM equipment in described list of devices
Corresponding operation interface, including:
Display sequence number is set for the KVM equipment in described list of devices, exists according to default span mode
The split screen region that display sequence number is corresponding shows the operation interface that KVM equipment is corresponding.
Further, described method also includes:
When receiving the exchange KVM equipment that shows of the first split screen region and the second split screen region shows
During the exchange instruction of the 2nd KVM equipment, obtain the display sequence number and second of a described KVM equipment
The display sequence number of KVM equipment;
The display sequence number that exchange KVM equipment is corresponding, makes the display sequence number pair of a described KVM equipment
Answer the 2nd KVM equipment, the corresponding KVM equipment of the display sequence number of the 2nd KVM equipment, and will set
Display sequence number in standby list swaps;
According to the display sequence number after exchange, show, in the first split screen region, the behaviour that the 2nd KVM equipment is corresponding
Make interface, show, in the second split screen region, the operation interface that a KVM equipment is corresponding.
Based on identical design, the present invention also provides for a kind of KVM display device, and described device includes:
Equipment search unit, is used for searching for KVM equipment;
List generation unit, generates list of devices for the KVM equipment for searching;
Interface display unit, for showing the KVM in described list of devices according to the span mode preset
The operation interface that equipment is corresponding.
Further, described equipment search unit, specifically for searching for BMC in default address field
IP address, obtain the KVM equipment corresponding with the IP address of BMC.
Further, described list generation unit, generate specifically for the KVM equipment for searching and set
Standby list, shows the device identification of described KVM equipment in described list of devices.
Further, described interface display unit, specifically for setting for the KVM in described list of devices
For arranging display sequence number, show in the split screen region that display sequence number is corresponding according to default span mode
The operation interface that KVM equipment is corresponding.
Further, described device also includes:
Devices exchange unit, for receive the KVM equipment that show of exchange the first split screen region with
During the exchange instruction of the 2nd KVM equipment that the second split screen region shows, obtain a described KVM and set
Standby display sequence number and the display sequence number of the 2nd KVM equipment;The display sequence that exchange KVM equipment is corresponding
Number, make the corresponding 2nd KVM equipment of display sequence number of a described KVM equipment, the 2nd KVM equipment
The corresponding KVM equipment of display sequence number, and the display sequence number in list of devices is swapped;Root
According to the display sequence number after exchange, show, in the first split screen region, the operation interface that the 2nd KVM equipment is corresponding,
The operation interface that a KVM equipment is corresponding is shown in the second split screen region.
As can be seen here, the present invention can by search KVM equipment, and be the KVM equipment searched
Generate list of devices, then show the KVM equipment in described list of devices according to the span mode preset
Corresponding operation interface.Therefore can meet user and use multiple KVM equipment simultaneously, and can be certainly
By switching KVM equipment, thus improve Consumer's Experience.
Detailed description of the invention
In order to solve the problem that prior art exists, the present invention provides a kind of KVM display methods and device,
Can by search KVM equipment, and be that the KVM equipment searched generates list of devices, then root
The operation interface that the KVM equipment that shows in described list of devices according to default span mode is corresponding.Therefore
User can be met and use multiple KVM equipment simultaneously, and can freely switch KVM equipment, from
And improve Consumer's Experience.
Refer to Fig. 1, be a kind of KVM display methods in a kind of illustrative embodiments of the present invention
Process chart, described method includes:
Step 101, search KVM equipment;
In an embodiment of the present invention, need by kvm system by multiple KVM equipment as user
When operating multiple server, kvm system can search for KVM equipment according to user's request.Optionally
In embodiment, kvm system can obtain the address field of user's input, and searches for the KVM in this address field
Equipment.Concrete, first kvm system can search for the IP ground belonging to BMC in default address field
Location, owing to KVM equipment is the remote supervision module in BMC, can realize the service at BMC place
The Keyboard keyboard of device, Video video, Mouse mouse carries out software control, and therefore KVM sets
Standby IP address is identical with the IP address of BMC, thus gets the KVM equipment in this address field
IP address.
Step 102, generate list of devices for the KVM equipment that searches;
In the present embodiment, after kvm system searches KVM equipment, can be the KVM searched
Equipment generates list of devices.In order to further discriminate between the KVM equipment in list of devices, can in the present invention
In the embodiment of choosing, kvm system can add corresponding setting for each KVM equipment in list of devices
Standby mark, this device identification includes but not limited to the information such as the IP address of KVM equipment, device id.
In optional embodiment of the present invention, kvm system can obtain these by KVM equipment discovery feature
The configuration file of KVM equipment, and obtain the device identification in configuration file.Such as kvm system is permissible
Obtain the dataItem.xml file of KVM equipment, owing to this document comprising the IP ground of KVM equipment
The parameter informations such as location, resolution ratio, code check, device id, therefore can obtain the IP ground of KVM equipment
Location and/or device id or other parameter informations are as the device identification of KVM equipment.
The KVM equipment that the span mode that step 103, basis are preset shows in described list of devices is corresponding
Operation interface.
In the present embodiment, kvm system can preset multiple span mode, such as one split screen, four points
Screen, six split screens, eight split screens, nine split screens, 16 split screens and self-defined split screen etc., user can basis
Use demand arranges span mode and adjusts the size in different split screen region.Kvm system obtains KVM
After equipment, can be according in the span mode display device list of the span mode of user preset or acquiescence
Operation interface corresponding to KVM equipment.In the present embodiment, when determining that KVM equipment is corresponding
Behind split screen region, KVM equipment can be set up session connection with the BMC in corresponding server, so
After in split screen region, show the operation interface that KVM equipment is corresponding.Split screen region can support that user contracts
Put, full frame, minimize, closedown etc. is arranged, when user zooms in and out adjustment to split screen region, KVM
System can adjust resolution ratio and the code check of the video that KVM equipment is corresponding in this split screen, thus adapts to contracting
Split screen area size after putting.
In optional embodiment of the present invention, kvm system can be that the KVM in described list of devices sets
For arranging display sequence number, show in the split screen region that display sequence number is corresponding according to default span mode
The operation interface that KVM equipment is corresponding.Specifically, span mode shows quantity and the split screen of sequence number
Quantity identical, each split screen region can corresponding different display sequence number, therefore can be by different aobvious
Show that sequence number guides the operation interface that different split screen region display KVM equipment is corresponding.At display KVM
Before the operation interface that equipment is corresponding, kvm system can determine according to user's selection or default setting to be worked as
The corresponding relation of sequence number and KVM equipment is shown under front span mode.Such as, four points are selected as user
During screen, display sequence number is respectively " 1. ", " 2. ", " 3. ", " 4. ";When user selects six points
During screen, display sequence number is respectively " 1. ", " 2. ", " 3. ", " 4. ", " 5. ", " 6. ",
By that analogy.After kvm system generates list of devices, can be automatically for the KVM equipment in list
Display sequence number is set, such as, the KVM equipment in list of devices is set gradually display according to a definite sequence
Sequence number, until display sequence number planned number is finished.It addition, the present invention can also support that user is according to use demand
The setting of amendment display sequence number, such as under four span mode, if list of devices includes 10 KVM
Equipment, then user can be descending for front 4 KVM according to the frequent degree of KVM equipment use
Equipment arranges display sequence number, and shows that above-mentioned 4 KVM set in the split screen region that display sequence number is corresponding
Standby corresponding operation interface, and in list of devices, at described 4 KVM equipment, show the aobvious of correspondence
Showing sequence number, other 6 KVM equipment are the most temporarily merely displayed in list of devices.If user needs to show
Show the operation interface of more KVM equipment, then current span mode can be changed to split screen more
Pattern, or display sequence number is transposed at some KVM equipment other KVM to be shown sets
Standby place.More than show that the set-up mode of sequence number is only exemplified embodiment of the present invention, in actual application
It is not specifically limited.
As can be seen here, the present invention can by search KVM equipment, and be the KVM equipment searched
Generate list of devices, then show the KVM equipment in described list of devices according to the span mode preset
Corresponding operation interface.Therefore can meet user and use multiple KVM equipment simultaneously, and can be certainly
By switching KVM equipment, thus improve Consumer's Experience.
In optional embodiment of the present invention, display in kvm system detects certain split screen region
When KVM equipment is closed, then in list of devices, described KVM equipment can be set to off-line state,
Such as this KVM equipment is put ash or deletion, then can reclaim the display that described KVM equipment is corresponding
Sequence number, if there is currently other KVM equipment being not provided with showing sequence number, kvm system can basis
The display sequence number reclaimed is distributed to be not provided with other of display sequence number by user's configuration or default policy
KVM equipment, and new KVM equipment corresponding for this display sequence number is shown in this split screen region, from
And utilization rate and the flexibility of split screen can be improved.
In optional embodiment of the present invention, also support that user is by the KVM in any two split screen region
Equipment interface exchanges.Specifically, receive, when kvm system, first that exchange the first split screen region shows
During the exchange instruction of the 2nd KVM equipment that KVM equipment and the second split screen region show, institute can be obtained
State display sequence number and the display sequence number of the 2nd KVM equipment of a KVM equipment, then exchange above-mentioned
The display sequence number that two KVM equipment is corresponding, makes the display sequence number correspondence of a described KVM equipment
Two KVM equipment, the corresponding KVM equipment of the display sequence number of the 2nd KVM equipment, and equipment is arranged
Display sequence number in table swaps;Afterwards according to the display sequence number after exchange, corresponding in display sequence number
Split screen region shows the KVM equipment corresponding with described display sequence number, i.e. shows in the first split screen region
The operation interface that 2nd KVM equipment is corresponding, shows that in the second split screen region a KVM equipment is corresponding
Operation interface.So, user can be by the KVM equipment interface in dragging split screen region
Mode or quickly realize the mesh that two interfaces exchange by the mode such as button of exchanging clicking on two interfaces
, thus further enhance flexibility and the operability of kvm system.
For making the purpose of the present invention, technical scheme and advantage clearer, below to the party of the present invention
Case is described in further detail.
When user needs to use multiple KVM equipment, the ground of correspondence can be inputted in kvm system
Location section.After kvm system obtains address field, the IP address of BMC can be searched in address field, so
Rear acquisition and this BMC set up the KVM equipment of session connection.Assume that kvm system searches 5
KVM equipment, then kvm system can search further for the configuration file of these 5 KVM equipment, thus
Obtain the device identification in configuration file, such as ID1, ID2, ID3, ID4, ID5;Then KVM system
System can be that 5 the KVM equipment searched generate list of devices, and shows each in list of devices
The device identification that KVM equipment is corresponding.When user selects 2 panes pattern, corresponding display serial number
" 1. " and " 2. ", kvm system can be according to the KVM being chosen as in list of devices of user afterwards
Equipment arranges the display serial number " 1. " that KVM equipment corresponding to display sequence number, for example, ID1 is arranged,
The display serial number " 2. " arranged for KVM equipment corresponding for ID2, other KVM equipment are not provided with
Display sequence number.Afterwards, the KVM equipment foundation connection that kvm system is corresponding with ID1 and ID2 respectively,
And in the split screen region that display sequence number is corresponding, show the behaviour of the KVM equipment corresponding with described display sequence number
Make interface, and as shown in Figure 2 a.Wherein kvm system interface 20 includes the list of devices 21 in left side,
List of devices 21 includes device identification ID1, ID2, ID3, ID4, ID5.According to the setting of user,
In the display serial number " 1. " of KVM equipment corresponding for ID1, for KVM equipment corresponding for ID2
Display serial number " 2. ".Therefore in the first split screen region 22, show KVM equipment corresponding for ID1
Operation interface;The operation interface of KVM equipment corresponding for ID2 is shown in the second split screen region 23, and
The display sequence number of correspondence is shown at ID1, ID2 in list of devices.Other KVM being not provided with showing sequence number
Equipment is then not shown in split screen region.Whole KVM equipment in user needs display device list
Time, then current span mode can be switched to the more span mode of split screen, such as, 2 panes be cut
It is changed to five split screens, then the KVM equipment correspondence respectively that current ID1, ID2, ID3, ID4, ID5 are corresponding
Display sequence number can be " 1. ", " 2. ", " 3. ", " 4. ", " 5. ".In current screen,
The operation interface that KVM equipment is corresponding, interface can be shown respectively in the split screen region that display sequence number is corresponding
As shown in Figure 2 b.
Therefore the present invention can quickly connect multiple KVM equipment in a kvm system, and
By the way of multi-screen, show multiple KVM equipment more intuitively and carry out many KVM equipment and operate simultaneously,
Such that it is able to improve KVM equipment operating efficiency, it is simple to the unified management of KVM equipment.
Based on identical design, the present invention also provides for a kind of KVM display device, and this device can pass through
Software realizes, it is also possible to realize by the way of hardware or software and hardware combining.As a example by implemented in software,
The KVM display device of the present invention is as the device on a logical meaning, by its place device
CPU runs after being read by computer program instructions corresponding in memory and forms.
Refer to Fig. 3 and Fig. 4, be that a kind of KVM in a kind of illustrative embodiments of the present invention shows
Device 400, the basic running environment of this device includes CPU, memory and other hardware, from logical layer
From the point of view of on face, this device 400 includes:
Equipment search unit 401, is used for searching for KVM equipment;
List generation unit 402, generates list of devices for the KVM equipment for searching;
Interface display unit 403, for showing in described list of devices according to the span mode preset
The operation interface that KVM equipment is corresponding.
Optionally, described equipment search unit 401, specifically for searching for BMC in default address field
IP address, obtain the KVM equipment corresponding with the IP address of BMC.
Optionally, described list generation unit 402, generate specifically for the KVM equipment for searching
List of devices, shows the device identification of described KVM equipment in described list of devices.
Optionally, described interface display unit 403, specifically for setting for the KVM in described list of devices
For arranging display sequence number, show in the split screen region that display sequence number is corresponding according to default span mode
The operation interface that KVM equipment is corresponding.
Optionally, described device 400 also includes:
Devices exchange unit 404, for setting receiving the exchange KVM that shows of the first split screen region
During the exchange instruction of the 2nd KVM equipment that standby and the second split screen region shows, obtain a described KVM
The display sequence number of equipment and the display sequence number of the 2nd KVM equipment;The display that exchange KVM equipment is corresponding
Sequence number, makes the corresponding 2nd KVM equipment of display sequence number of a described KVM equipment, and the 2nd KVM sets
The corresponding KVM equipment of standby display sequence number, and the display sequence number in list of devices is swapped;
According to the display sequence number after exchange, show, in the first split screen region, operation circle that the 2nd KVM equipment is corresponding
Face, shows, in the second split screen region, the operation interface that a KVM equipment is corresponding.
As can be seen here, the present invention can by search KVM equipment, and be the KVM equipment searched
Generate list of devices, then show the KVM equipment in described list of devices according to the span mode preset
Corresponding operation interface.Therefore can meet user and use multiple KVM equipment simultaneously, and can be certainly
By switching KVM equipment, thus improve Consumer's Experience.
In said apparatus, the function of unit and the process that realizes of effect specifically refer in said method corresponding
Step realize process, do not repeat them here.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so relevant part ginseng
See that the part of embodiment of the method illustrates.Device embodiment described above is only schematically,
The wherein said unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole module of person realizes the purpose of the application scheme.Those of ordinary skill in the art are not paying creativeness
In the case of work, i.e. it is appreciated that and implements.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. done, should be included in
Within the scope of protection of the invention.