CN109639784A - Server admin information acquisition method, device, client and storage medium - Google Patents
Server admin information acquisition method, device, client and storage medium Download PDFInfo
- Publication number
- CN109639784A CN109639784A CN201811460105.XA CN201811460105A CN109639784A CN 109639784 A CN109639784 A CN 109639784A CN 201811460105 A CN201811460105 A CN 201811460105A CN 109639784 A CN109639784 A CN 109639784A
- Authority
- CN
- China
- Prior art keywords
- server
- address
- network equipment
- homepage
- port
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
This disclosure relates to field of communication technology, a kind of server admin information acquisition method, device, client and storage medium are provided, homepage acquisition request is sent to the corresponding network equipment by the port of the network equipment;Receive the feedback result for sending the correspondence homepage acquisition request of port of automatic network equipment;If there are homepage data and preset keyword sections in feedback result, then it is assumed that the network equipment is server, and thinks that the IP address of port is the management IP address of server.Compared with prior art, the disclosure by whether there is in the corresponding feedback result in the port for judging each network equipment homepage data and preset keyword section determine the network equipment whether be server and the port of the network equipment IP address whether be the server management IP address, thus the null response duration for attempting to need to wait one by one using preset default account is avoided, the efficiency for obtaining the management IP address of server is improved.
Description
Technical field
This disclosure relates to field of communication technology, in particular to a kind of server admin information acquisition method, device,
Client and storage medium.
Background technique
Baseboard management controller (Baseboard Management Controller, BMC), BMC are installed on server
It is a dedicated chip, supports intelligent platform control interface (IntelligentPlatform Management
Interface, IPMI), for monitoring the state of the hardware device on computer motherboard, and support local and remote diagnosis, control
The functions such as platform support, configuration management, hardware management and troubleshooting processed, can be by the management IP address of server under BMC
IPMI order is sent out, carries out data interaction with BMC, realize to server operation, configuration or updates firmware.
Summary of the invention
The disclosure is designed to provide a kind of server admin information acquisition method, device, client and storage medium,
It is determined in the corresponding feedback result in port by judging each network equipment with the presence or absence of homepage data and preset keyword section
The network equipment whether be server and the port of the network equipment IP address whether be the server management IP address, by
This is avoided the null response duration for attempting to need to wait one by one using preset default account, improves the management IP for obtaining server
The efficiency of address.
To achieve the goals above, the disclosure the technical solution adopted is as follows:
In a first aspect, present disclose provides a kind of server admin information acquisition method, be applied to client, client with
Network device communications connection, the network equipment includes at least one port with separate tP address, which comprises passes through net
The port of network equipment sends homepage acquisition request to the corresponding network equipment;Receive the corresponding first of the port for sending automatic network equipment
The feedback result of page acquisition request;If there are homepage data and preset keyword sections in feedback result, then it is assumed that the network equipment is
Server, and think that the IP address of port is the management IP address of server, wherein homepage data are with being used to characterize the IP of port
Location is the management IP address of server, and preset keyword section is server for characterizing the network equipment.
Second aspect, the disclosure additionally provide a kind of server admin information acquisition device, are applied to client, client
It is connect with network device communications, the network equipment includes at least one port with separate tP address, and described device includes first
Obtain module, receiving module and the first determining module.Wherein, it first obtains module and is used for through the port of the network equipment to correspondence
The network equipment send homepage acquisition request;The correspondence homepage that receiving module is used to receive the port for sending automatic network equipment obtains
The feedback result of request;If the first determining module is for there are homepage data and preset keyword sections in feedback result, then it is assumed that
The network equipment is server, and thinks that the IP address of port is the management IP address of server.
The third aspect, the disclosure additionally provide a kind of client, and the client is connect with multiple network device communications, institute
Stating client includes: one or more processors;Memory, for storing one or more programs, when one or more of
When program is executed by one or more of processors, so that one or more of processors realize above-mentioned server admin
Information acquisition method.
Fourth aspect, the disclosure additionally provide a kind of computer readable storage medium, are stored thereon with computer program, should
Above-mentioned server admin information acquisition method is realized when computer program is executed by processor.
Compared with the prior art, a kind of server admin information acquisition method, device, client and storage that the disclosure provides
Medium, firstly, the network equipment sends homepage acquisition request into default local area network by the port of the network equipment;Then, it receives
Send automatic network equipment port correspondence homepage acquisition request feedback result, next, it is judged that in the feedback result whether
There are homepage data and preset keyword section, homepage data and preset keyword section if it exists, then it is assumed that the network equipment is service
Device, and think that the IP address of port is the management IP address of the server.Compared with prior art, the disclosure is each by judgement
Determine that the network equipment is with the presence or absence of homepage data and preset keyword section in the corresponding feedback result of network equipment port
It is no be server and the port of the network equipment IP address whether be the server management IP address, thus avoid using pre-
If default account attempt to need the null response duration that waits one by one, improve the efficiency for obtaining the management IP address of server.
To enable the above objects, features, and advantages of the disclosure to be clearer and more comprehensible, special embodiment below, and appended by cooperation
Attached drawing is described in detail below.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the disclosure, letter will be made to attached drawing needed in the embodiment below
It singly introduces, it should be understood that the following drawings illustrates only some embodiments of the disclosure, therefore is not construed as to range
It limits, it for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings
Obtain other relevant attached drawings.
Fig. 1 shows the block diagram of the client of disclosure offer.
Fig. 2 shows the server admin information acquisition method flow charts that the disclosure provides.
Fig. 3 be Fig. 2 shows step S106 sub-step flow chart.
Fig. 4 shows the block diagram of the server admin information acquisition device of disclosure offer.
Icon: 100- client;101- memory;102- communication interface;103- processor;104- bus;200- service
Device management information acquisition device;201- first obtains module;202- receiving module;The first determining module of 203-;204- determines mould
Block;The second determining module of 205-;206- second obtains module;207- third obtains module.
Specific embodiment
Below in conjunction with attached drawing in the disclosure, the technical solution in the disclosure is clearly and completely described, it is clear that
Described embodiment is only disclosure a part of the embodiment, instead of all the embodiments.Usually retouched in attached drawing here
The component for the disclosure stated and shown can be arranged and be designed with a variety of different configurations.Therefore, below to mentioning in the accompanying drawings
The detailed description of the embodiment of the disclosure of confession is not intended to limit claimed the scope of the present disclosure, but is merely representative of this
Disclosed selected embodiment.Based on embodiment of the disclosure, those skilled in the art are in the premise for not making creative work
Under every other embodiment obtained, belong to the disclosure protection range.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile in the disclosure
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Network equipment quantity in the same network is quite a lot of, and including device category also under more scene,
When needing to be operated to server in the network, configured or updated firmware, it is necessary first to determine in the network equipment
Then the management IP address of server and the server could carry out corresponding operation, hand to server by management IP address
It moves and determines that the mode of the management IP address of server and the server is excessively cumbersome and error-prone in multiple network equipments, needle
To this problem, existing solution is usually: finding the IP address in the network equipment of net in network first, then adopts
It is attempted to log in the network equipment in net by the IP address one by one with preset default account, it can be true when logining successfully
The fixed network equipment is server and the IP address is the management IP address of the server, since the same network equipment often wraps
Multiple IP address are included, and the IP address of server includes management IP address and non-management IP address, purely using preset silent
Recognize username and password one by one the network equipment each by each IP address logon attempt of each network equipment when, if the IP
Address is that non-server IP address is perhaps the non-management IP address of server by non-server IP address or for server
Non-management IP address logging in network equipment when, wait the null response time it is longer, greatly affected obtain server pipe
The efficiency of IP address is managed, for this problem, the disclosure provides the mode of being implemented as follows, with improving the management IP for obtaining server
The efficiency of location achievees the purpose that solve the problems, such as this.
Fig. 1 is please referred to, Fig. 1 shows the block diagram of the client 100 of disclosure offer.Client 100 can be,
But be not limited to, host, virtual machine, property server, virtual machine in property server etc. can provide with the server or
Virtual machine have identical function entity or virtual server-side.The operating system of client 100 may be, but not limited to,
Windows system, linux system etc..The client 100 includes memory 101, communication interface 102, processor 103 and total
Line 104, the memory 101, communication interface 102 and processor 103 are connected by bus 104, and processor 103 is deposited for executing
The executable module stored in reservoir 101, such as computer program.
Wherein, memory 101 may include high-speed random access memory (RAM:Random Access Memory),
It may further include non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.By extremely
A few communication interface 102 (can be wired or wireless) realize the client 100 and at least one other client 100,
And the communication connection between External memory equipment.
Bus 104 can be isa bus, pci bus or eisa bus etc..It is only indicated with a four-headed arrow in Fig. 1, but
It is not offered as only a bus or a type of bus.
Wherein, memory 101 is for storing program, such as server admin information acquisition device 200 shown in Fig. 4.It should
Server admin information acquisition device 200 includes described at least one can be stored in the form of software or firmware (firmware)
In memory 101 or the software function mould that is solidificated in the operating system (operating system, OS) of the client 100
Block.The processor 103 executes described program after receiving and executing instruction to realize clothes that disclosure above-described embodiment discloses
Business device management information acquiring method.
First embodiment
Referring to figure 2., Fig. 2 shows the server admin information acquisition method flow charts that the disclosure provides.The method
The following steps are included:
Step S101 sends homepage acquisition request to the corresponding network equipment by the port of at least one network equipment.
In the disclosure, client 100 is connect with multiple network device communications, and each network equipment includes at least one tool
Have the port of separate tP address, wherein the network equipment can be but be not limited to PC, server, virtual machine, hub,
Interchanger, router etc., the same network equipment may include one or more port with separate tP address, to meet
Different communication demand, different network requests can be carried out by the port of the different network equipments on the same network equipment
The transmission of data or order.As an implementation, before sending homepage acquisition request to the port of multiple network equipments,
Client 100 is first by sending ping order to multiple network appliance IP address, with exclude in multiple network equipments can not be with
The network equipment that client 100 communicates determines the network equipment and client 100 when in ping order return value including ms
Between communication be reachable, otherwise, it determines the communication between the network equipment and client 100 be it is inaccessible, then, visitor
Family end 100 sends homepage acquisition request, the homepage acquisition request to all reachable network equipments by the port of the network equipment
The reachable network equipment can be sent in the form of http request, such as:http://172.168.3.10/, wherein
It 172.168.3.10 is network appliance IP address.
Step S102 receives the feedback result sent from the correspondence homepage acquisition request of the port of the network equipment.
Step S103, if there are homepage data and preset keyword sections in feedback result, then it is assumed that the network equipment is service
Device and the IP address for thinking port are the management IP address of server, wherein homepage data, which are used to characterize the IP address of port, is
The management IP address of server, preset keyword are server for characterizing the network equipment.
In the disclosure, the network equipment receives the homepage that client 100 is sent by the IP address of the port of the network equipment
Acquisition request, and feedback result is sent to client 100, if without return value in feedback result, it may be considered that the network is set
Standby non-server, the management IP address of the network appliance IP address non-server of the network equipment, for example, feedback result are as follows:
Java.net.ConnectException:Connection refused:connect, the feedback result are a prompt letter
Breath, wherein and homepage data are not present.If there are homepage data in feedback result, it may be considered that the network equipment is provided with
Web services, due to server usually have baseboard management controller (Baseboard Management Controller,
BMC), after server powers on, BMC can start automatically, and can default unlatching web services, and BMC is with passing through the management IP of server
The corresponding port in location receives homepage acquisition request and the data that return to the homepage, and can be executed by the management IP address of server to clothes
The order of business device management, for example, check the health status such as the temperature of server, voltage or fan-status, the alarm of server
Information, log information.The virtual machine made of vmware software is virtual, the IP address of port can also return to the homepage number
According to therefore, if can not directly determine that the network equipment sets for server and the network there are homepage data in feedback result
The IP address of standby port is the management IP address of server, it is also necessary to be judged in the homepage data with the presence or absence of preset keyword
Section, if there are preset keyword sections in the homepage data, then it is assumed that the corresponding network equipment of homepage data is server, and is recognized
IP address for the port of the corresponding network equipment of homepage data is the management IP address of server.
It should be noted that in the disclosure, server can have multiple ports, and each port is with corresponding to an IP
Location, multiple IP address include management IP address and non-management IP address, and the corresponding port of the non-management IP address of server returns
Feedback result in may exist homepage data, but the homepage number in the feedback result that returns of the corresponding port of non-management IP address
According to there is no preset keyword sections certainly, therefore, there are the ports of preset keyword section in the homepage data only returned
IP address just may be considered management IP address.
In the disclosure, as an implementation, the step of judging in homepage data with the presence or absence of preset keyword section
It can be step S104.
Step S104, if determining exist in homepage data there are any one vendor characteristic keyword in homepage data
Preset keyword section.
In the disclosure, client 100 is previously stored with the vendor characteristic keyword of multiple manufacturers, vendor characteristic keyword
For one or more text character or text-string that can characterize manufacturer in homepage data, each manufacturer is corresponded to
The server that each period of one vendor characteristic keyword that can characterize itself or each manufacturer is released corresponding one can
To characterize the vendor characteristic keyword that the manufacturer corresponds to the server in period, for example, the feature critical word of tide manufacturer are as follows: <
Title>login</title>, i.e. in the homepage data that the corresponding port of the management IP address of the server of tide manufacturer returns
In the presence of<title>login</title>, the feature critical word of magnificent three manufacturer's second generation servers are as follows:<title></title>,
Exist in the homepage data that the corresponding port of management IP address of i.e. magnificent three manufacturer's second generation servers returns<title></
Title>, the feature critical word of magnificent three manufacturer's third generation servers are as follows:<title>hDM</title>, i.e., magnificent three manufacturer's third generations
Exist in the homepage data that the corresponding port of the management IP address of server returns<title>hDM</title>.Preset keyword
There is default close even in homepage data for identifying homepage data source in the corresponding port of management IP address of server in section
Key field, then can be determined that the homepage data from the management IP address of server, otherwise, it is possible to determine that the homepage data are not
From the corresponding port of the management IP address of server, preset keyword section can be the collection of multiple vendor characteristic keywords
It closes, if determining in the homepage data there are any one vendor characteristic keyword in homepage data there are preset keyword section,
For example, the pre-stored vendor characteristic keyword of client 100 are as follows:<title>hDM</title>with<title>login</
Title >, the homepage data that the corresponding port management IP of the network equipment returns are as follows:
Due to existing in the homepage data<title>hDM</title>, therefore, it is possible to determine that exist in the homepage data
Preset keyword section, the i.e. network equipment are server, and the management IP address of the network equipment is the management IP address of server.
In the disclosure, server admin information further includes manufacturer's letter of server in addition to the management IP address of server
Breath, in order to obtain the manufacturer's information of server, the disclosure further includes step S105.
Step S105, if there are preset keyword sections in homepage data, according in the corresponding homepage data of server
Vendor characteristic keyword and the first mapping relations determine the factory of server corresponding with the vendor characteristic keyword in homepage data
Quotient's information.
In the disclosure, one-to-one relationship of first mapping relations between vendor characteristic keyword and manufacturer's information,
For example, vendor characteristic keyword<title>hDM</title>corresponding with magnificent three manufacturers, corresponding first mapping relations can be with
It indicates are as follows:<China three,<title>hDM</title>>, vendor characteristic keyword<title>login</title>with tide manufacturer
It is corresponding, the first mapping relations are as follows:<tide,<title>login</title>>.It obtains in the corresponding homepage data of server
After vendor characteristic keyword, manufacturer's information corresponding with the vendor characteristic keyword, the manufacturer are found in the first mapping relations
Information is the manufacturer's information of the server.
In the disclosure, server admin information in addition to the management IP address of server, also wrap by the manufacturer's information of server
The model of server is included, in order to obtain the model of server, the disclosure further includes step S106-S107, and different manufacturers obtains
The method of the model of server can be different, and step S106 can be according to the model of homepage data acquisition server, step
S107 can log on to the model that the server is obtained on the server by presetting account.
Step S106, if server is first server, the model of the homepage data acquisition server according to server.
In the disclosure, first server is one or more manufacturer in homepage data comprising corresponding server model
Server, be also possible to the server for the different series that the different times an of manufacturer are released, for example, first server can be with
It is Huawei's server.If server is first server, the model of the homepage data acquisition server according to the server
Method may is that first according to the pre-stored model features keyword of client 100, look in the homepage data of the server
To the model features keyword, the corresponding value of model features keyword is then obtained, the corresponding value of model features keyword
The as model of the server.
Referring to figure 3., step S106 can also include following sub-step:
Sub-step S1061, the manufacturer's information of the homepage data acquisition server according to server.
In the disclosure, method and step of this step according to the manufacturer's information of the homepage data acquisition server of server
S105 is identical, naturally it is also possible to directly acquire the manufacturer's information that server is obtained in step S105.
Sub-step S1062, according to manufacturer's information and the second mapping relations, from the homepage data acquisition model features of server
Keyword.
In the disclosure, the second mapping relations are the one-to-one relationship of manufacturer's information and model features keyword, wherein
Model features keyword is for indicating the feature field of the model of server in the homepage data of server, for example, Huawei
The model features keyword of server is SystemName, and corresponding second mapping relations can be expressed as < Huawei,
SystemName >, wherein " Huawei " is manufacturer's information, and " SystemName " is model features keyword, i.e. Huawei server
The feature field that server model is indicated in homepage data is " SystemName ".
Value corresponding with model features keyword in the homepage data of server is determined as server by sub-step S1063
Model.
In the disclosure, corresponding model features keyword is found in the homepage data of server first, then homepage number
The corresponding value of the model features keyword is the model of the server in, for example, including in the homepage data of server:
{ SystemName:2288HV5 }, wherein " SystemName " is model features keyword, and " 2288HV5 " is that the model is special
Levy the corresponding value of keyword, i.e. the model 2288HV5 of the server.
Step S107 is obtained the default account of server and is led to using default account if server is second server
The management IP address login service device of server is crossed to obtain the model of server.
In the disclosure, second server be do not have in homepage data one of model directly comprising corresponding server or
The server of the multiple manufacturers of person is also possible to the server of the different series of the different times release an of manufacturer, in this feelings
Under condition, need to log on to the model that corresponding server is obtained on server, since different servers is specifically answered for it
With or user difference, default account can also be different, in order to reduce trial and error number, improve login service device success rate,
Shorten null response duration, the disclosure obtains the types of customization of the server first, then determines and corresponds to according to the types of customization
Default account, the type that account logs in the server by the management IP of server to obtain the server is finally preset according to this
Number, as an implementation, the method for determining default account may is that
Firstly, the customized information to the server ip address of server transmission customized information acquisition request and according to return is true
Determine the types of customization of server.
In the disclosure, the types of customization of server can be the application type for the customization that user is the server, for example,
The server can be Baidu's customization server, be also possible to Tencent's customization server, be also possible to Jingdone district customization server, when
So, preset account is not also identical when different user customization server, wherein account including but not limited to logs in customization clothes
The username and password that business device uses.Customized information acquisition request is that client 100 passes through the corresponding port of server ip address
The request of the types of customization that can determine server sent to server, for example, magnificent three servers can pass through customid
The types of customization of Differentiated Services device, and the request of the server acquisition customid of the magnificent three manufacturers release of different times can not also
Together, therefore, after the manufacturer for determining server is the release period of China three and its server, server ip address pair can be passed through
The port answered sends the request for obtaining customid to the server, for example, the second generation server of China three obtains customid
Request may is thathttp://ip/rpc/WEBSEC/getcustomrid.asp, the third generation server acquisition of China three
The request of customid may is thathttp://ip/api/properties, server is determined according to the customid got
Types of customization, for example, representing the types of customization of the server when customid is 255 as Baidu's customization server.
Secondly, determining the default account of server according to the types of customization and third mapping relations of server.
In the disclosure, third mapping relations are the types of customization and default account one-to-one relationship of server, for example,
The entitled admin of user of the corresponding default account of Baidu's customization server, corresponding password are baidu123, and corresponding third is reflected
The relationship of penetrating can indicate are as follows:<Baidu customization server, admin/baidu123>, the corresponding default account of Tencent's customization server
The entitled tencent of user, corresponding password is ten 123, and corresponding third mapping relations can indicate are as follows: the customization of < Tencent
Server, tencent/ten@123 >.
It should be noted that specific in the data that some servers can also be returned by obtaining the request of customized information
Data determine the model of server in the case where not needing to log on to server, for example, the third generation server of China three,
It obtains and there is " product_board_id " field in the data of the request return of customid, and the corresponding value of the field and clothes
There are one-to-one relationships for the model of business device, therefore, can pass through the value of " product_board_id " field and determine service
The model of device.
In the disclosure, it whether there is homepage data in the corresponding feedback result in port by judging each network equipment
And preset keyword section determines whether the network equipment whether be the IP address of server and the port of the network equipment is the clothes
The management IP address of business device has following compared with prior art
The utility model has the advantages that
First, according in feedback result homepage data and preset keyword section determine the management IP address of server, keep away
Exempt to improve the management IP for obtaining server using the preset default account null response duration that logon attempt needs wait one by one
The efficiency of address.
Second, before login service device, first by initiating customized information request and determining clothes according to customization data are returned
The types of customization of business device determines default account according to the types of customization of different servers, finally according to determining default account
Corresponding server is logged in, trial and error number is reduced, improves login service device success rate, shortens null response duration.
Second embodiment
Referring to figure 4., Fig. 4 shows the block diagram of the server admin information acquisition device 200 of disclosure offer.
Server admin information acquisition device 200 is applied to client 100 comprising first obtains module 201;Receiving module 202;The
One determining module 203;Determination module 204;Second determining module 205;Second obtains module 206;Third obtains module 207.
First obtains module 201, sends homepage acquisition to the corresponding network equipment for the port by the network equipment and asks
It asks.
In the disclosure, the first acquisition module 201 is for executing step S101.
Receiving module 202, for receiving the feedback sent from the correspondence homepage acquisition request of the port of the network equipment
As a result.
In the disclosure, receiving module 202 is for executing step S102.
First determining module 203, if for there are homepage data and preset keyword sections in feedback result, then it is assumed that network
Equipment is server, and thinks that the IP address of port is the management IP address of server, wherein homepage data are for characterizing port
IP address be server management IP address, preset keyword for characterize the network equipment be server.
In the disclosure, the first determining module 203 is for executing step S103.
Determination module 204, if for, there are any one vendor characteristic keyword, determining homepage data in homepage data
In there are preset keyword sections.
In the disclosure, determination module 204 is for executing step S104.
Second determining module 205, if for there are preset keyword sections in the homepage data, it is corresponding according to server
Homepage data in vendor characteristic keyword and the determining vendor characteristic keyword pair with homepage data of the first mapping relations
The manufacturer's information for the server answered.
In the disclosure, the second determining module 205 is for executing step S105.
Second obtains module 206, if being first server for server, the homepage data acquisition according to server is taken
The model of business device.
In the disclosure, the second acquisition module 206 is for executing step S106 and its sub-step S1061-S1063.
Third obtains module 207, if being second server for server, obtains the default account and benefit of server
The model of server is obtained by the management IP address login service device of server with default account.
In the disclosure, third obtains module 207 and is also used to:
The customized information to the server ip address of server transmission customized information acquisition request and according to return is true
Determine the types of customization of server;
The default account of server is determined according to the types of customization and third mapping relations of server.
In the disclosure, third obtains module 207 for executing step S107.
The disclosure additionally provides a kind of computer readable storage medium, is stored thereon with computer program, computer program
Server admin information acquisition method disclosed in the aforementioned disclosure is realized when being executed by processor 103.
In conclusion a kind of server admin information acquisition method, device, client and storage that the disclosure provides are situated between
Matter is applied to client, and client connect with network device communications, each network equipment include at least one with independent IP
The port of location, which comprises homepage acquisition request is sent to the corresponding network equipment by the port of the network equipment;It receives
Send the feedback result from the correspondence homepage acquisition request of the port of the network equipment;If there are homepage data in feedback result
And preset keyword section, then it is assumed that the network equipment is server, and thinks that the IP address of port is the management IP address of server.
Compared with prior art, the disclosure is by judging in the corresponding feedback result in the port of each network equipment with the presence or absence of homepage number
Determine whether the network equipment be this as the IP address of the port of server and the network equipment according to preset keyword section is integrated
Thus the management IP address of server avoids the null response duration for attempting to need to wait one by one using preset default account,
Improve the efficiency for obtaining the management IP address of server.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing
Show the device of multiple embodiments according to the disclosure, the architectural framework in the cards of method and computer program product,
Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code
Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held
Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart
The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement
It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the disclosure can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the disclosure is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) execute each embodiment the method for the disclosure all or part of the steps.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.It needs
Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with
Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities
The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
The foregoing is merely preferred embodiment of the present disclosure, are not limited to the disclosure, for the skill of this field
For art personnel, the disclosure can have various modifications and variations.It is all within the spirit and principle of the disclosure, it is made any to repair
Change, equivalent replacement, improvement etc., should be included within the protection scope of the disclosure.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
Claims (10)
1. a kind of server admin information acquisition method, which is characterized in that be applied to client, the client and the network equipment
Communication connection, the network equipment includes at least one port with separate tP address, which comprises
Homepage acquisition request is sent to the corresponding network equipment by the port of the network equipment;
Receive the feedback result for sending the correspondence homepage acquisition request from the port of the network equipment;
If there are homepage data and preset keyword sections in the feedback result, then it is assumed that the network equipment is server, and
The IP address for thinking the port is the management IP address of the server, wherein the homepage data are for characterizing the end
The IP address of mouth is the management IP address of server, and the preset keyword section is server for characterizing the network equipment.
2. server admin information acquisition method as described in claim 1, which is characterized in that the client is stored in advance more
First mapping relations of a vendor characteristic keyword and manufacturer's information, the server admin information further include the manufacturer of server
Information, the method also includes:
If determining there is default close in the homepage data there are any one vendor characteristic keyword in the homepage data
Key field;
If there are preset keyword sections in the homepage data, special according to the manufacturer in the corresponding homepage data of the server
It levies keyword and first mapping relations determines server corresponding with the vendor characteristic keyword in the homepage data
Manufacturer's information.
3. server admin information acquisition method as described in claim 1, which is characterized in that the server includes the first clothes
Business device and second server, the server admin information further include the model of server, the method also includes:
If the server is first server, the model of server described in the homepage data acquisition according to the server;
If the server is second server, obtains the default account of the server and led to using the default account
The management IP address for crossing the server logs in the server to obtain the model of the server.
4. server admin information acquisition method as claimed in claim 3, which is characterized in that the client is also stored in advance
Second mapping relations of manufacturer's information and model features keyword take described in the homepage data acquisition according to the server
The step of model of business device, comprising:
The manufacturer's information of server described in homepage data acquisition according to the server;
It is crucial from the homepage data acquisition model features of the server according to the manufacturer's information and second mapping relations
Word;
Value corresponding with the model features keyword in the homepage data of the server is determined as to the type of the server
Number.
5. server admin information acquisition method as claimed in claim 3, which is characterized in that the client is also stored in advance
The step of third mapping relations of the types of customization of server and default account, the default account for obtaining the server,
Include:
The customized information to the server ip address of server transmission customized information acquisition request and according to return is true
Determine the types of customization of server;
The default account of the server is determined according to the types of customization of the server and the third mapping relations.
6. a kind of server admin information acquisition device, which is characterized in that be applied to client, the client and the network equipment
Communication connection, the network equipment includes at least one port with separate tP address, and described device includes:
First obtains module, sends homepage acquisition request to the corresponding network equipment for the port by the network equipment;
Receiving module, for receiving the feedback knot for sending the correspondence homepage acquisition request from the port of the network equipment
Fruit;
First determining module, if for there are homepage data and preset keyword sections in the feedback result, then it is assumed that the net
Network equipment is server, and thinks that the IP address of the port is the management IP address of the server, wherein the homepage number
It is the management IP address of server according to the IP address for characterizing the port, the preset keyword section is for characterizing the net
Network equipment is server.
7. server admin information acquisition device as claimed in claim 6, which is characterized in that the client is stored in advance more
First mapping relations of a vendor characteristic keyword and manufacturer's information, the server admin information further include the manufacturer of server
Information, described device further include:
Determination module, if determining the homepage number for there are any one vendor characteristic keywords in the homepage data
There are preset keyword sections in;
Second determining module, if for there are preset keyword sections in the homepage data, it is corresponding according to the server
The determining vendor characteristic with the homepage data of vendor characteristic keyword and first mapping relations in homepage data closes
The manufacturer's information of the corresponding server of key word.
8. server admin information acquisition device as claimed in claim 6, which is characterized in that the server includes the first clothes
Business device and second server, the server admin information further include the model of server, described device further include:
Second obtains module, if being first server, the homepage data acquisition according to the server for the server
The model of the server;
Third obtains module, if being second server for the server, obtains the default account and benefit of the server
The server is logged in obtain the model of the server by the management IP address of the server with the default account.
9. a kind of client, which is characterized in that the client is connect with multiple network device communications, and the client includes:
One or more processors;
Memory, for storing one or more programs, when one or more of programs are by one or more of processors
When execution, so that one or more of processors realize method according to any one of claims 1 to 5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
Processor realizes method according to any one of claims 1 to 5 when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811460105.XA CN109639784B (en) | 2018-11-30 | 2018-11-30 | Server management information acquisition method, device, client and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811460105.XA CN109639784B (en) | 2018-11-30 | 2018-11-30 | Server management information acquisition method, device, client and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109639784A true CN109639784A (en) | 2019-04-16 |
CN109639784B CN109639784B (en) | 2021-07-06 |
Family
ID=66070563
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811460105.XA Active CN109639784B (en) | 2018-11-30 | 2018-11-30 | Server management information acquisition method, device, client and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109639784B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112367415A (en) * | 2021-01-14 | 2021-02-12 | 腾讯科技(深圳)有限公司 | Generation method and device of attribute information, electronic equipment and computer readable medium |
CN112667973A (en) * | 2020-11-30 | 2021-04-16 | 新华三技术有限公司 | Method and device for activating management software of network equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1402519A (en) * | 2001-08-15 | 2003-03-12 | 金网专线通有限公司 | Web site connecting method and system |
US6654815B1 (en) * | 1997-11-21 | 2003-11-25 | Mci Communications Corporation | Contact server for call center |
US7107338B1 (en) * | 2001-12-05 | 2006-09-12 | Revenue Science, Inc. | Parsing navigation information to identify interactions based on the times of their occurrences |
US20090059945A1 (en) * | 2004-01-09 | 2009-03-05 | Panasonic Corporation | Ip device, management server, and network system |
US20100115045A1 (en) * | 2004-04-05 | 2010-05-06 | Lin Daniel J | Mobile instant messaging conferencing method and system |
CN101753559A (en) * | 2009-12-17 | 2010-06-23 | 深圳创维-Rgb电子有限公司 | Network resource obtaining system and network resource list obtaining method |
CN102099802A (en) * | 2008-07-28 | 2011-06-15 | 索尼公司 | Client device, information processing system and associated methodology of accessing networked sevices |
CN105141705A (en) * | 2015-09-30 | 2015-12-09 | 北京奇虎科技有限公司 | Method for safety data transmission and terminal device |
CN106921537A (en) * | 2015-12-28 | 2017-07-04 | 中国电信股份有限公司 | Website visiting quality detecting method, server and system |
CN107070812A (en) * | 2017-05-02 | 2017-08-18 | 武汉绿色网络信息服务有限责任公司 | A kind of HTTPS protocal analysises method and its system |
-
2018
- 2018-11-30 CN CN201811460105.XA patent/CN109639784B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6654815B1 (en) * | 1997-11-21 | 2003-11-25 | Mci Communications Corporation | Contact server for call center |
CN1402519A (en) * | 2001-08-15 | 2003-03-12 | 金网专线通有限公司 | Web site connecting method and system |
US7107338B1 (en) * | 2001-12-05 | 2006-09-12 | Revenue Science, Inc. | Parsing navigation information to identify interactions based on the times of their occurrences |
US20090059945A1 (en) * | 2004-01-09 | 2009-03-05 | Panasonic Corporation | Ip device, management server, and network system |
US20100115045A1 (en) * | 2004-04-05 | 2010-05-06 | Lin Daniel J | Mobile instant messaging conferencing method and system |
CN102099802A (en) * | 2008-07-28 | 2011-06-15 | 索尼公司 | Client device, information processing system and associated methodology of accessing networked sevices |
CN101753559A (en) * | 2009-12-17 | 2010-06-23 | 深圳创维-Rgb电子有限公司 | Network resource obtaining system and network resource list obtaining method |
CN105141705A (en) * | 2015-09-30 | 2015-12-09 | 北京奇虎科技有限公司 | Method for safety data transmission and terminal device |
CN106921537A (en) * | 2015-12-28 | 2017-07-04 | 中国电信股份有限公司 | Website visiting quality detecting method, server and system |
CN107070812A (en) * | 2017-05-02 | 2017-08-18 | 武汉绿色网络信息服务有限责任公司 | A kind of HTTPS protocal analysises method and its system |
Non-Patent Citations (2)
Title |
---|
HENGYA LIU等: ""Detecting malicious rootkit web pages in high-interaction client honeypots"", 《2010 IEEE INTERNATIONAL CONFERENCE ON INFORMATION THEORY AND INFORMATION SECURITY》 * |
韩莹莹: ""移动互联网应用网络行为分析及优化研究"", 《CNKI》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112667973A (en) * | 2020-11-30 | 2021-04-16 | 新华三技术有限公司 | Method and device for activating management software of network equipment |
CN112667973B (en) * | 2020-11-30 | 2023-12-26 | 新华三技术有限公司 | Method and device for activating management software of network equipment |
CN112367415A (en) * | 2021-01-14 | 2021-02-12 | 腾讯科技(深圳)有限公司 | Generation method and device of attribute information, electronic equipment and computer readable medium |
CN112367415B (en) * | 2021-01-14 | 2021-04-23 | 腾讯科技(深圳)有限公司 | Generation method and device of attribute information, electronic equipment and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN109639784B (en) | 2021-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102160042B (en) | Data processing device, method, and server to determine types of electric appliances | |
US8849973B2 (en) | System and unified setting interface for configuring network manageable devices | |
EP2721451B1 (en) | Energy management gateways and processes | |
US6687748B1 (en) | Network management system and method of operation | |
US8886698B2 (en) | Electronic device monitoring method, electronic device computer and program thereof | |
US20080098454A1 (en) | Network Management Appliance | |
US20050210123A1 (en) | System and method for graphically managing network devices | |
US20110302332A1 (en) | Method of monitoring device forming information processing system, information apparatus and information processing system | |
JP2004013901A (en) | Method and system for supervising device connected to network and displaying equipment status | |
US7254778B2 (en) | System and method browsing a network topology using a character driven interface | |
CN109889517A (en) | Data processing method, permissions data collection creation method, device and electronic equipment | |
US10664551B2 (en) | Intuitive user interface (UI) for device or vendor independent network switch management via embedded management controller | |
CN113672451B (en) | BMC service detection method, device, equipment and readable storage medium | |
CN111258627A (en) | Interface document generation method and device | |
CN112804377B (en) | Data query method, electronic equipment, server, storage equipment and gateway equipment | |
CN109639784A (en) | Server admin information acquisition method, device, client and storage medium | |
JP2000172600A (en) | Network constitution investigation method, network equipment control method and device therefor | |
JP4293169B2 (en) | Network equipment control system | |
CN112135302B (en) | Control method and device for base station topology information and computer readable storage medium | |
Cisco | Monitoring and Controlling CiscoWorks Blue Applications | |
Cisco | Using CiscoWorks Blue SNA View Configuration for Windows NT | |
Cisco | Monitoring and Controlling CiscoWorks Blue Applications | |
Cisco | Improving Performance | |
Cisco | Configuring Components after Installation | |
TWI619085B (en) | Support to customer platform system, method, and server |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |