CN107729209A - For the information monitoring method of server, device, equipment and storage medium - Google Patents

For the information monitoring method of server, device, equipment and storage medium Download PDF

Info

Publication number
CN107729209A
CN107729209A CN201710904884.7A CN201710904884A CN107729209A CN 107729209 A CN107729209 A CN 107729209A CN 201710904884 A CN201710904884 A CN 201710904884A CN 107729209 A CN107729209 A CN 107729209A
Authority
CN
China
Prior art keywords
information
display device
status information
server
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710904884.7A
Other languages
Chinese (zh)
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.)
Guangzhou Trusme Electronic Technology Co Ltd
Original Assignee
Guangzhou Trusme Electronic Technology 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 Guangzhou Trusme Electronic Technology Co Ltd filed Critical Guangzhou Trusme Electronic Technology Co Ltd
Priority to CN201710904884.7A priority Critical patent/CN107729209A/en
Publication of CN107729209A publication Critical patent/CN107729209A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Computer And Data Communications (AREA)

Abstract

Include the embodiment of the invention discloses a kind of for the information monitoring method of server, device, equipment and storage medium, methods described:Monitor the status information of home server;Establish the connection of display device and the home server;The status information is transmitted to the display device by the connection and shown.Without special monitoring server, it can be monitored and be shown on the display device with the status information to home server, reduce O&M cost.

Description

