CN107508864A - Prompt message methods of exhibiting and system based on Linux - Google Patents

Prompt message methods of exhibiting and system based on Linux Download PDF

Info

Publication number
CN107508864A
CN107508864A CN201710653120.5A CN201710653120A CN107508864A CN 107508864 A CN107508864 A CN 107508864A CN 201710653120 A CN201710653120 A CN 201710653120A CN 107508864 A CN107508864 A CN 107508864A
Authority
CN
China
Prior art keywords
linux
application
server
message
prompt message
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.)
Withdrawn
Application number
CN201710653120.5A
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.)
Hangzhou Green Bay Network Technology Co Ltd
Original Assignee
Hangzhou Green Bay Network 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 Hangzhou Green Bay Network Technology Co Ltd filed Critical Hangzhou Green Bay Network Technology Co Ltd
Priority to CN201710653120.5A priority Critical patent/CN107508864A/en
Publication of CN107508864A publication Critical patent/CN107508864A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention proposes a kind of prompt message methods of exhibiting and system based on Linux, wherein, method includes:By configuration server after Linux server collects Linux server information and application message, according to Linux server information and application message, the incidence relation established between Linux server and application, and then when the API Calls for receiving linuxn client are asked, the configuration server passes through application message corresponding to API to linuxn client transmission, so that linuxn client is according to the application message, generate and show prompt message, when solution shows application message in prompt message in the prior art, the not high technical problem of the degree of accuracy.

Description

