CN111190492B - Method and device for starting KVM - Google Patents

Method and device for starting KVM Download PDF

Info

Publication number
CN111190492B
CN111190492B CN201911352589.0A CN201911352589A CN111190492B CN 111190492 B CN111190492 B CN 111190492B CN 201911352589 A CN201911352589 A CN 201911352589A CN 111190492 B CN111190492 B CN 111190492B
Authority
CN
China
Prior art keywords
kvm
url
page
directly
browser
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
CN201911352589.0A
Other languages
Chinese (zh)
Other versions
CN111190492A (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.)
Zhongke Sugon Information Industry Chengdu Co ltd
Dawning Information Industry Beijing Co Ltd
Original Assignee
Zhongke Sugon Information Industry Chengdu Co ltd
Dawning Information Industry Beijing 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 Zhongke Sugon Information Industry Chengdu Co ltd, Dawning Information Industry Beijing Co Ltd filed Critical Zhongke Sugon Information Industry Chengdu Co ltd
Priority to CN201911352589.0A priority Critical patent/CN111190492B/en
Publication of CN111190492A publication Critical patent/CN111190492A/en
Application granted granted Critical
Publication of CN111190492B publication Critical patent/CN111190492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0227Cooperation and interconnection of the input arrangement with other functional units of a computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method and a device for starting KVM, wherein the method comprises the following steps: the method comprises the steps that a preset format of directly using KVM is input into a browser, the front end obtains page information reserved in the browser, and the page information comprises jump content; the front end performs page skip according to the skip content, and uses default login names and passwords to log in and query information; the KVM is directly turned on by the jumped page and the queried information. The technical scheme of the invention at least can facilitate the direct KVM operation of the user.

Description

Method and device for starting KVM
Technical Field
The invention relates to the technical field of servers, in particular to a method and a device for starting KVM.
Background
After the server deploys the data center, since the actual operation space is far away from the data center, the operation of directly connecting the server with the display to perform visualization is not realistic, so in most cases, KVM (keyboard, display, mouse) of the BMC (baseboard controller) is used to perform remote visualization operation on the server, this process usually requires logging in the BMC in advance, the KVM is opened through the connection given by the BMC, the process is complicated, in most cases, data of the BMC is not required to be read, and KVM is used but the BMC must be logged in first.
The current scheme for opening the KVM function by using the BMC has two forms, namely, the first type of JavaKVM provided by the BMC downloads the JNLP file firstly, and then opens and uses the KVM by using a Java environment; referring to FIG. 1, another is the H5KVM provided by the BMC, which operates directly through the Html5 web page. Both approaches require logging in to the BMC first, although to some extent secure operation of the server is guaranteed, in most cases this way of logging in first and then using the KVM is not necessary. In the process of logging in the BMC, a large amount of data which is not concerned by the user can be passively received, and the user's appeal may be just to confirm the current running state of the server through the KVM, and the BMC cannot be used for managing the server, so that meaningless time consumption and manual consumption of server operation and maintenance personnel are caused.
In the prior art, a similar solution is to operate by using a standby APP under a Java environment, the solution is basically accessed by a Java KVM of a BMC, the solution is limited by the Java environment, a terminal using the APP must have the Java environment, and meanwhile, a single APP needs to be copied as an application program of the terminal, the development angle never meets the trend of a BS architecture, and the solution is influenced by different software versions, so that the use experience is greatly reduced, and the time cost of operation and maintenance personnel for maintaining the operation of a server cannot be saved.
In the currently used technology, both the KVM in Java mode and the KVM in H5 mode must log in the BMC management system of the server through a browser, which cannot meet the requirement that an operator only needs to know the running state of the server, and also needs to passively receive a lot of information which is not concerned, and after logging in the BMC, a lot of information interaction is required to be performed between the same BMC continuously, and the interaction of the data is meaningless for the requirement of the operator, so that the resource and time are wasted.
The KVM is used as a sub-function of the BMC, and basically depends on the management function of the BMC on the server, which determines that the KVM cannot be separated from the BMC to use a separate function. The operation and maintenance personnel's appeal is to quickly know the operation state of the current server, and the appeal is likely to be simply to see the display at a glance and know which stage the current server has operated, however, the current BMC system cannot cope with the appeal, but must rather achieve the initial objective in a way of logging in by the BMC, finding the entrance of the KVM, and re-opening the KVM, which is clearly a serpentining. Unless the KVM is capable of functioning as a single function, which is required to be achieved by the BMC opening a data interface, this approach is unacceptable to the BMC from a security standpoint, otherwise data leakage or loss of the data center occurs, resulting in irreparable loss.
Thus, there is also a need for a function that directly uses KVM without logging in through the BMC.
Disclosure of Invention
In view of the above problems in the related art, the present invention provides a method and apparatus for opening a KVM, which can facilitate a user to directly perform KVM operation.
The technical scheme of the invention is realized as follows:
according to one aspect of the present invention, there is provided a method for turning on a KVM, comprising:
s1, inputting a preset format for directly using KVM in a browser, and acquiring page information reserved in the browser by a front end, wherein the page information comprises jump content;
s2, the front end performs page skip according to the skip content, and uses a default login name and password to log in and query information;
s3, directly starting the KVM through the jumped page and the queried information.
According to an embodiment of the present invention, S1 includes: after a preset format is input in a webpage address bar of the browser, the browser sends the URL to a background server, and when the background server judges that the URL accords with the function of directly using the KVM, page information is returned, and the URL to be skipped is marked in the page information.
According to an embodiment of the present invention, S2 includes: the front end parses the URL to be jumped after receiving it, and jumps.
According to an embodiment of the present invention, the method for starting the KVM further includes: registering the URL and the corresponding processing function, and annotating that when the predetermined format occurs, step S1 is performed without performing a default jump.
According to another aspect of the present invention, there is provided a KVM apparatus, comprising:
an input module for inputting a predetermined format directly using the KVM in the browser;
the acquisition module is used for acquiring page information reserved in the browser, wherein the page information comprises jump content;
the skip module is used for performing page skip according to skip content, logging in and inquiring information by using a default login name and password;
and the starting module is used for directly starting the KVM through the jumped page and the queried information.
According to an embodiment of the invention, the acquisition module is configured to: after a preset format is input in a webpage address bar of the browser, the browser sends the URL to a background server, and when the background server judges that the URL accords with the function of directly using the KVM, page information is returned, and the URL to be skipped is marked in the page information.
According to an embodiment of the invention, the skip module is used for: after receiving the URL to be jumped, the URL is parsed and jumped.
According to an embodiment of the present invention, the device for opening KVM further includes: and the registration module is used for registering the URL and the corresponding processing function and labeling that when the preset format appears, the acquisition module is triggered without executing default skip.
According to still another aspect of the present invention, there is provided an apparatus for opening a KVM, including a storage medium storing a program, the program being executed to implement the method for opening a keyboard, a display, and a mouse as set forth in the claims.
According to the technical scheme, the login process of the BMC is invisible to the user, so that the purpose that the login BMC is not displayed and the KVM can be used similarly is achieved. The IP-KVM function is used for facilitating the user to simply check and manage the server, facilitating the user to directly perform KVM operation, avoiding the complicated login process and saving the time consumption in the server management work. Therefore, when operation and maintenance personnel or after-sales personnel only need to know the current running state of the server through the function of the KVM and do not need to carry out server management work, the IP-KVM function can meet the requirements of users, time and energy are not wasted in the process of receiving unnecessary information, and the user is facilitated to carry out server management work.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a prior art method of turning on KVM by BMC;
FIG. 2 is a flow chart of a method of turning on a KVM in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart of a method of turning on a KVM in accordance with an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the invention, fall within the scope of protection of the invention.
FIG. 2 is a flow chart of a method of turning on a KVM (keyboard, display, mouse) according to an embodiment of the present invention. As shown in FIG. 2, the method for starting KVM of the present invention may comprise the following steps:
s11, inputting a preset format directly using the KVM in the browser, and acquiring page information reserved in the browser by the front end, wherein the page information comprises jump content. In this context, the function of directly using KVM (without logging in through BMC) is named IP-KVM function according to its usage, which is described below using the abbreviation.
And S12, the front end performs page skip according to the skip content, and uses a default login name and password to perform login and information inquiry. Wherein the login is performed using a default login name and password, which is not visible to the user.
S13, directly starting the KVM through the jumped page and the queried information.
According to the technical scheme, the login process of the BMC is invisible to the user, so that the purpose that the login BMC is not displayed and the KVM can be used similarly is achieved. The IP-KVM function is used for facilitating the user to simply check and manage the server, facilitating the user to directly perform KVM operation, avoiding the complicated login process and saving the time consumption in the server management work. Therefore, when operation and maintenance personnel or after-sales personnel only need to know the current running state of the server through the function of the KVM and do not need to carry out server management work, the IP-KVM function can meet the requirements of users, time and energy are not wasted in the process of receiving unnecessary information, and the user is facilitated to carry out server management work.
In one embodiment, step S11 specifically includes: after a preset format is input in a webpage address bar of the browser, the browser sends the URL to a background server, and when the background server judges that the URL accords with the IP-KVM function, page information is returned, and the URL to be skipped is marked in the page information.
In one embodiment, step S12 specifically includes: the front end parses the URL to be jumped after receiving it, and jumps.
In one embodiment, the method for starting the KVM further comprises: registering the URL and the corresponding processing function, and annotating that when the predetermined format occurs, step S1 is performed without performing a default jump.
FIG. 2 is a flow chart of a method of turning on a KVM in accordance with an embodiment of the present invention. As shown in fig. 2, the method of the present invention may specifically include the steps of:
s21, inputting IP-KVM into a web page address field: this is done mainly by the user.
S22, lighttpd (an open source Web server software) requests a resource: the browser directly sends the URL to a background lighttpd server, the server judges the request, and when the request accords with the IP-KVM function, the request is directly returned to a skip page of the browser, and the skip page is marked with the URL needing to skip. Specifically, in one embodiment, the registration of the URL may be performed by: registering the URL and corresponding processing function in the WebUI marks that when the IP-KVM format appears, a specific request flow is executed without performing a default login jump. In one embodiment, the background page may be requested by: when the lighttpd receives the IP-KVM request, the lighttpd is transferred to a corresponding processing function through the configuration of lighttpd.conf, the function fills in a jump page, and the standard jump page is http:// '+window.location.host+'/#kvm and is converted into a standard KVM login interface.
S23, carrying out URL analysis and skip according to the returned page: the front end part jumps in the jump URL reported by the background, and starts the flow of opening the KVM. In one embodiment, the jump information may be parsed by: and analyzing the received jump request in the front-end WebUI, obtaining the protocol version type and various access and authority parameters in the jump request, generating a new URL jump request, and executing the jump operation.
S24, default user name login and authority verification: the front end uses a default username and password to perform login and permission verification actions that are not visible to the user. Log in and turn on KVM: logging in by using a default user name and password recorded in the WebUI, and finally opening the H5KVM interface.
S25, KVM is started: after successful login, the returned verification data is used for carrying out the work of opening the KVM, and the process is finished.
According to the method, the specific URL is used as a login port of the KVM, the KVM function of the BMC can be directly started by inputting the interface into the browser, the method can be normally used, and the user does not have the defect of the KVM function. The function mainly utilizes a front-end page skip technology, an IP-KVM format is input in a webpage address bar, the front end directly acquires page information reserved in a lighttpd, the page information marks skip content, the front end skips pages, a default user name and password are used for login and information inquiry, finally, the KVM is directly opened through the skip page and the acquired information, the login is performed by the front end in a hidden mode, and a user cannot perceive the login, so that the effect of directly opening the H5KVM in an IP-KVM mode is achieved. In the process, irrelevant data interaction is not needed, so that the data processing pressure of the BMC is reduced, and the process of receiving irrelevant data by users is shortened.
As described above, the H5KVM of the BMC is used as the basis in the using process of the invention, and the login process of the BMC is invisible to the user through a specific flow on the basis, so that the aim that the login of the BMC is not displayed and the same KVM can be used is fulfilled.
According to an embodiment of the present invention, there is also provided a KVM switch device, including:
an input module for inputting a predetermined format directly using the KVM in the browser;
the acquisition module is used for acquiring page information reserved in the browser, wherein the page information comprises jump content;
the skip module is used for performing page skip according to skip content, logging in and inquiring information by using a default login name and password;
and the starting module is used for directly starting the KVM through the jumped page and the queried information.
According to an embodiment of the invention, the acquisition module is configured to: after a preset format is input in a webpage address bar of the browser, the browser sends the URL to a background server, and when the background server judges that the URL accords with the function of directly using the KVM, page information is returned, and the URL to be skipped is marked in the page information.
In one embodiment, the skip module is to: after receiving the URL to be jumped, the URL is parsed and jumped.
In one embodiment, the device for turning on the KVM further comprises: and the registration module is used for registering the URL and the corresponding processing function and labeling that when the preset format appears, the acquisition module is triggered without executing default skip.
According to an embodiment of the present invention, there is also provided an apparatus for opening a KVM, including a storage medium storing a program, the program being executed to implement the method for opening a KVM as set forth in the claims.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (7)

