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

By automatically parsing and adapting the design parameters of third-party pages, the problem of low manual review efficiency is solved, efficient and accurate design specification review and report generation are achieved, and the access platform display cycle of third-party pages is improved.

CN109582345BActive Publication Date: 2024-08-27CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811232401.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-10-22
Publication Date
2024-08-27
Estimated Expiration
2038-10-22

AI Technical Summary

Technical Problem

In the existing technology, the review of third-party page design specifications relies on manual labor, which is inefficient and inaccurate, resulting in low efficiency and low accuracy of the output of the review report.

Method used

By obtaining the third-party page to be reviewed, analyze and extract the design parameters, calculate the difference value with the standard parameters, and determine whether it is within the preset interval value. If so, make adaptation adjustments and generate a correction page, and send it to the review platform to generate Report, if not, the report will be generated directly.

Benefits of technology

It realizes the automatic review of third-party page design specifications, improves the efficiency of review processing and the accuracy of results, reduces manual participation, significantly improves the output efficiency of reports and the accuracy of content, and ensures the consistency of design style and style.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109582345B
    Figure CN109582345B
Patent Text Reader

Abstract

The present invention provides a method for automatically generating a report, comprising: obtaining a third-party page to be reviewed; parsing the third-party page according to a preset review module, extracting design parameters corresponding to the review module from the third-party page; obtaining standard parameters corresponding to the review module; calculating the difference between the design parameters and the standard parameters; judging whether the difference is within a preset interval; if so, adapting and adjusting the design parameters corresponding to the third-party page according to the standard parameters, and generating a correction page according to the adapted and adjusted design parameters; sending the correction page and the difference to a preset review platform; obtaining the review result, and generating a report according to the review result; if not, generating a report according to the difference. The method can realize automatic review of the design specifications of the third-party page, and can automatically realize adaptation and adjustment when the difference is within a preset interval, significantly improving the output efficiency of the review report and the accuracy of the report content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and apparatus for automatically generating a report, a computer-readable storage medium and a computer device. Background Art

[0002] With the rapid development of computer technology, many applications or websites will connect to third-party pages to further enrich the displayed content and meet users' more diverse application needs. Since the connected third-party pages may be developed and generated by multiple different third parties, the design style and style of each third-party page are different. In order to ensure that the application or website maintains a consistent design style and style after connecting to the third-party page, and can provide users with a better viewing experience, it is necessary to review the design specifications of the third-party pages to be connected to the application or website and generate an audit report.

[0003] At present, third-party design specifications rely on manual review, which has low review efficiency and vague review standards, making it difficult to ensure the accuracy of the review results, which in turn leads to low output efficiency of review reports and low accuracy of report content. Summary of the invention

[0004] In order to solve at least one of the above-mentioned technical defects, the present invention provides a report automatic generation method and corresponding device, computer-readable storage medium and computer equipment according to the following technical solution.

[0005] According to one aspect, an embodiment of the present invention provides a method for automatically generating a report, comprising the following steps:

[0006] Obtain a third-party page to be reviewed; parse the third-party page according to a preset review module, and extract design parameters corresponding to the review module from the third-party page;

[0007] Obtaining standard parameters corresponding to the audit module; calculating the difference between the design parameters and the standard parameters;

[0008] Determining whether the difference value is within a preset interval value;

[0009] If yes, adapt and adjust the design parameters corresponding to the third-party page according to the standard parameters, and generate a correction page according to the adapted and adjusted design parameters; send the correction page and the difference value to a preset review platform; obtain the review result, and generate a report according to the review result;

[0010] If not, a report is generated based on the difference value.

[0011] Preferably, the preset audit module includes: basic style, control style and banner image;

[0012] The step of parsing the third-party page according to a preset audit module and extracting design parameters corresponding to the audit module from the third-party page includes:

[0013] The third-party page is parsed according to a preset audit module including the basic style, control style and banner image, and the basic style design parameters, control style design parameters and banner image design parameters corresponding to the audit module are extracted from the third-party page.

[0014] Preferably, before determining whether the difference value is within a preset interval value, the method further includes:

[0015] Obtaining information about the provider of the third-party page;

[0016] The preset interval value is determined according to the provider information.

[0017] Preferably, the obtaining of standard parameters corresponding to the audit module includes:

[0018] Detecting whether the current event corresponding to the third-party page is a preset key event;

[0019] If so, obtaining standard parameters corresponding to the audit module and the key event;

[0020] If not, obtain the default standard parameters corresponding to the audit module.

[0021] Furthermore, the detecting whether the current event corresponding to the third-party page is a preset key event includes:

[0022] Detecting whether the online time node corresponding to the third-party page is a preset holiday time node;

[0023] The obtaining of standard parameters corresponding to the audit module and the key event includes:

[0024] Obtain the standard parameters corresponding to the audit module at the holiday time node.

[0025] Preferably, the adapting and adjusting the design parameters corresponding to the third-party page according to the standard parameters, and generating the correction page according to the adapted and adjusted design parameters, includes:

[0026] Adapt and adjust corresponding design parameters according to the standard parameters;

[0027] Adapting and adjusting the corresponding page elements in the third-party page according to the adapted and adjusted design parameters to generate adapted and adjusted page elements;

[0028] The adapted and adjusted page elements are used to replace corresponding page elements in the third-party page to generate a revised page.

[0029] Preferably, after generating the report, the method further comprises:

[0030] The report is fed back to the provider of the third-party page.

[0031] In addition, according to another aspect, an embodiment of the present invention provides a report automatic generation device, comprising:

[0032] A design parameter acquisition module is used to acquire a third-party page to be reviewed; parse the third-party page according to a preset review module, and extract design parameters corresponding to the review module from the third-party page;

[0033] A difference value calculation module, used to obtain the standard parameters corresponding to the audit module; calculate the difference value between the design parameters and the standard parameters;

[0034] A judging module, used for judging whether the difference value is within a preset interval value;

[0035] A report generation module, configured to adapt and adjust the design parameters corresponding to the third-party page according to the standard parameters when the difference value is within the preset interval value, and generate a correction page according to the adapted and adjusted design parameters; send the correction page and the difference value for review; obtain the review result, and generate a report according to the review result;

[0036] The report generating module is further configured to generate a report according to the difference value when the difference value is not within the preset interval value.

[0037] According to another aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned method for automatically generating a report is implemented.

[0038] According to another aspect, an embodiment of the present invention provides a computer device, wherein the computer includes one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, and the one or more computer programs are configured to: execute the above-mentioned automatic report generation method.

[0039] Compared with the prior art, the present invention has the following beneficial effects:

[0040] The automatic report generation method, apparatus, computer-readable storage medium and computer equipment provided by the present invention can realize automatic review of the design specifications of the third-party page by comparing the design parameters of the third-party page with preset standard parameters and calculating the difference value. There is no need for human participation in the design specification review, which effectively improves the review processing efficiency and the accuracy of the review results. It can also automatically implement adaptive adjustment when the difference value is within a preset interval value, without waiting for the provider of the third-party page to modify and resubmit the third-party page for a second review, thereby significantly improving the output efficiency of the review report and the accuracy of the report content.

[0041] In addition, the automatic report generation method, apparatus, computer-readable storage medium and computer equipment provided by the present invention can ensure the accuracy of the audit results by intelligently determining the standard parameters for auditing based on the current events corresponding to the third-party pages, and ensure that the design style and style of the audited third-party pages are indeed in line with the corresponding application scenarios when they are connected to the application, thereby ensuring the accuracy of the report content; and by replacing and updating the adapted and adjusted page elements into the third-party pages, a corrected page can be quickly generated, which significantly improves the adaptation and adjustment efficiency of the third-party pages, shortens the cycle for the third-party pages to be successfully audited and designed and connected to the platform for display, thereby improving the operating efficiency of the platform.

[0042] Additional aspects and advantages of the present invention will be given in part in the following description, which will become obvious from the following description, or may be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0044] Figure 1 A method flow chart of a method for automatically generating a report provided by an embodiment of the present invention;

[0045] Figure 2 A schematic diagram of the structure of an automatic report generation device provided by an embodiment of the present invention;

[0046] Figure 3 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.

[0048] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0049] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.

[0050] The embodiment of the present invention provides a method for automatically generating a report, such as Figure 1 As shown, the method includes:

[0051] Step S101: obtaining a third-party page to be reviewed; parsing the third-party page according to a preset review module, and extracting design parameters corresponding to the review module from the third-party page.

[0052] For this embodiment, the third-party page is a page developed by a third party to be connected to the application. In the actual application scenario, before the application accesses and displays the third-party page, the design style and style of the third-party page need to be reviewed with the third-party page design specifications pre-set by the application to ensure that the third-party pages developed by one or more third parties displayed by the application have consistent design styles and styles. The application can pre-set tools for reviewing third-party page design specifications, such as providing an audit system for third-party design specifications. The acquisition of the third-party page to be reviewed is specifically that the third party splits all the third-party pages involved in the process developed by it and uploads them to the audit system, and the application obtains the third-party page uploaded by the third party to be reviewed for access to the application from its audit system.

[0053] For this embodiment, the application pre-sets to divide the page into one or more review modules, so as to parse the third-party page according to the review module and review the design style and style of the third-party page according to each review module. Among them, different review modules can be divided according to page areas, such as the upper, middle and lower area review modules on the page, or according to page element types, such as control styles and banner images. They can also be divided by other methods according to actual application requirements by technicians in this field. This embodiment does not limit the specific division method of the review modules.

