CN109274526A - Test defect automatic early warning method, device, computer equipment and storage medium - Google Patents

Test defect automatic early warning method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109274526A
CN109274526A CN201811010218.XA CN201811010218A CN109274526A CN 109274526 A CN109274526 A CN 109274526A CN 201811010218 A CN201811010218 A CN 201811010218A CN 109274526 A CN109274526 A CN 109274526A
Authority
CN
China
Prior art keywords
defect
defective data
interface
developer
statistics
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.)
Granted
Application number
CN201811010218.XA
Other languages
Chinese (zh)
Other versions
CN109274526B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811010218.XA priority Critical patent/CN109274526B/en
Publication of CN109274526A publication Critical patent/CN109274526A/en
Application granted granted Critical
Publication of CN109274526B publication Critical patent/CN109274526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

It includes that defective data is obtained from project management system that the present invention, which discloses a kind of test defect automatic early warning method, device, equipment and medium, this method, the corresponding defect rank of defective data and developer's interface;If defect rank is greater than predetermined level, obtains first and remind frequency, reminds frequency to send the first reminder message to developer's interface corresponding with defective data according to first;If defect rank is not more than predetermined level, the corresponding defective data quantity of each developer's interface is counted;If defective data quantity is greater than preset quantity, obtains second and remind frequency, reminds frequency to send the second reminder message to developer's interface according to second;If defect rank is not more than predetermined level, and defective data quantity is not more than preset quantity, test defect statistical report is sent to monitoring personnel interface by timing acquisition test defect statistical report, it realizes and defective data is repaired in time by reminder message, improve remediation efficiency.

Description

