CN109582345A - Report automatic generation method, device, storage medium and computer equipment - Google Patents

Report automatic generation method, device, storage medium and computer equipment Download PDF

Info

Publication number
CN109582345A
CN109582345A CN201811232401.4A CN201811232401A CN109582345A CN 109582345 A CN109582345 A CN 109582345A CN 201811232401 A CN201811232401 A CN 201811232401A CN 109582345 A CN109582345 A CN 109582345A
Authority
CN
China
Prior art keywords
page
party
parameter
report
difference value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811232401.4A
Other languages
Chinese (zh)
Inventor
胡雨佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811232401.4A priority Critical patent/CN109582345A/en
Publication of CN109582345A publication Critical patent/CN109582345A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Abstract

The present invention provides a kind of report automatic generation method, comprising: obtains pending third party's page;Third party's page is parsed by preset auditing module, design parameter corresponding with auditing module is extracted from third party's page;Obtain standard parameter corresponding with auditing module;Calculate the difference value between design parameter and standard parameter;Judge difference value whether in preset interval value;If so, carrying out adaptation adjustment to the corresponding design parameter of third party's page according to the standard parameter, the amendment page is generated according to design parameter adjusted is adapted to;The amendment page, the difference value are sent to default review platform;Review is obtained as a result, reporting according to the review as a result, generating;If it is not, generating report according to the difference value.This method can realize that the design specification of third party's page is audited automatically, and adaptation adjustment can be realized automatically when difference value is in preset interval value, significantly improve the delivery efficiency of audit report and the accuracy of report content.

Description