[0054] In this embodiment, a preset page parsing method is used, such as a preset page parsing and detection tool, to parse the third-party page according to the audit module, and the design parameters corresponding to the audit module can be extracted from the third-party page. The design parameters corresponding to the audit module are size parameters, color parameters, etc. of one or more elements corresponding to the audit module in the third-party page.

[0055] Step S102: Obtain standard parameters corresponding to the audit module; calculate the difference between the design parameters and the standard parameters.

[0056] For this embodiment, the review module is pre-set with corresponding standard parameters, which are parameters pre-set by the application to comply with its page design specifications. The standard parameters are used to review the design parameters of the third-party page to determine whether the third-party page has a consistent design style and style with the application.

[0057] For this embodiment, after obtaining the design parameters and standard parameters corresponding to the review module, by adopting a preset calculation method, such as subtracting the design parameters extracted from the third-party page from the standard parameters corresponding to the design parameters, the difference value between the design parameters and the standard parameters can be calculated. The difference value is used to reflect the difference between the design style and style of the third-party page corresponding to the design parameters and the third-party page design specifications.

[0058] Step S103: Determine whether the difference value is within a preset interval.

[0059] For this embodiment, the preset interval value is a reasonable difference interval value preset in advance, which is used to determine whether the third-party page can generate a corrected page that meets the third-party page design specifications preset by the application through automatic correction technology. If the difference value is within the preset interval value, it means that the third-party page can generate a corrected page that meets the third-party page design specifications preset by the application through automatic correction technology; if the difference value is less than the lower limit value corresponding to the preset interval value, it means that the difference value between the design parameter and the corresponding standard parameter is small enough and can pass the review without automatic correction; if the difference value is greater than the upper limit value corresponding to the preset interval, it means that the difference value between the design parameter and the corresponding standard parameter is too large, and the automatic correction technology cannot make the third-party page meet the third-party page design specifications preset by the application. When the design style and style of the third-party page are completely consistent with the third-party page design specifications preset by the current application, the difference value is 0. Among them, the preset interval value can be determined according to the type of design parameters corresponding to the preset review module, such as size, color, etc., and the values ​​of the preset interval values ​​corresponding to different design parameters can be the same or different, which is not limited in this embodiment.

[0060] Step S104: If yes, adapt and adjust the design parameters corresponding to the third-party page according to the standard parameters, and generate a correction page according to the adapted and adjusted design parameters; send the correction page and the difference value to a preset review platform; obtain the review results, and generate a report based on the review results.

[0061] For this embodiment, the difference value is within the preset interval value, and the third-party page can generate a correction page that meets the third-party page design specifications preset by the application through automatic correction technical means. The process of generating a correction page is specifically as follows: for design parameters whose difference values ​​are within the preset interval value, they need to be adapted and adjusted according to the standard parameters corresponding to the design parameters, such as adapting and adjusting the design parameters to the parameter values ​​corresponding to the standard parameters or adapting and adjusting the design parameters to reduce the error value between the design parameters and the standard parameters to within a reasonable error range, and then generating a correction page according to the adapted and adjusted design parameters, wherein the correction page refers to the page obtained after adapting and adjusting the third-party page according to the adapted and adjusted design parameters.

[0062] For this embodiment, the preset review platform is used to review the clarity and aesthetics of the correction page. The preset review platform can be a manual review platform. After the correction page is sent to the manual review platform, the reviewer loads the correction page on the review page of the manual review platform and visually reviews whether the correction page is clear and aesthetically pleasing. The preset review platform can also be a machine review platform. After the correction page is sent to the machine review platform, the machine review platform identifies the resolution, position coordinate points and other parameters of the elements in the correction page based on a preset image recognition algorithm, and then automatically reviews whether the various parameters of the elements in the correction page meet the preset standard values ​​corresponding to the clarity and aesthetics of the page.

[0063] For this embodiment, after determining whether the clarity and aesthetics of the revised page meet the platform requirements, the preset review platform generates a corresponding review result based on the revised page and the difference value and feeds back to the application. The review result includes two results corresponding to the current difference value: review passed and review failed. If the revised page meets the requirements of clarity and aesthetics, the review is passed; if not, the review is failed. By reviewing the revised page, it can be ensured that the clarity and aesthetics of the adapted and adjusted third-party page meet the requirements of the access application.

