CN105071958B - A kind of server console Log Administration System and method - Google Patents

A kind of server console Log Administration System and method Download PDF

Info

Publication number
CN105071958B
CN105071958B CN201510455665.6A CN201510455665A CN105071958B CN 105071958 B CN105071958 B CN 105071958B CN 201510455665 A CN201510455665 A CN 201510455665A CN 105071958 B CN105071958 B CN 105071958B
Authority
CN
China
Prior art keywords
console
control module
output
control
journal file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510455665.6A
Other languages
Chinese (zh)
Other versions
CN105071958A (en
Inventor
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HEILONGJIANG HARBOR TECHNOLOGY Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510455665.6A priority Critical patent/CN105071958B/en
Publication of CN105071958A publication Critical patent/CN105071958A/en
Application granted granted Critical
Publication of CN105071958B publication Critical patent/CN105071958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications

Abstract

The present invention provides a kind of server console Log Administration System and methods, belong to network information management and maintenance technology field, wherein the server console Log Administration System includes:At least one control module and a console, the control module, for sending output request to the console to control whether each associated journal file of the control module is output to the console;The console is connect, the control instruction for obtaining user with each control module, and judges whether that receiving the output that each control module is sent asks according to the control instruction.In system and method provided by the invention, it can arbitrarily export user and wish the journal file of output and check, it is simple and convenient.

Description

A kind of server console Log Administration System and method
Technical field
The present invention relates to network information management and maintenance technology field more particularly to a kind of server console log managements System and method.
Background technology
With the development of Internet technology, the application of server becomes more and more extensive, will receive daily a large amount of Service request, and journal file (log files) will be generally recorded in these service requests by server in the process of running In;And the control module run in the same server is also more and more.
Output for journal file, now universal there are two types of modes:1) journal file is all output to a control by Platform, the way of output of this journal file, the information content in console is excessive, and most of information wherein included and non-user Required information;2) journal file is respectively outputted in the associated journal file of each control module oneself by, this daily record The way of output of file, user can not selectively see oneself desired journal file, need in correspondence in the console Control module in open corresponding journal file, if to check the journal file of two control modules simultaneously, user need Two journal files are opened, it is very inconvenient in this way.
Thus, a kind of server console Log Administration System that can be solved the above problems and method become a kind of need It asks.
Invention content
In view of the above-mentioned problems, the present invention is intended to provide a kind of completely new server console Log Administration System and method, It makes improvement to traditional console so that console can receive the control instruction of user, and console is according to input by user Control instruction, selectively outputting log file.
Technical solution provided by the invention is as follows:
A kind of server console Log Administration System, the server console Log Administration System include:At least One control module and a console, wherein
The control module, it is associated to control each control module to the console for sending output request Whether journal file is output to the console;
The console is connect, the control instruction for obtaining user with each control module, and according to the control System instruction judges whether to receive the output request that each control module is sent.
In the technical scheme, user is instructed by the control interface input control in console, to be controlled with control Whether the output of the journal file of module relation, i.e., console, which only exports user, allows the correlation log file of output, in this way, with Family can targetedly be managed the journal file in server.
Preferably, the server console Log Administration System includes multiple control modules, each control Molding block is connect with the console respectively, and the console controls each associated journal file of control module respectively Output.
In the technical scheme, system includes multiple control modules, and console can control multiple control module Whether associated journal file exports.
Preferably, the control instruction includes:The console is allowed to receive the control of control module output request The title of module.
A kind of server console blog management method is applied to above-mentioned server console Log Administration System, tool Body includes the following steps:
Console obtains control instruction input by user;
The console monitors the output request that each control module is sent out;
Console judges whether that receiving each control module management export asks according to the control instruction.
In the technical scheme, only control instruction allows the journal file of output that can just be exported in the console, Realize the management to journal file.
Preferably, the control instruction, which specifically includes, allows the console to receive the control that control module exports request The title of molding block.
Preferably, the console judges whether to receive each control module management export according to the control instruction Request, specifically includes:
It is asked when the console receives the output that any one of control module is sent out, if the console receives To the control instruction be to allow the control module associated journal file output, then the console receives the control module Output request, establish the connection between the console and the control module, the control module exported in the console Associated journal file;If the control instruction that the console receives is not allow the associated daily record text of the control module Part exports, then the output request of the console refusal control module, terminates process.
Server console Log Administration System and method provided by the invention, can bring following advantageous effect:
In the present invention, the control instruction of user is obtained by console, and then controls whether to connect according to the control instruction The output request sent by control module, only allows the journal file of output just can be in control circle of console in control instruction It is exported in face, has effectively achieved the management to console journal file, solving will in existing Log Administration System The problem of all journal files are all output to console or export journal file sub-module and introduce provides in the present invention System and method in, can arbitrarily export user wish output journal file and check, it is simple and convenient.
Description of the drawings
Below by a manner of clearly understandable, preferred embodiment is described with reference to the drawings, to above-mentioned characteristic, technical characteristic, Advantage and its realization method are further described.
Fig. 1 is server console Log Administration System structural schematic diagram in the present invention;
Fig. 2 is server console blog management method flow diagram in the present invention.
Reference numeral:
10. console, 21. first control modules, 22. second control modules, 2n. N control modules.
Specific implementation mode
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, control is illustrated below The specific implementation mode of the present invention.It should be evident that drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing, and obtain other embodiments.
It is the structural schematic diagram of server console Log Administration System provided by the invention as shown in Figure 1, it can from figure To find out, include in the server console Log Administration System:At least one control module and a console 10, it is each to control Molding block is all connect with console 10, includes multiple control modules in system in diagram 1, respectively the first control module 21, the second control module 22 ..., the second control module 2n, and these control modules are all connect with console 10, are respectively used to Output request is sent to console 10 to control whether the associated journal file of each control module is output to console 10;Control Platform 10 is then used to obtain the control instruction of user, and judges whether to receive the output that each control module is sent according to control instruction Request.Specifically, control instruction includes that console 10 is allowed to receive the title that control module exports the control module of request, such as User allows the control interface of console 10 to show 21 associated journal file of the first control module, then user directly inputs first Purpose can be realized in the title of control module 21, if in addition, user wants to export the associated journal file of multiple control modules, it is defeated Go out the title of multiple control modules, such as input the title of the first control module 21 and the second control module 22 respectively, then just anticipating Taste, which, allows the journal file in the first control module 21 and the second control module 22 to export and show in console.
Specifically, during the work time, user initially enters the control interface of console 10 and defeated in control interface Enter control instruction, during input control instructs, user can select the control module for needing to export, as user selects First control module 21, then 10, console receives the output request that the first control module 21 is sent, and then controls mould by first 21 associated first journal file of block is output in the control interface of console 10, other control modules are all filtered at this time, Relevant journal file in control interface also with regard to not shown, in this way, user can selectively check that oneself is paid close attention to Journal file, the correlation log file of system feedback is directly viewable, without being searched in numerous modules.Separately Outside, in specific embodiment, user's multiselect is also supported in control interface, i.e., user can be to select multiple to need to export in control interface Control module, such as the first control module 21 of user's simultaneous selection and the second control module 22, then console 10 is shown respectively First control module 21 and 22 associated first journal file of the second control module and the second journal file, similarly, at this time its His control module is all filtered.It is noted that in this process, user can select arbitrarily to think in console 10 The control module of output, we do not limit herein, and user selects according to actual conditions.
More specifically, in the present invention, console 10 receives message using the method for socket, substantially will control Platform 10 processed realizes the data between console 10 and each control module as server, each control module as client Transmission, in this case, during the work time, each control module first has to be connected to server-side (i.e. console 10) system, Message can be sent to server-side;Meanwhile console 10 can be right when the output request for receiving client (i.e. control module) The identity of client judged (judge the control module whether user allow output control module list in), such as The associated journal file output of the client modules is needed in fruit console 10, then receives output request, it is defeated otherwise to refuse this Go out request.If the output request of client is rejected, which is output to journal file the daily record text of oneself In part, if the connection request of client is accepted, the journal file of the control module, which is output in console 10, to carry out Display.
It is illustrated in figure 2 the flow diagram of server console blog management method provided by the invention, is applied to upper The server console Log Administration System stated, specifically includes following steps:
S1 consoles 10 obtain control instruction input by user;Specifically, control instruction specifically includes permission console 10 receive the title of the control module of control module output request, and console 10 obtains above-mentioned control by control interface and refers to It enables, i.e., user inputs the control module title for oneself wanting to consult in control interface, associated to corresponding control module to realize The output of journal file.Certainly, 10 daily record of console is managed using realization server console blog management method Before, registration socket service end interfaces are first had to, while the port numbers are named, if port numbers are P, are being controlled in this way It can be communicated by the port between platform 10 and each control module.
S2 monitors the output request that each control module is sent out.It is known that console 10 is to each control module It is actually the process redirected to the output of modules to export the process controlled, if the module will export It is redirected in the journal file of oneself, then will not be output in console 10;Correspondingly, if modules are all by output weight Be directed in console 10, then console 10 will the corresponding journal file exported in the control module, thus to realize pair The output of modules is controlled, it is only necessary to realized using console 10, i.e., each control module active to console 10 send output request, and such console 10 can control each control module by receiving or refusing output request Output, thus console 10 will monitor the output request whether modules send out in real time in this process, if having issued defeated Go out request then at once to judge its identity according to the control instruction obtained.
S3 consoles 10 judge whether that receiving each control module management export asks according to control instruction.When console 10 The output request that any one control module is sent out is received, if the control instruction that console 10 receives is to allow the control mould The associated journal file of block exports, then console 10 receives the output request of the control module, establishes console 10 and the control Connection between module exports the associated journal file of the control module in console 10;If the control that console 10 receives Not allow the associated journal file of the control module to export, then the output of the refusal of console 10 control module is asked for system instruction It asks, terminates process.
It should be noted that above-described embodiment can be freely combined as needed.The above is only the preferred of the present invention Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention Under, several improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (4)