Test defect automatic early warning method, device, computer equipment and storage medium
Technical field
The present invention relates to software test fields more particularly to a kind of test defect automatic early warning method, device, computer to set Standby and storage medium.
Background technique
Currently, most of project management system has no intuitive effective monitoring method for test defect, when testing After defect, developer can not quick obtaining to test defect.Usual developer's set time, get all defect numbers According to, then defective data is repaired, leads to not in time repair test defect so that test defect repair time compared with It is long.
Summary of the invention
The embodiment of the present invention provides a kind of test defect automatic early warning method, device, computer equipment and storage medium, with Solve the problems, such as that test defect repair time is longer.
A kind of test defect automatic early warning method, comprising:
Defective data is obtained from project management system, the corresponding defect rank of the defective data and developer connect Mouthful;
If the defect rank is greater than predetermined level, first is obtained based on the defect rank and reminds frequency, according to institute It states the first prompting frequency and sends the first reminder message to developer's interface corresponding with the defective data;
If the defect rank is not more than predetermined level, the corresponding defective data quantity of each developer's interface is counted; If the defective data quantity is greater than preset quantity, second is obtained based on the defective data quantity and reminds frequency, according to institute It states the second prompting frequency and sends the second reminder message to developer's interface;
If the defect rank is not more than predetermined level, and the defective data quantity is not more than preset quantity, then is based on The defective data, timing acquisition test defect statistical report, and the test defect statistical report is sent to monitoring personnel Interface.
A kind of test defect automatic warning device, comprising:
Defective data obtains module, for obtaining defective data, the defective data corresponding one from project management system Defect rank and developer's interface;
First warning module obtains the based on the defect rank if being greater than predetermined level for the defect rank One reminds frequency, reminds frequency to send first to developer's interface corresponding with the defective data according to described first and reminds Message;
Second warning module counts each developer's interface pair if being not more than predetermined level for the defect rank The defective data quantity answered;If the defective data quantity is greater than preset quantity, the is obtained based on the defective data quantity Two remind frequency, remind frequency to send the second reminder message to developer's interface according to described second;
Third warning module, if being not more than predetermined level for the defect rank, and the defective data quantity is little In preset quantity, then it is based on the defective data, timing acquisition test defect statistical report, and the test defect is counted and is reported It accuses and gives monitoring personnel interface.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing The computer program run on device, the processor realize above-mentioned test defect automatic early-warning when executing the computer program Step.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter The step of calculation machine program realizes above-mentioned test defect automatic early warning method when being executed by processor.
Above-mentioned test defect automatic early warning method, device, computer equipment and storage medium, this method include from project pipe Defective data is obtained in reason system, to realize the acquisition of defective data.If defect rank is greater than predetermined level, based on defect etc. Grade obtains first and reminds frequency, reminds frequency to send first to developer's interface corresponding with defective data according to first and reminds Message to realize that the defective data for reaching early warning to defect rank is monitored, and sends reminder message to developer, so as to The higher defective data of defect rank is handled in real time, improves defective data remediation efficiency.If defect rank is no more than pre- If grade, the corresponding defective data quantity of each developer's interface is counted;If defective data quantity is greater than preset quantity, base Second is obtained in defective data quantity and reminds frequency, and the second prompting is sent to developer's interface according to the second prompting frequency and is disappeared Breath to realize that the defective data for reaching early warning to defective data is monitored, and sends reminder message to developer, so as to right The more defective data of defective data is handled in real time, improves defective data remediation efficiency.If defect rank is no more than default Grade, and defective data quantity be not more than preset quantity, then be based on defective data, timing acquisition test defect statistical report, and Test defect statistical report is sent to monitoring personnel interface, test defect timing is monitored with realizing, developer can pass through Test defect statistical report obtains defective data, and repairs to defective data.The test defect automatic early warning method, dress Set, computer equipment and storage medium, first pass through predetermined level and the two dimensions of preset quantity defective data is carried out it is real-time Monitor task when monitoring, and passing through presetting, is timed monitoring to defective data, is effectively supervised comprehensively with realizing to test defect Control, and the defective data for needing to repair can be got in real time according to reminder message, defective data is repaired in time, improves and repairs effect Rate.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is an application environment schematic diagram of test defect automatic early warning method in one embodiment of the invention;
Fig. 2 is a flow chart of test defect automatic early warning method in one embodiment of the invention;
Fig. 3 is a flow chart of test defect automatic early warning method in one embodiment of the invention;
Fig. 4 is a flow chart of test defect automatic early warning method in one embodiment of the invention;
Fig. 5 is a flow chart of test defect automatic early warning method in one embodiment of the invention;
Fig. 6 is a flow chart of test defect automatic early warning method in one embodiment of the invention;
Fig. 7 is a flow chart of test defect automatic early warning method in one embodiment of the invention;
Fig. 8 is a flow chart of test defect automatic early warning method in one embodiment of the invention;
Fig. 9 is a functional block diagram of test defect automatic warning device in one embodiment of the invention;
Figure 10 is a schematic diagram of computer equipment in one embodiment of the invention.
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 some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Test defect automatic early warning method provided in an embodiment of the present invention, can be applicable in the application environment such as Fig. 1, i.e., should Test defect automatic early warning method is applied in test defect statistical system, which includes server-side, uses Family end and project management system, server-side are communicated by network with user terminal and project management system, which can be Cable network or wireless network, server-side obtains defective data from project management system in real time, and carries out to defective data Real time monitoring and timing monitor, and defective data is sent to user terminal, to solve that test defect cannot be monitored in real time, cause Test defect repair time longer problem.Wherein, it is attached between server-side and user terminal by network, wherein user End can be, but not limited to personal computer, laptop, smart phone, tablet computer and portable wearable device.Service End can be realized with the server-side cluster of the either multiple server-side compositions of independent server-side.
In one embodiment, it as shown in Fig. 2, providing a kind of test defect automatic early warning method, is applied in this way in Fig. 1 In server-side for be illustrated, include the following steps:
S10: obtaining defective data from project management system, and the corresponding defect rank of defective data and developer connect Mouthful.
Wherein, defective data refers to the various data such as mistake present in Software Development, maintenance or test process.It lacks Sunken grade refers to that the corresponding grade of defective data, server-side configure corresponding defect previously according to the severity of defective data Grade, and in the database by the defective data and defect rank associated storage.For example, when crawling defect number by crawler mode According to when, can according to the defective data inquire database, to determine the corresponding defect rank of defective data.It is to be appreciated that defect The corresponding mistake of data is more serious, then corresponding defect rank is higher, in the present embodiment, defect rank can be L1 to L5 this 5 The ascending defect rank of a severity.
Specifically, a code testing tool is associated in project management system, which includes but is not limited to SONAR quality management tool and crawler script that the present embodiment refers to etc..For example, crawling defect number by the way that a crawler script is arranged According to obtain the corresponding defective data of each project management system in real time.Based on crawler mode, each project management is obtained automatically The defects of system data determine that it corresponds to a defect rank and developer's interface according to the defective data, and by defect number It stores according to, defect rank and developer's interface into database.Wherein, defective data further includes defect type and defect title Deng.Wherein, developer's interface corresponding with defective data can be got by the corresponding log of inquiry test data.
S20: if defect rank is greater than predetermined level, first is obtained based on defect rank and reminds frequency, is mentioned according to first Frequency of waking up sends the first reminder message to developer's interface corresponding with defective data.
Wherein, predetermined level refers to that, based on the preset grade of defect rank, which is for assessing whether Need to carry out the grade of early warning.If defect rank is greater than predetermined level, the corresponding mistake of description defect data is more serious.
In the present embodiment, if predetermined level can be L3, then server-side judges whether the defect rank of each defective data is big In predetermined level L3, if defect rank is greater than predetermined level L3, corresponding first is obtained according to defect rank and reminds frequency.Its In, according to defect rank difference, corresponding first got reminds frequency different.For example, predetermined level is L3, when scarce When sunken grade is L4, then defect rank is greater than predetermined level, and obtains L4 corresponding first and remind frequency, and it is small to can be every two When remind it is primary;When defect rank is L5, it is primary that the first prompting frequency can be prompting in each hour.Server-side is obtaining After reminding frequency to first, the defective data that each defect rank is greater than predetermined level is obtained, and obtain according to the defective data Corresponding developer's interface reminds frequency to send the first reminder message to developer's interface based on first.For example, obtaining It is L5 to defect rank, corresponding first reminds frequency to remind once for each hour, and obtaining defective data is that L5 is corresponding Developer's interface recycles to developer's interface and sends the first reminder message for each hour, lacks until developer solves this Fall into the corresponding mistake of data.
S30: if defect rank is not more than predetermined level, the corresponding defective data quantity of each developer's interface is counted; If defective data quantity is greater than preset quantity, second is obtained based on defective data quantity and reminds frequency, remind frequency according to second Rate sends the second reminder message to developer's interface.Wherein, the first reminder message refers to fill defective data to prompting and disappear It ceases in template, with the first reminder message got.
Wherein, preset data refers to that, based on the preset quantity of defective data quantity, which is for assessing Whether need to carry out the quantity of early warning.
Specifically, when defect rank is not more than predetermined level, i.e., when defect rank is L1, L2 and L3, server-side is first obtained The corresponding defective data quantity of each developer's interface is taken, that is, obtaining the corresponding defect rank of each developer's interface is The defective data quantity of L1, L2 and L3.Wherein, defective data quantity is the number for the defective data that defect rank is L1, L2 and L3 Measure summation.Then, the defective data quantity that server-side will acquire is compared with preset quantity, if defective data quantity is greater than Preset quantity then obtains corresponding with defects count second and reminds frequency.For example, preset quantity is 20, if what is got is a certain The corresponding defective data quantity of developer's interface is 25, then defective data quantity greater than preset quantity, then obtains and defect Data bulk 25 corresponding second reminds frequency.It is to be appreciated that if defective data quantity is bigger, then the second prompting frequency is got over Frequently, for example, if defective data quantity is 40, then second reminds frequency that can remind for per half an hour once, if defect number When data bulk is 25, then second reminds frequency that can remind once for each hour.Then, service reminds frequency based on second The second reminder message is sent to developer's interface.For example, getting the corresponding defective data number of any developer's interface Amount is 25, then its corresponding with defective data quantity 25 second remind frequency be remind within each hour it is primary, each hour to this Developer's interface sends the second reminder message.Wherein, the second reminder message, which refers to, fills defective data to reminder message mould In plate, with the second reminder message got.
S40: if defect rank is not more than predetermined level, and defective data quantity is not more than preset quantity, then is based on defect Data, timing acquisition test defect statistical report, and test defect statistical report is sent to monitoring personnel interface.
Wherein, test defect statistical report refers to that carrying out statistics to defective data is formed by report.
Specifically, when the corresponding defect rank of defective data is not more than predetermined level, and the corresponding defect number of defective data When data bulk is not more than preset quantity, timing monitoring analysis task is obtained, when the current time of server-side is timing monitoring analysis When clocked flip time in task, test defect statistical report is obtained, because the defects of test defect statistical report data can Think the corresponding defective data of multiple developers, then test defect statistical report is sent to preset monitoring personnel.Wherein, Monitoring personnel can be project manager or developer supervisor etc., be responsible for distribution developer couple by project manager or developer The corresponding mistake of defective data is repaired.Wherein, at least one timing monitoring analysis task is stored in server-side, timing is supervised Control analysis task can be daily, weekly or monthly or other pre-set clocked flip times, monitor according to the timing Analysis task timing counts defective data, to obtain test defect statistical report, and test defect statistical report is sent out Give monitoring personnel interface.
In step S10-S40, defective data is obtained from project management system, to realize the acquisition of defective data.If lacking Fall into grade be greater than predetermined level, then based on defect rank obtain first remind frequency, according to first remind frequency to defect number The first reminder message is sent according to corresponding developer's interface, to realize that the defective data for reaching early warning to defect rank is supervised Control, and reminder message is sent to developer, to be handled in real time the higher defective data of defect rank, improve defect Data remediation efficiency.If defect rank is not more than predetermined level, the corresponding defective data quantity of each developer's interface is counted; If defective data quantity is greater than preset quantity, second is obtained based on defective data quantity and reminds frequency, remind frequency according to second Rate sends the second reminder message to developer's interface, to realize that the defective data for reaching early warning to defective data is monitored, And reminder message is sent to developer, so that the defective data more to defective data is handled in real time, improve defect number According to remediation efficiency.If defect rank is not more than predetermined level, and defective data quantity is not more than preset quantity, then is based on defect number According to, timing acquisition test defect statistical report, and test defect statistical report is sent to monitoring personnel interface, to realize to survey It tries defect timing to monitor, developer can obtain defective data by test defect statistical report, and repair defective data It is multiple.This method first passes through predetermined level and preset quantity the two dimensions monitor defective data in real time, and by default Timing monitor task is timed monitoring to defective data, to realize to the comprehensive effective monitoring of test defect, and can be according to prompting Message gets the defective data for needing to repair in real time, and is repaired in time according to reminder message to defective data, improves and repairs effect Rate.
In one embodiment, as shown in figure 3, in step S10, i.e., defective data is obtained from project management system, specifically Include the following steps:
S11: obtaining defective data acquisition request, and defective data acquisition request includes the address URL and transmission format.
Wherein, the address URL refers to the network address of project management system.The data that format can be PML format are sent, PML (Physical Markup Language, physics indicating language, also known as entity indicating language), PML are a kind of for describing The all-purpose language of physical object, process and environment, main purpose are to provide general standardization vocabulary, to describe and distribute Auto (relevant information of the object of mark activation).
Specifically, setting key message is stored in the server-side of defect statistics system, key message is project management The address URL of system and transmission format, server-side obtain key message automatically to get defective data acquisition request.Wherein, Be also possible to user terminal can be by inputting key message in test defect statistical system, and server-side gets defective data acquisition Request obtains the preconfigured address URL in defect statistics system and sends format according to defective data acquisition request.
S12: using the address URL and format is sent as input parameter, calls simulation to log in interface, simulation is logged in URL The corresponding project management system in location.
Specifically, it is based on Python, passes through the address URL analog subscriber end registry entry management system in server-side backstage Operation.Wherein, Python is a kind of explanation type computer programming language of object-oriented.Server-side by the address URL and Format is sent as input parameter, calls simulation login interface, request_login_ is called by simulation login interface Wizard method carries out simulation register, obtains project management system corresponding with the address URL.
S13: it calls simulation to click function and carries out simulation click processing, so that project management system obtains analogue data and obtains Request receives the response message corresponding with analogue data acquisition request of project management system feedback.
Specifically, server-side can by call request_get_list in this simulation of post method click function into Row analog subscriber click processing is asked so that project management system gets analogue data acquisition request according to analogue data acquisition It asks, obtains Json response message corresponding with the analogue data acquisition request, and the Json response message is fed back into service End, so that server-side obtains the Json response message of project management system feedback.It wherein, include defect number in Json response message According to the format of Json response message is corresponding with format is sent.Json is a kind of data structure for replacing XML, due to Json ratio It is more small and exquisite, so transmitted data on network will reduce more various flow to accelerate speed.
S14: the data format based on response message predetermined, the data format of response message include defective data lattice Formula obtains defective data corresponding with defective data format from response message.
Specifically, have in advance and data format is defined to Json response message, include defect in data format predetermined Data format includes also non-defective data format, and data format may include that data item, type and meaning illustrate.Obtain response The data format of message, i.e., data format corresponding with format is sent, specially Json response message, is disappeared based on Json response Corresponding data format is ceased, defective data corresponding with defective data format is obtained from the Json response message got.For example, It first passes through defective data format and determines specific location of the defect defective data in Json response message, got from specific location Defective data.
In step S11-S14, defective data acquisition request is obtained, defective data acquisition request includes the address URL and transmission Format using the address URL and sends format as input parameter, calls simulation to log in interface, simulation logs in corresponding with the address URL Project management system is got in project management system with realizing server-side analog subscriber register so as to subsequent automatically Defective data.It calls simulation to click function and carries out simulation click processing, so that project management system obtains analogue data acquisition and asks Ask, receive project management system feedback response message corresponding with analogue data acquisition request, with realize automatically get with The corresponding response message of defective data acquisition request, and defective data corresponding with defective data format is obtained from response message, Defective data acquisition request is sent without user terminal, obtains defective data in real time to realize.
In one embodiment, as shown in figure 4, in step S20, i.e., remind frequency to corresponding with defective data according to first Developer's interface sends the first reminder message, specifically comprises the following steps:
S21: reminder message template corresponding with defect rank is obtained, defective data and defect rank are filled to prompting and disappeared It ceases in template, obtains the first reminder message.
Wherein, reminder message template is preset template, wherein includes and defect rank pair in reminder message template The defect field answered.First reminder message is message corresponding with defect rank.
Specifically, defective data also corresponds to defective title, defect time of origin and project label etc., when defect rank is big When predetermined level, reminder message template corresponding with defect rank is obtained, includes at least two defects in reminder message template Field fills defective data and defect rank into corresponding reminder message template, according to defect field to get first Reminder message.
S22: reminding frequency to send the first prompting message to developer's interface corresponding with defective data according to first, and Trigger real time monitoring task.
Specifically, frequency is reminded based on first, obtains the corresponding exploitation of defective data that defect rank is greater than predetermined level Personnel's interface sends the first reminder message to developer mouthful, and triggers the real-time monitor in server-side, in real time to exploitation Whether personnel's interface, which feeds back, has modification data to be monitored.
S23: if being based on real time monitoring task, receiving the modification data of developer's interface feedback, then stops according to the One reminds frequency to send the first prompting message to developer's interface corresponding with defective data.
Specifically, whether server-side executes the real time monitoring task by real-time monitor, received with real time monitoring The modification data corresponding with defective data that developer's interface is sent.When the modification data for receiving developer's interface feedback When, then stop reminding frequency to send the first prompting message to developer's interface corresponding with defective data according to first.
Further, server-side also judges developer after the modification data for receiving developer's interface feedback Whether the modification data that interface returns feedback solve the corresponding mistake of the defective data;If solving the corresponding mistake of defective data, stop Only frequency is reminded to send the first prompting message to developer's interface corresponding with defective data according to first;If not solving this to lack The corresponding mistake of data is fallen into, then go to step S21.It is to be appreciated that first judging the modification data of developer's interface feedback The corresponding mistake of defective data whether is solved, then judges whether to stop sending the first prompting message to developer's interface, can be had Effect ensures that the corresponding mistake of defective data is corrected, and does not reach to avoid developer's interface feedback error or modification effect Modification data when, directly stop send the first prompting message so that the problem of defective data still has.
In step S21-S23, reminder message template corresponding with defect rank is obtained, defective data and defect rank are filled out Be charged in reminder message template, with quick obtaining to the first reminder message, and according to first remind frequency to defective data pair The developer's interface answered sends the first prompting message, and triggers real time monitoring task, is carried out in real time with realizing to defective data Monitoring.If being based on real time monitoring task, the modification data of developer's interface feedback are received, then stop reminding frequency according to first Rate sends the first prompting message to developer's interface corresponding with defective data, so that developer's interface is reminded according to first Message repairs the higher defective data of defect rank in real time, and monitor in real time to reparation.
In one embodiment, as shown in figure 5, in step S30, frequency is reminded to send the to developer's interface according to second Two reminder messages, specifically comprise the following steps:
S31: obtaining reminder message template corresponding with defective data quantity, and defective data and defective data quantity are filled Into reminder message template, the second reminder message is obtained.
Wherein, the second reminder message is message corresponding with defective data quantity.
Specifically, when server-side judges that a certain developer's interface corresponds to defective data quantity greater than preset quantity, Reminder message template corresponding with defective data quantity is obtained, includes at least two defect fields in reminder message template, according to Defect field fills defective data and defective data quantity into corresponding reminder message template, to get the second prompting Message.
S32: reminding frequency to send the second prompting message to developer's interface corresponding with defective data according to second, and Trigger real time monitoring task.
Specifically, frequency is reminded based on second, it is corresponding greater than the defective data of preset quantity obtains defective data quantity Developer's interface sends the second reminder message to developer's interface, and triggers the real-time monitor in server-side, in real time The modification data of developer's interface feedback are monitored.
S33: if being based on real time monitoring task, the modification data of developer's interface feedback are received, it is each to update statistics The corresponding defective data quantity of developer's interface, if defective data quantity is not more than preset quantity, stopping is mentioned according to second Frequency of waking up sends the second reminder message to developer's interface.
Specifically, whether server-side executes the real time monitoring task by real-time monitor, received with real time monitoring The modification data corresponding with defective data that developer's interface is sent.When the modification data for receiving developer's interface feedback When, it updates each developer's interface of statistics and corresponds to defective data quantity, update defective data quantity to get, lacked if updating It falls into data bulk and is not more than preset quantity, then stop sending second to developer's interface according to the second prompting frequency and reminding disappearing Breath, and executable step S40.
Further, judge whether the modification data of developer's interface feedback solve the corresponding mistake of the defective data, If solving the corresponding mistake of defective data, updates each developer's interface of statistics and correspond to defective data quantity, repeat If the defective data quantity in step S30 is greater than preset quantity, second is obtained based on defective data quantity and reminds frequency, according to Second reminds frequency to send the second reminder message to developer's interface;If the unresolved corresponding mistake of defective data, executes Step S31.It is to be appreciated that first judging whether the modification data of developer's interface feedback solve the corresponding mistake of defective data Accidentally, determine that updating each developer's interface of statistics corresponds to defective data quantity or stop sending second further according to judging result Prompting message, can the corresponding mistake of effective guarantee defective data be corrected, to avoid developer's interface feedback error or do not have When there are the modification data for reaching modification effect, directly stop the second prompting message of transmission, so that asking of still having of defective data Topic.
In step S31-S33, reminder message template corresponding with defective data quantity is obtained, by defective data and defect number Data bulk is filled into reminder message template, with quick obtaining to the second reminder message, and according to second remind frequency to lack It falls into the corresponding developer's interface of data and sends the second prompting message, and trigger real time monitoring task, to realize to developer Interface monitors the modification of defective data in real time.If being based on real time monitoring task, developer's interface feedback is received Data are modified, updates and counts the corresponding defective data quantity of each developer's interface, if defective data quantity is no more than default Quantity then stops reminding frequency to send the second reminder message to developer's interface according to second, so as to developer's interface root The corresponding mistake of a fairly large number of defective data of defective data is repaired according to the second reminder message, and the process of reparation is carried out Real time monitoring.
In one embodiment, as shown in fig. 6, in step S40, that is, defective data, timing acquisition test defect statistics are based on Report, and test defect statistical report is sent to monitoring personnel interface, specifically comprise the following steps:
S41: timing deficiencies analysis request is obtained, timing deficiencies analysis request includes clocked flip time, report template mark Know and monitoring personnel interface.
Wherein, the clocked flip time refers to the time of preset timing monitoring.Report template mark refers to matches in advance The mark for the report template set configures corresponding report template to each project management system in advance in the template library of server-side, Corresponding report template can be found from template library by report template mark.
Specifically, server-side is configured with corresponding timing deficiencies analysis request to each project management system in advance, each Clocked flip time, report template mark and monitoring personnel interface are corresponding in timing deficiencies analysis request.Wherein, different item The monitoring personnel interface of mesh management system configuration can be different, and test defect statistical report is sent to corresponding monitoring so as to subsequent Personnel's interface notifies developer to repair defective data by monitoring personnel, improve developer to defective data into The timeliness that row is repaired.Monitoring personnel interface can be mail address.Server-side is monitored each timing deficiencies analysis request, To get timing deficiencies analysis request.
S42: it if current time is the clocked flip time, according to report template identifier lookup template library, obtains and report mould Panel sign corresponding target defect statistical report template includes that at least one statistics is single in target defect statistical report template.
Wherein, defect statistics report template refers to preconfigured report template corresponding with each project management system. Target defect statistical report template refers to defect statistics report template corresponding with report template mark.Statistics singly refers to that defect is united The part list in report template is counted, includes that at least one statistics is single in each defect statistics report template, it can be according to practical need Seek the statistics list in configuration defect statistics report template.For example, the system of the corresponding actual demand of a certain timing deficiencies analysis request It is " total questionnaire " that meter is single, " the problem of history is not repaired is single " and " the problem list that the same day increases newly ", then configures according to actual needs Defect statistics report template.
Specifically he, server-side is monitored each timing deficiencies analysis request, if the current time of server-side be timing Defect analysis request in the clocked flip time when, then obtain in timing deficiencies analysis request report template mark, and according to Report template identifier lookup template library gets target defect statistical report template corresponding with report template mark.For example, certain One report template is identified as 001, is identified as 001 lookup template library by report template, obtains corresponding with report template mark 001 Target defect statistical report template, it can be achieved that quick obtaining target defect statistical report template, improve template and search timeliness.
S43: according to the single defect field of each statistics, defective data corresponding with defect field is obtained, by defect number According to filling into statistics list, test defect statistical report is formed, and test defect statistical report is sent to monitoring personnel interface.
It wherein, include at least two defect fields in each statistics list, defect field refers to be preset in statistics list Field.For example, may include at least two defect fields in " total questionnaire ", defect field can be " project management system Version number ", " version issuing time ", " version overall defect number ", " having repaired defect number ", " not repairing defect number ", " time-out is not repaired Multiple defect number ", " today increases defect number newly " and " defect averagely repairs duration " etc..Defective data refers to corresponding with defect field Data, the corresponding defective data of different defect fields are different.For example, " version number of project management system " corresponding defect number According to that can be xx1-1, " version issuing time " corresponding defective data can be " the x x month 1 ".
Specifically, the defect field that each statistics is single in target defect statistical report template is obtained, is looked by defect field Database is looked for, defective data corresponding with defect field is obtained, wherein defective data can be by directly statistics is obtained from database The data obtained, can be to want directly to search data obtained from database, can also be obtained to be calculated by calculation formula Data.Defective data is corresponding with defect field, and fill into statistics list, to form test defect statistical report, will test Defect statistics report the monitoring personnel interface being sent in timing deficiencies analysis request, so that user terminal can unite according to test defect Defective data is repaired in meter report.
In step S41-S43, by obtaining timing deficiencies analysis request, if current time is the clocked flip time, according to Report template mark and project label search template library, get mesh corresponding with report template mark and project label to realize Defect statistics report template is marked, the time configured to report template is reduced, improves the efficiency regularly sent.It is single according to each statistics Defect field, obtain corresponding with defect field defective data, defective data filled into statistics list, it is scarce to form test Statistical report is fallen into, and test defect statistical report is sent to monitoring personnel interface, regularly sends test defect statistics to realize Report, so that monitoring personnel understands the defects of project management system data in time, repairs the corresponding mistake of defective data It is multiple, avoid the reparation time limit too long, to improve user experience.
In one embodiment, after step slo, i.e., from project management system obtain defective data the step of it Afterwards, test defect automatic early warning method further include: defective data is stored in relevant database, so as to subsequently through SQL Sentence search relationship type database, to get defective data.
As shown in fig. 7, in step S43, i.e., defect field single according to each statistics obtains corresponding with defect field Defective data is filled into statistics list, forms test defect statistical report, specifically comprise the following steps: by defective data
S431: according to the single defect field of each statistics, obtaining SQL statement corresponding with defect field or calculation formula, Calculation formula includes at least two characteristic parameters, the corresponding SQL statement of each characteristic parameter.
Wherein, SQL (Structured Query Language, structured query language), is a kind of volume of specific purposes Cheng Yuyan is a kind of data base querying and programming language, for accessing data and querying, updating, and managing relation data Library system, while being also the extension name of database script file.Characteristic parameter refers to the calculating parameter in calculation formula, can pass through SQL statement search relationship type database gets the corresponding supplemental characteristic of characteristic parameter.
Specifically he, is stored with each defect field and closes with the mapping of corresponding SQL statement or calculation formula in server-side System obtains the defects of each statistics list corresponding SQL statement of field or calculation formula, includes at least two in calculation formula Characteristic parameter, each characteristic parameter are provided with corresponding SQL statement in advance.
S432: according to SQL statement search relationship type database, obtaining the corresponding defective data of each defect field, alternatively, Based on the corresponding SQL statement search relationship type database of each characteristic parameter, supplemental characteristic corresponding with characteristic parameter, base are obtained Supplemental characteristic is calculated in calculation formula, using calculated result as defective data corresponding with defect field.
Specifically, it obtains and lacks according to SQL statement search relationship type database for SQL statement if defect field is corresponding Fall into the corresponding defective data of field.If corresponding defect field is calculation formula, each SQL statement in calculation formula is obtained, and According to SQL statement search relationship type database, the corresponding supplemental characteristic of each characteristic parameter is obtained, and is carried out according to calculation formula It calculates, to get defective data corresponding with defect field.
For example, in " total questionnaire " version number can be got by SQL statement search relationship type database, version is issued Time, repaired defect number, do not repaired defect number, time-out does not repair defect number, today increases newly and defect number and do not repair today scarce Fall into number.Passing through calculation formula a=b+c calculated version overall defect number, wherein a is version overall defect number, and b is to have repaired defect number, C is not repair defect number.Specifically, the calculation formula for first getting version overall defect number determines the feature ginseng in calculation formula Number b and c, the corresponding supplemental characteristic of characteristic parameter is determined according to the corresponding SQL statement of characteristic parameter b and c, based on supplemental characteristic into Row calculates, to get the corresponding defective data of version overall defect number.For another example passing through formulaIt is average to calculate defect Repair duration, tiFor the time of i-th of defect repair, d is that defect averagely repairs duration, and n is defects count,For current version This all defect repairs duration summation, and g is current version overall defect number.
S433: each defective data is filled into statistics list, test defect statistical report is formed.
Specifically, each defective data that will acquire is filled into statistics list, and corresponding with defect field, is surveyed with being formed Defect statistics report is tried, to realize that quick obtaining to test defect statistical report, is realized and is timed statistics to defective data, with Continue after an action of the bowels and the corresponding mistake of defective data is repaired according to test defect statistical report.
Further, corresponding defect index can be arranged to defective data in advance, by the corresponding defect of each defect field When data are filled into defect statistics template, the corresponding defect index of the corresponding defective data of each defect field is carried out The defective data is highlighted if the defective data is more than its corresponding defect index and (such as marks red and deepen by comparison Deng), with the relevant defective data of call user's attention.As in " total questionnaire ", it is 10 that time-out, which does not repair defect number, corresponding Defect index is 8, then it is more than defect index, need to carry out marking red or deepen display, to reach prompting effect, and can be according to mark Test data that is red or deepening carries out priority processing.
In step S431-S433, according to the single defect field of each statistics, SQL statement corresponding with defect field is obtained Or calculation formula, defective data is carried out to automatically analyze statistics to realize, and according to SQL statement search relationship type database, obtain Take the corresponding defective data of each defect field;Alternatively, being based on the corresponding SQL statement search relationship type data of each characteristic parameter Library is obtained corresponding with characteristic parameter supplemental characteristic, is calculated based on calculation formula supplemental characteristic, using calculated result as Defective data corresponding with defect field, with quick obtaining to the corresponding defective data of defect field, acquisition methods are simple and fast Speed.Each defective data is filled into statistics list, test defect statistical report is formed, to realize quick obtaining to test defect Statistical report, realization statistics is timed to defective data, so as to it is subsequent according to test defect statistical report to defective data into Row is repaired.
In one embodiment, as shown in figure 8, before step S40, that is, defective data, timing acquisition test defect are being based on Statistical report, and before the step of test defect statistical report is sent to monitoring personnel interface, test defect automatic early-warning side Method further includes following steps:
S401: obtaining and count single configuring request, and counting single configuring request includes at least two defect fields and project label.
Wherein, each project management system is corresponding with one or more project names, and each project name is corresponding with one Or multiple version numbers, the same project can have different iteration versions to generate in temporal sequence, each iteration version can be corresponding with It is single to configure statistics to each project management system in advance for defect statistics report template.Project label refers to and project management system Corresponding mark.
Specifically, it obtains and counts list configuring request, counting in single configuring request includes the defects of statistics list field and item Target is known.Corresponding project management system can be got by project label, each project management system is configured count in advance It is single, so as to the corresponding disparity items title of subsequent configuration project management system or the test defect statistical report of different editions number When, it is single that statistics can be called directly.
S402: to the corresponding SQL statement of each defect field configuration or calculation formula, system corresponding with project label is formed Single mode plate is counted, counts single mark to single template configuration one is counted, by statistics single mode plate and the single mark associated storage of statistics to template Library.
Wherein, the corresponding one or more statistics single mode plates of each project label, to each defect field in statistics single mode plate Corresponding SQL statement or calculation formula are configured, to get statistics single mode plate corresponding with project label, and gives statistics single mode plate The single mark of one statistics of configuration, to call corresponding statistics single mode plate subsequently through the single mark of statistics, and will statistics single mode plate with The single associated storage that identifies of statistics is to template library.
S403: obtaining report template configuring request, and report template configuring request includes the single mark of at least one statistics and mould Plate framework.
Wherein, template framework is the format and defective data for indicating the sequence, defect field that count single in report template Format etc..
Specifically, after configuring corresponding statistics single mode plate for each project label, project manager or developer master are obtained The report template configuring request that pipe is sent includes required statistics list mark and template framework, root in report template configuring request It was reported that template configuration is requested, to configure corresponding defect statistics report template.
S404: single mark is counted based at least one and obtains corresponding statistics single mode plate from template library, single mode will be counted Plate is configured according to template framework, obtains defect statistics report template.
Specifically, it by the statistics list identifier lookup template library in report template configuring request, obtains and the single mark of statistics Corresponding statistics single mode plate configures statistics single mode plate according to preset template framework, to get defect statistics Report template, wherein further include gauge outfit part in template framework.For example, xxx-1 test defect statistical report, when report generation Between x x month x day x when etc..
S405: configuring report template mark to defect statistics report template, by defect statistics report template and report mould Panel sign associated storage is to template library.
Specifically, report template mark is configured for each defect statistics report template, so as to subsequently through report template Report template is identified to corresponding defect statistics report template and is associated with and stores with defect statistics report template by identifier lookup Into template library.
In step S401-S405, obtain and count single configuring request, to the corresponding SQL statement of each defect field configuration or Calculation formula forms statistics single mode plate corresponding with project label, to realize the single configuration of statistics, so as to subsequent according to defect word The corresponding SQL statement of section or calculation formula get corresponding defective data.Report template configuring request is obtained, is based at least one Singly mark obtains corresponding statistics single mode plate to a statistics from template library, and statistics single mode plate is configured according to template framework, Defect statistics report template is obtained, to realize the configuration of defect statistics report template, so as to subsequent quick obtaining to test defect Statistical report, to realize the timing early warning to test defect.Report template mark is configured to defect statistics report template, will be lacked It falls into statistical report template and report template identifies associated storage to template library, quickly searched to be identified subsequently through report template It is surveyed to corresponding defect statistics report template, and quickly according to defect statistics report template Fast Filling defective data with being formed Try defect statistics report.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
In one embodiment, a kind of test defect automatic warning device is provided, the test defect automatic warning device with it is upper Test defect automatic early warning method in embodiment is stated to correspond.As shown in figure 9, the test defect automatic warning device includes lacking Fall into data acquisition module 10, the first warning module 20, the second warning module 30 and third warning module 40.Each functional module is detailed It is described as follows:
Defective data obtains module 10, and for obtaining defective data from project management system, defective data corresponding one is lacked Fall into grade and developer's interface.
First warning module 20 obtains first based on defect rank and reminds if being greater than predetermined level for defect rank Frequency reminds frequency to send the first reminder message to developer's interface corresponding with defective data according to first.
It is corresponding to count each developer's interface if being not more than predetermined level for defect rank for second warning module 30 Defective data quantity.If defective data quantity is greater than preset quantity, second is obtained based on defective data quantity and reminds frequency, Frequency is reminded to send the second reminder message to developer's interface according to second.
Third warning module 40, if being not more than predetermined level for defect rank, and defective data quantity is no more than default Quantity is then based on defective data, timing acquisition test defect statistical report, and test defect statistical report is sent to monitor Member's interface.
In one embodiment, it includes request unit, simulation login unit, response message that defective data, which obtains module 10, Acquiring unit and defective data acquiring unit.
Request unit, for obtaining defective data acquisition request, defective data acquisition request includes the address URL and hair Send format.
Login unit is simulated, for calling simulation to log in interface, mould using the address URL and transmission format as input parameter It is quasi- to log in project management system corresponding with the address URL.
Response message acquiring unit carries out simulation click processing for calling simulation to click function, so that project management system System obtains analogue data acquisition request, and the response corresponding with analogue data acquisition request for receiving project management system feedback disappears Breath.
Defective data acquiring unit, for the data format based on response message predetermined, the data of response message Format includes defective data format, and defective data corresponding with defective data format is obtained from response message.
In one embodiment, the first warning module 20 includes the first reminder message acquiring unit, the transmission of the first reminder message Unit and the first monitoring unit.
First reminder message acquiring unit, for obtaining reminder message template corresponding with defect rank, by defective data It fills with defect rank into reminder message template, obtains the first reminder message.
First reminder message transmission unit, for being connect according to the first prompting frequency to developer corresponding with defective data Mouth sends the first prompting message, and triggers real time monitoring task.
First monitoring unit, if receiving the modification data of developer's interface feedback for being based on real time monitoring task, Then stop reminding frequency to send the first prompting message to developer's interface corresponding with defective data according to first.
In one embodiment, the second warning module 30 includes the second reminder message acquiring unit, the transmission of the second reminder message Unit and the second monitoring unit.
Second reminder message acquiring unit, for obtaining reminder message template corresponding with defective data quantity, by defect Data and defective data quantity are filled into reminder message template, and the second reminder message is obtained.
Second reminder message transmission unit, for being connect according to the second prompting frequency to developer corresponding with defective data Mouth sends the second prompting message, and triggers real time monitoring task.
Second monitoring unit, if receiving the modification data of developer's interface feedback for being based on real time monitoring task, It updates and counts the corresponding defective data quantity of each developer's interface, if defective data quantity is stopped no more than preset quantity Only frequency is reminded to send the second reminder message to developer's interface according to second.
In one embodiment, third warning module 40 includes analysis request acquiring unit, target defect statistical report template Acquiring unit and test defect statistical report acquiring unit.
Analysis request acquiring unit, for obtaining timing deficiencies analysis request, timing deficiencies analysis request includes that timing is touched Send out time, report template mark and monitoring personnel interface.
Target defect statistical report template acquiring unit, if being the clocked flip time for current time, according to report mould Panel sign searches template library, obtains target defect statistical report template corresponding with report template mark, target defect statistics report It include that at least one statistics is single in slide former.
Test defect statistical report acquiring unit obtains and defect field for the defect field single according to each statistics Defective data is filled into statistics list, forms test defect statistical report, and test defect is united by corresponding defective data Meter report is sent to monitoring personnel interface.
In one embodiment, after defective data obtains module 10, test defect automatic warning device is also used to lack Sunken data are stored in relevant database.
Further, test defect statistical report acquiring unit includes that parameter obtains subelement, inquiry subelement and statistics Report forms subelement.
Parameter obtains subelement, for the defect field single according to each statistics, obtains SQL language corresponding with defect field Sentence or calculation formula, calculation formula include at least two characteristic parameters, the corresponding SQL statement of each characteristic parameter.
Subelement is inquired, for obtaining the corresponding defect of each defect field according to SQL statement search relationship type database Data obtain corresponding with characteristic parameter alternatively, being based on the corresponding SQL statement search relationship type database of each characteristic parameter Supplemental characteristic calculates supplemental characteristic based on calculation formula, using calculated result as defect number corresponding with defect field According to.
Statistical report forms subelement, for filling each defective data into statistics list, forms test defect statistics Report.
In one embodiment, before third warning module 40, test defect automatic warning device further includes that statistics is singly asked It seeks acquiring unit, count single configuration unit, report template request unit, report template configuration unit and storage unit.
Single request unit is counted, counts single configuring request for obtaining, counting single configuring request includes at least two Defect field and project label.
Single configuration unit is counted, is used for the corresponding SQL statement of each defect field configuration or calculation formula, formation and item Target knows corresponding statistics single mode plate, counts single mark to single template configuration one is counted, by statistics single mode plate and the single mark of statistics Associated storage is to template library.
Report template request unit, for obtaining report template configuring request, report template configuring request includes extremely A few statistics singly identifies and template framework.
Report template configuration unit, it is single for obtaining corresponding statistics from template library based on the single mark of at least one statistics Statistics single mode plate is configured according to template framework, obtains defect statistics report template by template.
Storage unit, for configuring report template mark to defect statistics report template, by defect statistics report template Associated storage is identified to template library with report template.
Specific restriction about test defect automatic warning device may refer to above for test defect automatic early-warning The restriction of method, details are not described herein.Modules in above-mentioned test defect automatic warning device can be fully or partially through Software, hardware and combinations thereof are realized.Above-mentioned each module can be embedded in the form of hardware or independently of the place in computer equipment It manages in device, can also be stored in a software form in the memory in computer equipment, in order to which processor calls execution or more The corresponding operation of modules.
In one embodiment, a kind of computer equipment is provided, which can be server-side, internal junction Composition can be as shown in Figure 10.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is for storing defective data and defect statistics template report template etc..The network interface of the computer equipment For being communicated with external terminal by network connection.To realize a kind of test defect when the computer program is executed by processor Automatic early warning method.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor, processor realize that test defect is certainly in above-described embodiment when executing computer program The step of dynamic method for early warning, for example, step S10 shown in Fig. 2 to step S40.Alternatively, reality when processor executes computer program The function of each module/unit in existing above-described embodiment in test defect automatic warning device, for example, module 10 shown in Fig. 9 to The function of module 40.To avoid repeating, details are not described herein again.
In one embodiment, a kind of computer readable storage medium is provided, computer program, computer are stored thereon with Test defect automatic early warning method in above method embodiment is realized when program is executed by processor, for example, step shown in Fig. 2 S10 to step S40.Alternatively, realizing test defect automatic early-warning in above-mentioned apparatus when the computer program is executed by processor The function of each module/unit, for example, function of the module 10 shown in Fig. 9 to module 40.To avoid repeating, details are not described herein again.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, computer program can be stored in a non-volatile computer and can be read In storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, of the invention To any reference of memory, storage, database or other media used in provided each embodiment, may each comprise non- Volatibility and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access Memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of device are divided into different functional unit or module, to complete above description All or part of function.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or Replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all include Within protection scope of the present invention.