[0064] For this embodiment, the review results fed back by the preset review platform are received, and a report is generated based on the review results. The report is used to record the review process data and results of the third-party page and other related information, such as the design parameters, standard parameters, difference values, revised pages, review results and other information of the third-party page. If the review result is that the review is passed, it means that the adapted and adjusted third-party page has a consistent design style and style with the application, and the page clarity and aesthetics meet the requirements for access to the application, and can be accessed and displayed in the application. Accordingly, the report generated based on the review result includes at least the revised page, the difference value, a review result that records the review of the revised page corresponding to the difference value, and a review result that records that the adapted and adjusted third-party page has passed the third-party page design specification review and can be accessed to the application. If the review result is that the review fails, it means that the clarity and aesthetics of the adapted and adjusted third-party page fail to meet the requirements of the access application and cannot be accessed and displayed in the application. Accordingly, the report generated according to the review result includes at least the corrected page, the difference value, the review result that the corrected page corresponding to the difference value fails the review, and prompt information for prompting the provider of the third-party page to modify the third-party page and resubmit for review. By automatically correcting and reviewing the third-party page when the difference value is within the preset interval value, it is possible to assist the provider of the third-party page to correct the page when the third-party page is not much different from the third-party page design specifications pre-set by the application, reduce the time and labor costs required for the application and the provider to unify the design specifications, and improve the efficiency of the third-party page access application.

[0065] Step S105: If not, generate a report based on the difference value.

[0066] For this embodiment, if the difference value is smaller than the lower limit value corresponding to the preset interval value, it indicates that the difference value between the design parameter and the corresponding standard parameter is small enough and can pass the review without automatic correction. When the difference value is 0, it indicates that the design parameter matches the standard parameter. Accordingly, the report generated according to the difference value includes the difference value, the review result that records the third-party page corresponding to the difference value has passed the third-party page design specification review and can be accessed by the application, and other information.

[0067] For this embodiment, if the difference value is greater than the upper limit value corresponding to the preset interval, it means that the difference value between the design parameter and the corresponding standard parameter is too large, and the automatic correction technical means cannot make the third-party page comply with the third-party page design specifications preset by the application. Accordingly, the report generated according to the difference value includes the difference value, the audit result that records the third-party page corresponding to the difference value failing to pass the third-party page design specification audit, and prompt information for prompting the provider of the third-party page to modify the third-party page and resubmit it for audit.

[0068] The automatic report generation method provided by the embodiment of the present invention can realize automatic review of the design specifications of the third-party page by comparing the design parameters of the third-party page with preset standard parameters and calculating the difference value. There is no need for manual participation in the design specification review, which effectively improves the review processing efficiency and the accuracy of the review results. It can also automatically implement adaptive adjustment when the difference value is within a preset interval value, without waiting for the provider of the third-party page to modify and resubmit the third-party page for a second review, thereby significantly improving the output efficiency of the audit report and the accuracy of the report content.

[0069] In one embodiment, the preset audit module includes: a basic style, a control style, and a banner image;

[0070] The step of parsing the third-party page according to a preset audit module and extracting design parameters corresponding to the audit module from the third-party page includes:

[0071] The third-party page is parsed according to a preset audit module including the basic style, control style and banner image, and the basic style design parameters, control style design parameters and banner image design parameters corresponding to the audit module are extracted from the third-party page.

[0072] For this embodiment, the review module is divided according to the page element type, and the review module includes a basic style, a control style and a banner image.

[0073] For this embodiment, a preset page parsing method is adopted, such as using a preset page parsing and detection tool to parse the third-party page according to the audit module, and the basic style design parameters corresponding to the basic style, the control style design parameters corresponding to the control style, and the banner image design parameters corresponding to the banner image can be extracted from the third-party page. Among them, the basic style design parameters include but are not limited to: page grid layout (grid quantity and size), color system, font color parameters, and commonly used font sizes; the control style design parameters include but are not limited to: size parameters and color parameters of controls (such as buttons, navigation, search, etc.); the banner image design parameters include but are not limited to: size parameters and color parameters of banner images.

[0074] In one embodiment, before determining whether the difference value is within a preset interval value, the method further includes:

[0075] Obtaining information about the provider of the third-party page;

[0076] The preset interval value is determined according to the provider information.

[0077] For this embodiment, the provider information is the information of the provider who developed the third-party page, and the provider information includes the name, abbreviation, number or code of the provider, and the third-party page audit record of the provider. The preset interval value is determined according to the provider information as follows: the different design parameters corresponding to each audit module are pre-set with reference values ​​of the upper limit and lower limit corresponding to the preset interval value, and the reference value can be adjusted according to the provider information to obtain the adjusted upper limit and lower limit, and then obtain the preset interval value corresponding to the design parameter. For example, for a provider whose developed third-party pages have multiple small difference values ​​that need to be automatically corrected and reviewed, the reference value of the upper limit value can be adjusted downward to narrow the value range of the preset interval value, increase the threshold for enabling automatic correction, thereby reducing the third party's dependence on automatic correction and review, and effectively reducing the workload of the platform's third-party page design specification review.

[0078] In one embodiment, the obtaining of standard parameters corresponding to the audit module includes:

[0079] Detecting whether the current event corresponding to the third-party page is a preset key event;

[0080] If so, obtain standard parameters corresponding to the audit module and the key event.

[0081] If not, obtain the default standard parameters corresponding to the audit module.