1. a kind of server console Log Administration System, which is characterized in that in the server console Log Administration System Including:At least one control module and a console, wherein
The control module, for sending output request to the console to control each associated daily record of the control module Whether file is output to the console;The control module is multiple, and different daily record texts is respectively associated in multiple control modules Part, each control module are connect with the console respectively, and the console controls each control module and closes respectively The output of the journal file of connection;
The console is connect, the control instruction for obtaining user with each control module, and the console is monitored every The output request that a control module is sent out, and judge whether to receive what each control module was sent according to the control instruction Output request;The console judges whether that receiving each control module management export asks according to the control instruction, It specifically includes:It is asked when the console receives the output that any one of control module is sent out, if the console connects The control instruction received is to allow the associated journal file output of the control module, then the console receives the control mould The output of block is asked, and establishes the connection between the console and the control module, the control mould is exported in the console The associated journal file of block;If the control instruction that the console receives is not allow the associated daily record of the control module File exports, then the output request of the console refusal control module, terminates process;
Meanwhile console can also judge the identity of control module, in the output request for receiving control module to judge Whether the control module is in the list that user allows the control module of output, if the control module is needed to be associated in console Journal file output, then receive the output request, otherwise refuse the output request;If the output request of control module is refused Absolutely, then journal file is output in the journal file of oneself by the control module, if the connection request of client is received , then the journal file of the control module, which is output in console, is shown;Log Administration System can arbitrarily export use Wish the journal file of output and checked in family.
2. server console Log Administration System as described in claim 1, which is characterized in that the control instruction includes: The console is allowed to receive the title of the control module of control module output request.
3. a kind of server console blog management method, which is characterized in that the server console blog management method is answered For the server console Log Administration System as described in claim 1-2 any one, following steps are specifically included:
Console obtains control instruction input by user;
The console monitors the output request that each control module is sent out;
The console judges whether that receiving each control module management export asks according to the control instruction;Specific packet It includes:It is asked when the console receives the output that any one of control module is sent out, if what the console received The control instruction is to allow the associated journal file output of the control module, then the console receives the defeated of the control module Go out request, establish the connection between the console and the control module, control module association is exported in the console Journal file;If the control instruction that the console receives is not allow the associated journal file of the control module defeated Go out, then the output request of the console refusal control module, terminates process;
Console can also judge the identity of control module, in the output request for receiving control module to judge the control Whether molding block is in the list that user allows the control module of output, if needing the control module associated day in console Will file exports, then receives output request, otherwise refuses output request;If the output request of control module is rejected , then journal file is output in the journal file of oneself by the control module, if the connection request of client is accepted, Then the journal file of the control module, which is output in console, is shown;The Log Administration System can arbitrarily export use Wish the journal file of output and checked in family.
4. server console blog management method as claimed in claim 3, it is characterised in that:The control instruction is specifically wrapped Including allows the console to receive the title that control module exports the control module of request.
CN201510455665.6A 2015-07-29 2015-07-29 A kind of server console Log Administration System and method Active CN105071958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510455665.6A CN105071958B (en) 2015-07-29 2015-07-29 A kind of server console Log Administration System and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510455665.6A CN105071958B (en) 2015-07-29 2015-07-29 A kind of server console Log Administration System and method