Claims (10)

1. a kind of test defect automatic early warning method characterized by comprising
Defective data, the corresponding defect rank of the defective data and developer's interface are obtained from project management system;
If the defect rank is greater than predetermined level, first is obtained based on the defect rank and reminds frequency, according to described the One reminds frequency to send the first reminder message to developer's interface corresponding with the defective data;
If the defect rank is not more than predetermined level, the corresponding defective data quantity of each developer's interface is counted;If institute Defective data quantity is stated greater than preset quantity, then obtains second based on the defective data quantity and reminds frequency, according to described the Two remind frequency to send the second reminder message to developer's interface;
If the defect rank is not more than predetermined level, and the defective data quantity is not more than preset quantity, then based on described Defective data, timing acquisition test defect statistical report, and the test defect statistical report is sent to monitoring personnel interface.
2. test defect automatic early warning method as described in claim 1, which is characterized in that described to be obtained from project management system Take defective data, comprising:
Defective data acquisition request is obtained, the defective data acquisition request includes the address URL and transmission format;
Using the address URL and the transmission format as input parameter, simulation is called to log in interface, simulation log in it is described The corresponding project management system in the address URL;
It calls simulation to click function and carries out simulation click processing, so that the project management system obtains analogue data acquisition and asks It asks, receives the response message corresponding with the analogue data acquisition request of the project management system feedback;
Based on the data format of response message predetermined, the data format of the response message includes defective data format, Defective data corresponding with the defective data format is obtained from the response message.
3. test defect automatic early warning method as described in claim 1, which is characterized in that described to remind frequency according to described first Rate sends the first reminder message to developer's interface corresponding with the defective data, comprising:
Reminder message template corresponding with the defect rank is obtained, the defective data and the defect rank are filled to institute It states in reminder message template, obtains the first reminder message;
It reminds frequency to send described first to developer's interface corresponding with the defective data according to described first and reminds letter Breath, and trigger real time monitoring task;
If being based on the real time monitoring task, the modification data of developer's interface feedback are received, then are stopped according to institute It states the first prompting frequency and sends first prompting message to developer's interface corresponding with the defective data.
4. test defect automatic early warning method as described in claim 1, which is characterized in that described to remind frequency according to described second Rate sends the second reminder message to developer's interface, comprising:
Reminder message template corresponding with the defective data quantity is obtained, by the defective data and the defective data quantity Filling obtains the second reminder message into the reminder message template;
It reminds frequency to send described second to developer's interface corresponding with the defective data according to described second and reminds letter Breath, and trigger real time monitoring task;
If being based on the real time monitoring task, the modification data of developer's interface feedback are received, it is each to update statistics The corresponding defective data quantity of developer's interface stops if the defective data quantity is not more than preset quantity according to institute It states the second prompting frequency and sends the second reminder message to developer's interface.
5. test defect automatic early warning method as described in claim 1, which is characterized in that it is described to be based on the defective data, Timing acquisition test defect statistical report, and the test defect statistical report is sent to monitoring personnel interface, comprising:
Obtain timing deficiencies analysis request, the timing deficiencies analysis request include the clocked flip time, report template mark and Monitoring personnel interface;
If current time is the clocked flip time, according to the report template identifier lookup template library, obtain and the report Slide former identifies corresponding target defect statistical report template, includes at least one system in the target defect statistical report template Meter is single;
According to the single defect field of each statistics, defective data corresponding with the defect field is obtained, is lacked described Sunken data are filled into the statistics list, form test defect statistical report, and the test defect statistical report is sent to Monitoring personnel interface.
6. test defect automatic early warning method as claimed in claim 5, which is characterized in that described from project management system After the step of obtaining defective data, the test defect automatic early warning method further include: the defective data is stored in pass It is in type database;
The defect field single according to each statistics, obtains defective data corresponding with the defect field, by institute It states defective data to fill into the statistics list, forms test defect statistical report, comprising:
According to the single defect field of each statistics, SQL statement corresponding with the defect field or calculation formula, institute are obtained Stating calculation formula includes at least two characteristic parameters, each corresponding SQL statement of the characteristic parameter;
According to the SQL statement search relationship type database, the corresponding defective data of each defect field is obtained, alternatively, Based on the corresponding SQL statement search relationship type database of each characteristic parameter, ginseng corresponding with the characteristic parameter is obtained Number data, the supplemental characteristic is calculated based on the calculation formula, using calculated result as with the defect field pair The defective data answered;
Each defective data is filled into the statistics list, test defect statistical report is formed.
7. test defect automatic early warning method as described in claim 1, which is characterized in that be based on the defect number described According to, timing acquisition test defect statistical report, and the step of test defect statistical report is sent to monitoring personnel interface Before, the test defect automatic early warning method further include:
It obtains and counts single configuring request, the single configuring request of the statistics includes at least two defect fields and project label;
To the corresponding SQL statement of each defect field configuration or calculation formula, it is single to form statistics corresponding with the project label Template counts single mark to the single template configuration one of the statistics, the statistics single mode plate singly is identified to be associated with the statistics and is deposited It stores up to template library;
Report template configuring request is obtained, the report template configuring request includes the single mark of at least one statistics and pattern plate bolster Frame;
Corresponding statistics single mode plate is obtained from the template library based on the single mark of statistics described at least one, the statistics is single Template is configured according to the template framework, obtains defect statistics report template;
Report template mark is configured to the defect statistics report template, by the defect statistics report template and the report Template identification associated storage is to template library.
8. a kind of test defect automatic warning device characterized by comprising
Defective data obtains module, for obtaining defective data, the corresponding defect of the defective data from project management system Grade and developer's interface;
First warning module obtains first based on the defect rank and mentions if being greater than predetermined level for the defect rank Awake frequency sends the first prompting to developer's interface corresponding with the defective data according to the first prompting frequency and disappears Breath;
It is corresponding to count each developer's interface if being not more than predetermined level for the defect rank for second warning module Defective data quantity;If the defective data quantity is greater than preset quantity, second is obtained based on the defective data quantity and is mentioned Awake frequency reminds frequency to send the second reminder message to developer's interface according to described second;
Third warning module, if being not more than predetermined level for the defect rank, and the defective data quantity is no more than pre- If quantity, then it is based on the defective data, timing acquisition test defect statistical report, and the test defect statistical report is sent out Give monitoring personnel interface.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to The step of any one of 7 test defect automatic early warning method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In realization test defect automatic early-warning side as described in any one of claim 1 to 7 when the computer program is executed by processor The step of method.
CN201811010218.XA 2018-08-31 2018-08-31 Automatic early warning method and device for test defects, computer equipment and storage medium Active CN109274526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811010218.XA CN109274526B (en) 2018-08-31 2018-08-31 Automatic early warning method and device for test defects, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811010218.XA CN109274526B (en) 2018-08-31 2018-08-31 Automatic early warning method and device for test defects, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109274526A true CN109274526A (en) 2019-01-25
CN109274526B CN109274526B (en) 2023-04-07