[0082] For this embodiment, the standard parameters corresponding to the audit module, such as the basic style standard parameters, the control style standard parameters and the banner image standard parameters, are not fixed parameters. The standard parameters can be adjusted according to the actual application scenario, that is, the current event corresponding to the third-party page. The current event refers to the relevant application scenario corresponding to the third-party page when it is connected to the application, such as time, application activity, theme, etc. The preset key event is an important related application scenario pre-set by the application, such as festivals, important application operation activities, important themes, etc.

[0083] For this embodiment, if the current event corresponding to the third-party page is a preset key event, the design style and style of the third-party page should be different from those under normal circumstances, and accordingly, the standard parameters used for reviewing the design parameters of the third-party page should correspond to the review module and the key event; if the current event corresponding to the third-party page is not a preset key event, the third-party page can adopt the design parameters under normal circumstances, and accordingly, the obtained standard parameters are the default standard parameters corresponding to the review module.

[0084] In this embodiment, by intelligently determining the standard parameters for auditing based on the current event corresponding to the third-party page, the accuracy of the audit results can be ensured, and it can be ensured that the design style and style of the audited third-party page are indeed in line with the corresponding application scenario when it is connected to the application, thereby ensuring the accuracy of the report content.

[0085] In one embodiment, the detecting whether the current event corresponding to the third-party page is a preset key event includes:

[0086] Detecting whether the online time node corresponding to the third-party page is a preset holiday time node;

[0087] The obtaining of standard parameters corresponding to the audit module and the key event includes:

[0088] Obtain the standard parameters corresponding to the audit module at the holiday time node.

[0089] For this embodiment, the standard parameters can be adjusted according to the online time point when the third-party page is accessed and displayed on the application. Among them, the current event corresponding to the third-party page can be specifically the online time point corresponding to the third-party page, and the key event can be specifically a pre-set holiday time point, such as New Year's Day on January 1, National Day on October 1, etc.

[0090] For this embodiment, if the online time point corresponding to the third-party page is a preset holiday time point, the design style and style of the third-party page should be different from those under normal circumstances, and accordingly, the standard parameters used for reviewing the design parameters of the third-party page should correspond to the review module and the holiday time point; if the online time point corresponding to the third-party page is not a preset holiday time point, the third-party page can adopt the design parameters under normal circumstances, and accordingly, the obtained standard parameters are the default standard parameters corresponding to the review module.

[0091] For example, for the basic style, the default standard parameter of the color system corresponding to the third-party page on weekdays is a blue color system. If the online time point corresponding to the third-party page is October 1st, the National Day, the standard parameter corresponds to a red color system.

[0092] In this embodiment, by determining the standard parameters for the audit based on the online time point corresponding to the third-party page, the accuracy of the audit results can be ensured, and it can be ensured that the design style and style of the audited third-party page are indeed in line with the corresponding application scenario when it is connected to the application, thereby ensuring the accuracy of the report content.

[0093] In one embodiment, the step of adapting and adjusting the design parameters corresponding to the third-party page according to the standard parameters and generating a correction page according to the adapted and adjusted design parameters includes:

[0094] Adapt and adjust corresponding design parameters according to the standard parameters;

[0095] Adapting and adjusting the corresponding page elements in the third-party page according to the adapted and adjusted design parameters to generate adapted and adjusted page elements;

[0096] The adapted and adjusted page elements are used to replace corresponding page elements in the third-party page to generate a revised page.

[0097] For this embodiment, the correction page generated according to the adapted and adjusted design parameters does not need to regenerate the page according to each design parameter corresponding to the audit module, but only regenerates the page elements corresponding to the design parameters in the third-party page whose difference values ​​with the standard parameters are within the preset interval value, and replaces and updates the regenerated page elements to the third-party page to generate a correction page. Specifically, for the design parameters whose corresponding difference values ​​are within the preset interval value, it is necessary to adapt and adjust them according to the standard parameters corresponding to the design parameters, such as adapting and adjusting the design parameters to the parameter values ​​corresponding to the standard parameters or adapting and adjusting the design parameters to reduce the error value between the design parameters and the standard parameters to a reasonable error range, and then adapting and adjusting the corresponding page elements in the third-party page according to the adapted and adjusted design parameters to generate the adapted and adjusted page elements, and replacing the adapted and adjusted page elements with the corresponding page elements in the third-party page to generate a correction page, wherein the correction page refers to the page obtained after adapting and adjusting the third-party page according to the adapted and adjusted design parameters.

[0098] In this embodiment, by replacing and updating the adapted and adjusted page elements into the third-party page, a corrected page can be quickly generated, which significantly improves the adaptation and adjustment efficiency of the third-party page, shortens the cycle for the third-party page to be successfully reviewed with the design specifications and connected to the platform for display, thereby improving the operating efficiency of the platform.

[0099] In one embodiment, after generating the report, the method further includes:

[0100] The report is fed back to the provider of the third-party page.

[0101] For this embodiment, after the report is generated, the report is fed back to the provider of the third-party page to let the provider know whether the third-party page developed by it has passed the third-party page design specification review pre-set by the application, and if the review fails, the provider of the third-party page needs to modify the third-party page and resubmit it for review.

[0102] In addition, an embodiment of the present invention provides a report automatic generation device, such as Figure 2 As shown, the device includes: a design parameter acquisition module 21, a difference value calculation module 22, a judgment module 23 and a report generation module 24; wherein,

[0103] The design parameter acquisition module 21 is used to acquire a third-party page to be reviewed; parse the third-party page according to a preset review module, and extract the design parameters corresponding to the review module from the third-party page;

[0104] The difference value calculation module 22 is used to obtain the standard parameters corresponding to the audit module; calculate the difference value between the design parameters and the standard parameters;

[0105] A judging module 23 is used to judge whether the difference value is within a preset interval value;

[0106] The report generation module 24 is used to adapt and adjust the design parameters corresponding to the third-party page according to the standard parameters when the difference value is within the preset interval value, and generate a correction page according to the adapted and adjusted design parameters; send the correction page and the difference value for review; obtain the review result, and generate a report according to the review result;

[0107] The report generating module 24 is further configured to generate a report according to the difference value when the difference value is not within the preset interval value.

[0108] In one embodiment, the preset audit module includes: a basic style, a control style, and a banner image;

[0109] The design parameter acquisition module 21 is specifically used for:

[0110] The third-party page is parsed according to a preset audit module including the basic style, control style and banner image, and the basic style design parameters, control style design parameters and banner image design parameters corresponding to the audit module are extracted from the third-party page.

[0111] In one embodiment, before determining whether the difference value is within a preset interval value, the method further includes:

[0112] Obtaining information about the provider of the third-party page;

[0113] The preset interval value is determined according to the provider information.

[0114] In one embodiment, the obtaining of standard parameters corresponding to the audit module includes:

[0115] Detecting whether the current event corresponding to the third-party page is a preset key event;

[0116] If so, obtain standard parameters corresponding to the audit module and the key event.

[0117] If not, obtain the default standard parameters corresponding to the audit module.

[0118] In one embodiment, the detecting whether the current event corresponding to the third-party page is a preset key event includes:

[0119] Detecting whether the online time node corresponding to the third-party page is a preset holiday time node;

[0120] The obtaining of standard parameters corresponding to the audit module and the key event includes:

[0121] Obtain the standard parameters corresponding to the audit module at the holiday time node.

[0122] In one embodiment, the step of adapting and adjusting the design parameters corresponding to the third-party page according to the standard parameters and generating a correction page according to the adapted and adjusted design parameters includes:

[0123] Adapt and adjust corresponding design parameters according to the standard parameters;

[0124] Adapting and adjusting the corresponding page elements in the third-party page according to the adapted and adjusted design parameters to generate adapted and adjusted page elements;

[0125] The adapted and adjusted page elements are used to replace corresponding page elements in the third-party page to generate a revised page.

[0126] The automatic report generation device provided by the present invention can achieve: by comparing the design parameters of the third-party page with the preset standard parameters and calculating the difference value, the design specifications of the third-party page can be automatically reviewed, without the need for manual participation in the design specification review, effectively improving the review processing efficiency and the accuracy of the review results, and can automatically implement adaptation and adjustment when the difference value is within the preset interval value, without waiting for the provider of the third-party page to modify and resubmit the third-party page for a second review, thereby significantly improving the output efficiency of the review report and the accuracy of the report content; it can also achieve: by intelligently determining the standard parameters for the review based on the current event corresponding to the third-party page, the accuracy of the review results can be ensured, and the design style and style of the third-party page that has passed the review can indeed meet the corresponding application scenario when it is connected to the application, thereby ensuring the accuracy of the report content; and by replacing and updating the adapted page elements to the third-party page, a revised page can be quickly generated, significantly improving the adaptation and adjustment efficiency of the third-party page, shortening the cycle for the third-party page to be successfully reviewed with the design specifications and connected to the platform for display, thereby improving the operating efficiency of the platform.

[0127] The automatic report generation device provided in the embodiment of the present invention can implement the method embodiment provided above. For the specific function implementation, please refer to the description in the method embodiment, which will not be repeated here.