Publications (2)

Publication Number Publication Date
CN105071958A CN105071958A (en) 2015-11-18
CN105071958B true CN105071958B (en) 2018-07-31

Family

ID=54501245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510455665.6A Active CN105071958B (en) 2015-07-29 2015-07-29 A kind of server console Log Administration System and method

Country Status (1)

Country Link
CN (1) CN105071958B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357454B (en) * 2016-10-08 2020-06-16 武汉斗鱼网络科技有限公司 Log system control device and control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677931A (en) * 2004-04-02 2005-10-05 鸿富锦精密工业(深圳)有限公司 Network daily-record data management system and method
CN1949725A (en) * 2006-11-22 2007-04-18 华为技术有限公司 System and method for filtering journal message
CN1984139A (en) * 2005-12-16 2007-06-20 中兴通讯股份有限公司 Method for updating system journal file under construction of client end/server
CN101043375A (en) * 2007-03-15 2007-09-26 华为技术有限公司 Distributed system journal collecting method and system
CN101753971A (en) * 2008-12-22 2010-06-23 中兴通讯股份有限公司 Journal system and journal recording method in content management system in uniform video management platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007287065A (en) * 2006-04-20 2007-11-01 Sony Corp Electronic apparatus and log output method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677931A (en) * 2004-04-02 2005-10-05 鸿富锦精密工业(深圳)有限公司 Network daily-record data management system and method
CN1984139A (en) * 2005-12-16 2007-06-20 中兴通讯股份有限公司 Method for updating system journal file under construction of client end/server
CN1949725A (en) * 2006-11-22 2007-04-18 华为技术有限公司 System and method for filtering journal message
CN101043375A (en) * 2007-03-15 2007-09-26 华为技术有限公司 Distributed system journal collecting method and system
CN101753971A (en) * 2008-12-22 2010-06-23 中兴通讯股份有限公司 Journal system and journal recording method in content management system in uniform video management platform