Report automatic generation method, device, storage medium and computer equipment
Technical field
The present invention relates to field of computer technology, specifically, the present invention relates to a kind of report automatic generation methods, dress It sets, computer readable storage medium and computer equipment.
Background technique
With the fast development of computer technology, many applications or website can be by access third party's pages with further rich Richness shows content and meets the more diverse application demand of user.Since the third party's page accessed may be by multiple and different Tripartite, which develops, to be generated, and the design pattern of each third party's page, style are different.To guarantee to apply after access third party's page Or website be still consistent design pattern, style, user's preferable perception experience can be given, need to application to be accessed or The design specification of third party's page of website audits and generates audit report.
Currently, third-party design specification depends on manual examination and verification, review efficiency is low, and auditing standards are fuzzy, it is difficult to protect The accuracy of auditing result is demonstrate,proved, and then leads to that the delivery efficiency of audit report is low and report content accuracy is low.
Summary of the invention
It is that at least can solve above-mentioned one of technological deficiency, the present invention provides the reports of following technical scheme to automatically generate Method and corresponding device, computer readable storage medium and computer equipment.
The embodiment of the present invention provides a kind of report automatic generation method, includes the following steps: according on one side
Obtain pending third party's page;Third party's page is parsed by preset auditing module, from institute It states and extracts design parameter corresponding with the auditing module in third party's page;
Obtain standard parameter corresponding with the auditing module;It calculates between the design parameter and the standard parameter Difference value;
Judge the difference value whether in preset interval value;
If so, adaptation adjustment is carried out to the corresponding design parameter of third party's page according to the standard parameter, according to It is adapted to design parameter adjusted and generates the amendment page;The amendment page, the difference value are sent to default review platform; Review is obtained as a result, reporting according to the review as a result, generating;
If it is not, generating report according to the difference value.
Preferably, the preset auditing module includes: basic pattern, control pattern and banner picture;
It is described that third party's page is parsed by preset auditing module, from third party's page extract with The corresponding design parameter of the auditing module, comprising:
By the preset auditing module comprising the basic pattern, control pattern and banner picture to third party's page It is parsed, basic pattern design parameter corresponding with the auditing module, control pattern is extracted from third party's page Design parameter and banner picture design parameter.
Preferably, it is described judge the difference value whether in preset interval value before, further includes:
Obtain provider's information of third party's page;
According to provider's information, the preset interval value is determined.
It is preferably, described to obtain standard parameter corresponding with the auditing module, comprising:
Detect whether the corresponding current event of third party's page is preset critical event;
If so, obtaining standard parameter corresponding with the auditing module and the critical event;
If it is not, obtaining the standard parameter of default corresponding with the auditing module.
Further, whether the corresponding current event of detection third party's page is preset critical event, packet It includes:
Detect whether the corresponding on-line time node of third party's page is preset red-letter day timing node;
It is described to obtain standard parameter corresponding with the auditing module and the critical event, comprising:
It obtains with the auditing module in the corresponding standard parameter of the red-letter day timing node.
Preferably, described that adaptation tune is carried out to the corresponding design parameter of third party's page according to the standard parameter It is whole, the amendment page is generated according to design parameter adjusted is adapted to, comprising:
Adaptation adjustment is carried out to corresponding design parameter according to the standard parameter;
Adaptation adjustment is carried out to corresponding page elements in third party's page according to design parameter adjusted is adapted to, It generates and is adapted to page elements adjusted;
The adaptation page elements adjusted are replaced into corresponding page elements in third party's page, generate amendment The page.
Preferably, after the generation report, further includes:
The report is fed back to the provider of third party's page.
In addition, the embodiment of the present invention provides a kind of report automatically generating device according on the other hand, comprising:
Design parameter obtains module, for obtaining pending third party's page;By preset auditing module to described Tripartite's page parses, and design parameter corresponding with the auditing module is extracted from third party's page;
Difference value computing module, for obtaining standard parameter corresponding with the auditing module;Calculate the design parameter With the difference value between the standard parameter;
Judgment module, for judging the difference value whether in preset interval value;
Report generation module is used for when the difference value is in the preset interval value, according to the standard parameter pair The corresponding design parameter of third party's page carries out adaptation adjustment, generates revised pages according to design parameter adjusted is adapted to Face;The amendment page, the difference value are sent review;Review is obtained as a result, reporting according to the review as a result, generating;
The report generation module is also used to when the difference value is not in the preset interval value, according to the difference Different value generates report.
The embodiment of the present invention provides a kind of computer readable storage medium, the computer according to another aspect Computer program is stored on readable storage medium storing program for executing, the computer program realizes that above-mentioned report is automatic when being executed by processor Generation method.
The embodiment of the present invention provides a kind of computer equipment according to another aspect, and the computer includes one Or multiple processors;Memory;One or more computer programs, wherein one or more of computer programs are stored in It in the memory and is configured as being executed by one or more of processors, one or more of computer program configurations For: execute above-mentioned report automatic generation method.
Compared with the prior art, the present invention has the following beneficial effects:
Report automatic generation method, device, computer readable storage medium and computer equipment provided by the invention, pass through The design parameter of third party's page and preset standard parameter compared and calculates difference value, it can be achieved that third party's page Design specification is audited automatically, participates in design specification audit without artificial, effectively increases audit treatment effeciency and auditing result Accuracy, and adaptation adjustment can be realized automatically when difference value is in preset interval value, without waiting for the provider of third party's page It modifies and resubmits third party's page and just carry out secondary audit, and then significantly improve in the delivery efficiency and report of audit report The accuracy of appearance.
In addition, report automatic generation method, device, computer readable storage medium and computer provided by the invention are set It is standby, by intelligently determining the standard parameter for audit according to the corresponding current event of third party's page, it can be ensured that audit As a result accuracy, and ensure to audit the design pattern of third party's page passed through, when style meets its access application really pair The application scenarios answered, and then ensure the accuracy of report content;Also it is updated to by the way that page elements replacement adjusted will be adapted to In third party's page, the amendment page can be quickly generated, significantly improves the adaptation regulated efficiency of third party's page, shortens third party The page and design specification are audited the period that successfully simultaneously access platform is shown, and then improve the efficiency of operation of platform.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the method flow diagram of report automatic generation method provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of report automatically generating device provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.Wording used herein " and/ Or " it include one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
The embodiment of the invention provides a kind of report automatic generation methods, as shown in Figure 1, this method comprises:
Step S101: pending third party's page is obtained;Third party's page is carried out by preset auditing module Design parameter corresponding with the auditing module is extracted in parsing from third party's page.
For the present embodiment, third party's page is the page of application to be accessed developed by third party.Actually answering It, need to be by the design pattern of third party's page, style before application accesses and shows third party's page in scene It is audited with using pre-set third party's Pages Design specification, to ensure using shown by one or more thirds Each third party's page of Fang Kaifa has consistent design pattern, style.It is set using can be preset for third party's page The tool of meter specification audit, is such as provided with the auditing system for third-party design specification, described to obtain pending third party The page specifically, all third party's page fragmentations for being related to process that third party is developed are uploaded to auditing system, using from The pending third party's page to access application uploaded by third party is obtained in its auditing system.
For the present embodiment, the page is divided into one or more auditing modules using presetting, to press the audit Module parses third party's page and examines by each auditing module the design pattern of third party's page, style Core.Wherein, it can be divided according to page area between different auditing modules, it, can also be according to such as page upper, middle and lower region auditing module It can also be by those skilled in the art according to practical application request such as control pattern, banner picture according to page elements Type division Divided according to other modes, the present embodiment to the specific division mode of the auditing module without limitation.
The present embodiment is such as pressed using preset page parsing and prospecting tools using preset page parsing mode The auditing module parses third party's page, can extract from third party's page and the auditing module pair The design parameter answered.Wherein, the corresponding design parameter of the auditing module be in third party's page with it is corresponding it is described examine Dimensional parameters, the color parameter etc. of core module one or more element.
Step S102: standard parameter corresponding with the auditing module is obtained;Calculate the design parameter and the standard Difference value between parameter.
For the present embodiment, the auditing module is previously provided with corresponding standard parameter, and the standard parameter is application The preset parameter for meeting its Pages Design specification, the standard parameter is for the design parameter with third party's page Audited, with judge third party's page whether with application have consistent design pattern, style.
For the present embodiment, after obtaining the corresponding design parameter of the auditing module and standard parameter, by using Preset operation method, such as the design parameter standard parameter corresponding with the design parameter extracted from third party's page Subtracted each other, the difference value between the design parameter and the standard parameter can be calculated, the difference value is for embodying Third party's page corresponds to the difference size of the design pattern of the design parameter, style and third party's Pages Design specification.
Step S103: judge the difference value whether in preset interval value.
For the present embodiment, the preset interval value is pre-set reasonable difference interval value, for determining described the Tripartite's page could be generated by automatic correction technique means meets repairing using pre-set third party's Pages Design specification The positive page.If the difference value in preset interval value, indicates that third party's page can be raw by automatic correction technique means At the amendment page met using pre-set third party's Pages Design specification;If the difference value is less than the preset section It is worth corresponding lower limit value, indicates that the difference value between the design parameter and corresponding standard parameter is sufficiently small, without carries out certainly Dynamic amendment can pass through audit;If the difference value is greater than the corresponding upper limit value in the preset section, the design parameter is indicated Difference value between corresponding standard parameter is excessive, using automatic correction technique means third party's page can not also accorded with It closes and applies pre-set third party's Pages Design specification.When design pattern, style and the current application of third party's page When pre-set third party's Pages Design specification is completely the same, the difference value is 0.Wherein, the preset interval value can root It is determined according to the type of the corresponding design parameter of preset auditing module, such as size, color, the preset area of corresponding different designs parameter Between the value that is worth can it is identical can be different, the present embodiment does not limit this.
Step S104: if so, being adapted to according to the standard parameter to the corresponding design parameter of third party's page Adjustment generates the amendment page according to design parameter adjusted is adapted to;The amendment page, the difference value are sent to default Check platform;Review is obtained as a result, reporting according to the review as a result, generating.
For the present embodiment, for the difference value in preset interval value, third party's page can be by correcting skill automatically Art means generate the amendment page met using pre-set third party's Pages Design specification.Generate the process tool of the amendment page Body are as follows: for design parameter of the difference value in preset interval value, need to according to the corresponding standard parameter of the design parameter to its into Row adaptation adjustment, design parameter adaptation is adjusted to set described in the corresponding parameter value of the standard parameter or adaptation adjustment as will be described Meter parameter is the error amount between the design parameter and the standard parameter to be contracted within the scope of reasonable error, subsequent basis It is adapted to design parameter adjusted and generates the amendment page, wherein the amendment page refers to according to the adaptation design adjusted Parameter carries out the page obtained after adaptation adjustment to third party's page.
For the present embodiment, the default review platform is used to check the clarity and aesthetics of the amendment page. The default review platform can be manual review's platform, after the amendment page is sent to manual review's platform, review Personnel load the amendment page in the review page of manual review's platform, and are by visually checking the amendment page It is no clear and beautiful;The default review platform can also be that machine checks platform, and the amendment page is sent to machine and is answered After core platform, machine check platform based on preset image recognition algorithm identify it is described amendment the page in element resolution ratio, Whether the parameters such as position coordinates point, the parameters for then checking element in the amendment page automatically meet that the page is clear and beauty See corresponding pre-set criteria value.
For the present embodiment, whether the default review platform accords in the clarity and aesthetics for determining the amendment page After closing Platform Requirements, corresponding review result is generated according to the amendment page and the difference value and is fed back to application.Institute Stating review auditing result includes that corresponding current difference value review passes through and checks not by two kinds as a result, if the amendment page reaches To the requirement of clarity and aesthetics, then review passes through, if not up to, checking and not passing through.By answering the amendment page Core, it can be ensured that the clarity and aesthetics for being adapted to third party's page adjusted reach the requirement of access application.
For the present embodiment, the review of default review platform feedback is received as a result, and reporting according to review result generation It accuses, the relevant informations, such as third party such as review process data and the result of the report for recording third party's page The information such as design parameter, standard parameter, difference value, the amendment page, the review result of the page.If the review result is that review is logical It crosses, then it represents that being adapted to third party's page adjusted and application has consistent design pattern, style, and page clarity and beauty Sight degree reaches the requirement of access application, can access and is shown in application, and correspondingly, the report generated according to review result is extremely Less include the amendment page, the difference value, record the review knot for thering is the amendment page review of the corresponding difference value to pass through Fruit and record, which have, is adapted to the audit that third party's page adjusted is audited by third party's Pages Design specification and can access application The information such as a result.If the review result is that review does not pass through, then it represents that the page for being adapted to third party's page adjusted is clear Degree and aesthetics fail the requirement for reaching access application, not can access and are shown in application, correspondingly, described according to review result The report of generation includes at least the amendment page review that the amendment page, the difference value, record have the corresponding difference value It is unacceptable to check result and for prompting the provider of third party's page to modify third party's page and resubmiting The information such as the prompt information of audit.By correcting third party's page automatically when the difference value is in preset interval value and answering Core can be realized and assist third party in third party's page and the little pre-set third party's Pages Design difference between rules of application The provider of the page corrects the page, reduces application and time and human cost that provider is cost needed for Uniting specification, Improve the efficiency of third party's page access application.
Step S105: if it is not, according to the difference value, report is generated.
The design is indicated if the difference value is less than the preset interval value corresponding lower limit value for the present embodiment Difference value between parameter and corresponding standard parameter is sufficiently small, can be by audit, when the difference without being automatically corrected Different value indicates that the design parameter matches unanimously with the standard parameter when being 0, correspondingly, the report generated according to the difference value Third party's page that accusing has the corresponding difference value including the difference value, record passes through the audit of third party's Pages Design specification simultaneously It can access the information such as the auditing result of application.
For the present embodiment, if the difference value is greater than the corresponding upper limit value in the preset section, the design ginseng is indicated Several difference values between corresponding standard parameter are excessive, can not also make third party's page using automatic correction technique means Meet using pre-set third party's Pages Design specification, includes described according to the report that the difference value generates correspondingly Difference value, record have third party's page of the corresponding difference value to fail the audit knot audited by third party's Pages Design specification Fruit and for prompting the provider of third party's page to modify third party's page and resubmiting the prompt information of audit Etc. information.
Report automatic generation method provided in an embodiment of the present invention, by by the design parameter of third party's page and preset Standard parameter compares and calculates difference value, it can be achieved that the design specification of third party's page is audited automatically, without artificial participation Design specification audit, effectively increases the accuracy of audit treatment effeciency and auditing result, and can be in difference value in preset section Automatically adaptation adjustment is realized when value, modifies and resubmit third party's page just carrying out without waiting for the provider of third party's page Secondary audit, and then significantly improve the delivery efficiency of audit report and the accuracy of report content.
In one embodiment, the preset auditing module includes: basic pattern, control pattern and banner picture;
It is described that third party's page is parsed by preset auditing module, from third party's page extract with The corresponding design parameter of the auditing module, comprising:
By the preset auditing module comprising the basic pattern, control pattern and banner picture to third party's page It is parsed, basic pattern design parameter corresponding with the auditing module, control pattern is extracted from third party's page Design parameter and banner picture design parameter.
For the present embodiment, for the auditing module according to page elements Type division, the auditing module includes basic sample Formula, control pattern and banner picture.
The present embodiment is such as pressed using preset page parsing and prospecting tools using preset page parsing mode The auditing module parses third party's page, can extract from third party's page and the basic pattern pair The basic pattern design parameter answered, the control form design parameter corresponding with control pattern and corresponding with the banner picture Banner picture design parameter.Wherein, the basic pattern design parameter includes but is not limited to: page grid is laid out (grid number Amount and size), colour system, font color parameters, common font size size;The control form design parameter includes but unlimited In: the dimensional parameters and color parameter of control (such as button, navigation, search);The banner picture design parameter includes but not It is limited to: the dimensional parameters and color parameter of banner picture.
In one embodiment, it is described judge the difference value whether in preset interval value before, further includes:
Obtain provider's information of third party's page;
According to provider's information, the preset interval value is determined.
For the present embodiment, provider's information is to develop the information of the provider of third party's page, described to mention Supplier's information includes title, abbreviation, number or the coding of the provider and third party's page audit note of the provider Record.The preset interval value is determined according to provider's information specifically: the corresponding different designs ginseng of each auditing module Number is previously provided with the upper limit value of corresponding preset interval value and a reference value of lower limit value, can be to the base according to provider's information Quasi- value is adjusted, and with the upper limit value and lower limit value after being adjusted, and then obtains the corresponding preset interval value of design parameter.Example Such as, repeatedly there is the provider that smaller difference value needs to be automatically corrected and check for third party's page of its exploitation, it can The a reference value of the upper limit value is adjusted downwards, and to reduce the value range of the preset interval value, it is automatic modified to improve enabling Threshold value threshold effectively reduces platform third party's Pages Design specification to reduce the third party to the automatic dependence corrected and check The workload of audit.
It is in one embodiment, described to obtain standard parameter corresponding with the auditing module, comprising:
Detect whether the corresponding current event of third party's page is preset critical event;
If so, obtaining standard parameter corresponding with the auditing module and the critical event.
If it is not, obtaining the standard parameter of default corresponding with the auditing module.
For the present embodiment, the standard parameter corresponding with the auditing module, such as basic pattern standard parameter, control Style standards parameter and banner picture standard parameter are not changeless parameter, and the standard parameter can be according to practical application field Scape, i.e., the corresponding current event of described third party's page are adjusted.The current event refers to that third party's page access is answered Used time corresponding related application scene, such as time, application activity, theme, the preset critical event are that application is set in advance The significant correlation application scenarios set, such as red-letter day, important application operation activity, important theme.
For the present embodiment, if the corresponding current event of third party's page is preset critical event, described the The design pattern of tripartite's page, style should with it is different under normal circumstances, correspondingly, for being set with third party's page The standard parameter that meter parameter is audited should be corresponding with the auditing module and the critical event;If third party's page Corresponding current event is not preset critical event, then third party's page is using design parameter under normal circumstances Can, correspondingly, acquired standard parameter is the standard parameter of default corresponding with the auditing module.
In the present embodiment, by intelligently determining the mark for audit according to the corresponding current event of third party's page Quasi- parameter, it can be ensured that the accuracy of auditing result, and ensure that the design pattern for third party's page that audit passes through, style accord with really Corresponding application scenarios when its access application are closed, and then ensure the accuracy of report content.
In one embodiment, whether the corresponding current event of detection third party's page is preset crucial thing Part, comprising:
Detect whether the corresponding on-line time node of third party's page is preset red-letter day timing node;
It is described to obtain standard parameter corresponding with the auditing module and the critical event, comprising:
It obtains with the auditing module in the corresponding standard parameter of the red-letter day timing node.
For the present embodiment, the standard parameter can be accessed according to third party's page and be shown in application it is online when Between point be adjusted.Wherein, the corresponding current event of third party's page can be specially that third party's page is corresponding On-line time point, the critical event correspondingly can be specially pre-set time point in red-letter day, as New Year's Day January 1, 1 National Day of October etc..
For the present embodiment, if the corresponding on-line time point of third party's page is preset time point in red-letter day, institute State the design pattern of third party's page, style should with it is different under normal circumstances, correspondingly, be used for and third party's page The standard parameter audited of design parameter should be corresponding with the auditing module and the time point in red-letter day;If the third The corresponding on-line time point of the square page is not preset time point in red-letter day, then third party's page is using setting under normal circumstances Parameter is counted, correspondingly, acquired standard parameter is the standard parameter of default corresponding with the auditing module.
For example, the corresponding colour system default standard parameter on ordinary days of third party's page is blue for basic pattern Colour system, if the corresponding on-line time point of third party's page is National Day October 1, standard parameter corresponds to red color System.
In the present embodiment, by determining the standard for audit according to the corresponding on-line time point of third party's page Parameter, it can be ensured that the accuracy of auditing result, and ensure that the design pattern for third party's page that audit passes through, style meet really It accesses corresponding application scenarios when application, and then ensures the accuracy of report content.
In one embodiment, described that the corresponding design parameter of third party's page is carried out according to the standard parameter Adaptation adjustment generates the amendment page according to design parameter adjusted is adapted to, comprising:
Adaptation adjustment is carried out to corresponding design parameter according to the standard parameter;
Adaptation adjustment is carried out to corresponding page elements in third party's page according to design parameter adjusted is adapted to, It generates and is adapted to page elements adjusted;
The adaptation page elements adjusted are replaced into corresponding page elements in third party's page, generate amendment The page.
For the present embodiment, the amendment page is generated without according to the auditing module according to design parameter adjusted is adapted to Corresponding each design parameter regenerates the page, but only regenerate in third party's page with the standard parameter it Between design parameter corresponding page elements of the difference value in the preset interval value, and the page elements regenerated are replaced It changes and is updated to third party's page, generate the amendment page.Specifically, for corresponding difference value in the preset interval value Design parameter, adaptation adjustment need to be carried out to it according to the design parameter corresponding standard parameter, design parameter is suitable as will be described Be adjusted to the corresponding parameter value of the standard parameter or adaptation adjust the design parameter with by the design parameter with it is described Error amount between standard parameter is contracted within the scope of reasonable error, then according to being adapted to design parameter adjusted to described the Corresponding page elements carry out adaptation adjustment in tripartite's page, generate and are adapted to page elements adjusted, and the adaptation is adjusted Page elements after whole replace corresponding page elements in third party's page, generate the amendment page, wherein the revised pages Face, which refers to, carries out the page obtained after adaptation adjustment to third party's page according to the adaptation design parameter adjusted.
In the present embodiment, it is updated in third party's page by the way that page elements replacement adjusted will be adapted to, it can be quick The amendment page is generated, the adaptation regulated efficiency of third party's page is significantly improved, shortens third party's page and design specification is audited The period that success and access platform are shown, and then improve the efficiency of operation of platform.
In one embodiment, after the generation report, further includes:
The report is fed back to the provider of third party's page.
For the present embodiment, after generating the report, the provider of Xiang Suoshu third party's page feeds back the report, To allow the provider to know whether third party's page of its exploitation passes through using pre-set third party's Pages Design specification Audit, and it is obstructed out-of-date auditing, the provider of third party's page need to modify and resubmit to third party's page Audit.
In addition, the embodiment of the invention provides a kind of report automatically generating devices, as shown in Fig. 2, described device includes: to set Count parameter acquisition module 21, difference value computing module 22, judgment module 23 and report generation module 24;Wherein,
Design parameter obtains module 21, for obtaining pending third party's page;By preset auditing module to described Third party's page parses, and design parameter corresponding with the auditing module is extracted from third party's page;
Difference value computing module 22, for obtaining standard parameter corresponding with the auditing module;Calculate the design ginseng Several difference values between the standard parameter;
Judgment module 23, for judging the difference value whether in preset interval value;
Report generation module 24 is used for when the difference value is in the preset interval value, according to the standard parameter Adaptation adjustment is carried out to the corresponding design parameter of third party's page, generates revised pages according to design parameter adjusted is adapted to Face;The amendment page, the difference value are sent review;Review is obtained as a result, reporting according to the review as a result, generating;
The report generation module 24 is also used to when the difference value is not in the preset interval value, according to described Difference value generates report.
In one embodiment, the preset auditing module includes: basic pattern, control pattern and banner picture;
The design parameter obtains module 21, is specifically used for:
By the preset auditing module comprising the basic pattern, control pattern and banner picture to third party's page It is parsed, basic pattern design parameter corresponding with the auditing module, control pattern is extracted from third party's page Design parameter and banner picture design parameter.
In one embodiment, it is described judge the difference value whether in preset interval value before, further includes:
Obtain provider's information of third party's page;
According to provider's information, the preset interval value is determined.
It is in one embodiment, described to obtain standard parameter corresponding with the auditing module, comprising:
Detect whether the corresponding current event of third party's page is preset critical event;
If so, obtaining standard parameter corresponding with the auditing module and the critical event.
If it is not, obtaining the standard parameter of default corresponding with the auditing module.
In one embodiment, whether the corresponding current event of detection third party's page is preset crucial thing Part, comprising:
Detect whether the corresponding on-line time node of third party's page is preset red-letter day timing node;
It is described to obtain standard parameter corresponding with the auditing module and the critical event, comprising:
It obtains with the auditing module in the corresponding standard parameter of the red-letter day timing node.
In one embodiment, described that the corresponding design parameter of third party's page is carried out according to the standard parameter Adaptation adjustment generates the amendment page according to design parameter adjusted is adapted to, comprising:
Adaptation adjustment is carried out to corresponding design parameter according to the standard parameter;
Adaptation adjustment is carried out to corresponding page elements in third party's page according to design parameter adjusted is adapted to, It generates and is adapted to page elements adjusted;
The adaptation page elements adjusted are replaced into corresponding page elements in third party's page, generate amendment The page.
Report automatically generating device provided by the invention can be realized: by by the design parameter of third party's page and preset Standard parameter compares and calculates difference value, it can be achieved that the design specification of third party's page is audited automatically, without artificial participation Design specification audit, effectively increases the accuracy of audit treatment effeciency and auditing result, and can be in difference value in preset section Automatically adaptation adjustment is realized when value, modifies and resubmit third party's page just carrying out without waiting for the provider of third party's page Secondary audit, and then significantly improve the delivery efficiency of audit report and the accuracy of report content;It can also be achieved: by according to institute It states the corresponding current event of third party's page and intelligently determines the standard parameter for being used for audit, it can be ensured that the accuracy of auditing result, And ensure corresponding application scenarios when the design pattern for third party's page that audit passes through, style meet its access application really, And then ensure the accuracy of report content;Also it is updated in third party's page by the way that page elements replacement adjusted will be adapted to, The amendment page can be quickly generated, the adaptation regulated efficiency of third party's page is significantly improved, shortens third party's page and design is advised Model is audited the period that successfully simultaneously access platform is shown, and then improves the efficiency of operation of platform.
The embodiment of the method for above-mentioned offer, specific function may be implemented in report automatically generating device provided in an embodiment of the present invention It is able to achieve the explanation referred in embodiment of the method, details are not described herein.
In addition, being deposited on computer readable storage medium the embodiment of the invention provides a kind of computer readable storage medium Computer program is contained, the report side of automatically generating described in above embodiments is realized when the computer program is executed by processor Method.Wherein, the computer readable storage medium includes but is not limited to any kind of disk (including floppy disk, hard disk, CD, CD- ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM (Random AcceSS Memory, immediately Memory), EPROM (EraSable Programmable Read-Only Memory, Erarable Programmable Read only Memory), (Electrically EraSable Programmable Read-Only Memory, electric erazable programmable is read-only to be deposited EEPROM Reservoir), flash memory, magnetic card or light card.It is, storage equipment includes by equipment (for example, computer, mobile phone) with energy Any medium for the form storage or transmission information enough read can be read-only memory, disk or CD etc..
Computer readable storage medium provided by the invention, it can be achieved that: by by the design parameter of third party's page and pre- The standard parameter set compares and calculates difference value, it can be achieved that the design specification of third party's page is audited automatically, without artificial Design specification audit is participated in, effectively increases the accuracy of audit treatment effeciency and auditing result, and can be in difference value preset Automatically adaptation adjustment is realized when interval value, modifies without waiting for the provider of third party's page and resubmits third party's page Secondary audit is carried out, and then significantly improves the delivery efficiency of audit report and the accuracy of report content;It can also be achieved: passing through root The standard parameter for audit is intelligently determined according to the corresponding current event of third party's page, it can be ensured that auditing result it is accurate Property, and ensure corresponding applied field when the design pattern for third party's page that audit passes through, style meet its access application really Scape, and then ensure the accuracy of report content;Also third party's page is updated to by the way that page elements replacement adjusted will be adapted to In, the amendment page can be quickly generated, the adaptation regulated efficiency of third party's page is significantly improved, shortens third party's page and design Specification is audited the period that successfully simultaneously access platform is shown, and then improves the efficiency of operation of platform.
The embodiment of the method for above-mentioned offer may be implemented in computer readable storage medium provided in an embodiment of the present invention, specifically Function realizes the explanation referred in embodiment of the method, and details are not described herein.
In addition, the embodiment of the invention also provides a kind of computer equipments, as shown in Figure 3.Calculating described in the present embodiment Machine equipment can be the equipment such as server, personal computer and the network equipment.The computer equipment include processor 302, The devices such as memory 303, input unit 304 and display unit 305.It will be understood by those skilled in the art that setting shown in Fig. 3 Standby structure devices do not constitute the restriction to all devices, may include components more more or fewer than diagram, or combine certain A little components.Memory 303 can be used for storing computer program 301 and each functional module, and the operation of processor 302 is stored in storage The computer program 301 of device 303, thereby executing the various function application and data processing of equipment.Memory can be memory Reservoir or external memory, or including both built-in storage and external memory.Built-in storage may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash Device or random access memory.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, tape etc..It is disclosed in this invention to deposit Reservoir includes but is not limited to the memory of these types.Memory disclosed in this invention is only used as example rather than as restriction.
Input unit 304 is used to receive the input of signal, and receives the keyword of user's input.Input unit 304 can Including touch panel and other input equipments.Touch panel collects the touch operation of user on it or nearby and (for example uses Family uses the operations of any suitable object or attachment on touch panel or near touch panel such as finger, stylus), and root According to the corresponding attachment device of preset driven by program;Other input equipments can include but is not limited to physical keyboard, function One of key (such as broadcasting control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.Display unit 305 can be used for showing the information of user's input or be supplied to the information of user and the various menus of computer equipment.Display is single The forms such as liquid crystal display, Organic Light Emitting Diode can be used in member 305.Processor 302 is the control centre of computer equipment, benefit With the various pieces of various interfaces and the entire computer of connection, by running or executing the software being stored in memory 302 Program and/or module, and the data being stored in memory are called, perform various functions and handle data.
As one embodiment, the computer equipment includes: one or more processors 302, memory 303, and one Or multiple computer programs 301, wherein one or more of computer programs 301 are stored in memory 303 and are matched It is set to and is executed by one or more of processors 302, one or more of computer programs 301 are configured to carry out above Report automatic generation method described in any embodiment.
Computer equipment provided by the invention, it can be achieved that: by by the design parameter of third party's page and preset standard Parameter compares and calculates difference value, it can be achieved that the design specification of third party's page is audited automatically, without artificial participation design Specification audit, effectively increases the accuracy of audit treatment effeciency and auditing result, and can be in difference value in preset interval value It is automatic to realize adaptation adjustment, modified without waiting for the provider of third party's page and resubmit third party's page just carry out it is secondary Audit, and then significantly improve the delivery efficiency of audit report and the accuracy of report content;It can also be achieved: by according to described The corresponding current event of tripartite's page intelligently determines the standard parameter for audit, it can be ensured that the accuracy of auditing result, and really The design pattern for third party's page that guarantor's audit passes through, style meet corresponding application scenarios when its access application really, in turn Ensure the accuracy of report content;Also it is updated in third party's page by the way that page elements replacement adjusted will be adapted to, it can be fast Fast-growing significantly improves the adaptation regulated efficiency of third party's page at the amendment page, shortens third party's page and design specification is examined The period that core success and access platform are shown, and then improve the efficiency of operation of platform.
The embodiment of the method for above-mentioned offer may be implemented in computer equipment provided in an embodiment of the present invention, and concrete function is realized The explanation in embodiment of the method is referred to, details are not described herein.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of report automatic generation method, which comprises the steps of:
Obtain pending third party's page;Third party's page is parsed by preset auditing module, from described Design parameter corresponding with the auditing module is extracted in tripartite's page;
Obtain standard parameter corresponding with the auditing module;Calculate the difference between the design parameter and the standard parameter Value;
Judge the difference value whether in preset interval value;
If so, adaptation adjustment is carried out to the corresponding design parameter of third party's page according to the standard parameter, according to adaptation Design parameter adjusted generates the amendment page;The amendment page, the difference value are sent to default review platform;It obtains Review according to the review as a result, generating as a result, report;
If it is not, generating report according to the difference value.
2. report automatic generation method according to claim 1, which is characterized in that the preset auditing module includes: Basic pattern, control pattern and banner picture;
It is described that third party's page is parsed by preset auditing module, from third party's page extract with it is described The corresponding design parameter of auditing module, comprising:
Third party's page is carried out by the preset auditing module comprising the basic pattern, control pattern and banner picture Basic pattern design parameter corresponding with the auditing module, control form design are extracted in parsing from third party's page Parameter and banner picture design parameter.
3. report automatic generation method according to claim 1, which is characterized in that it is described judge the difference value whether Before in preset interval value, further includes:
Obtain provider's information of third party's page;
According to provider's information, the preset interval value is determined.
4. report automatic generation method according to claim 1, which is characterized in that the acquisition and the auditing module pair The standard parameter answered, comprising:
Detect whether the corresponding current event of third party's page is preset critical event;
If so, obtaining standard parameter corresponding with the auditing module and the critical event;
If it is not, obtaining the standard parameter of default corresponding with the auditing module.
5. report automatic generation method according to claim 4, which is characterized in that detection third party's page pair Whether the current event answered is preset critical event, comprising:
Detect whether the corresponding on-line time node of third party's page is preset red-letter day timing node;
It is described to obtain standard parameter corresponding with the auditing module and the critical event, comprising:
It obtains with the auditing module in the corresponding standard parameter of the red-letter day timing node.
6. report automatic generation method according to claim 1, which is characterized in that it is described according to the standard parameter to institute It states the corresponding design parameter of third party's page and carries out adaptation adjustment, generate the amendment page according to design parameter adjusted is adapted to, Include:
Adaptation adjustment is carried out to corresponding design parameter according to the standard parameter;
Adaptation adjustment is carried out to corresponding page elements in third party's page according to design parameter adjusted is adapted to, is generated It is adapted to page elements adjusted;
The adaptation page elements adjusted are replaced into corresponding page elements in third party's page, generate revised pages Face.
7. report automatic generation method according to claim 1, which is characterized in that after the generation report, further includes:
The report is fed back to the provider of third party's page.
8. a kind of report automatically generating device characterized by comprising
Design parameter obtains module, for obtaining pending third party's page;By preset auditing module to the third party The page is parsed, and design parameter corresponding with the auditing module is extracted from third party's page;
Difference value computing module, for obtaining standard parameter corresponding with the auditing module;Calculate the design parameter and institute State the difference value between standard parameter;
Judgment module, for judging the difference value whether in preset interval value;
Report generation module is used for when the difference value is in the preset interval value, according to the standard parameter to described The corresponding design parameter of third party's page carries out adaptation adjustment, generates the amendment page according to design parameter adjusted is adapted to;? The amendment page, the difference value send review;Review is obtained as a result, reporting according to the review as a result, generating;
The report generation module is also used to when the difference value is not in the preset interval value, according to the difference value, Generate report.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes claim 1 to 7 described in any item report sides of automatically generating when the computer program is executed by processor Method.
10. a kind of computer equipment, characterized in that it comprises:
One or more processors;
Memory;
One or more computer programs, wherein one or more of computer programs are stored in the memory and quilt It is configured to be executed by one or more of processors, one or more of computer programs are configured to: execute according to power Benefit requires 1 to 7 described in any item report automatic generation methods.
CN201811232401.4A 2018-10-22 2018-10-22 Report automatic generation method, device, storage medium and computer equipment Pending CN109582345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811232401.4A CN109582345A (en) 2018-10-22 2018-10-22 Report automatic generation method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811232401.4A CN109582345A (en) 2018-10-22 2018-10-22 Report automatic generation method, device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN109582345A true CN109582345A (en) 2019-04-05

Family

ID=65920268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811232401.4A Pending CN109582345A (en) 2018-10-22 2018-10-22 Report automatic generation method, device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN109582345A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124390A (en) * 2019-12-17 2020-05-08 东软集团股份有限公司 Rechecking page generation method and device, storage medium and electronic equipment
CN111158673A (en) * 2019-12-19 2020-05-15 青岛聚好联科技有限公司 Method and device for configuring rotating disc movable page

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260301A (en) * 2015-09-24 2016-01-20 努比亚技术有限公司 Visual effect comparison test device of user interfaces and realization method of visual effect comparison test device of user interfaces
CN106325875A (en) * 2016-08-29 2017-01-11 浪潮软件集团有限公司 Method for comparing webpage UI interface with webpage design drawing
CN107544903A (en) * 2017-08-04 2018-01-05 东软集团股份有限公司 Page specification detection method, device and computer equipment
CN108073517A (en) * 2017-12-27 2018-05-25 中国电子产品可靠性与环境试验研究所 Management method, device, medium and the computer equipment of third party software test

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260301A (en) * 2015-09-24 2016-01-20 努比亚技术有限公司 Visual effect comparison test device of user interfaces and realization method of visual effect comparison test device of user interfaces
CN106325875A (en) * 2016-08-29 2017-01-11 浪潮软件集团有限公司 Method for comparing webpage UI interface with webpage design drawing
CN107544903A (en) * 2017-08-04 2018-01-05 东软集团股份有限公司 Page specification detection method, device and computer equipment
CN108073517A (en) * 2017-12-27 2018-05-25 中国电子产品可靠性与环境试验研究所 Management method, device, medium and the computer equipment of third party software test

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124390A (en) * 2019-12-17 2020-05-08 东软集团股份有限公司 Rechecking page generation method and device, storage medium and electronic equipment
CN111158673A (en) * 2019-12-19 2020-05-15 青岛聚好联科技有限公司 Method and device for configuring rotating disc movable page

Similar Documents

Publication Publication Date Title
CN107360006A (en) A kind of resource billing method and device
CN110457615A (en) Method for displaying and processing, device, equipment and the readable storage medium storing program for executing of personal page
CN107066512A (en) A kind of user preference appraisal procedure and system based on Hadoop
CN110941630A (en) Database operation and maintenance method, device and system
CN110856038A (en) Video generation method and system, and storage medium
CN109582345A (en) Report automatic generation method, device, storage medium and computer equipment
CN105893390A (en) Application program processing method and electronic equipment
CN106921795A (en) A kind of contact data management method and its system
CN109657225A (en) Data integration method, device, terminal and storage medium
CN110795387B (en) Data import method, data export device and data processing system
CN108521405A (en) A kind of risk management and control method, device and storage medium
CN109767110A (en) A kind of risk control system optimization method, device, equipment and storage medium
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN113761514A (en) Cloud desktop multi-factor security authentication method and system
CN108985501A (en) Stock index prediction method, server and the storage medium extracted based on index characteristic
CN109783163A (en) A kind of data interactive method and platform based on multidimensional data variable
CN109597615A (en) Third party's Pages Design Specifications Matching, device, medium and equipment
CN106202162B (en) It is a kind of for test recommend room data list test macro and method
CN106407970A (en) Nutrient intake obtaining method and device
CN105791326B (en) A kind of white list generation system and method based on User Page behavior
CN109710890B (en) Method and system for identifying false material in real time based on constructed behavior portrait model
CN107888690A (en) The statistical method and system of response time
CN109785155A (en) Method and Related product based on medical insurance reimbursement model adjustment medical insurance strategy
CN109788365A (en) A kind of filter method and system of page barrage
CN113420097B (en) Data analysis method, device, storage medium and server

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