Family

ID=65154885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811010218.XA Active CN109274526B (en) 2018-08-31 2018-08-31 Automatic early warning method and device for test defects, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109274526B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109959664A (en) * 2019-04-10 2019-07-02 长春禹衡光学有限公司 Contamination detection method, device and the readable storage medium storing program for executing of absolute grating ruler
CN110083514A (en) * 2019-03-19 2019-08-02 深圳壹账通智能科技有限公司 Software test defect estimation method, apparatus, computer equipment and storage medium
CN110109834A (en) * 2019-04-30 2019-08-09 贝壳技术有限公司 A kind of test report automatically generating device and method
CN110109826A (en) * 2019-04-12 2019-08-09 平安普惠企业管理有限公司 For method for early warning and relevant apparatus on the line of interface
CN110727947A (en) * 2019-09-17 2020-01-24 苏州科达科技股份有限公司 Security vulnerability processing method, device, equipment and readable storage medium
CN110888711A (en) * 2019-12-11 2020-03-17 广州品唯软件有限公司 Defect management method, defect management apparatus, and readable storage medium
CN112199277A (en) * 2020-09-27 2021-01-08 建信金融科技有限责任公司 Browser-based defect reproduction method, device, equipment and storage medium
WO2021027328A1 (en) * 2019-08-15 2021-02-18 深圳壹账通智能科技有限公司 Vulnerability processing tracking method and apparatus, computer system, and readable storage medium
CN113886277A (en) * 2021-12-07 2022-01-04 云账户技术(天津)有限公司 Method and device for detecting compliance of software defect report
CN114625640A (en) * 2022-03-04 2022-06-14 盐城金堤科技有限公司 Software test project management method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954178A (en) * 2015-05-29 2015-09-30 北京奇虎科技有限公司 Method and device for optimizing system alarm
CN105446875A (en) * 2014-11-18 2016-03-30 国网山东省电力公司 SAP platform based monitoring method and monitoring system for interface and system
CN105847447A (en) * 2016-06-01 2016-08-10 腾讯科技(深圳)有限公司 Message push method and device
CN107181604A (en) * 2016-03-09 2017-09-19 华为技术有限公司 A kind of generation method, alarm compression method and the device of alarm association rule
EP3367241A1 (en) * 2017-02-23 2018-08-29 Software AG Method, computer program and system for providing a control signal for a software development environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446875A (en) * 2014-11-18 2016-03-30 国网山东省电力公司 SAP platform based monitoring method and monitoring system for interface and system
CN104954178A (en) * 2015-05-29 2015-09-30 北京奇虎科技有限公司 Method and device for optimizing system alarm
CN107181604A (en) * 2016-03-09 2017-09-19 华为技术有限公司 A kind of generation method, alarm compression method and the device of alarm association rule
CN105847447A (en) * 2016-06-01 2016-08-10 腾讯科技(深圳)有限公司 Message push method and device
EP3367241A1 (en) * 2017-02-23 2018-08-29 Software AG Method, computer program and system for providing a control signal for a software development environment

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083514B (en) * 2019-03-19 2023-03-10 深圳壹账通智能科技有限公司 Software test defect evaluation method and device, computer equipment and storage medium
CN110083514A (en) * 2019-03-19 2019-08-02 深圳壹账通智能科技有限公司 Software test defect estimation method, apparatus, computer equipment and storage medium
CN109959664A (en) * 2019-04-10 2019-07-02 长春禹衡光学有限公司 Contamination detection method, device and the readable storage medium storing program for executing of absolute grating ruler
CN110109826A (en) * 2019-04-12 2019-08-09 平安普惠企业管理有限公司 For method for early warning and relevant apparatus on the line of interface
CN110109834A (en) * 2019-04-30 2019-08-09 贝壳技术有限公司 A kind of test report automatically generating device and method
WO2021027328A1 (en) * 2019-08-15 2021-02-18 深圳壹账通智能科技有限公司 Vulnerability processing tracking method and apparatus, computer system, and readable storage medium
CN110727947A (en) * 2019-09-17 2020-01-24 苏州科达科技股份有限公司 Security vulnerability processing method, device, equipment and readable storage medium
CN110888711A (en) * 2019-12-11 2020-03-17 广州品唯软件有限公司 Defect management method, defect management apparatus, and readable storage medium
CN110888711B (en) * 2019-12-11 2023-10-24 广州品唯软件有限公司 Defect management method, defect management apparatus, and readable storage medium
CN112199277A (en) * 2020-09-27 2021-01-08 建信金融科技有限责任公司 Browser-based defect reproduction method, device, equipment and storage medium
CN112199277B (en) * 2020-09-27 2023-10-27 中国建设银行股份有限公司 Defect reproduction method, device, equipment and storage medium based on browser
CN113886277B (en) * 2021-12-07 2022-02-22 云账户技术(天津)有限公司 Method and device for detecting compliance of software defect report
CN113886277A (en) * 2021-12-07 2022-01-04 云账户技术(天津)有限公司 Method and device for detecting compliance of software defect report
CN114625640A (en) * 2022-03-04 2022-06-14 盐城金堤科技有限公司 Software test project management method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109274526B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN109274526A (en) Test defect automatic early warning method, device, computer equipment and storage medium
CN107909295B (en) Power failure information monitoring and analyzing system
US6449341B1 (en) Apparatus and method for managing a software system via analysis of call center trouble tickets
CN102571403B (en) The implementation method of general data quality control adapter and device
CN106549810A (en) Cloud service platform redaction issues front method of testing, device and system
US20120173688A1 (en) Method and system for improved network maintenance scheduling
CN111897691A (en) Method and device for automatically generating quality report, computer equipment and storage medium
CN112348205A (en) Rail transit operation and maintenance method, device, system, equipment and medium
CN114021971A (en) Comprehensive evaluation system, method and storage medium for expressway operation and maintenance management
CN114462825A (en) Intelligent operation and maintenance system and method for industrial equipment
CN108345527A (en) A kind of interface enters the analysis monitoring method and system of ginseng
US20190025365A1 (en) Systems and Methods of Diagnosing Root Causes of Anomalous AMI Information
CN112101584A (en) Nuclear power station spare part systematic maintenance method, device, equipment and storage medium
Myalo et al. Mathematical modeling and information technologies in the management of tractor maintenance operations
CN112231809B (en) Repair engineering supervision method, system, equipment and storage medium
CN112288302A (en) Engineering quality control method and system based on BIM
CN116703178A (en) Production capacity analysis method, analysis device, non-transitory computer readable medium, and computer program product
CN114881596A (en) Automatic management method, device and equipment for field inspection
CN115471092A (en) Food production work reporting method and device, electronic equipment and storage medium
CN114254990A (en) Multi-dimensional scheduling processing method, device, terminal and medium for project management
CN112416995B (en) Data statistics method, device, computer equipment and storage medium
CN114186855A (en) Monitoring and early warning method, device, computer equipment, storage medium and program product
CN112396429B (en) Statistical analysis system for enterprise business
CN110471381A (en) A kind of printing and dyeing industry internet platform, equipment and system
CN104866941A (en) Instrument management 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
GR01 Patent grant
GR01 Patent grant