Also Published As

Publication number Publication date
CN105071958A (en) 2015-11-18

Similar Documents

Publication Publication Date Title
CN104065731B (en) A kind of ftp file Transmission system and transmission method
CN101388689B (en) Data multi-bearing parallel transmission method and device
CN103188207B (en) A kind of cross-domain single sign-on realization method and system
CN105227364B (en) A kind of method and device of ERP system resource-sharing
CN104010001B (en) In mobile terminal, the method and system connecting communication is carried out in similar networking request
US20020038331A1 (en) Method and apparatus for flash load balancing
CN103139137B (en) Network service provider method and device
CN104009938A (en) Method and system for long connections based on router level
CN103179104B (en) A kind of access method of remote service, system and equipment thereof
CN107426339A (en) A kind of cut-in method, the apparatus and system of data interface channel
CN104980494B (en) A kind of cloud storage download shared platform and method with local cache
GB2412198A (en) Network system control
CN108156176A (en) Apparatus control method, cloud platform, system, storage medium and equipment
CN108055314A (en) The management method and group system of a kind of group system
CN104683295A (en) Data packet filtering rule configuration method, device and system
CN110311887A (en) System based on the more Kubernetes clusters of enterprise's multi-user management
CN105071958B (en) A kind of server console Log Administration System and method
Capra Towards a human trust model for mobile ad-hoc networks
CN104348700B (en) Method and system for issuing microblog
CN101206755A (en) Intelligent follow-up method for hospital
CN105119813A (en) Method and device for adding instant messaging friends
DE602005000900T2 (en) Secure and transparent virtual private networks
CN105681266B (en) A kind of communication cluster method and device of mediaphone MMTel
CN108259249A (en) Method for network access, router, terminal device, server and network system
CN113129933B (en) Terminal display control method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201118

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20201208

Address after: 210000 zhimengyuan, science and technology innovation block, model road, Gulou District, Nanjing City, Jiangsu Province

Patentee after: Wang Qian

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210226

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 210000 zhimengyuan, science and technology innovation block, model road, Gulou District, Nanjing City, Jiangsu Province

Patentee before: Wang Qian

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230322

Address after: Room 401, 4th Floor, No.160 Zhongshan Road, Xiangfang District, Harbin City, Heilongjiang Province, 150036

Patentee after: HEILONGJIANG HARBOR TECHNOLOGY Co.,Ltd.

Address before: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee before: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right