CN106126406B - A kind of generation method and device using daily paper - Google Patents

A kind of generation method and device using daily paper Download PDF

Info

Publication number
CN106126406B
CN106126406B CN201610461142.7A CN201610461142A CN106126406B CN 106126406 B CN106126406 B CN 106126406B CN 201610461142 A CN201610461142 A CN 201610461142A CN 106126406 B CN106126406 B CN 106126406B
Authority
CN
China
Prior art keywords
operating parameter
index
daily paper
file
operating
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
CN201610461142.7A
Other languages
Chinese (zh)
Other versions
CN106126406A (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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201610461142.7A priority Critical patent/CN106126406B/en
Publication of CN106126406A publication Critical patent/CN106126406A/en
Application granted granted Critical
Publication of CN106126406B publication Critical patent/CN106126406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of generation method and device using daily paper, this method comprises: the operating parameter in acquisition software system log, and the operating parameter is generated into the readable operating parameter file of multiple programs according to operating parameter standard interface;Operating parameter in the operating parameter file is parsed according to the most fine granularity index of software systems operating status, and the file that the file after parsing is converted into Excel format is put into Excel daily paper template;The data being put into Excel daily paper template file are subjected to statistics calculating by level according to the data relationship in scheduled operating index structure, and generates and completely applies daily paper.Every operating parameter is acquired from software systems automatically based on the above method, and forms system overall operation state after summarizing step by step according to operating index structure and generates the efficiency for improving using daily paper and software systems being carried out with operation and maintenance.

Description

A kind of generation method and device using daily paper
Technical field
The present invention relates to computer software maintenance areas, more particularly, to a kind of generation method using daily paper And device.
Background technique
With the generally use of software systems various in enterprise, carrying out operation and maintenance to software systems becomes the portion each enterprise IT The most important routine work of door, software systems can generate software systems log in daily operational process, in software systems day Record the basic datas such as the operating parameter of software systems, including runing time, operating status and access times in will.Daily In maintenance work, also system operational parameters are counted daily other than being monitored in real time to software systems, according to system Meter information judges that system is whether normal operation in the past period, and has existing for analysis system when system is operating abnormally Body problem and risk.
Currently, requiring to carry out people to the operating parameter of software systems daily during the daily O&M of software systems Daily paper is applied in data acquisition, data summarization, data analysis and the formation of work, and this method needs a large amount of manual operation, from And the problem of causing to software systems operation and maintenance inefficiency.
Summary of the invention
The purpose of the present invention is to provide a kind of generation methods and device using daily paper, can be automatically from software systems Every operating parameter is acquired, and forms system overall operation state after summarizing step by step according to operating index structure and generates using day Report improves the efficiency that software systems are carried out with operation and maintenance.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A kind of generation method using daily paper is applied to software systems, which comprises
Operating parameter in acquisition software system log, and the operating parameter is generated according to operating parameter standard interface The readable operating parameter file of multiple programs;
Operating parameter in the operating parameter file is carried out according to the most fine granularity index of software systems operating status Parsing, and the file that the file after parsing is converted into Excel format is put into Excel daily paper template;
The data of file in the Excel daily paper template are pressed into layer according to the data relationship in scheduled operating index structure Grade carries out statistics calculating, and generates and completely apply daily paper.
Preferably, the operating parameter in the operating parameter file refers to according to the most fine granularity of system running state Mark carries out parsing
Operating parameter in the multiple operating parameter file is pasted in a total operating parameter file;
According to operating parameter described in the most fine granularity indicator-specific statistics of system running state;
Classified to statistical result according to first class index state minimum in operating index structure and generates the text after parsing Part.
Preferably, by the data for being put into file in Excel daily paper template according in scheduled operating index structure Data relationship carries out statistics calculating by level, and generates and completely include: using daily paper
Every corresponding index state of first class index and each higher level's index are obtained according to scheduled operating index structure The corresponding calculated relationship of state and junior index state;
The index shape of every level-one is generated with the corresponding calculated relationship of junior index state according to each higher level's index state State;
The index of every level-one is summarized according to the corresponding index state of every first class index;
The summarized results of every first class index is generated in the form of Excel chart completely using daily paper.
Preferably, the method is applied to application cluster, before acquiring operating parameter further include:
Arbitrarily select a host as primary server in application cluster, other hosts are used as from server;
Described dispose in the primary server and from server automatic daily paper frame master control, the automatic daily paper frame master Control includes the host schedules program being deployed on the primary server and is deployed in described from the slave scheduler program on server.
Preferably, the operating parameter in acquisition software system log, and multiple journeys are generated according to operating parameter standard interface The readable operating parameter file of sequence includes:
From the primary server and the software systems day from server under the control of the slave scheduler program Operating parameter is acquired in will respectively;
The operating parameter is generated into the readable operating parameter file of multiple programs according to operating parameter standard interface;
The operating parameter file is stored on the shared network memory NAS of the application cluster.
Preferably, to the operating parameter in the operating parameter file according to system running state most fine granularity index into Row parsing, and the file that the file after parsing is converted into Excel format is put into Excel daily paper template;It will be Excel days described The data of file carry out statistics calculating by level according to the data relationship in scheduled operating index structure in report template, and generate It completely using daily paper is carried out under the control of the host schedules program.
Preferably, after daily paper is completely applied in generation further include: will under the control of the host schedules program Generation is sent in the mailbox of mail reception people of pre-configuration using daily paper.
Preferably, before acquiring operating parameter further include: by the host schedules program and the slave scheduler program It is added in timed task, and is started in the specific triggered time by the timed task;
The triggered time of the slave scheduler program is before the triggered time of the host schedules program.
A kind of device of the generation using daily paper, is applied to software systems, and described device includes:
Automatic data acquisition module is pressed for the operating parameter in acquisition software system log, and by the operating parameter The readable operating parameter file of multiple programs is generated according to operating parameter standard interface;
Excel daily paper generation module, for the operating parameter in the operating parameter file according to system running state Most fine granularity index parsed, and the file that the file after parsing is converted into Excel format is put into Excel daily paper template In, by the data for being put into file in Excel daily paper template according to the data relationship in scheduled operating index structure by layer Grade carries out statistics calculating, and generates and completely apply daily paper.
Preferably, the Excel daily paper generation module includes:
Analyzing sub-module is joined for the operating parameter in the multiple operating parameter file to be pasted a total operation In number file;According to operating parameter described in the most fine granularity indicator-specific statistics of system running state;Statistical result is referred to according to operation Minimum first class index state is classified and generates the file after parsing in mark structure;
Statistic submodule, for obtaining the corresponding index state of every first class index according to scheduled operating index structure, with And the corresponding calculated relationship of each higher level's index state and junior index state;According to each higher level's index state and junior The correspondence calculated relationship of index state generates the index state of every level-one;According to the corresponding index state of every first class index to each The index of grade is summarized;The summarized results of every first class index is generated in the form of Excel chart completely using daily paper.
Preferably, described device is applied to application cluster, and the application cluster includes primary server and from server, described Primary server is any one host in application cluster, other hosts in application cluster are used as from server;
Described device is run under the control of automatic daily paper frame master control, and the automatic daily paper frame master control includes portion It affixes one's name to the host schedules program on primary server and is deployed in from the slave scheduler program on server;
The host schedules program is for controlling the Excel daily paper generation module, and the slave scheduler program is for controlling Make the automatic data acquisition module.
Preferably, the automatic data acquisition module further include:
Network memory NAS, for storing the operating parameter file under the control of slave scheduler program.
Preferably, described device further include:
E-mail module is sent using daily paper, for applying daily paper for generated under the control of the host schedules program It is sent in the mailbox of mail reception people of pre-configuration.
Preferably, described device further include:
Timing module;It is fixed that the timing module is used to for the host schedules program and the slave scheduler program being added to When task in, and started in the specific triggered time by the timed task;
The triggered time of the slave scheduler program is before the triggered time of the host schedules program.
Compared to the prior art, the invention has the following advantages:
It can be seen from the above the present invention provides a kind of generation methods and device using daily paper.Specifically, acquisition is soft Operating parameter in part system log, and the readable operating parameter file of multiple programs is generated according to operating parameter standard interface; Operating parameter in the operating parameter file is parsed according to the most fine granularity index of software systems operating status, and will File after parsing is converted into Excel format and is put into Excel daily paper template;By the number of file in the Excel daily paper template Statistics calculating is carried out by level according to according to the data relationship in scheduled operating index structure, and generates and completely applies daily paper. Present embodiment acquires every operating parameter from software systems automatically, and forms system after summarizing step by step according to operating index structure System overall operation state simultaneously generates whole using daily paper, acquisition, parsing and the statistics of operating parameter, and the generation of application daily paper It automatically completes, improves the efficiency that software systems are carried out with operation and maintenance.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of application daily paper generation method flow chart provided by the invention;
Fig. 2 is a kind of another method flow diagram of application daily paper generation method provided by the invention;
Fig. 3 is a kind of another method flow diagram of application daily paper generation method provided by the invention;
Fig. 4 is a kind of another method flow diagram of application daily paper generation method provided by the invention;
Fig. 5 is a kind of application daily paper generating means structural schematic diagram provided by the invention;
Fig. 6 is provided by the invention another using daily paper generating means structural schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 be a kind of generation method flow chart using daily paper disclosed by the invention, this method include with Lower step:
Step S101: the operating parameter in acquisition software system log, and by the operating parameter according to operating parameter mark Quasi- interface generates the readable operating parameter file of multiple programs;
Specifically, by one group of data collecting standard program and some software systems personalization capture programs, from software system Acquire operating parameter in the normative document log of system, database journal, the operating parameter include runing time, operating status and The basic datas such as access times.
Operating parameter standard interface is used for the data-interface of standardized operation parameter, supports personalized capture program, generates Operating parameter file format be txt.
Step S102: to the operating parameter in the operating parameter file according to the most fine granularity of software systems operating status Index is parsed, and the file that the file after parsing is converted into Excel format is put into Excel daily paper template;
Wherein the most fine granularity index of software systems operating status is that minimum first class index is corresponding in operating index structure Index state, the index can be counted acquisition by auto-programming directly from operating parameter.
Step S103: by the data for being put into file in Excel daily paper template according in scheduled operating index structure Data relationship carry out statistics calculating by level, and generate and completely apply daily paper.
Specifically, the present invention is without developing other calculating and statistics program, calculating and statistical function energy using Excel It is automatically performed the calculating of data to each level index by the formula customized in Excel daily paper template, ultimately generates and completely answers Use daily paper.
Operating index structure includes the index and the corresponding index state of each level index of several ranks, utilizes fortune Row index structure can be objective and accurate evaluation software system whether normal operation.
The above are a kind of generation methods using daily paper provided by the invention, pass through the embodiment, acquisition software system Operating parameter in log, and the operating parameter is generated into the readable operation of multiple programs according to operating parameter standard interface and is joined Number file;Operating parameter in the operating parameter file is solved according to the most fine granularity index of software systems operating status Analysis, and the file that the file after parsing is converted into Excel format is put into Excel daily paper template;It is put into described Excel days The data of file carry out statistics calculating by level according to the data relationship in scheduled operating index structure in report template, and generate Completely apply daily paper.
Present embodiment acquires every operating parameter from software systems automatically, and is summarized step by step according to operating index structure System overall operation state is formed afterwards and generates the acquisition, parsing and statistics for making operating parameter using daily paper, and applies daily paper Generation all automatically complete, improve to software systems carry out operation and maintenance efficiency.
Referring to Fig. 2, by the operating parameter in the operating parameter file according to the most particulate of software systems operating status Degree index is parsed, and is mainly comprised the steps that
Step S201: the operating parameter in the multiple operating parameter file is pasted into a total operating parameter file In;
Operating parameter in the multiple operating parameter file is pasted in a total operating parameter file and is facilitated Subsequent parsing operation.
Step S202: according to operating parameter described in the most fine granularity indicator-specific statistics of system running state;
Step S203: classified to statistical result according to first class index state minimum in operating index structure and generate solution File after analysis.
Wherein the most fine granularity index of software systems operating status is that minimum first class index is corresponding in operating index structure Index state, the index can be counted acquisition by auto-programming directly from operating parameter.
Referring to Fig. 3, by the data for being put into file in Excel daily paper template according in scheduled operating index structure Data relationship carry out statistics calculating by level, and generate and completely apply daily paper, mainly comprise the steps that
Step S301: the corresponding index state of every first class index and each is obtained according to scheduled operating index structure The corresponding calculated relationship of a higher level's index state and junior index state;
Step S302: every level-one is generated with the corresponding calculated relationship of junior index state according to each higher level's index state Index state;
Step S303: the index of every level-one is summarized according to the corresponding index state of every first class index;
Step S304: the summarized results of every first class index is generated in the form of Excel chart completely using daily paper.
Specifically, such as operating index structure has level Four index, every first class index includes several state indexs, level Four index For most fine granularity index, auto-programming is can be used directly from the normative document log of software system, data in this grade of index Statistics obtains in operating parameter in the log of library, and generates index result according to scheduled index value;Three-level index is according to correspondence Level Four index summarize generation according to certain rule;Two-level index mark summarizes life according to certain rule according to corresponding three-level index At;First class index mark summarizes generation according to certain rule according to corresponding two-level index.The summarized results of every first class index can be with It is generated in the form of Excel chart as needed and completely applies daily paper.
It can be to related operation maintenance personnel one by automatically generating the application daily paper of indexs at different levels according to operating index structure Intuitive accurately operating status is as a result, related operation maintenance personnel can successively trace back to specifically down according to the result of first class index Abnormal index and abnormal cause, with the operation problem and risk of positioning system.
Referring to Fig. 4, Fig. 4 is a kind of another method flow diagram of generation method using daily paper disclosed by the invention, the party Method the following steps are included:
Step S401: arbitrarily selecting a host as primary server in application cluster, other hosts are used as from service Device;
Step S402: the primary server and it is described dispose automatic daily paper frame master control from server, it is described automatic Daily paper frame master control include the host schedules program being deployed on the primary server and be deployed in it is described from server from Machine scheduler program.
Step S403: from the primary server and described soft from server under the control of the slave scheduler program Operating parameter is acquired respectively in part system log;The operating parameter is generated multiple programs according to operating parameter standard interface can The operating parameter file of reading;The operating parameter file is stored on the shared network memory NAS of the application cluster;
Specifically, various software systems and database are run in server in application cluster, in the slave tune It spends under the control of program and acquires operating parameter respectively from the primary server and the software systems log from server, The readable operating parameter file of multiple programs is generated according to operating parameter standard interface;These operation ginsengs from different server Number file is stored on the shared network memory NAS of the application cluster, facilitates the subsequent calling to these files.
Step S404: to the operating parameter in the operating parameter file according to software under the control of host schedules program The most fine granularity index of system running state is parsed, and the file that the file after parsing is converted into Excel format is put into In Excel daily paper template;
Wherein the most fine granularity index of software systems operating status is that minimum first class index is corresponding in operating index structure Index state, the index can be counted acquisition by auto-programming directly from operating parameter.
Step S405: by the data root for being put into file in Excel daily paper template under the control of host schedules program Statistics calculating is carried out by level according to the data relationship in scheduled operating index structure, and generates and completely applies daily paper.
Specifically, the present invention is without developing other calculating and statistics program, calculating and statistical function energy using Excel It is automatically performed the calculating of data to each level index by the formula customized in Excel daily paper template, ultimately generates and completely answers Use daily paper.
Operating index structure includes the index and the corresponding index state of each level index of several ranks, utilizes fortune Row index structure can be objective and accurate evaluation software system whether normal operation.
The host schedules program and slave scheduler program that automatic daily paper frame master control includes, and apply daily paper generation method institute The deployment of the standardization program used is totally independent of application software system, therefore, using use needed for daily paper generation method from The host schedules program and slave scheduler program that dynamic daily paper frame master control includes, and standard used in application daily paper generation method Program will not be excessive occupancy software systems resource, ensured the normal operation of software systems.
Preferably, it generates using after daily paper further include: answered under the control of the host schedules program by generated It is sent in the mailbox of mail reception people of pre-configuration with daily paper.
Specifically, the mailbox of related operation maintenance personnel and manager is configured in advance, in the control of host schedules program It is lower to send the above related personnel using daily paper for generation, the operation and maintenance efficiency to software systems is improved, fortune is reduced The workload of row maintenance, avoid may report as caused by human error be sent to it is inaccurate, not in time the case where.
Preferably, before acquiring operating parameter further include: by the host schedules program and the slave scheduler program It is added in timed task, and is started in the specific triggered time by the timed task;The triggering of the slave scheduler program Time is before the triggered time of the host schedules program.
Specifically, the triggered time of the slave scheduler program before the triggered time of the host schedules program, example Such as, in a kind of possible situation, every morning 7:00, slave scheduler program is started by timed task starts automatic collection operation Parameter, later, 7:30, host schedules program are called behaviour to the operating parameter file of generation by timed task starting in the morning Make.
Start scheduler program by timed task, can be carried out daily in operating condition of the scheduled time to software systems It acquires, count, analyze and ultimately form and be sent to related personnel using daily paper, make the operation and maintenance of software systems that there is standard When property and planned improves the efficiency and quality that software systems are carried out with day-to-day operation maintenance.
Based on a kind of generation method using daily paper disclosed in aforementioned present invention, corresponding disclose of the present invention executes above-mentioned answer With the device of daily paper generation method.As shown in figure 5, the device includes: that automatic data acquisition module 101 and Excel daily paper generate Module 102;
The automatic data acquisition module 101, for the operating parameter in acquisition software system log, and by the operation Parameter generates the readable operating parameter file of multiple programs according to operating parameter standard interface;
Specifically, the automatic data acquisition module 101 passes through one group of data collecting standard program and some software systems Personalized capture program, from being used in acquisition applications daily paper in the normative document log of software system, database journal Index operating parameter used for daily paper generation module according to standard interface output file.The modular program used shell, The technologies such as java, ant are realized.
The Excel daily paper generation module 102, for being transported to the operating parameter in the operating parameter file according to system The most fine granularity index of row state is parsed, and the file that the file after parsing is converted into Excel format is put into Excel days It reports in template, the data for being put into file in Excel daily paper template is closed according to the data in scheduled operating index structure System carries out statistics calculating by level, and generates and completely apply daily paper.
Specifically, the 102 poi.jar packet based on open source of Excel daily paper generation module, is realized using Java technology.
Operating parameter in the 101 acquisition software system log of automatic data acquisition module, and by the operating parameter The readable operating parameter file of multiple programs is generated according to operating parameter standard interface;The Excel daily paper generation module 102 is right Operating parameter in the operating parameter file is parsed according to the most fine granularity index of system running state, and will be after parsing File be converted into the file of Excel format and be put into Excel daily paper template, be put into file in Excel daily paper template for described Data statistics calculating is carried out by level according to the data relationship in scheduled operating index structure, and generate and completely apply day Report.Present embodiment acquires every operating parameter from software systems automatically, and summarizes rear shape step by step according to operating index structure It at system overall operation state and generates using daily paper, from the acquisition, parsing and statistics of operating parameter, and the life of application daily paper At all automatically completing, the efficiency that software systems are carried out with operation and maintenance is improved.
Referring to Fig. 6, Fig. 6 is disclosed by the invention another using daily paper generating means structural schematic diagram;
The automatic data acquisition mould 101 includes:
Network memory NAS105, for storing the operating parameter file under the control of slave scheduler program.
The Excel daily paper generation module 102 includes:
Analyzing sub-module 106, for the operating parameter in the multiple operating parameter file to be pasted a total fortune In row Parameter File;According to operating parameter described in the most fine granularity indicator-specific statistics of system running state;To statistical result according to fortune Minimum first class index state is classified and generates the file after parsing in row index structure;
Statistic submodule 107, for obtaining the corresponding index state of every first class index according to scheduled operating index structure, And the corresponding calculated relationship of each higher level's index state and junior index state;According to each higher level's index state under The correspondence calculated relationship of grade index state generates the index state of every level-one;According to the corresponding index state of every first class index to every The index of level-one is summarized;The summarized results of every first class index is generated in the form of Excel chart completely using daily paper.
Specifically, such as operating index structure has level Four index, every first class index includes several state indexs, level Four index For most fine granularity index, auto-programming is can be used directly from the normative document log of software system, data in this grade of index Statistics obtains in operating parameter in the log of library, and generates index result according to scheduled index value;Three-level index is according to correspondence Level Four index summarize generation according to certain rule;Two-level index mark summarizes life according to certain rule according to corresponding three-level index At;First class index mark summarizes generation according to certain rule according to corresponding two-level index.The summarized results of every first class index can be with It is generated in the form of Excel chart as needed and completely applies daily paper.
It can be to related operation maintenance personnel one by automatically generating the application daily paper of indexs at different levels according to operating index structure Intuitive accurately operating status is as a result, related operation maintenance personnel can successively trace back to specifically down according to the result of first class index Abnormal index and abnormal cause, with the operation problem and risk of positioning system.
Preferably, described device is applied to application cluster, and the application cluster includes primary server and from server, described Primary server is any one host in application cluster, other hosts in application cluster are used as from server;
Described device is run under the control of automatic daily paper frame master control, and the automatic daily paper frame master control includes portion It affixes one's name to the host schedules program on primary server and is deployed in from the slave scheduler program on server;
Specifically, the automatic daily paper frame master control is developed using unix shell.
For controlling the Excel daily paper generation module 102, the slave scheduler program is used for the host schedules program Control the automatic data acquisition module 101.
The host schedules program and slave scheduler program that automatic daily paper frame master control includes, and apply daily paper generation method institute The deployment of the standardization program used is totally independent of application software system, therefore, using use needed for daily paper generation method from The host schedules program and slave scheduler program that dynamic daily paper frame master control includes, and standard used in application daily paper generation method Program will not be excessive occupancy software systems resource, ensured the normal operation of software systems.
Described device further include: e-mail module 103 is sent using daily paper, for will under the control of host schedules program Generation is sent in the mailbox of mail reception people of pre-configuration using daily paper;
It is realized specifically, the application daily paper sends e-mail module 103 using Java technology.
It is described in advance to configure the mailbox of related operation maintenance personnel and manager using daily paper transmission e-mail module 103, The above related personnel is sent using daily paper by generation under the control of host schedules program, improves the fortune to software systems Row maintenance efficiency reduces the workload of operation and maintenance, avoid may be reported as caused by human error be sent to inaccuracy, Not in time the case where.
Described device further include: timing module 104, for the host schedules program and the slave scheduler program to be added Enter into timed task, and is started in the specific triggered time by the timed task;When the triggering of the slave scheduler program Between before the triggered time of the host schedules program.
By timing module 104, the host schedules program and the slave scheduler program are added in timed task, And started in the specific triggered time by the timed task, the operation daily in the scheduled time to software systems may be implemented Situation, which is acquired, counts, analyzes and ultimately forms, is sent to related personnel using daily paper, makes the operation and maintenance work of software systems Make that there is punctuality and planned, improves the efficiency and quality that software systems are carried out with day-to-day operation maintenance.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (13)

1. a kind of generation method using daily paper is applied to software systems, which is characterized in that the described method includes:
Operating parameter in acquisition software system log, and the operating parameter is multiple according to the generation of operating parameter standard interface The readable operating parameter file of program;
Operating parameter in the operating parameter file is parsed according to the most fine granularity index of software systems operating status, And the file that the file after parsing is converted into Excel format is put into Excel daily paper template, wherein most fine granularity index is The corresponding index state of minimum first class index in scheduled operating index structure;
Every corresponding index state of first class index and each higher level's index state are obtained according to scheduled operating index structure With the corresponding calculated relationship of junior index state;
The index state of every level-one is generated with the corresponding calculated relationship of junior index state according to each higher level's index state;
The index of every level-one is summarized according to the corresponding index state of every first class index;
The summarized results of every first class index is generated in the form of Excel chart completely using daily paper.
2. the method according to claim 1, wherein the operating parameter in the operating parameter file is pressed The most fine granularity index of lighting system operating status carries out parsing
Operating parameter in the multiple operating parameter file is pasted in a total operating parameter file;
According to operating parameter described in the most fine granularity indicator-specific statistics of system running state;
After being classified according to first class index state minimum in scheduled operating index structure to statistical result and generate parsing File.
3. the method according to claim 1, wherein the method is applied to application cluster, in acquisition operation ginseng Before number further include:
Arbitrarily select a host as primary server in application cluster, other hosts are used as from server;
Described dispose in the primary server and from server automatic daily paper frame master control, the automatic daily paper frame master control packet It includes the host schedules program being deployed on the primary server and is deployed in described from the slave scheduler program on server.
4. according to the method described in claim 3, it is characterized in that, operating parameter in acquisition software system log, and according to Operating parameter standard interface generates the readable operating parameter file of multiple programs
Under the control of the slave scheduler program from the primary server and the software systems log from server Operating parameter is acquired respectively;
The operating parameter is generated into the readable operating parameter file of multiple programs according to operating parameter standard interface;
The operating parameter file is stored on the shared network memory NAS of the application cluster.
5. according to the method described in claim 3, it is characterized in that, to the operating parameter in the operating parameter file according to being The most fine granularity index of system operating status is parsed, and the file that the file after parsing is converted into Excel format is put into In Excel daily paper template;By the data of file in the Excel daily paper template according to the data in scheduled operating index structure Relationship carries out statistics calculating by level, and generating completely using daily paper is carried out under the control of the host schedules program 's.
6. according to the method described in claim 3, it is characterized in that, after daily paper is completely applied in generation further include: in institute It states and is sent to generated in the mailbox of mail reception people of pre-configuration using daily paper under the control of host schedules program.
7. according to the method described in claim 3, it is characterized in that, before acquiring operating parameter further include: by the host Scheduler program and the slave scheduler program are added in timed task, and are opened in the specific triggered time by the timed task It is dynamic;
The triggered time of the slave scheduler program is before the triggered time of the host schedules program.
8. a kind of device of the generation using daily paper, it is applied to software systems, which is characterized in that described device includes:
Automatic data acquisition module, for the operating parameter in acquisition software system log, and by the operating parameter according to fortune Row parameter and standard interface generates the readable operating parameter file of multiple programs;
Excel daily paper generation module, for the operating parameter in the operating parameter file according to system running state most Fine granularity index is parsed, and the file that the file after parsing is converted into Excel format is put into Excel daily paper template, Every corresponding index state of first class index and each higher level's index state are obtained under according to scheduled operating index structure The correspondence calculated relationship of grade index state;It is raw with the corresponding calculated relationship of junior index state according to each higher level's index state At the index state of every level-one;The index of every level-one is summarized according to the corresponding index state of every first class index;It will be each The summarized results of grade index is generated completely in the form of Excel chart using daily paper, wherein most fine granularity index is scheduled The corresponding index state of minimum first class index in operating index structure.
9. device according to claim 8, which is characterized in that the Excel daily paper generation module includes:
Analyzing sub-module, for the operating parameter in the multiple operating parameter file to be pasted a total operating parameter text In part;According to operating parameter described in the most fine granularity indicator-specific statistics of system running state;To statistical result according to scheduled operation Minimum first class index state is classified and generates the file after parsing in index structure.
10. device according to claim 8, which is characterized in that described device is applied to application cluster, the application cluster Including primary server and from server, the primary server is any one host in application cluster, in application cluster Other hosts are used as from server;
Described device is run under the control of automatic daily paper frame master control, and the automatic daily paper frame master control includes being deployed in It host schedules program on primary server and is deployed in from the slave scheduler program on server;
The host schedules program is for controlling the Excel daily paper generation module, and the slave scheduler program is for controlling institute State automatic data acquisition module.
11. device according to claim 10, which is characterized in that the automatic data acquisition module further include:
Network memory NAS, for storing the operating parameter file under the control of slave scheduler program.
12. device according to claim 10, which is characterized in that described device further include:
E-mail module is sent using daily paper, for sending generated application daily paper under the control of the host schedules program Into the mailbox of the mail reception people of pre-configuration.
13. device according to claim 10, which is characterized in that described device further include:
Timing module;The timing module, which is used to for the host schedules program and the slave scheduler program to be added to timing, appoints In business, and started in the specific triggered time by the timed task;
The triggered time of the slave scheduler program is before the triggered time of the host schedules program.
CN201610461142.7A 2016-06-22 2016-06-22 A kind of generation method and device using daily paper Active CN106126406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610461142.7A CN106126406B (en) 2016-06-22 2016-06-22 A kind of generation method and device using daily paper

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610461142.7A CN106126406B (en) 2016-06-22 2016-06-22 A kind of generation method and device using daily paper

Publications (2)

Publication Number Publication Date
CN106126406A CN106126406A (en) 2016-11-16
CN106126406B true CN106126406B (en) 2019-05-31

Family

ID=57267994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610461142.7A Active CN106126406B (en) 2016-06-22 2016-06-22 A kind of generation method and device using daily paper

Country Status (1)

Country Link
CN (1) CN106126406B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107240011B (en) * 2017-04-19 2021-07-06 中国建设银行股份有限公司 Index configuration processing method and system
CN109963293A (en) * 2017-12-25 2019-07-02 ***通信集团上海有限公司 A kind of performance indicator optimization method and device
CN109151079A (en) * 2018-10-31 2019-01-04 珠海迈科智能科技股份有限公司 Trans-regional server resource method for implanting, access method and Transmission system
CN111338900A (en) * 2020-02-26 2020-06-26 北京跃盟科技有限公司 Method and device for monitoring running state of software system
CN112463534B (en) * 2020-11-26 2022-11-11 歌尔科技有限公司 Daily newspaper generating method, device, equipment and medium
CN112990861A (en) * 2021-03-09 2021-06-18 陕西金合信息科技股份有限公司 Daily newspaper step-by-step summarizing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694649A (en) * 2009-08-28 2010-04-14 曙光信息产业(北京)有限公司 Report generating system and method of cluster monitoring
TW201232252A (en) * 2011-01-17 2012-08-01 Hon Hai Prec Ind Co Ltd System and method for generating the test report
CN105512790A (en) * 2015-08-14 2016-04-20 上海合胜计算机科技股份有限公司 Integrated operation and maintenance management system
CN105528275A (en) * 2015-12-04 2016-04-27 广东电网有限责任公司信息中心 Database safety inspection method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9276803B2 (en) * 2014-04-02 2016-03-01 Ca, Inc. Role based translation of data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694649A (en) * 2009-08-28 2010-04-14 曙光信息产业(北京)有限公司 Report generating system and method of cluster monitoring
TW201232252A (en) * 2011-01-17 2012-08-01 Hon Hai Prec Ind Co Ltd System and method for generating the test report
CN105512790A (en) * 2015-08-14 2016-04-20 上海合胜计算机科技股份有限公司 Integrated operation and maintenance management system
CN105528275A (en) * 2015-12-04 2016-04-27 广东电网有限责任公司信息中心 Database safety inspection method

Also Published As

Publication number Publication date
CN106126406A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106126406B (en) A kind of generation method and device using daily paper
CN110245078A (en) A kind of method for testing pressure of software, device, storage medium and server
US7111282B2 (en) Instrumenting a software program and collecting data from the instrumented software program by type
CN110166290A (en) Alarm method and device based on journal file
CN105159964B (en) A kind of log monitoring method and system
CN102571403B (en) The implementation method of general data quality control adapter and device
US20020143920A1 (en) Service monitoring and reporting system
CN111917887A (en) System for realizing data governance under big data environment
DE112020004623T5 (en) ML-BASED EVENT HANDLING
CN103546343B (en) The network traffics methods of exhibiting of network traffic analysis system and system
CN101933003A (en) Automated application dependency mapping
CN108874524A (en) Big data distributed task dispatching system
CN104092755A (en) Capturing method and device for cloud service origin data
CN110046073A (en) A kind of log collection method and device, equipment, storage medium
CN105227405A (en) Method for supervising and system
CN109460307A (en) Micro services a little, which are buried, based on log calls tracking and its system
CN109753596A (en) Information source management and configuration method and system for the acquisition of large scale network data
CN107506194A (en) Application version, which retracts, determines method and device
CN108241529A (en) Wages computational methods, application server and computer readable storage medium
CN102404760B (en) Method and device for real-time measurement of system performance
CN114302103A (en) Intelligent monitoring operation and maintenance system
US20140040913A1 (en) Job plan verification
CN112965981B (en) Data checking method, device, computer equipment and storage medium
CN109819019A (en) Monitoring and statistical analysis technique and system for the acquisition of large scale network data
US20150073878A1 (en) Device to perform service contract analysis

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