For the information monitoring method of server, device, equipment and storage medium
Technical field
The present embodiments relate to data processing technique, more particularly to a kind of information monitoring method, dress for server Put, equipment and storage medium.
Background technology
Whether the running status of server normally has great importance for the normal operation of server, and how to clothes The status information for the running status that the running status of business device was monitored and how obtained server seems particularly critical.
The monitoring to server needs operation maintenance personnel to build monitoring software, example on monitoring server under normal circumstances at present Such as nagios, catic, zabbix, in addition it is also necessary on every server monitoring is needed installation monitoring plug-in unit, it is necessary to The information of every server of Network Capture, then directly monitoring information is checked on a web browser.
But there is following defect in the above-mentioned monitoring method to server:
First, need to build server with a single server, the running status of other servers monitored with this, O&M cost is caused to increase.
2nd, when the network of monitoring server or service go wrong, then monitoring failure, just can not obtain server
3rd, the technology to operation maintenance personnel and qualification require higher.
4th, the information of limited server can only be monitored.
The content of the invention
The embodiment of the present invention provide it is a kind of for the information monitoring method of server, device, equipment and storage medium, without Special monitoring server, it can be monitored and be shown on the display device with the status information to home server, reduced O&M cost.
In a first aspect, the embodiments of the invention provide a kind of information monitoring method for server, methods described includes:
Monitor the status information of home server;
Establish the connection of display device and the home server;
The status information is transmitted to the display device by the connection and shown.
Further, the connection for establishing display device and the home server, including:
When detecting that equipment is accessed by the USB interface of the home server, send first to the equipment and test Demonstrate,prove data;
When receiving the matched with the first verification data second checking data that the equipment is sent, it is determined that described set It is standby to be connected for the display device and being successfully established with the home server.
Further, the status information is transmitted to the display device by the connection and shown, including:
The status information is encapsulated as by packet using the USB transport protocol of setting;
The packet is transmitted to the display device by the connection and shown.
Further, before the status information transmitted to the display device by the connection is shown, Also include:
Receive the data transfer request of the display device.
Further, the status information of the server comprises at least first state information, the second status information and the 3rd Status information, wherein:
The first state information comprises at least:CPU, memory bar and environment temperature;
Second status information comprises at least:Rotation speed of the fan, power, hardware error information and the customized letter of mainboard Breath;
The third state information comprises at least:Position, data and version under external equipment interconnection bus.
Further, the status information of home server is monitored, including:
The instruction of application settings reads system file to calculate first state information;Obtained using intelligent platform management module Second status information;Third state information is obtained by the canonical matched rule of Desktop Management Interface and application C language.
Second aspect, the embodiments of the invention provide a kind of information monitoring device for server, described device includes:
Information monitoring module, for monitoring the status information of home server;
Connection establishment module, for establishing the connection of display device and the home server;
Information display module, shown for being transmitted the status information to the display device by the connection Show.
Further, the connection establishment module is specifically used for:
When detecting that equipment is accessed by the USB interface of the home server, send first to the equipment and test Demonstrate,prove data;
When receiving the matched with the first verification data second checking data that the equipment is sent, it is determined that described set It is standby to be connected for the display device and being successfully established with the home server.
Further, described information display module is specifically used for:
The status information is encapsulated as by packet using the USB transport protocol of setting;
The packet is transmitted to the display device by the connection and shown.
Further, in addition to:
Receiving module, for transmitting the status information to the display device by the connection and carrying out showing it Before, receive the data transfer request of the display device.
Further, the status information of the server comprises at least first state information, the second status information and the 3rd Status information, wherein:
The first state information comprises at least:CPU, memory bar and environment temperature;
Second status information comprises at least:Rotation speed of the fan, power, hardware error information and the customized letter of mainboard Breath;
The third state information comprises at least:Position, data and version under external equipment interconnection bus.
Further, described information monitoring modular is specifically used for:
The instruction of application settings reads system file to calculate first state information;Obtained using intelligent platform management module Second status information;Third state information is obtained by the canonical matched rule of Desktop Management Interface and application C language.
The third aspect, the embodiment of the present invention additionally provide a kind of computer equipment, including memory, processor and are stored in Realized on memory and the computer program that can run on a processor, during the computing device described program as the present invention is real Apply any described information monitoring method for server in example.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, the information monitoring side for server as described in any in the embodiment of the present invention is realized when the program is executed by processor Method.
In the embodiment of the present invention, by the status information for monitoring home server;Establish display device and the local clothes The connection of business device;The status information is transmitted to the display device by the connection and shown.Without special prison Control server, can be monitored and be shown on the display device with the status information to home server, reduce O&M into This.
Brief description of the drawings
Fig. 1 is a kind of flow chart of information monitoring method for server in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of information monitoring method for server in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of information monitoring method for server in the embodiment of the present invention three;
Fig. 4 is a kind of structural representation of information monitoring device for server in the embodiment of the present invention four;
Fig. 5 is a kind of structural representation of computer equipment in the embodiment of the present invention five.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
A kind of flow chart for information monitoring method for server that Fig. 1 provides for the embodiment of the present invention one, this implementation Example is applicable to need to monitor the situation of the operation conditions of home server, this method by monitoring the information of home server Can be performed by the information monitoring device provided in an embodiment of the present invention for server, the device can use software and/or The mode of hardware is realized, can be typically integrated in home server, for being monitored to the information of the server.With reference to figure 1, This method specifically may include steps of:
S110, the status information for monitoring home server.
Specifically, the program of setting is installed in home server in the form of plug-in unit, the execution of program mainly includes Encryption package of the collection of information, the screening of information and information etc..
Optionally, the status information of the server comprises at least first state information, the second status information and the 3rd shape State information, wherein:The first state information comprises at least:CPU, memory bar and environment temperature;The second state letter Breath comprises at least:Rotation speed of the fan, power, hardware error information and the customized information of mainboard;The third state information is extremely Include less:Position, data and version under external equipment interconnection bus.
Wherein, the first state information of collection comprises at least CPU, memory bar and environment temperature, in addition to:It is CPU, interior Deposit, the hardware information such as network interface card and disk array (Redundant Arrays of Independent Disks, RAID), can Choosing, hardware information can also be the editable remote desktop monitored when server crashes, can also be and led by recognizing Release level for the mainboard that the parameter acquiring of plate arrives etc.;The utilization rate of hard disk etc., the instant network speed of network interface card, long-range connection terminal with And the information under the system such as system journal.
Optionally, the instruction of application settings reads system file to calculate first state information.
Wherein, the information under system mainly monitors to hardware adaptations under system, and the information of monitoring is typically with file Form storage or the instruction of setting read system file and calculate first state information, wherein, the instruction of setting generally may be used Can be specifically DF instructions to be that the shell in server under linux system is instructed.In a specific example, calculating , it is necessary to which the information of proc files or stat file under reading system, proc files or stat file includes during CPU utilization rate Usage time, the nice values of user is the CPU time of negative process occupancy, the run time of kernel mode, except input and output (Input/Output, IO) other stand-by period outside the stand-by period, I/O latency, hard break time, traps time etc.. By obtaining these numerical value, the CPU operations time used is calculated, a time was obtained again every 1~2 second, then calculates this CPU usage in the individual period.
It is customized that the second status information collected comprises at least rotation speed of the fan, power, hardware error information and mainboard Information.Optionally, second status information is obtained using intelligent platform management module.
Wherein, the information such as the temperature of server, rotation speed of the fan, power, error information be by mainboard and hardware it Between temperature sensor obtain real-time temperature numerical value, pass through intelligent platform management module (Intelligent Platform Management Interface, IPMI) information is converted into, then match to obtain accurately information by canonical.In a tool In the example of body, by taking internal memory temperature as an example, IPMI all the sensors information is obtained using instruction ipmitool sdr list, Wherein, sensor information is the data that sensor is in normal condition, then by the sensor information of acquisition and the temperature of internal memory Information is matched, and the average value of internal memory temperature and the temperature value of internal memory are calculated according to matching result.
The third state information of collection comprises at least:Position, data and version under external equipment interconnection bus.It is optional , third state information is obtained by the canonical matched rule of Desktop Management Interface and application C language.
Wherein, the hardware information collection of server is mainly the smbios specifications in accordance with mainboard, passes through Desktop Management Interface The information that (Desktop Management Interface, DMI) is got, typically by dmidecode, lspci, File record etc. obtain, generally can so obtain more information, matched by the canonical of C language needed it is accurate Information.In a specific example, the acquisition of information such as network interface card, first by instruction lspci-v, get all outer Part interconnection standard if (Peripheral Component Interconnect, PCI) relevant information, includes all PCI Under position, data, the information such as version, by regular expression, accurately extract the model of network interface card and corresponding quantity.
S120, the connection for establishing display device and the home server.
Specifically, after the status information of home server is monitored, the connection of display device and home server is established. In a specific example, the connected mode of display device and home server can by wired connection and wirelessly be connected Connecing, wireless connection is attached generally by wireless network and bluetooth, wherein, wireless network can be wireless by what is integrated (WIreless-Fidelity, WIFI) module is realized;Wired connection can be attached by netting twine.Wherein, the display Equipment can be the equipment that liquid crystal display (Liquid Crystal Display, LCD) etc. has display function.
Optionally, before the status information transmitted to the display device by the connection is shown, also Including:Receive the data transfer request of the display device.
Wherein, the status information transmitted to display device by the connection shown before, it is necessary to receive The data transfer request of display device.Optionally, in data transfer, after display device receives a data every time, will receive Data success after message feedback to server, and to server send receive next time the display device data transfer please Ask.If the display devices such as LCD do not send data transfer request, server program would not send data, this ensure that The stability of data transfer.After sending data transfer request using display devices such as LCD, server program just sends the side of data Formula ensure that other USB devices do not have interference.
S130, by the connection status information is transmitted to the display device shown.
Shown specifically, being transmitted the status information of the home server monitored to display device by connection. Optionally, the display format of status information can be the form of word, form or curve map, by taking the temperature for monitoring CPU as an example, show The CPU shown temperature can be the temperature curve of (such as 10 minutes) CPU in a period of time.Make the displaying that status information is simple and clear In display device, user is presented to.
In the embodiment of the present invention, by the status information for monitoring home server;Establish display device and the local clothes The connection of business device;The status information is transmitted to the display device by the connection and shown.Without special prison Control server, can be monitored and be shown on the display device with the status information to home server, reduce O&M into This.
Embodiment two
A kind of flow chart for information monitoring method for server that Fig. 2 provides for the embodiment of the present invention two, this implementation " connection for establishing display device and the home server " is optimized on the basis of above-described embodiment for example.With reference to Fig. 2, this method specifically may include steps of:
S210, the status information for monitoring home server.
S220, when detecting that equipment is accessed by the USB interface of the home server, send the to the equipment One checking data.
Specifically, the USB interface for connecting through home server of equipment and home server is realized, set having detected When the standby USB interface by home server accesses, first verification data is sent to the equipment of access.Optionally, the first checking Data can be arbitrary data, and the purpose is to the connection between equipment and server to provide a safety certification process, not Represent the data transfer with actual content.
S230, when receive that the equipment sends match with the first verification data second verifies data, it is determined that The equipment is that the display device and being successfully established with the home server is connected.
Wherein, when server receives the matched with first verification data second checking data of equipment transmission, institute is determined It is the display device that will carry out data transmission and show to state equipment, and determines that display device is successfully established company with home server Connect.Optionally, the second checking data and the matching relationship of first verification data can be set in advance, and matched rule is herein not Limit, as long as meeting each first verification data uniquely corresponding one second checking data.Send first verification data Purpose be that all USB interfaces are distinguished, the purpose of discrimination is ensured only specifically by the equipment ability of checking Established with server and connect and carry out data transmission.
In a specific example, the matching process that display device is established before connection with server is:Server first Sequential monitoring accesses to LCD, then sends a data to LCD, namely first verification data, LCD receive the first checking number According to rear the second checking data for sending and being matched with first verification data, after server receives the second checking data, show this Equipment is display device and determines that it is successfully established with home server and be connected.
S240, by the connection status information is transmitted to the display device shown.
In the embodiment of the present invention, when detecting that equipment is accessed by the USB interface of the home server, to described Equipment sends first verification data, when the matched with the first verification data the second checking data for receiving the equipment transmission When, determine that the equipment is connected for the display device and being successfully established with the home server.Realize display device Connected with home server by being established after the match is successful, ensure that the security of data transfer.
Embodiment three
A kind of flow chart for information monitoring method for server that Fig. 3 provides for the embodiment of the present invention three, this implementation Example is on the basis of above-described embodiment, to " being transmitted the status information to the display device by the connection and being shown Show " it is optimized.With reference to figure 3, this method specifically may include steps of:
S310, the status information for monitoring home server.
S320, the connection for establishing display device and the home server.
S330, the status information is encapsulated as by packet using the USB transport protocol of setting.
Specifically, in order to ensure the correct transmission of data, the status information is encapsulated using the USB transport protocol of setting For packet.In a specific example, the USB transport protocol that sets as:Protocol definition frame head (1B), verification number (1B), order (2B), packet numbers (2B), response ID (1B), length (1B), the content (byte number specified by length, per block number It is up to 24 bytes according to block, wherein, every piece of data block includes at least one packet, and total length is by every piece of data block and number Determined according to the block number of block) etc..Exemplified by carrying out agreement package to CPU, frame head is defined as 0x5a, ordered as 0x0101, data Bale No. is 0x0000, fills data count, and response ID is incremental, length 0x01 (decimal value 1), and content is that (ten enter 0x30 Value processed is 48, and the temperature for representing current detection is 48 degree), every piece of data block is up to 24 bytes, and total length is by every block number evidence Block and the decision of the total block data of data block, wherein, total block data refers to the quantity for the data block that the status information once transmitted includes. In this specific example, the total block data of data block is 256 pieces, and valid data size is total up to 24*256=6KIB, and KIB is Referring to the unit using binary system as processing unit, 1KB=1000Byte, 1KIB=1024Byte, verification number in operating system is 0x00。
Optionally, in order to prevent bigger data packetloss, bigger data can be subjected to secondary package, school is set The number of testing is 0x0001.The idiographic flow of secondary package is illustrated with specific example below:Secondary package and a package Verification difference in the USB transport protocol of middle application, it is generally the case that to meet that every piece of data block is up to 24 bytes Condition, therefore, in secondary package, the packet after can two once be encapsulated is full after secondary package is packaged together The condition of foot 24 bytes of maximum, two packets can include different parameters, such as cpu temperature and cpu busy percentage, That is, than including more data messages in the data of a package in the data of secondary package.It should be noted that secondary envelope The number of packet in bag is not especially limited, and is operated according to the concrete condition of status information, above-mentioned secondary package with Exemplified by packet after two packages, only play a part of explanation, be not limiting.
S340, the packet transmitted to the display device and shown by the connection.
Specifically, after the status information being encapsulated as into packet using the USB transport protocol of setting, using packet as Unit is transmitted to the display device by the connection and shown.Wherein, packet (Packet) is that ICP/IP protocol leads to Data unit in letter transmission.
In the embodiment of the present invention, the status information is encapsulated as by packet using the USB transport protocol of setting, by described in Packet is transmitted to the display device by the connection and shown.The correct transmission of data is ensure that, prevention uses net Network carry out data transmission during due to data transfer is unstable caused by the fluctuation of network the problem of.
Example IV
Fig. 4 is the structural representation that the present invention is a kind of information monitoring device for server that example IV provides, The device is adapted for carrying out a kind of information monitoring method for server that the embodiment of the present invention is supplied to.As shown in figure 4, should Device can specifically include:
Information monitoring module 410, for monitoring the status information of home server;
Connection establishment module 420, for establishing the connection of display device and the home server;
Information display module 430, carried out for being transmitted the status information to the display device by the connection Display.
Further, connection establishment module 420 is specifically used for:
When detecting that equipment is accessed by the USB interface of the home server, send first to the equipment and test Demonstrate,prove data;
When receiving the matched with the first verification data second checking data that the equipment is sent, it is determined that described set It is standby to be connected for the display device and being successfully established with the home server.
Further, information display module 430 is specifically used for:
The status information is encapsulated as by packet using the USB transport protocol of setting;
The packet is transmitted to the display device by the connection and shown.
Further, in addition to:
Receiving module, for transmitting the status information to the display device by the connection and carrying out showing it Before, receive the data transfer request of the display device.
Further, the status information of the server comprises at least first state information, the second status information and the 3rd Status information, wherein:
The first state information comprises at least:CPU, memory bar and environment temperature;
Second status information comprises at least:Rotation speed of the fan, power, hardware error information and the customized letter of mainboard Breath;
The third state information comprises at least:Position, data and version under external equipment interconnection bus.
Further, information monitoring module 410 is specifically used for:
The instruction of application settings reads system file to calculate first state information;Obtained using intelligent platform management module Second status information;Third state information is obtained by the canonical matched rule of Desktop Management Interface and application C language.
Information monitoring device provided in an embodiment of the present invention for server can perform any embodiment of the present invention and provide The information monitoring method for server, possess the corresponding functional module of execution method and beneficial effect.
Embodiment five
Fig. 5 is a kind of structural representation for computer equipment that the embodiment of the present invention five provides.Fig. 5 is shown suitable for being used for Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 5 is shown is only one Example, any restrictions should not be brought to the function and use range of the embodiment of the present invention.
As shown in figure 5, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with Including but not limited to:One or more processor or processing unit 16, system storage 28, connect different system component The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by The usable medium that computer equipment 12 accesses, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not Movably, non-volatile magnetic media (Fig. 5 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 5, can with There is provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program and produce Product, the program product have one group of (for example, at least one) program module, and these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, such as memory 28 can be stored in In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs Module and routine data, the realization of network environment may be included in each or certain combination in these examples.Program mould Block 42 generally performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making Obtain any equipment that the computer equipment 12 can be communicated with one or more of the other computing device (such as network interface card, modulatedemodulate Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also To pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network Network, such as internet) communication.As illustrated, network adapter 20 is led to by bus 18 and other modules of computer equipment 12 Letter.It should be understood that although not shown in Fig. 5, computer equipment 12 can be combined and use other hardware and/or software module, bag Include but be not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive Device and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, so as to perform various function application and Data processing, such as realize the information monitoring method for server that the embodiment of the present invention is provided:
That is, the processing unit is realized when performing described program:Monitor the status information of home server;Establish display Equipment and the connection of the home server;The status information is transmitted to the display device by the connection and shown Show.
Embodiment six
The embodiment of the present invention six provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey The information monitoring method for server provided such as any embodiment of the present invention is provided when sequence is executed by processor:
That is, the program is realized when being executed by processor:Monitor the status information of home server;Establish display device with The connection of the home server;The status information is transmitted to the display device by the connection and shown.
Any combination of one or more computer-readable media can be used.Computer-readable medium can be calculated Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access memory (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium beyond computer-readable recording medium, the computer-readable medium can send, propagate or Transmit for by instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service Pass through Internet connection for business).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. information monitoring method for server, it is characterised in that including:
    Monitor the status information of home server;
    Establish the connection of display device and the home server;
    The status information is transmitted to the display device by the connection and shown.
  2. 2. according to the method for claim 1, it is characterised in that the company for establishing display device and the home server Connect, including:
    When detecting that equipment is accessed by the USB interface of the home server, the first checking number is sent to the equipment According to;
    When receiving the matched with the first verification data second checking data that the equipment is sent, determine that the equipment is The display device and being successfully established with the home server is connected.
  3. 3. according to the method for claim 1, it is characterised in that transmitted the status information to described by the connection Display device shown, including:
    The status information is encapsulated as by packet using the USB transport protocol of setting;
    The packet is transmitted to the display device by the connection and shown.
  4. 4. according to the method for claim 1, it is characterised in that transmit the status information to institute by the connection State before display device shown, in addition to:
    Receive the data transfer request of the display device.
  5. 5. according to the method described in claim any one of 1-4, it is characterised in that the status information of the server comprises at least First state information, the second status information and third state information, wherein:
    The first state information comprises at least:CPU, memory bar and environment temperature;
    Second status information comprises at least:Rotation speed of the fan, power, hardware error information and the customized information of mainboard;
    The third state information comprises at least:Position, data and version under external equipment interconnection bus.
  6. 6. according to the method for claim 5, it is characterised in that the status information of home server is monitored, including:
    The instruction of application settings reads system file to calculate first state information;Described in obtaining using intelligent platform management module Second status information;Third state information is obtained by the canonical matched rule of Desktop Management Interface and application C language.
  7. A kind of 7. information monitoring device for server, it is characterised in that including:
    Information monitoring module, for monitoring the status information of home server;
    Connection establishment module, for establishing the connection of display device and the home server;
    Information display module, shown for being transmitted the status information to the display device by the connection.
  8. 8. device according to claim 7, it is characterised in that the connection establishment module is specifically used for:
    When detecting that equipment is accessed by the USB interface of the home server, the first checking number is sent to the equipment According to;
    When receiving the matched with the first verification data second checking data that the equipment is sent, determine that the equipment is The display device and being successfully established with the home server is connected.
  9. 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the side as described in any in claim 1-6 is realized during the computing device described program Method.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method as described in any in claim 1-6 is realized during execution.
CN201710904884.7A 2017-09-29 2017-09-29 For the information monitoring method of server, device, equipment and storage medium Pending CN107729209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710904884.7A CN107729209A (en) 2017-09-29 2017-09-29 For the information monitoring method of server, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710904884.7A CN107729209A (en) 2017-09-29 2017-09-29 For the information monitoring method of server, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN107729209A true CN107729209A (en) 2018-02-23

Family

ID=61209058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710904884.7A Pending CN107729209A (en) 2017-09-29 2017-09-29 For the information monitoring method of server, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107729209A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880761A (en) * 2018-06-29 2018-11-23 郑州云海信息技术有限公司 Server network card information obtains system
CN109240889A (en) * 2018-09-20 2019-01-18 武汉指针科技有限公司 A kind of server visualization control device and method
CN109639476A (en) * 2018-12-06 2019-04-16 郑州云海信息技术有限公司 A kind of server network card apparatus information acquisition method and device
CN111552615A (en) * 2020-04-30 2020-08-18 深圳市智微智能软件开发有限公司 Independent computer state monitoring method, device, equipment and storage medium
US11537501B2 (en) 2020-05-21 2022-12-27 Fulian Precision Electronics (Tianjin) Co., Ltd. Method and device for monitoring server based on recordings of data from sensors, and non-transitory storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1445669A (en) * 2002-03-15 2003-10-01 联想(北京)有限公司 Method for getting and outputting information monitored by server through multiple approaches
CN201611479U (en) * 2010-01-21 2010-10-20 福建捷联电子有限公司 Computer with USB data transmission function
CN102238193A (en) * 2011-08-09 2011-11-09 深圳市德卡科技有限公司 Data authentication method and system using same
US8996924B2 (en) * 2011-02-24 2015-03-31 Fujitsu Limited Monitoring device, monitoring system and monitoring method
CN106708707A (en) * 2016-12-23 2017-05-24 郑州云海信息技术有限公司 Server monitoring system based on server framework

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1445669A (en) * 2002-03-15 2003-10-01 联想(北京)有限公司 Method for getting and outputting information monitored by server through multiple approaches
CN201611479U (en) * 2010-01-21 2010-10-20 福建捷联电子有限公司 Computer with USB data transmission function
US8996924B2 (en) * 2011-02-24 2015-03-31 Fujitsu Limited Monitoring device, monitoring system and monitoring method
CN102238193A (en) * 2011-08-09 2011-11-09 深圳市德卡科技有限公司 Data authentication method and system using same
CN106708707A (en) * 2016-12-23 2017-05-24 郑州云海信息技术有限公司 Server monitoring system based on server framework

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108880761A (en) * 2018-06-29 2018-11-23 郑州云海信息技术有限公司 Server network card information obtains system
CN109240889A (en) * 2018-09-20 2019-01-18 武汉指针科技有限公司 A kind of server visualization control device and method
CN109639476A (en) * 2018-12-06 2019-04-16 郑州云海信息技术有限公司 A kind of server network card apparatus information acquisition method and device
CN111552615A (en) * 2020-04-30 2020-08-18 深圳市智微智能软件开发有限公司 Independent computer state monitoring method, device, equipment and storage medium
US11537501B2 (en) 2020-05-21 2022-12-27 Fulian Precision Electronics (Tianjin) Co., Ltd. Method and device for monitoring server based on recordings of data from sensors, and non-transitory storage medium

Similar Documents

Publication Publication Date Title
CN107729209A (en) For the information monitoring method of server, device, equipment and storage medium
CN110427785B (en) Equipment fingerprint acquisition method and device, storage medium and electronic device
CN107040777A (en) A kind of remote debugging method, set top box and server
CN103500133A (en) Fault locating method and device
CN106254172A (en) Heterogeneous applications collecting method and device
KR101256944B1 (en) System and method for data recovery for automatic meter reading system
WO2016197737A1 (en) Self-check processing method, apparatus and system
CN110347694B (en) Equipment monitoring method, device and system based on Internet of things
CN107423909A (en) Allocator and device, dispatching platform, server, distribution box, storage medium
CN113572726A (en) Multi-mode network control-data plane consistency verification method and device
CN111088998B (en) Coal mine central station monitoring system testing method and device and substation simulation system
CN110516442A (en) A kind of power distribution network safety defense system, method, apparatus, equipment and storage medium
CN104780123B (en) A kind of network pack receiving and transmitting processing unit and its design method
CN105379304A (en) Data network management system, data network management device, data processing device, and data network management method
CN111199464B (en) Processing system of collection data, processing method, device and medium of collection data
CN113407374A (en) Fault processing method and device, fault processing equipment and storage medium
US20140115148A1 (en) Decommission of a Server in Wireless Environment
CN115543755B (en) Performance supervision method, device, system, equipment and medium
CN111913861A (en) Performance test method, device, equipment and medium of Internet of things system
KR101079036B1 (en) Apparatus and method of detecting anomaly in control system network
CN103297480A (en) System and method for automatically detecting application service
CN113301147B (en) Partial discharge data processing system based on data transmission
CN104363113A (en) Business continuity detection method
CN213182719U (en) Weighing data acquisition, storage, distribution and monitoring equipment and system
CN105009003A (en) System and method for managing industrial processes

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180223