CN109800254A - A kind of service feature inspection report form generation method, system and device - Google Patents

A kind of service feature inspection report form generation method, system and device Download PDF

Info

Publication number
CN109800254A
CN109800254A CN201811618309.1A CN201811618309A CN109800254A CN 109800254 A CN109800254 A CN 109800254A CN 201811618309 A CN201811618309 A CN 201811618309A CN 109800254 A CN109800254 A CN 109800254A
Authority
CN
China
Prior art keywords
mail
business datum
service feature
inspection report
feature inspection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811618309.1A
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.)
EPAYLINKS TECHNOLOGY Co Ltd
Original Assignee
EPAYLINKS 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 EPAYLINKS TECHNOLOGY Co Ltd filed Critical EPAYLINKS TECHNOLOGY Co Ltd
Priority to CN201811618309.1A priority Critical patent/CN109800254A/en
Publication of CN109800254A publication Critical patent/CN109800254A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of service feature inspection report form generation method, system and device, this method comprises: configuration service demand database and defining the calling script for obtaining business datum parameter;By calling script, business datum parameter is obtained from business demand database;Pictorial statement is generated according to resulting business datum parameter.The system includes: data module, obtains module and chart production module.The device includes memory and the processor for executing above-mentioned service feature inspection report form generation method.By using the present invention, company can be reduced for the cost of monitoring production environment and business datum.The present invention can be widely applied to company in the monitoring field of production environment and business datum as a kind of service feature inspection report form generation method, system and device.

Description