Prompt message methods of exhibiting and system based on Linux
Technical field
The present invention relates to Internet technical field, more particularly to a kind of prompt message methods of exhibiting based on Linux and it is System.
Background technology
, can be by reading motd file acquisition server relevant informations, and then according to reading after user logs in linuxn client The information displaying prompt message got.But usual prompt message only includes server itself relevant information, shortage is deployed in service Application related information on device, easily there is the situation of maloperation.
In the prior art, in order to show application related information, it is typically employed in motd files, write-in in a static manner should With title and keeper's mark etc..If but occur, using offline or migration, causing information wrong.
The content of the invention
It is contemplated that at least solves one of technical problem in correlation technique to a certain extent.
Therefore, first purpose of the present invention is to propose a kind of prompt message methods of exhibiting based on Linux, to solve In the prior art, when application message is shown in prompt message, the degree of accuracy not high-tech problem.
Second object of the present invention is to propose a kind of prompt message display systems based on Linux.
For the above-mentioned purpose, first aspect present invention embodiment proposes a kind of prompt message displaying side based on Linux Method, including:
Configuration server collects Linux server information and application message from Linux server;
According to the Linux server information and application message, the configuration server establishes Linux server and application Between incidence relation;
When receiving the request of application programming interfaces API Calls from the linuxn client for logging in the Linux server, The configuration server is by application message corresponding to the API to linuxn client transmission, so that the Linux is objective Family end generates according to the application message and shows prompt message.
The prompt message methods of exhibiting based on Linux of the embodiment of the present invention, by configuration server from Linux server After collecting Linux server information and application message, according to Linux server information and application message, Linux is established Incidence relation between server and application, and then when the API Calls for receiving linuxn client are asked, the configuration service Device by API to the linuxn client send corresponding to application message so that linuxn client is according to the application message, Generate and show prompt message, when solution shows application message in prompt message in the prior art, the not high technology of the degree of accuracy Problem.
For the above-mentioned purpose, second aspect of the present invention embodiment proposes another prompt message displaying based on Linux Method, comprise the following steps:
When linuxn client logs in Linux server, the linuxn client sends to configuration server and applies journey Sequence interface API Calls are asked;
The linuxn client receives the application message that configuration server is sent by the api interface;Wherein, it is described Application message, the corresponding Linux server, it is that the configuration server collects Linux clothes from the Linux server After device information of being engaged in and application message, according to the Linux server information and application message, the configuration server is established Incidence relation between Linux server and application, when receiving API Calls request, the configuration server passes through described API is sent to the linuxn client;
The linuxn client generates according to the application message and shows prompt message.
The prompt message methods of exhibiting based on Linux of the embodiment of the present invention, by configuration server from Linux server After collecting Linux server information and application message, according to Linux server information and application message, Linux is established Incidence relation between server and application, and then when the API Calls for receiving linuxn client are asked, the configuration service Device by API to the linuxn client send corresponding to application message so that linuxn client is according to the application message, Generate and show prompt message, when solution shows application message in prompt message in the prior art, the not high technology of the degree of accuracy Problem.
For the above-mentioned purpose, third aspect present invention embodiment proposes a kind of prompt message displaying system based on Linux System, including:
Configuration server, Linux server and linuxn client;
The configuration server, is configured with application programming interfaces API, and the configuration server is used for from Linux server Collect Linux server information and application message;According to the Linux server information and application message, Linux is established Incidence relation between server and application;When receiving API Calls from the linuxn client for logging in the Linux server During request, pass through application message corresponding to the API to linuxn client transmission;
The linuxn client, for when the linuxn client logs in, send to the configuration server described in API Calls are asked;The application message that configuration server is sent by the api interface is received, according to the application message, generation And show prompt message.
The prompt message display systems based on Linux of the embodiment of the present invention, by configuration server from Linux server After collecting Linux server information and application message, according to Linux server information and application message, Linux is established Incidence relation between server and application, and then when the API Calls for receiving linuxn client are asked, the configuration service Device by API to the linuxn client send corresponding to application message so that linuxn client is according to the application message, Generate and show prompt message, when solution shows application message in prompt message in the prior art, the not high technology of the degree of accuracy Problem.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein:
A kind of schematic flow sheet for prompt message methods of exhibiting based on Linux that Fig. 1 is provided by the embodiment of the present invention;
Fig. 2 is illustrated by the flow for another prompt message methods of exhibiting based on Linux that the embodiment of the present invention provides Figure;
Fig. 3 is one of schematic diagram of code snippet;
Fig. 4 is the two of the schematic diagram of code snippet;
Fig. 5 is the signal of shown prompt message;
Fig. 6 is a kind of structural representation of the prompt message display systems based on Linux provided in an embodiment of the present invention;With And
Fig. 7 shows the block diagram suitable for being used for the exemplary computer device for realizing the application embodiment.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the prompt message methods of exhibiting and system based on Linux of the embodiment of the present invention are described.
A kind of schematic flow sheet for prompt message methods of exhibiting based on Linux that Fig. 1 is provided by the embodiment of the present invention, The method that the present embodiment is provided, it can be performed by configuration server.
As shown in figure 1, method includes:
Step 101, configuration server collects Linux server information and application message from Linux server.
Step 102, Linux server and application are established according to Linux server information and application message, configuration server Between incidence relation.
Step 103, when receiving application programming interfaces API Calls from the linuxn client for logging in the Linux server During request, the configuration server is by application message corresponding to the API to linuxn client transmission, so that described Linuxn client generates according to the application message and shows prompt message.
Wherein, Linux server information includes:In hardware configuration, physical location, annexation and Administrator Info extremely It is few one.Application message includes at least one in Apply Names, application port and state and application director.
Specifically, after linuxn client logs in a Linux server, it is related Linux server to be obtained by motd Information.Here motd is message of the day abbreviation, means " prompt message on the same day ", generally user into Work(occurs when logging in.
Prompt message partial content can obtain from/etc/motd texts, and application message is then from configuration service Device obtains.
Prompt message can include:
1) welcome message, Linux release version titles, kernel version, operating system digit are generally comprised;
2) operating system current information, such as operating system load, number of processes, file system service condition, active user Log in number, internal memory service condition etc..
3) application related information, Apply Names, application port and state are such as included, using director.
As a kind of possible implementation, configuration management database (Configuration is carried in configuration server Management Database, CMDB).
The CMDB can be used for safeguarding the incidence relation between each server, and between Linux server and application Incidence relation.
Incidence relation of the configuration server by CMDB Dynamic Maintenances between each server, and Linux server and Incidence relation between, avoid in the prior art in motd files, caused by the mode of static state write-in application message The not high technical problem of the degree of accuracy.
In the present embodiment, Linux server information is collected from Linux server by configuration server and application is believed After breath, according to Linux server information and application message, the incidence relation established between Linux server and application, and then When receive linuxn client API Calls ask when, the configuration server by API to the linuxn client send pair The application message answered, so that linuxn client generates according to the application message and shows prompt message, solve prior art In when application message is shown in prompt message, the not high technical problem of the degree of accuracy.
For an embodiment in clear explanation, another prompt message displaying side based on Linux is present embodiments provided Method, the schematic flow sheet for another prompt message methods of exhibiting based on Linux that Fig. 2 is provided by the embodiment of the present invention.
It can be performed as shown in Fig. 2 being somebody's turn to do the prompt message methods of exhibiting based on Linux by linuxn client, including it is following Step:
Step 201, when linuxn client logs in, linuxn client sends application programming interfaces to configuration server API Calls are asked.
Specifically, linuxn client is by performing the information scripts of motd files, send to the configuration server described in API Calls are asked.
As a kind of possible implementation, the API can be generated using code snippet as shown in Figure 3, motd files Information scripted code fragment can use code snippet as shown in Figure 4.
Step 202, the application message that configuration server is sent by the api interface is received.
Wherein, the application message, the Linux server that the corresponding linuxn client is logged in, it is the configuration clothes Device be engaged in after the Linux server collects Linux server information and application message, is serviced according to the Linux Device information and application message, the incidence relation that the configuration server is established between Linux server and application, when receiving During the API Calls request of linuxn client, the configuration server is sent by the API to the linuxn client.
Step 203, according to the application message, generate and show prompt message.
Wherein, prompt message includes at least one in application packet, application identities, application state, work order situation;It is described At least one in prompt message, in addition to internal address, affiliated computer room, keeper's mark, life cycle state and node state It is individual.
It is as shown in Figure 5 as a kind of possible way of realization, shown prompt message.In foregoing prompt message content On the basis of, as shown in figure 5, prompt message still further comprises customized label, made by oneself for the storage in customized label position Adopted content.
In the present embodiment, Linux server information is collected from Linux server by configuration server and application is believed After breath, according to Linux server information and application message, the incidence relation established between Linux server and application, and then When receive linuxn client API Calls ask when, the configuration server by API to the linuxn client send pair The application message answered, so that linuxn client generates according to the application message and shows prompt message, solve prior art In when application message is shown in prompt message, the not high technical problem of the degree of accuracy.
In order to realize above-described embodiment, the present invention also proposes a kind of prompt message display systems based on Linux.
Fig. 6 is a kind of structural representation of the prompt message display systems based on Linux provided in an embodiment of the present invention.
As shown in fig. 6, the system includes:Configuration server 61, linuxn client 62 and Linux server 63.
Configuration server 61, is configured with application programming interfaces API, and the configuration server is used to adopt from Linux server Collection obtains Linux server information and application message;According to the Linux server information and application message, Linux clothes are established The incidence relation being engaged between device and application;When the API Calls for receiving linuxn client are asked, by the API to described Application message corresponding to linuxn client transmission.
Linuxn client 62, for when linuxn client logs in, the API Calls to be sent to the configuration server Request;The application message that configuration server is sent by the api interface is received, according to the application message, generates and shows Prompt message.
Further, in a kind of possible implementation of the embodiment of the present invention, linuxn client 62 is configured with motd File, information script is included in the motd files.
Based on this, linuxn client 62, specifically for the information script by performing the motd files, match somebody with somebody to described Put server and send the API Calls request.
Further, in a kind of possible implementation of the embodiment of the present invention, the prompt message includes application point It is at least one in group, application identities, application state, work order situation;The prompt message, in addition to internal address, affiliated machine It is at least one in room, keeper's mark, life cycle state and node state.
The Linux server information includes:In hardware configuration, physical location, annexation and Administrator Info extremely It is few one.Application message includes at least one in Apply Names, application port and state and application director.
It should be noted that the foregoing explanation to embodiment of the method is also applied for the device of the embodiment, herein not Repeat again.
Fig. 6 describes prompt message display systems from hardware, different according to function on software, can will be prompted to letter Breath display systems are divided into software module.
Including:CMDB modules, motd information generating modules and motd obtain display module.
Wherein, CMDB modules:For for physical location, server, the network equipment and application message and interrelated pass System's management.
Motd information generating modules:Call CMDB API to obtain server and application related information, formatted after processing defeated Go out, called for linuxn client.
Motd obtains display module:Linuxn client calls the API, by this by the automatic perform script mechanism of motd API obtains application message, and shows prompt message according to application message.
The prompt message display systems based on Linux of the present embodiment, gathered by configuration server from Linux server After obtaining Linux server information and application message, according to Linux server information and application message, Linux services are established Incidence relation between device and application, and then when the API Calls for receiving linuxn client are asked, the configuration server is led to Application message corresponding to API to linuxn client transmission is crossed, so that linuxn client is according to the application message, generation And prompt message is shown, and when solution shows application message in prompt message in the prior art, the not high technical problem of the degree of accuracy.
Based on above-described embodiment, the embodiment of the present invention additionally provides a kind of prompt message exhibiting device based on Linux Possible implementation, on the basis of a upper embodiment, the device includes:Processor, and for storing the processor The memory of executable instruction.
Wherein, processor is configured as performing the prompt message methods of exhibiting based on Linux that previous embodiment provides.
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, when described When instruction in storage medium is performed by processor, the foregoing prompt message exhibition based on Linux for implementing to provide is able to carry out Show method.
In order to realize above-described embodiment, the present invention also proposes a kind of computer program product, when the computer program produces When instruction processing unit in product performs, the foregoing prompt message methods of exhibiting based on Linux for implementing to provide is performed.
Fig. 7 shows the block diagram suitable for being used for the exemplary computer device for realizing the application embodiment.What Fig. 7 was shown Computer equipment 12 is only an example, should not bring any restrictions to the function and use range of the embodiment of the present application.
As shown in fig. 7, 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 (Industry Standard Architecture;Hereinafter referred to as:ISA) bus, MCA (Micro Channel Architecture;Below Referred to as:MAC) bus, enhanced isa bus, VESA (Video Electronics Standards Association;Hereinafter referred to as:VESA) local bus and periphery component interconnection (Peripheral Component Interconnection;Hereinafter referred to as: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.
Memory 28 can include the computer system readable media of form of volatile memory, such as random access memory Device (Random Access Memory;Hereinafter referred to as:RAM) 30 and/or cache memory 32.Computer equipment 12 can be with Further comprise other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only as an example, Storage system 34 can be used for reading and writing immovable, non-volatile magnetic media, and (Fig. 7 do not show, commonly referred to as " hard drive Device ").Although not shown in Fig. 7, it can provide for being driven to the disk that may move non-volatile magnetic disk (such as " floppy disk ") read-write Dynamic device, and to removable anonvolatile optical disk (such as:Compact disc read-only memory (Compact Disc Read Only Memory;Hereinafter referred to as:CD-ROM), digital multi read-only optical disc (Digital Video Disc Read Only Memory;Hereinafter referred to as:DVD-ROM) or other optical mediums) read-write CD drive.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 it is each that these program modules are configured to perform the application 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 include but is not limited to operating system, one or more application program, other program modules and Routine data, the realization of network environment may be included in each or certain combination in these examples.Program module 42 is usual Perform the function and/or method in embodiments described herein.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, it can also enable a user to the equipment communication interacted with the computer system/server 12 with one or more, and/ Or any equipment (example with enabling the computer system/server 12 to be communicated with one or more of the other computing device Such as network interface card, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, calculate Machine equipment 12 can also pass through network adapter 20 and one or more network (such as LAN (Local Area Network;Hereinafter referred to as:LAN), wide area network (Wide Area Network;Hereinafter referred to as:WAN) and/or public network, example Such as internet) communication.As illustrated, network adapter 20 is communicated by bus 18 with other modules of computer equipment 12.Should When understanding, although not shown in the drawings, can combine computer equipment 12 does not use other hardware and/or software module, including but not It is limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive 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 method referred in previous embodiment.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the different embodiments or example and the feature of different embodiments or example described in this specification Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three It is individual etc., unless otherwise specifically defined.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize custom logic function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.Such as, if realized with hardware with another embodiment, following skill well known in the art can be used Any one of art or their combination are realized:With the logic gates for realizing logic function to data-signal from Logic circuit is dissipated, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile Journey gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (10)

1. a kind of prompt message methods of exhibiting based on Linux, it is characterised in that comprise the following steps:
Configuration server collects Linux server information and application message from Linux server;
According to the Linux server information and application message, the configuration server is established between Linux server and application Incidence relation;
It is described when receiving the request of application programming interfaces API Calls from the linuxn client for logging in the Linux server Configuration server is by application message corresponding to the API to linuxn client transmission, so that the linuxn client According to the application message, generate and show prompt message.
2. the prompt message methods of exhibiting according to claim 1 based on Linux, it is characterised in that the Linux services Device information includes:It is at least one in hardware configuration, physical location, annexation and Administrator Info;
The application message includes at least one in Apply Names, application port and state and application director.
3. a kind of prompt message methods of exhibiting based on Linux, it is characterised in that comprise the following steps:
When linuxn client logs in Linux server, the linuxn client sends application program to configuration server and connect Mouth API Calls request;
The linuxn client receives the application message that configuration server is sent by the api interface;Wherein, the application Information, the corresponding Linux server, is that the configuration server collects Linux server from the Linux server After information and application message, according to the Linux server information and application message, the configuration server establishes Linux Server and application between incidence relation, when receive API Calls request when, the configuration server by the API to What the linuxn client was sent;
The linuxn client generates according to the application message and shows prompt message.
4. the prompt message methods of exhibiting according to claim 3 based on Linux, it is characterised in that the Linux client Hold to configuration server and send the request of application programming interfaces API Calls, including:
The linuxn client sends the API Calls by performing the information scripts of motd files, to the configuration server Request.
5. the prompt message methods of exhibiting based on Linux according to claim 3 or 4, it is characterised in that the prompting letter Breath includes at least one in application packet, application identities, application state, work order situation;
In the prompt message, in addition to internal address, affiliated computer room, keeper's mark, life cycle state and node state It is at least one.
A kind of 6. prompt message display systems based on Linux, it is characterised in that including:
Configuration server, Linux server and linuxn client;
The configuration server, is configured with application programming interfaces API, and the configuration server is used to gather from Linux server Obtain Linux server information and application message;According to the Linux server information and application message, Linux services are established Incidence relation between device and application;Asked when receiving API Calls from the linuxn client for logging in the Linux server When, pass through application message corresponding to the API to linuxn client transmission;
The linuxn client, for when the linuxn client logs in, sending the API to the configuration server and adjusting With request;The application message that configuration server is sent by the api interface is received, according to the application message, generates and opens up Show prompt message.
7. the prompt message display systems according to claim 6 based on Linux, it is characterised in that the Linux client End is configured with motd files;Information script is included in the motd files;
The linuxn client, specifically for the information script by performing the motd files, sent out to the configuration server The API Calls are sent to ask.
8. the prompt message display systems based on Linux according to claim 6 or 7, it is characterised in that the prompting letter Breath includes at least one in application packet, application identities, application state, work order situation;
In the prompt message, in addition to internal address, affiliated computer room, keeper's mark, life cycle state and node state It is at least one.
9. the prompt message display systems based on Linux according to claim 6 or 7, it is characterised in that the Linux Server info includes:It is at least one in hardware configuration, physical location, annexation and Administrator Info.
10. the prompt message display systems based on Linux according to claim 6 or 7, it is characterised in that the application Information includes at least one in Apply Names, application port and state and application director.
CN201710653120.5A 2017-08-02 2017-08-02 Prompt message methods of exhibiting and system based on Linux Withdrawn CN107508864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710653120.5A CN107508864A (en) 2017-08-02 2017-08-02 Prompt message methods of exhibiting and system based on Linux

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710653120.5A CN107508864A (en) 2017-08-02 2017-08-02 Prompt message methods of exhibiting and system based on Linux

Publications (1)

Publication Number Publication Date
CN107508864A true CN107508864A (en) 2017-12-22

Family

ID=60688835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710653120.5A Withdrawn CN107508864A (en) 2017-08-02 2017-08-02 Prompt message methods of exhibiting and system based on Linux

Country Status (1)

Country Link
CN (1) CN107508864A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140379876A1 (en) * 2004-07-09 2014-12-25 Dell Software Inc. Systems and methods for managing policies on a computer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140379876A1 (en) * 2004-07-09 2014-12-25 Dell Software Inc. Systems and methods for managing policies on a computer

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
OCTOPUSXI: "资产管理cmdb之ansible获取服务器硬件、软件等信息", 《HTTPS://BLOG.CSDN.NET/WEIXIN_30808253/ARTICLE/DETAILS/96589684》 *
WEIXIN_30808253: "Linux服务器安全策略配置-SSH与动态MOTD", 《HTTPS://WWW.DOCIN.COM/P-1918609201.HTML》 *

Similar Documents

Publication Publication Date Title
CN107729210A (en) The abnormality diagnostic method and device of Distributed Services cluster
CN107610702A (en) Terminal device standby wakeup method, apparatus and computer equipment
CN108156166A (en) Abnormal access identification and connection control method and device
CN109710439A (en) Fault handling method and device
CN104216793B (en) Application Backup, the method and apparatus recovered
CN110417575A (en) Alarm method, device and the computer equipment of O&M monitor supervision platform
CN110007658A (en) The method for monitoring abnormality and device of vehicle CAN bus
CN107403089A (en) Resource tamper Detection method and apparatus based on application program
US10467083B2 (en) Event relationship analysis in fault management
CN107391295A (en) The processing method and processing device of application exception
CN108449321A (en) Login method, server and client side
CN106681799B (en) It is inserted into the methods, devices and systems of disk
CN110348793A (en) It is a kind of to send part method, apparatus, express delivery cabinet and storage medium
CN110020305A (en) Webpage loading method, device, computer equipment and storage medium
CN110069366A (en) A kind of reloading method, apparatus and server
CN109426606A (en) Kernel failure diagnosis information processing method, device, storage medium and electronic equipment
CN108170441A (en) Drive programe installation method, device, driver installation client and server
CN107291486A (en) The installation method and device of a kind of operating system
CN108712496A (en) A kind of Port Mirroring method and device of OLT device
CN108596587A (en) It withdraws deposit checking method, device, electronic equipment, program product and storage medium
CN114818218A (en) Cable laying path determining method, device and storage medium
CN107656999B (en) Call history tracing method and device, electronic equipment and storage medium
CN107508864A (en) Prompt message methods of exhibiting and system based on Linux
CN105991322B (en) Processing method and device for acquisition adapter management system
CN106357466A (en) Monitoring method for internet products and monitoring system

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171222