1. A method for turning on a KVM comprising:
s1, inputting a preset format for directly using the KVM in a browser, then sending a specific URL to a background server by the browser, and returning page information marked with the URL to be skipped to the front end when the background server judges that the URL accords with the function of directly using the KVM;
s2, the front end performs page skip according to the URL, and performs login and information inquiry by using a default login name and password;
s3, directly starting the KVM through the jumped page and the queried information.
2. The method for turning on a KVM as recited in claim 1, wherein S2 comprises:
and the front end analyzes the URL to be skipped after receiving the URL, and skips the URL.
3. The method of opening a KVM as recited in claim 1, further comprising:
registering the URL and corresponding processing function, and annotating that when the predetermined format occurs, step S1 is performed without performing a default jump.
4. An apparatus for opening a KVM comprising:
an input module for inputting a predetermined format directly using the KVM in the browser;
the browser sends a specific URL to a background server after the preset format of the KVM is input, and when the background server judges that the URL accords with the function of directly using the KVM, the browser returns page information marked with the URL to be skipped;
the jump module is used for carrying out page jump according to the URL, logging in and inquiring information by using a default login name and password;
and the starting module is used for directly starting the KVM through the jumped page and the queried information.
5. The KVM switch of claim 4, wherein the skip module is configured to:
after receiving the URL to be jumped, parsing the URL and jumping.
6. The KVM switch as recited in claim 4, further comprising:
and the registration module is used for registering the URL and the corresponding processing function and marking that when the preset format appears, the acquisition module is triggered without executing default skip.
7. An apparatus for turning on KVM, comprising a storage medium storing a program that is executed to implement the method for turning on KVM as claimed in any one of claims 1 to 3.
CN201911352589.0A 2019-12-25 2019-12-25 Method and device for starting KVM Active CN111190492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911352589.0A CN111190492B (en) 2019-12-25 2019-12-25 Method and device for starting KVM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911352589.0A CN111190492B (en) 2019-12-25 2019-12-25 Method and device for starting KVM