[0128] In addition, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for automatically generating a report described in the above embodiment is implemented. The computer-readable storage medium includes, but is not limited to, any type of disk (including floppy disk, hard disk, optical disk, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, the storage device includes any medium that can store or transmit information in a readable form by a device (for example, a computer, a mobile phone), which can be a read-only memory, a disk or an optical disk, etc.

[0129] The computer-readable storage medium provided by the present invention can achieve: by comparing the design parameters of the third-party page with the preset standard parameters and calculating the difference value, the design specifications of the third-party page can be automatically reviewed, without the need for manual participation in the design specification review, effectively improving the review processing efficiency and the accuracy of the review results, and can automatically implement adaptation and adjustment when the difference value is within the preset interval value, without waiting for the provider of the third-party page to modify and resubmit the third-party page for a second review, thereby significantly improving the output efficiency of the review report and the accuracy of the report content; it can also achieve: by intelligently determining the standard parameters for the review based on the current event corresponding to the third-party page, the accuracy of the review results can be ensured, and the design style and style of the third-party page that has passed the review can indeed meet the corresponding application scenario when it is connected to the application, thereby ensuring the accuracy of the report content; and by replacing and updating the adapted page elements into the third-party page, a revised page can be quickly generated, significantly improving the adaptation and adjustment efficiency of the third-party page, shortening the cycle for the third-party page to be successfully reviewed with the design specifications and connected to the platform for display, thereby improving the operating efficiency of the platform.

[0130] The computer-readable storage medium provided in the embodiment of the present invention can implement the method embodiment provided above. For specific function implementation, please refer to the description in the method embodiment, which will not be repeated here.

[0131] In addition, an embodiment of the present invention further provides a computer device, such as Figure 3As shown. The computer device described in this embodiment can be a server, a personal computer, a network device, etc. The computer device includes a processor 302, a memory 303, an input unit 304, a display unit 305, etc. Those skilled in the art can understand that Figure 3 The device structure device shown does not constitute a limitation on all devices, and may include more or fewer components than shown, or combine certain components. The memory 303 can be used to store the computer program 301 and various functional modules, and the processor 302 runs the computer program 301 stored in the memory 303, thereby executing various functional applications and data processing of the device. The memory can be an internal memory or an external memory, or include both internal and external memories. The internal memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a random access memory. The external memory may include a hard disk, a floppy disk, a ZIP disk, a U disk, a magnetic tape, etc. The memory disclosed in the present invention includes but is not limited to these types of memories. The memory disclosed in the present invention is only used as an example and not as a limitation.

[0132] The input unit 304 is used to receive the input of the signal and the keyword input by the user. The input unit 304 may include a touch panel and other input devices. The touch panel can collect the user's touch operation on or near it (such as the user's operation on or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program; other input devices may include but are not limited to one or more of a physical keyboard, a function key (such as a playback control key, a switch key, etc.), a trackball, a mouse, a joystick, etc. The display unit 305 can be used to display the information input by the user or the information provided to the user and various menus of the computer device. The display unit 305 can be in the form of a liquid crystal display, an organic light emitting diode, etc. The processor 302 is the control center of the computer device, which uses various interfaces and lines to connect various parts of the entire computer, and executes various functions and processes data by running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory.

[0133] As an embodiment, the computer device includes: one or more processors 302, a memory 303, and one or more computer programs 301, wherein the one or more computer programs 301 are stored in the memory 303 and are configured to be executed by the one or more processors 302, and the one or more computer programs 301 are configured to execute the automatic report generation method described in any of the above embodiments.

[0134] The computer device provided by the present invention can achieve: by comparing the design parameters of the third-party page with the preset standard parameters and calculating the difference value, the design specifications of the third-party page can be automatically reviewed, without the need for manual participation in the design specification review, effectively improving the review processing efficiency and the accuracy of the review results, and can automatically implement adaptation and adjustment when the difference value is within the preset interval value, without waiting for the provider of the third-party page to modify and resubmit the third-party page for a second review, thereby significantly improving the output efficiency of the review report and the accuracy of the report content; it can also achieve: by intelligently determining the standard parameters for the review according to the current event corresponding to the third-party page, the accuracy of the review results can be ensured, and the design style and style of the third-party page that has passed the review can indeed meet the corresponding application scenario when it is connected to the application, thereby ensuring the accuracy of the report content; and by replacing and updating the adapted page elements into the third-party page, a revised page can be quickly generated, significantly improving the adaptation and adjustment efficiency of the third-party page, shortening the cycle for the third-party page to be successfully reviewed with the design specifications and connected to the platform for display, thereby improving the operating efficiency of the platform.

[0135] The computer device provided in the embodiment of the present invention can implement the method embodiment provided above. For the specific function implementation, please refer to the description in the method embodiment, which will not be repeated here.

[0136] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0137] The above descriptions are only some embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for automatically generating a report, characterized in that: The steps include: Obtain a third-party page to be reviewed; parse the third-party page according to a preset review module, and extract design parameters corresponding to the review module from the third-party page; Obtaining standard parameters corresponding to the audit module; calculating the difference between the design parameters and the standard parameters; Determining whether the difference value is within a preset interval value; If yes, adapt and adjust the design parameters corresponding to the third-party page according to the standard parameters, and generate a revised page according to the adapted and adjusted design parameters; Sending the correction page and the difference value to a preset review platform; Obtaining a review result for the revised page, and generating a report based on the review result; If not, generate a report based on the difference value; The step of generating a report according to the difference value specifically includes: If the difference value is less than the lower limit value corresponding to the preset interval value, a report is generated including the difference value and a record of the audit result that the third-party page corresponding to the difference value has passed the third-party page design specification audit and can be accessed by the application; If the difference value is greater than the upper limit value corresponding to the preset interval value, a report is generated including the difference value, an audit result recording that the third-party page corresponding to the difference value has failed to pass the third-party page design specification audit, and prompt information for prompting the provider of the third-party page to modify the third-party page and resubmit for audit; The preset audit module includes: basic style, control style and banner image; The step of parsing the third-party page according to a preset audit module and extracting design parameters corresponding to the audit module from the third-party page specifically includes: Parsing the third-party page according to a preset audit module including the basic style, control style and banner image, and extracting basic style design parameters, control style design parameters and banner image design parameters corresponding to the audit module from the third-party page; Wherein, before determining whether the difference value is within a preset interval value, the method further includes: Obtaining information about the provider of the third-party page; Determining the preset interval value according to the provider information; The step of obtaining the standard parameters corresponding to the audit module specifically includes: Detecting whether the current event corresponding to the third-party page is a preset key event; If so, obtaining standard parameters corresponding to the audit module and the key event; If not, obtaining the default standard parameters corresponding to the audit module; The detecting whether the current event corresponding to the third-party page is a preset key event specifically includes: Detecting whether the online time node corresponding to the third-party page is a preset holiday time node; The obtaining of standard parameters corresponding to the audit module and the key event includes: Obtain standard parameters corresponding to the audit module at the festival time node; The step of adapting and adjusting the design parameters corresponding to the third-party page according to the standard parameters and generating a correction page according to the adapted and adjusted design parameters specifically includes: Adapt and adjust corresponding design parameters according to the standard parameters; Adapting and adjusting the corresponding page elements in the third-party page according to the adapted and adjusted design parameters to generate adapted and adjusted page elements; The adapted and adjusted page elements are used to replace corresponding page elements in the third-party page to generate a revised page.

2. The method for automatically generating a report according to claim 1, characterized in that: After generating the report, it also includes: The report is fed back to the provider of the third-party page.

3. A report automatic generation device, characterized in that: include: Design parameter acquisition module to obtain third-party pages to be reviewed; Parsing the third-party page according to a preset audit module, and extracting design parameters corresponding to the audit module from the third-party page; A difference value calculation module, used to obtain the standard parameters corresponding to the audit module; calculate the difference value between the design parameters and the standard parameters; A judging module, used for judging whether the difference value is within a preset interval value; A report generation module, configured to adapt and adjust the design parameters corresponding to the third-party page according to the standard parameters when the difference value is within the preset interval value, and generate a correction page according to the adapted and adjusted design parameters; Sending the revised page and the difference value for review; Obtaining a review result for the revised page, and generating a report based on the review result; The report generating module is further configured to generate a report according to the difference value when the difference value is not within the preset interval value; If the difference value is less than the lower limit value corresponding to the preset interval value, a report is generated including the difference value and a record of the audit result that the third-party page corresponding to the difference value has passed the third-party page design specification audit and can be accessed by the application; If the difference value is greater than the upper limit value corresponding to the preset interval value, a report is generated including the difference value, an audit result recording that the third-party page corresponding to the difference value has failed to pass the third-party page design specification audit, and prompt information for prompting the provider of the third-party page to modify the third-party page and resubmit for audit; The preset audit module includes: basic style, control style and banner image; The design parameter acquisition module is specifically used for: Parsing the third-party page according to a preset audit module including the basic style, control style and banner image, and extracting basic style design parameters, control style design parameters and banner image design parameters corresponding to the audit module from the third-party page; The judging module is further used for: Obtaining information about the provider of the third-party page; Determining the preset interval value according to the provider information; The difference value calculation module is specifically used for: Detecting whether the current event corresponding to the third-party page is a preset key event; If so, obtaining standard parameters corresponding to the audit module and the key event; If not, obtaining the default standard parameters corresponding to the audit module; The difference value calculation module is further used for: Detecting whether the online time node corresponding to the third-party page is a preset holiday time node; The difference value calculation module is also used for: Obtain standard parameters corresponding to the audit module at the festival time node; The report generation module is specifically used for: Adapt and adjust corresponding design parameters according to the standard parameters; Adapting and adjusting the corresponding page elements in the third-party page according to the adapted and adjusted design parameters to generate adapted and adjusted page elements; The adapted and adjusted page elements are used to replace corresponding page elements in the third-party page to generate a revised page.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for automatically generating a report according to any one of claims 1 to 2 is implemented.

5. A computer device, characterized in that: It includes: one or more processors; Memory; One or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, and the one or more computer programs are configured to: execute the report automatic generation method according to any one of claims 1 to 2.