A kind of service feature inspection report form generation method, system and device
Technical field
The present invention relates to real time monitoring analysis more particularly to a kind of service feature inspection report form generation method, system and dresses It sets.
Background technique
It as corporate business form is constantly expanded, needs to monitor in real time corporate business situation, and carries out being parsed into function, failure Situation, operation maintenance personnel need periodically to go to carry out daily production host system behavior pattern inspection production report, lead to company in this way Increase operation maintenance personnel manual inspection operation human cost.
The performance indicator of company's production environment and the statistics of business datum are obtained in time, and industry is generally by the big number of purchase According to some customization services, software or the equipment of business diagnosis monitoring manufacturer, there are also large manufacturers can independent research correlation Software, but the operation maintenance personnel for not having independent research and development capacity and there is no enough budgets purchase service small business Or venture company, it is difficult to realize the above business diagnosis monitoring scheme.
Zabbix is the enterprise-level of the monitoring of offer distributed system and network monitoring function based on web interface Open source solution, but to realize complex environment, profound monitoring, need to carry out a large amount of secondary customized development, difficulty It is larger.
Summary of the invention
In order to solve the above-mentioned technical problem, the object of the present invention is to provide a kind of service feature inspection report form generation method, System and device can reduce company for the cost of monitoring production environment and business datum.
First technical solution of the present invention is: a kind of service feature inspection report form generation method, including following step It is rapid:
Configuration service demand database and define the calling script for obtaining business datum parameter;
By calling script, business datum parameter is obtained from business demand database;
Pictorial statement is generated according to resulting business datum parameter.
Second technical solution of the present invention is: a kind of service feature inspection report generating system, comprising:
Data module for configuration service demand database and defines the calling script for obtaining business datum parameter;
Module is obtained, for obtaining business datum parameter from business demand database;
Chart production module, for generating pictorial statement according to resulting business datum parameter.
Third technical solution of the present invention is: a kind of service feature inspection report generation device, comprising:
At least one processor;
At least one processor, for storing at least one program.
When at least one described program is executed by least one described processor, so that at least one described processor is realized A kind of automobile method for upgrading software.
The beneficial effect of the method for the present invention, system and device is: by calling script to obtain the industry of business demand database Business data parameters notify related management personnel after generating report, find the problem from report that analysis is when predecessor company's production environment Performance and service conditions accomplish the monitoring for core business trading situation, reduce company for monitoring production environment and business The cost of data.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of service feature inspection report form generation method of the present invention;
Fig. 2 is a kind of structural block diagram of service feature inspection report generating system of the present invention.
Specific embodiment
The present invention is described in further detail in the following with reference to the drawings and specific embodiments.In for the examples below Number of steps is arranged only for the purposes of illustrating explanation, does not do any restriction to the sequence between step, each in embodiment The execution sequence of step can be adaptively adjusted according to the understanding of those skilled in the art.
As shown in Figure 1, this method includes following step the present invention provides a kind of service feature inspection report form generation method It is rapid:
S101, configuration service demand database and define the calling script for obtaining business datum parameter;
Specifically, business demand database has been configured according to business demand, installation is capable of calling the client of database data Sqlplus defines a shell for obtaining business datum parameter and calls script, and the sqlplus is a kind of client work Tool, is a kind of tool of user accesses data.
S102, pass through and call script, business datum parameter is obtained from business demand database;
Specifically, it calls sqlplus to obtain data bank service situation with shell script, script is added to zabbix visitor Family end is timed calling and obtains.
S103, chart is generated according to resulting business datum parameter;
Specifically, corresponding get parms is formed into a traffic reports figure, by calling script to obtain traffic reports figure, Monitoring interface report time and figure coordinate are obtained, in conjunction with generation chart.
It is further used as the preferred embodiment of this method, it is described that chart S103 is generated according to resulting business datum parameter, It is specifically included:
S1031, traffic reports figure is made in business datum parameter;
Specifically, corresponding get parms to be formed a traffic reports figure by configuration zabbix server-side.
S1032, cookie is downloaded by calling script to local, acquisition traffic reports figure;
Specifically, a cookie processor is arranged in python, is responsible for downloading cookie from server to local, definition The api interface function of zabbix, enables python script to obtain figure.
S1033, monitoring interface report time and figure coordinate are obtained, in conjunction with traffic reports figure, generates pictorial statement;
Specifically, it is defined using python and obtains monitoring interface report time and figure chart2.php coordinate, in conjunction with stream It measures report figure and generates pictorial statement.
It is further used as the preferred embodiment of this method, it is described to generate this step of pictorial statement according to resulting data parameters Following steps are additionally provided with after rapid S103:
S104, pictorial statement is sent with mail he;
Specifically, it defines email template type and request server is obtained pictorial statement and sent with mail he.
S105, it calls mail to send function, sends mail to administrative staff;
It is further used as the preferred embodiment of this method, the calling mail sends function, sends mail to administrative staff The step for S105 after be additionally provided with following steps:
S106, it is repeated daily by system timer;
Specifically, repeat the program 24 hours in turn by Linux Cron timed task.
It is further used as the preferred embodiment of this method, described the step for sending pictorial statement with mail he S104 is specifically included:
S1041, pictorial statement is obtained, sets the pattern of mail html;
Specifically, request server obtains pictorial statement, adds the checklist pattern of mail html.
S1042, it is inserted into pictorial statement in mail html, is sent with mail he;
Specifically, pictorial statement, Mail Contents html rendering are inserted into mail html.
Be further used as the preferred embodiment of this method, the acquisition pictorial statement, set mail html pattern this Step specifically includes:
S10421, request server obtain pictorial statement;
S10422, the http request data packet for sending mail transmission interface, add the html pattern of mail;
Specifically, the http request data packet of mail transmission interface is sent, sendmail email template type is defined, adds The checklist pattern of mail html.
S10423, function is sent using python construction mail.
As shown in Fig. 2, a kind of service feature inspection report generating system, comprising:
1. data module for configuration service demand database and defines the calling foot for obtaining business datum parameter This;
Specifically, the data module is specially host data base and calls script, is mainly used for configuration service demand number Script is called for obtaining business datum parameter according to library and definition.
2. module is obtained, for obtaining business datum parameter from business demand database;
Specifically, the acquisition module is specially Zabbix client, is mainly used for calling acquisition business datum script, from Business datum parameter is obtained in business demand database.
3. chart production module, for generating pictorial statement according to resulting business datum parameter;
Specifically, the chart production module is specially Zabbix server-side, is mainly used for according to resulting business datum Parameter generates pictorial statement.
Preferably, a kind of service feature inspection report generating system, further includes:
4. sending module, for sending mail notification administrative staff;
Specifically, the sending module is specially that mail sends function, is mainly used for sending mail notification administrative staff.
5. timing module, for repeating the process;
Specifically, the timing module is specially Linux Cron timed task, is mainly used for repeating the process.
Preferably, a kind of service feature inspection report generating system, further includes:
1. memory module, for storing generated database and script;
Specifically, the memory module is specially file storage module, is mainly used for storing generated database and foot This saves the time, memory module is connected with data module convenient for reusing.
It is obtained by above-mentioned, advantage for present invention includes:
1, it compared with operation maintenance personnel needs periodically to go to carry out daily production host system behavior pattern inspection production report, adopts The human cost of operation maintenance personnel manual inspection can be largely reduced with the program.
2, the customization service compared to industry purchase big data analysis monitoring manufacturer or independent research related software, this programme Seem more simple and convenient.
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to the implementation above Example, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.

Claims (10)

1. a kind of service feature inspection report form generation method, it is characterised in that: the following steps are included:
Configuration service demand database and define the calling script for obtaining business datum parameter;
By calling script, business datum parameter is obtained from business demand database;
Pictorial statement is generated according to resulting business datum parameter.
2. a kind of service feature inspection report form generation method according to claim 1, it is characterised in that: described according to gained Business datum parameter generate pictorial statement the step for, specifically include:
Traffic reports figure is made in business datum parameter;
By calling script to download cookie to local, acquisition traffic reports figure;
Monitoring interface report time and figure coordinate are obtained, in conjunction with traffic reports figure, generates pictorial statement.
3. a kind of service feature inspection report form generation method according to claim 1, it is characterised in that: further include have it is following Step:
Pictorial statement is sent with mail he;
It calls mail to send function, sends mail to administrative staff.
4. a kind of service feature inspection report form generation method according to claim 1 or 3, it is characterised in that: further include having Following steps:
It is repeated daily by system timer.
5. a kind of service feature inspection report form generation method according to claim 3, it is characterised in that: described by figure report The step for table is sent with mail he specifically includes:
Pictorial statement is obtained, the pattern of mail html is set;
It is inserted into pictorial statement in mail html, is sent with mail he.
6. a kind of service feature inspection report form generation method according to claim 5, it is characterised in that: the acquisition figure It is the step for report, the pattern of setting mail html, specific further include:
Request server obtains pictorial statement;
The http request data packet for sending mail transmission interface, adds the html pattern of mail;
It constructs mail and sends function.
7. a kind of service feature inspection report generating system, it is characterised in that: include:
Data module for configuration service demand database and defines the calling script for obtaining business datum parameter;
Module is obtained, for obtaining business datum parameter from business demand database;
Chart production module, for generating pictorial statement according to resulting business datum parameter.
8. a kind of service feature inspection report generating system according to claim 7, it is characterised in that: include:
Sending module, for sending mail notification administrative staff;
Timing module, for repeating the process.
9. a kind of service feature inspection report generating system according to claim 7, it is characterised in that: further include:
Memory module, for storing generated database and script;
The memory module is connect with data module.
10. a kind of service feature inspection report generation device, it is characterised in that: include:
At least one processor;
At least one processor, for storing at least one program;
When at least one described program is executed by least one described processor, so that at least one described processor is realized as weighed Benefit requires a kind of any one of 1-6 automobile method for upgrading software.
CN201811618309.1A 2018-12-28 2018-12-28 A kind of service feature inspection report form generation method, system and device Pending CN109800254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811618309.1A CN109800254A (en) 2018-12-28 2018-12-28 A kind of service feature inspection report form generation method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811618309.1A CN109800254A (en) 2018-12-28 2018-12-28 A kind of service feature inspection report form generation method, system and device

Publications (1)

Publication Number Publication Date
CN109800254A true CN109800254A (en) 2019-05-24

Family

ID=66557831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811618309.1A Pending CN109800254A (en) 2018-12-28 2018-12-28 A kind of service feature inspection report form generation method, system and device

Country Status (1)

Country Link
CN (1) CN109800254A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021218178A1 (en) * 2020-04-28 2021-11-04 平安科技(深圳)有限公司 Automatic report generation method, device, computer apparatus, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808093A (en) * 2010-03-15 2010-08-18 北京安天电子设备有限公司 System and method for automatically detecting WEB security
CN102624570A (en) * 2012-04-27 2012-08-01 杭州东信北邮信息技术有限公司 Monitoring system and method for detecting availability of web server
US20160142437A1 (en) * 2014-11-17 2016-05-19 Samsung Electronics Co., Ltd. Method and system for preventing injection-type attacks in a web based operating system
CN108241565A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 A kind of system and method for being used to implement application system automation O&M
CN108363653A (en) * 2018-02-07 2018-08-03 平安科技(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of monitoring system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808093A (en) * 2010-03-15 2010-08-18 北京安天电子设备有限公司 System and method for automatically detecting WEB security
CN102624570A (en) * 2012-04-27 2012-08-01 杭州东信北邮信息技术有限公司 Monitoring system and method for detecting availability of web server
US20160142437A1 (en) * 2014-11-17 2016-05-19 Samsung Electronics Co., Ltd. Method and system for preventing injection-type attacks in a web based operating system
CN108241565A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 A kind of system and method for being used to implement application system automation O&M
CN108363653A (en) * 2018-02-07 2018-08-03 平安科技(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of monitoring system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DL528888: "zabbix企业应用之定时获取监控数据做报表", 《HTTPS://BLOG.51CTO.COM/DL528888/1877246》 *
KUMIKODA: "利用Zabbix通过邮件发送screen图形报表实现", 《HTTPS://BLOG.51CTO.COM/1238306/172558》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021218178A1 (en) * 2020-04-28 2021-11-04 平安科技(深圳)有限公司 Automatic report generation method, device, computer apparatus, and storage medium

Similar Documents

Publication Publication Date Title
CN109889551B (en) Method for accessing intelligent hardware to Internet of things cloud platform
CN112559133A (en) Cloud-edge coordination system and cloud-edge coordination method based on native container technology
CN110430219B (en) Method and system for self-adapting of multi-protocol Internet of things equipment
CN109075991A (en) Cloud verifying and test automation
CN111338814A (en) Message processing method and device, storage medium and electronic device
CN106533803B (en) CPE configuration method and device based on TR069 agreement
CN107819657B (en) Method for dynamically analyzing Modbus protocol based on centralized control, Internet of things gateway equipment and system
CN107179977B (en) Database Full-automatic monitoring system based on mpm models
CN111786939B (en) Method, device and system for testing management platform of Internet of things
CN112804280A (en) Electric power Internet of things system and data processing method thereof
CN111178837B (en) Intelligent manufacturing information system based on micro-service architecture
CN110515855B (en) Simulation control method, server and system for application program
CN109885496A (en) Test log management method and system
CN106657099B (en) Spark data analysis service publishing system
CN105183299A (en) Human-computer interface service processing system and method
CN110543368A (en) Distributed service health examination method and system
CN112039983B (en) Method and system for realizing connection middleware of Internet of things equipment
CN112306887A (en) Program test distribution method and corresponding device, equipment and medium
CN111818131A (en) Message pushing and scheduling system and method
CN103605610A (en) System and method for software testing based on Hadoop
CN109800254A (en) A kind of service feature inspection report form generation method, system and device
CN111949536B (en) JAVA application program testing method and system based on byte code technology
CN111654411A (en) Inspection method and related device
CN111008143B (en) Coverage rate scheduling test method, terminal equipment and computer readable storage medium
CN104537496A (en) Intelligent terminal device use state statistics and analysis method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190524

RJ01 Rejection of invention patent application after publication