Publications (2)

Publication Number Publication Date
CN111190492A CN111190492A (en) 2020-05-22
CN111190492B true CN111190492B (en) 2023-07-18

Family

ID=70705890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911352589.0A Active CN111190492B (en) 2019-12-25 2019-12-25 Method and device for starting KVM

Country Status (1)

Country Link
CN (1) CN111190492B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004133618A (en) * 2002-10-09 2004-04-30 Ntt Docomo Inc Communication terminal, program, and recording medium
US20080282003A1 (en) * 2007-05-11 2008-11-13 Holovacs Jayson T Local Port Browser Interface
CN104412252A (en) * 2012-07-10 2015-03-11 阿沃森特亨茨维尔公司 System and method for accessing remote disk images using a vmedia client and through a remote access appliance

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090150532A1 (en) * 2007-12-06 2009-06-11 Aten International Co., Ltd. Methods and systems for client computer managing multiple servers
CN102694772B (en) * 2011-03-23 2014-12-10 腾讯科技(深圳)有限公司 Apparatus, system and method for accessing internet web pages
CN102438022A (en) * 2011-12-28 2012-05-02 华为技术有限公司 Method and device, and system for logging in server system
CN102708002B (en) * 2012-05-15 2015-03-04 曙光信息产业(北京)有限公司 Display management method of video card in baseboard management controller (BMC) s, and server
WO2014143034A1 (en) * 2013-03-15 2014-09-18 American Megatrends, Inc. System and method of web-based keyboard, video and mouse (kvm) redirection and application of the same
CN105051713B (en) * 2013-03-15 2017-08-04 安迈科技股份有限公司 The method and system that network keyboard, video and mouse (KVM) are redirected
CN103729425B (en) * 2013-12-24 2018-11-16 腾讯科技(深圳)有限公司 Operate response method, client, browser and system
CN105450748B (en) * 2015-11-23 2019-03-05 国云科技股份有限公司 A method of the physical machine remote desktop based on Openstack
CN109783742B (en) * 2018-12-14 2023-08-22 平安科技(深圳)有限公司 Page jump method and device for development assistance and computer equipment
CN109634626B (en) * 2018-12-18 2021-10-29 郑州云海信息技术有限公司 Method and system for remotely installing server system driver based on BMC

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004133618A (en) * 2002-10-09 2004-04-30 Ntt Docomo Inc Communication terminal, program, and recording medium
US20080282003A1 (en) * 2007-05-11 2008-11-13 Holovacs Jayson T Local Port Browser Interface
CN104412252A (en) * 2012-07-10 2015-03-11 阿沃森特亨茨维尔公司 System and method for accessing remote disk images using a vmedia client and through a remote access appliance

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于KVM的Windows虚拟机用户进程防护;陈兴蜀等;《电子科技大学学报》;第45卷(第6期);第950-957页 *

