CN110659190A - Quality report generation method, quality report generation device, quality report generation equipment and computer readable storage medium - Google Patents
Quality report generation method, quality report generation device, quality report generation equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN110659190A CN110659190A CN201910763120.XA CN201910763120A CN110659190A CN 110659190 A CN110659190 A CN 110659190A CN 201910763120 A CN201910763120 A CN 201910763120A CN 110659190 A CN110659190 A CN 110659190A
- Authority
- CN
- China
- Prior art keywords
- website system
- quality report
- target website
- service
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000009193 crawling Effects 0.000 claims abstract description 23
- 238000004590 computer program Methods 0.000 claims description 26
- 230000004044 response Effects 0.000 claims description 15
- 238000012163 sequencing technique Methods 0.000 claims description 8
- 230000003442 weekly effect Effects 0.000 claims description 6
- 238000009877 rendering Methods 0.000 claims description 5
- 238000012360 testing method Methods 0.000 claims description 5
- 230000002354 daily effect Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 241000282326 Felis catus Species 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000003203 everyday effect Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3452—Performance evaluation by statistical analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Probability & Statistics with Applications (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a quality report generation method, a quality report generation device, quality report generation equipment and a computer readable storage medium, wherein the method comprises the following steps: periodically crawling data statistical information recorded in a target website system from the target website system, and storing the crawled data statistical information in a preset database; when the report generation time point of the quality report generation period is reached, reading the data statistical information in the quality report generation period from the preset database, generating the quality report of the target website system according to the read data statistical information, and automatically generating the quality report of the website system at regular intervals to send the quality report at regular intervals.
Description
Technical Field
The present invention relates to the field of software management technologies, and in particular, to a quality report generation method, apparatus, device, and computer-readable storage medium.
Background
Currently, there are many systems or methods for automatically obtaining/generating quality in the industry, and the types are relatively complicated. However, in these prior art solutions, all data can only be directly viewed from the website system for a single or single day, and no quality data is stored, and no intuitive report can be generated and sent.
Disclosure of Invention
The invention provides a quality report generation method, a quality report generation device, quality report generation equipment and a computer readable storage medium, and aims to solve the problems that manual statistics and calculation are required to be carried out on a website system for quality reports of the website system, a large amount of manpower and time are consumed, and the accuracy of the quality reports is low.
In order to achieve the above object, an embodiment of the present invention provides a quality report generation method, including:
periodically crawling data statistical information recorded in a target website system from the target website system, and storing the crawled data statistical information in a preset database;
and when the report generation time point of the quality report generation period is reached, reading the data statistical information in the quality report generation period from the preset database, and generating the quality report of the target website system according to the read data statistical information.
The target website system comprises a website system for counting the time consumption situation of an application programming interface;
the steps of crawling the data statistical information recorded in the target website system from the target website system periodically and storing the crawled data statistical information in a preset database comprise:
periodically crawling all called service names from a website system for counting the time consumption of an application programming interface;
traversing all the service names according to pre-stored white list service names, and removing the white list service names in all the service names;
and inquiring interface data corresponding to other service names from a website system for counting the time consumption situation of the application programming interface aiming at other service names except the white list service name in all the service names, and storing the interface data as data statistical information recorded in a target website system in a preset database.
Wherein the interface data comprises the called times and 95 values of the interface;
the step of generating the quality report of the target website system according to the read data statistical information comprises the following steps:
calculating the called times and the average response time of the same interface according to the read called times and 95 values of the interface;
judging whether the average response time of each read interface reaches a preset interface response time standard or not to obtain the standard reaching result of the interface, and determining the information of a responsible person of the service corresponding to the interface from the preset database;
counting the standard reaching result of the interface corresponding to each responsible person information to obtain a statistical result;
sequencing the read interfaces according to the sequence of the called times from high to low, and taking the interfaces with the preset number as target interfaces;
and respectively assembling the statistical result and the name of the target interface into a hypertext markup language, and using the hypertext markup language as a quality report of the target website system.
After the step of generating the quality report of the target website system according to the read data statistical information, the method further comprises the following steps:
and sending the quality report of the target website system to a specified terminal.
The target website system comprises a website system for counting the flash back rate of the application program;
the step of periodically crawling the data statistics recorded in the target website system from the target website system comprises the following steps:
and periodically simulating to log in a website system for counting the flash back rate of the application program, and reading the flash back rate of the application program of various types of terminal equipment.
Wherein the method further comprises:
reading a service list from the preset database, and determining the information of a responsible person of each service in the service list from the preset database;
inquiring the log quantity of each service in the service list from a website system for counting the daily log quantity;
sequencing the services in the service list according to the sequence of the log quantity from high to low, and taking the services with the preset quantity as target services;
counting the number of error logs of each target service, and assembling the total number of the logs of the target service, the number of the error logs and the information of a responsible person into a hypertext markup language;
and sending the hypertext markup language as a quality report of the target website system to a specified terminal.
The target website system comprises a website system for counting online problems, a website system for counting page rendering time, a website system for counting test quality and a website system for counting weekly releases;
after the step of periodically crawling the target website system for the data statistics recorded within the target website system, the method further comprises:
assembling the crawled data statistical information according to a preset data assembling rule;
and assembling the assembled data statistical information into a hypertext markup language, and sending the hypertext markup language to a specified terminal as a quality report of the target website system.
An embodiment of the present invention further provides a quality report generation apparatus, including:
the crawling module is used for periodically crawling the data statistical information recorded in the target website system from the target website system and storing the crawled data statistical information in a preset database;
and the generation module is used for reading the data statistical information in the quality report generation period from the database when the report generation time point of the quality report generation period is reached, and generating the quality report of the target website system according to the read data statistical information.
Embodiments of the present invention also provide a quality report generating device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the quality report generating method described above when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the quality report generation method described above.
The scheme of the invention has at least the following beneficial effects:
in the embodiment of the invention, the data statistical information recorded in the target website system is periodically crawled from the target website system, the crawled data statistical information is stored in the preset database, when the report generation time point of the quality report generation period arrives, the data statistical information in the quality report generation period is read from the database, and the quality report of the target website system is generated according to the read data statistical information, namely, when the quality report of the target website system needs to be generated, manual statistics and calculation are not needed from the target website system, the quality report of the target website system can be automatically generated by reading the data statistical information in the current quality report generation period from the preset database, so as to realize the regular and automatic transmission of the quality report, wherein, because the quality report generation process does not need manual intervention, therefore, the labor cost can be saved, and the generation speed and accuracy of the quality report can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of a quality report generation method in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a quality report generation apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a quality report generation apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
As shown in fig. 1, an embodiment of the present invention provides a quality report generation method, including:
and step 11, periodically crawling the data statistical information recorded in the target website system from the target website system, and storing the crawled data statistical information in a preset database.
In the embodiment of the present invention, the target website system may be a website system for counting time consumption of an application programming interface of java (i.e., cat), a website system for counting time consumption of an application programming interface of php (i.e., dashboard), a website system for counting a flash back rate of an application (i.e., bugly), a website system for counting daily log amount (i.e., kibana), a website system for counting online problems (including bugs and cases) (i.e., Tapd), a website system for counting time consumption of rendering of pages (including pc pages and H5 pages) (i.e., OneApm), a website system for counting test quality (i.e., quality management platform), and a website system for counting weekly releases (i.e., boss system). It should be noted that the data statistics recorded in different target website systems are different. In addition, the preset database may be a local database of a device that performs the quality report generation method.
And step 12, when the report generation time point of the quality report generation period is reached, reading the data statistical information in the quality report generation period from the preset database, and generating the quality report of the target website system according to the read data statistical information.
In the embodiment of the present invention, both the quality report generation period and the report generation time point may be set according to actual needs. If the quality report generation period is set as one week and the report generation time point is set as friday, when friday of one week arrives, reading the data statistical information in the week from the preset database, and generating the quality report of the target website system according to the read data statistical information.
And in an embodiment of the present invention, after the step 12, the method further includes the following steps: and sending the quality report of the target website system to a specified terminal. Specifically, the user group mail can be sent to a mailbox of a specific user group through a mail.
It should be noted that, in the embodiment of the present invention, when the quality report of the target website system needs to be generated, manual statistics and calculation are not required from the target website system, and the quality report of the target website system can be automatically generated by reading the data statistics information in the current quality report generation period from the preset database, so as to implement automatic sending of the quality report at regular intervals, wherein manual intervention is not required in the quality report generation process, so that the labor cost can be saved, and the generation speed and accuracy of the quality report can be improved.
Next, the generation process of the quality report is described for different target website systems.
In an embodiment of the present invention, when the target website system includes a website system (e.g., cat or dashboard) for counting time-consuming situations of an application programming interface (e.g., java application programming interface or php application programming interface), the step 11 may be implemented by periodically crawling the data statistics information recorded in the target website system from the target website system, and storing the crawled data statistics information in a preset database, including the following steps:
in the first step, all the called service names are crawled from a website system for counting the time-consuming situations of the application programming interface periodically. The periodicity may be daily (e.g., crawl every day all service names for the day or day before), or weekly (e.g., crawl every friday all service names from friday to thursday).
And step two, traversing all the service names according to the pre-stored white list service names, and removing the white list service names in all the service names. In the embodiment of the invention, the white list service is a type of service or interface which is not maintained temporarily or causes long interface delay by calling a third-party interface, and the interfaces in the type are not used as interface time consumption statistics, so that the interfaces are added into the white list. Specifically, the white list service names in all the service names can be determined by comparing the pre-stored white list service names with all the service names, and then the white list service names in all the service names are removed.
And thirdly, inquiring interface data corresponding to other service names from the website system for counting the time consumption situation of the application programming interface aiming at other service names except the white list service name in all the service names, and storing the interface data serving as data statistical information recorded in a target website system in a preset database.
The interface data includes the called times and 95 values of the interface (i.e. the response time of which 95% of times does not exceed). Correspondingly, the specific implementation manner of generating the quality report of the target website system according to the read data statistical information in the step 12 includes the following steps:
step one, calculating the called times and the average response time of the same interface according to the read called times and 95 values of the interface.
And step two, judging whether the average response time of each read interface reaches a preset interface response time standard or not to obtain the standard reaching result of the interface, and determining the information of a responsible person of the service corresponding to the interface from the preset database. The interface response time standard can be set according to actual needs, such as less than 50ms, 100ms or 200 ms; and the standard reaching result of the interface is standard reaching or not standard reaching.
And step three, counting the standard reaching result of the interface corresponding to each responsible person information to obtain a statistical result. The statistical result comprises the total number of interfaces corresponding to each responsible person, the unqualified standard number and the unqualified standard ratio.
And step four, sequencing the read interfaces according to the sequence of the called times from high to low, and taking the interfaces with the preset number as target interfaces. The preset number can be set according to actual needs, for example, to 10.
And fifthly, respectively assembling the statistical result and the name of the target interface into a hypertext markup language, and using the hypertext markup language as a quality report of the target website system.
In an embodiment of the present invention, a hypertext markup language (HTML) file assembled from the statistics may be a table as shown in table 1. It will be appreciated that, for ease of review, the non-compliance percentage of each person in charge of the previous quality report generation period (e.g., the previous week) may be added to the statistics, and of course, the total count (e.g., the total number of non-compliance indicia) or the average (e.g., the average of the non-compliance percentage) for each column may be added.
TABLE 1
It should be noted that the time consumption statistics of the application programming interface (api) is completed through the first step to the fifth step, and a quality report is generated, so that the development of an optimized api interface can be promoted, the response data of each service is improved, and the user experience is optimized.
In an embodiment of the present invention, when the target website system includes a website system (e.g., bugly) for counting a flash back rate of an application program, in step 11, a specific implementation manner for periodically crawling the data statistics information recorded in the target website system from the target website system is as follows: and periodically simulating to log in a website system for counting the flash back rate of the application program, and reading the flash back rate of the application program of various types of terminal equipment.
The bugly can be a bugly system of Tencent, and the multiple types include an ios owner, an ios merchant, an ios office system (iosOA), an android owner, an android merchant, an android office system (OA) and the like. In addition, the periodicity can be 23 o' clock 30 minutes per night, so that the latest flash back rate (crash) condition can be effectively found, and the condition can be timely found and processed when the crash is too high.
In an embodiment of the present invention, when the target website system includes a website system (i.e. kibana) for counting daily log amount, the quality report generating method further includes the following steps of implementing daily log monitoring:
step one, reading a service list from the preset database, and determining the information of a responsible person of each service in the service list from the preset database.
And step two, inquiring the log quantity of each service in the service list from a website system for counting daily log quantity. Because daily log quantity is recorded in kibana, in order to realize daily log monitoring, the process from the step one to the step five can be executed periodically, for example, the log quantity of each service on the previous day is inquired every day, and the steps from the step three to the step five are executed in sequence to realize daily log monitoring, so that development is promoted, invalid log printing is reduced, the situation that an online disk is exploded is reduced, an error (error) log effectively reflects the online service operation situation on the previous day, and the error log is processed in time when the error log is too much.
And step three, sequencing the services in the service list according to the sequence of the log quantity from high to low, and taking the services with the preset quantity as target services. Wherein, the preset number can be set according to actual needs, such as 20.
And fourthly, counting the number of error logs of the target service aiming at each target service, and assembling the total number of the logs of the target service, the number of the error logs and the information of the responsible person into the hypertext markup language.
And step five, the hypertext markup language is used as a quality report of the target website system and is sent to a specified terminal. Specifically, the user group mail can be sent to a mailbox of a specific user group through a mail.
In an embodiment of the present invention, when the target website system includes a website system for counting online problems (i.e. Tapd), a website system for counting page rendering time (i.e. OneApm), a website system for counting test quality (i.e. quality management platform), and a website system for counting weekly releases (i.e. boss system), after the step 11 is performed, the method periodically crawls data statistics information recorded in the target website system from the target website system, and further includes the following steps: assembling the crawled data statistical information according to a preset data assembling rule; and assembling the assembled data statistical information into a hypertext markup language, and sending the hypertext markup language to a specified terminal (specifically to a specific user group mailbox through a mail) as a quality report of the target website system.
It should be noted that, for different target website systems, the preset data assembly rules are different. Specifically, when the target website system is Tapd, a large service group is assembled according to the mapping relation in the configuration file corresponding to the group field in the Tapd, data are combined, and finally, html for displaying the details of the on-line problem of each service group is assembled; when the target website system is a quality management platform, data are reassembled according to the service group; when the target website system is OneApm, reading specific data, configuring a part of data according to a configuration file, and then forming html; when the target website system is a boss system, the html of the service name-service responsible person-publishing condition is reassembled according to the state of the returned data and the service name and the mapping relation between the service and the responsible person in the local database.
It should be noted that, when the target network system includes the above-mentioned multiple network systems, the data statistics information of each network system can be obtained according to the crawling manner of the data statistics information of each network system, and the html corresponding to each network system is generated according to the processing manner of the data statistics information of each network system, and is sent to the mailbox of the specific user group by the mail, so as to automatically generate and send the quality report. Of course, it can be understood that html corresponding to each network system can be finally and uniformly typeset and then sent, and can also be sent separately.
As shown in fig. 2, the embodiment of the present invention further provides a quality report generation apparatus, which includes a crawling module 21 and a generation module 22.
The crawling module 21 is configured to crawl data statistics information recorded in a target website system periodically from the target website system, and store the crawled data statistics information in a preset database.
And the generating module 22 is configured to, when a report generation time point of a quality report generation period arrives, read data statistics information in the quality report generation period from the database, and generate a quality report of the target website system according to the read data statistics information.
In the embodiment of the present invention, the quality report generation device 20 is a device corresponding to the quality report generation method, and can automatically generate the quality report of the target website system, so as to periodically and automatically send the quality report, save the labor cost, and improve the generation speed and accuracy of the quality report.
It should be noted that the quality report generating apparatus 20 includes all modules or units for implementing the quality report generating method, and in order to avoid too many repetitions, the modules or units of the quality report generating apparatus 20 are not described herein again.
As shown in fig. 3, the embodiment of the present invention further provides a quality report generating device, which includes a memory 31, a processor 32, and a computer program 33 stored in the memory 31 and operable on the processor 32, wherein the processor 32 implements the steps of the quality report generating method described above when executing the computer program 33.
Specifically, the processor 32 implements the following steps when executing the computer program 33: periodically crawling data statistical information recorded in a target website system from the target website system, and storing the crawled data statistical information in a preset database; and when the report generation time point of the quality report generation period is reached, reading the data statistical information in the quality report generation period from the preset database, and generating the quality report of the target website system according to the read data statistical information.
Optionally, the target website system includes a website system for counting time consumption of an application programming interface; the processor 32, when executing the computer program 33, further performs the steps of: periodically crawling all called service names from a website system for counting the time consumption of an application programming interface; traversing all the service names according to pre-stored white list service names, and removing the white list service names in all the service names; and inquiring interface data corresponding to other service names from a website system for counting the time consumption situation of the application programming interface aiming at other service names except the white list service name in all the service names, and storing the interface data as data statistical information recorded in a target website system in a preset database.
Optionally, the interface data includes the called number of times of the interface and a 95 value; the processor 32, when executing the computer program 33, further performs the steps of: calculating the called times and the average response time of the same interface according to the read called times and 95 values of the interface; judging whether the average response time of each read interface reaches a preset interface response time standard or not to obtain the standard reaching result of the interface, and determining the information of a responsible person of the service corresponding to the interface from the preset database; counting the standard reaching result of the interface corresponding to each responsible person information to obtain a statistical result; sequencing the read interfaces according to the sequence of the called times from high to low, and taking the interfaces with the preset number as target interfaces; and respectively assembling the statistical result and the name of the target interface into a hypertext markup language, and using the hypertext markup language as a quality report of the target website system.
Optionally, the processor 32 further implements the following steps when executing the computer program 33: and sending the quality report of the target website system to a specified terminal.
Optionally, the target website system includes a website system for counting a flash back rate of the application program; the processor 32, when executing the computer program 33, further performs the steps of: and periodically simulating to log in a website system for counting the flash back rate of the application program, and reading the flash back rate of the application program of various types of terminal equipment.
Optionally, the processor 32 further implements the following steps when executing the computer program 33: reading a service list from the preset database, and determining the information of a responsible person of each service in the service list from the preset database; inquiring the log quantity of each service in the service list from a website system for counting the daily log quantity; sequencing the services in the service list according to the sequence of the log quantity from high to low, and taking the services with the preset quantity as target services; counting the number of error logs of each target service, and assembling the total number of the logs of the target service, the number of the error logs and the information of a responsible person into a hypertext markup language; and sending the hypertext markup language as a quality report of the target website system to a specified terminal.
Optionally, the target website system includes a website system for counting online problems, a website system for counting page rendering time, a website system for counting test quality, and a website system for counting weekly releases; the processor 32, when executing the computer program 33, further performs the steps of: assembling the crawled data statistical information according to a preset data assembling rule; and assembling the assembled data statistical information into a hypertext markup language, and sending the hypertext markup language to a specified terminal as a quality report of the target website system.
That is, in the embodiment of the present invention, when the processor 32 of the quality report generating device 30 executes the computer program 33, the steps of the quality report generating method described above are implemented, so that the quality report of the target website system can be automatically generated, so as to implement automatic sending of the quality report periodically, save the labor cost, and improve the generating speed and accuracy of the quality report.
Illustratively, the computer program 33 described above may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 32 to implement the present invention. And the one or more modules/units may be a series of computer program instruction segments capable of performing specific functions that describe the execution of the computer program 33 in the quality report generating device 30.
The processing device can be a desktop computer, a notebook computer, an advertising machine, a palm computer, a cloud server and other computing devices. The processing device may include, but is not limited to, a processor 32, a memory 31. Those skilled in the art will appreciate that the schematic diagram is merely an example of the quality report generating device 30 and does not constitute a limitation of the quality report generating device 30 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the quality report generating device 30 may also include input-output devices, network access devices, buses, etc.
The Processor 32 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 32 is the control center for the quality report generating device 30, with various interfaces and lines connecting the various parts of the overall quality report generating device 30.
The memory 31 described above may be used to store computer programs 33 and/or modules, and the processor 32 may implement the various functions of the quality report generating device 30 by running or executing the computer programs 33 and/or modules stored in the memory 31, as well as invoking data stored in the memory 31. Specifically, the memory 31 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 31 may include a high speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Furthermore, embodiments of the present invention also provide a computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the above-mentioned steps of the quality report generating method.
That is, in the embodiment of the present invention, when the computer program is executed by the processor, the steps of the quality report generating method described above are implemented, so that the quality report of the target website system can be automatically generated, the quality report can be automatically sent periodically, the labor cost is saved, and the generating speed and the accuracy of the quality report are improved.
Illustratively, the computer program of the computer-readable storage medium comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, and the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (10)
1. A method of generating a quality report, comprising:
periodically crawling data statistical information recorded in a target website system from the target website system, and storing the crawled data statistical information in a preset database;
and when the report generation time point of the quality report generation period is reached, reading the data statistical information in the quality report generation period from the preset database, and generating the quality report of the target website system according to the read data statistical information.
2. The method of claim 1, wherein the target website system comprises a website system for counting time-consuming instances of an application programming interface;
the steps of crawling the data statistical information recorded in the target website system from the target website system periodically and storing the crawled data statistical information in a preset database comprise:
periodically crawling all called service names from a website system for counting the time consumption of an application programming interface;
traversing all the service names according to pre-stored white list service names, and removing the white list service names in all the service names;
and inquiring interface data corresponding to other service names from a website system for counting the time consumption situation of the application programming interface aiming at other service names except the white list service name in all the service names, and storing the interface data as data statistical information recorded in a target website system in a preset database.
3. The method of claim 2, wherein the interface data includes a number of calls and a 95 value for the interface;
the step of generating the quality report of the target website system according to the read data statistical information comprises the following steps:
calculating the called times and the average response time of the same interface according to the read called times and 95 values of the interface;
judging whether the average response time of each read interface reaches a preset interface response time standard or not to obtain the standard reaching result of the interface, and determining the information of a responsible person of the service corresponding to the interface from the preset database;
counting the standard reaching result of the interface corresponding to each responsible person information to obtain a statistical result;
sequencing the read interfaces according to the sequence of the called times from high to low, and taking the interfaces with the preset number as target interfaces;
and respectively assembling the statistical result and the name of the target interface into a hypertext markup language, and using the hypertext markup language as a quality report of the target website system.
4. The method of claim 1, wherein after the step of generating a quality report of the target website system according to the read data statistics, the method further comprises:
and sending the quality report of the target website system to a specified terminal.
5. The method of claim 1, wherein the target website system comprises a website system for counting a flash back rate of an application;
the step of periodically crawling the data statistics recorded in the target website system from the target website system comprises the following steps:
and periodically simulating to log in a website system for counting the flash back rate of the application program, and reading the flash back rate of the application program of various types of terminal equipment.
6. The method of claim 1, further comprising:
reading a service list from the preset database, and determining the information of a responsible person of each service in the service list from the preset database;
inquiring the log quantity of each service in the service list from a website system for counting the daily log quantity;
sequencing the services in the service list according to the sequence of the log quantity from high to low, and taking the services with the preset quantity as target services;
counting the number of error logs of each target service, and assembling the total number of the logs of the target service, the number of the error logs and the information of a responsible person into a hypertext markup language;
and sending the hypertext markup language as a quality report of the target website system to a specified terminal.
7. The method of claim 1, wherein the target website system comprises a website system for counting online questions, a website system for counting page rendering time consumption, a website system for counting test quality, and a website system for counting weekly releases;
after the step of periodically crawling the target website system for the data statistics recorded within the target website system, the method further comprises:
assembling the crawled data statistical information according to a preset data assembling rule;
and assembling the assembled data statistical information into a hypertext markup language, and sending the hypertext markup language to a specified terminal as a quality report of the target website system.
8. A quality report generation apparatus, comprising:
the crawling module is used for periodically crawling the data statistical information recorded in the target website system from the target website system and storing the crawled data statistical information in a preset database;
and the generation module is used for reading the data statistical information in the quality report generation period from the database when the report generation time point of the quality report generation period is reached, and generating the quality report of the target website system according to the read data statistical information.
9. A quality report generating device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the quality report generating method according to any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the quality report generation method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910763120.XA CN110659190A (en) | 2019-08-19 | 2019-08-19 | Quality report generation method, quality report generation device, quality report generation equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910763120.XA CN110659190A (en) | 2019-08-19 | 2019-08-19 | Quality report generation method, quality report generation device, quality report generation equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110659190A true CN110659190A (en) | 2020-01-07 |
Family
ID=69036597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910763120.XA Pending CN110659190A (en) | 2019-08-19 | 2019-08-19 | Quality report generation method, quality report generation device, quality report generation equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110659190A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111897691A (en) * | 2020-07-10 | 2020-11-06 | 深圳市彬讯科技有限公司 | Method and device for automatically generating quality report, computer equipment and storage medium |
CN112417073A (en) * | 2020-11-18 | 2021-02-26 | 中科三清科技有限公司 | Automatic air quality condition broadcasting method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100251128A1 (en) * | 2009-03-31 | 2010-09-30 | Matthew Cordasco | Visualization of website analytics |
CN109993576A (en) * | 2019-03-22 | 2019-07-09 | 中国质量认证中心 | A kind of method and system of quality of service aware, data acquisition process and analysis |
CN110069411A (en) * | 2019-04-15 | 2019-07-30 | 网易(杭州)网络有限公司 | Client performance quality report generation method, device, medium and electronic equipment |
-
2019
- 2019-08-19 CN CN201910763120.XA patent/CN110659190A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100251128A1 (en) * | 2009-03-31 | 2010-09-30 | Matthew Cordasco | Visualization of website analytics |
CN109993576A (en) * | 2019-03-22 | 2019-07-09 | 中国质量认证中心 | A kind of method and system of quality of service aware, data acquisition process and analysis |
CN110069411A (en) * | 2019-04-15 | 2019-07-30 | 网易(杭州)网络有限公司 | Client performance quality report generation method, device, medium and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111897691A (en) * | 2020-07-10 | 2020-11-06 | 深圳市彬讯科技有限公司 | Method and device for automatically generating quality report, computer equipment and storage medium |
CN112417073A (en) * | 2020-11-18 | 2021-02-26 | 中科三清科技有限公司 | Automatic air quality condition broadcasting method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108259553B (en) | Service mail sending method and terminal equipment | |
CN110543483A (en) | Data auditing method and device and electronic equipment | |
CN112115026B (en) | Server cluster monitoring method and device, electronic equipment and readable storage medium | |
CN109598538B (en) | Flow control method, device, equipment and medium for advertisement delivery | |
CN107844518B (en) | Method for evaluating download quantity of specified APP, data server, packaging platform and system | |
CN110781372B (en) | Method and device for optimizing website, computer equipment and storage medium | |
CN110659190A (en) | Quality report generation method, quality report generation device, quality report generation equipment and computer readable storage medium | |
CN109359027B (en) | Method and device for Monkey test, electronic equipment and computer readable storage medium | |
CN116228153A (en) | Engineering project design change price management method, system, equipment and medium | |
CN110532559B (en) | Rule processing method and device | |
CN113194339A (en) | Live list generation method and device, electronic equipment and readable storage medium | |
CN112559646A (en) | Report downloading method and device | |
CN110225122B (en) | Message pushing method, device, equipment and storage medium | |
CN111832266A (en) | On-line analysis method and system for patent application file writing quality | |
CN113450062A (en) | Project information processing method, system, electronic device and storage medium | |
CN111563094A (en) | Data query method and device, electronic equipment and computer-readable storage medium | |
CN110516128A (en) | Information configuring methods, equipment, storage medium and device | |
CN115309638A (en) | Method and device for assisting model optimization | |
CN111131393B (en) | User activity data statistical method, electronic device and storage medium | |
CN113487343A (en) | Questionnaire delivery method and device, electronic equipment and storage medium | |
CN109413459B (en) | User recommendation method and related equipment in live broadcast platform | |
CN109840213B (en) | Test data creating method, device, terminal and storage medium for GUI test | |
CN109522211B (en) | Interface parameter transmission method and device, electronic equipment and storage medium | |
CN112966005A (en) | Timing message sending method and device, computer equipment and storage medium | |
CN111338219A (en) | Data information processing method of intelligent home system, storage medium and electronic equipment |
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: 20200107 |
|
RJ01 | Rejection of invention patent application after publication |