Also Published As

Publication number Publication date
CN111190492A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN102799468B (en) The method and apparatus opening unknown file
CN102946343B (en) The method and system of access audio frequency and video community virtual room
AU2012363126B2 (en) Terminal device and user information synchronization method
US20080196096A1 (en) Methods for Extending a Security Token Based Identity System
US10175861B2 (en) Method and system for web page commenting, browser and storage medium
US20090144812A1 (en) Entry auxiliary apparatus, entry auxiliary system, entry auxiliary method and entry auxiliary program
US9886222B2 (en) Image forming apparatus that displays button for accessing server, method of controlling the same, and storage medium
US20160316020A1 (en) Web page information presentation method and system
WO2016082696A1 (en) Ua recognition method and device
CN100465950C (en) Web browser command button for client support
CN112597486A (en) Method for preventing repeated access to Restful API based on Spring
RU2435202C2 (en) Device for transmitting data for emulating behaviour of navigation device
CN111190492B (en) Method and device for starting KVM
CN113961836A (en) Page jump method and device, electronic equipment and storage medium
CN113239308A (en) Page access method, device, equipment and storage medium
KR20150128810A (en) System and method to allow a domain name server to process a natural language query and determine context
CN100382506C (en) Method for verifying network-unit server in network management system
JP2007034677A (en) Directory information providing method, directory information providing device, directory information providing system and program
CN110866196A (en) Printer network information acquisition method and device and electronic equipment
CN102457552B (en) System, device, and method used for acquiring service of provider
JP2009294851A (en) Web page editing server, web page editing system, and web page editing method
Cisco Cisco IOS Basic Skills
CN113626789A (en) User operation request processing method and device and electronic equipment
EP2600271B1 (en) Device for right managing web data, recording medium for performing method for right managing web data on computer, and device and method for providing right management information
CN110989408A (en) Equipment control method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211009

Address after: 100193 building 36, yard 8, Dongbeiwang West Road, Haidian District, Beijing

Applicant after: Dawning Information Industry (Beijing) Co.,Ltd.

Applicant after: ZHONGKE SUGON INFORMATION INDUSTRY CHENGDU Co.,Ltd.

Address before: 100193 building 36, yard 8, Dongbeiwang West Road, Haidian District, Beijing

Applicant before: Dawning Information Industry (Beijing) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant