CN113297082A - Product quality evaluation method and device - Google Patents

Product quality evaluation method and device Download PDF

Info

Publication number
CN113297082A
CN113297082A CN202110583607.7A CN202110583607A CN113297082A CN 113297082 A CN113297082 A CN 113297082A CN 202110583607 A CN202110583607 A CN 202110583607A CN 113297082 A CN113297082 A CN 113297082A
Authority
CN
China
Prior art keywords
evaluation
product
script
item
data
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
CN202110583607.7A
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.)
Beijing Zhongzhi Xunbo Data Information Technology Co ltd
Original Assignee
Beijing Zhongzhi Xunbo Data Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhongzhi Xunbo Data Information Technology Co ltd filed Critical Beijing Zhongzhi Xunbo Data Information Technology Co ltd
Priority to CN202110583607.7A priority Critical patent/CN113297082A/en
Publication of CN113297082A publication Critical patent/CN113297082A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • 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/3684Test management for test design, e.g. generating new test cases
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a device for evaluating the quality of a product, wherein the method comprises the following steps: acquiring quality evaluation data of a product, and acquiring a dynamic rule configuration table corresponding to the product, wherein the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script; analyzing the quality evaluation data to obtain evaluation parameters of each product evaluation item; for each product evaluation item, inputting the evaluation parameters of the product evaluation item into the evaluation rule script based on the evaluation rule script of the product evaluation item, and outputting an evaluation score after triggering the evaluation rule script to execute; and generating a quality evaluation file of the product based on the evaluation score of each product evaluation item, and feeding back the quality evaluation file to a corresponding user. The product is evaluated by using the dynamic rule configuration table, and an evaluation rule script is not required to be fixedly written into an evaluation system, so that the cost of developing the evaluation system is reduced, and the cost required by evaluating the product is further reduced.

Description

Product quality evaluation method and device
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for evaluating the quality of a product.
Background
With the popularization of computers, computer technologies are introduced into evaluation industries in different fields, and when products or projects in the industries are evaluated, more accurate and comprehensive results can be obtained by evaluating the products or the projects by using the computer technologies.
When a product is evaluated in the prior art, an evaluation rule needs to be compiled and fixed in an evaluation system, then the product is evaluated by using the fixed evaluation rule, the time spent for fixing the evaluation rule in the evaluation system is long, and the cost required for changing the evaluation rule fixed in the evaluation system is high, so that the cost required for evaluating the product is extremely high.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for evaluating a product quality, which use a dynamic rule configuration table to evaluate a product, thereby reducing the cost of evaluating the product.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a method of quality assessment of a product, comprising:
acquiring quality evaluation data of a product, and acquiring a preset dynamic rule configuration table corresponding to the product, wherein the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script;
analyzing the quality evaluation data to obtain evaluation parameters of each product evaluation item;
for each product evaluation item, inputting the evaluation parameters of the product evaluation item into the evaluation rule script based on the evaluation rule script of the product evaluation item, triggering the evaluation rule script to execute, and then outputting the evaluation score of the product evaluation item;
and generating a quality evaluation file of the product based on the evaluation score of each product evaluation item, and feeding back the quality evaluation file to a corresponding user.
The method, optionally, may be a process of presetting a dynamic rule configuration table, including:
acquiring an evaluation script to be tested of each evaluation dimension of the product;
determining test data of each to-be-tested evaluation script based on the evaluation dimension to which each to-be-tested evaluation script belongs;
for each to-be-tested evaluation script, inputting test data of the to-be-tested evaluation script through a preset check interface, outputting an evaluation result after the to-be-tested evaluation script is executed, comparing the evaluation result with a preset result of the to-be-tested evaluation script to determine whether the evaluation result is consistent with the preset result, and if so, determining the to-be-tested evaluation script to be a test qualified script; if the evaluation result is inconsistent with the preset result, generating a test report of the to-be-tested evaluation script, and feeding back the test report to a worker;
and generating a dynamic rule configuration table of the product based on each test qualified script, and writing the dynamic rule configuration table into a configuration file of an evaluation system.
Optionally, the method further includes, after the test report is fed back to the worker, the method further includes:
acquiring a correction script sent by a worker in response to the test report;
determining the evaluation dimension to which the correction script belongs, and acquiring test data of the correction script;
and testing the correction script based on the test data, and writing the correction script into the dynamic rule configuration table after the correction script passes the test.
Optionally, in the method, the analyzing the quality evaluation data to obtain the evaluation parameter of each product evaluation item includes:
determining each product evaluation item contained in the dynamic rule configuration table;
determining a data identification for each of the product assessment items;
and for each data identification, traversing the data identification through each evaluation parameter of the quality evaluation data, and taking the evaluation parameter corresponding to the data identification as the evaluation parameter of the product evaluation item to which the data identification belongs.
Optionally, the method for outputting the evaluation score of the product evaluation item after triggering the execution of the evaluation rule script includes:
executing the evaluation rule script to determine a grading gear corresponding to the evaluation parameter;
and taking the preset score corresponding to the grading grade as the evaluation score of the product evaluation item.
A quality evaluation apparatus of a product, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring quality evaluation data of a product and acquiring a preset dynamic rule configuration table corresponding to the product, the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script;
the analysis unit is used for analyzing the quality evaluation data to obtain the evaluation parameters of each product evaluation item;
the triggering unit is used for inputting the evaluation parameters of the product evaluation items into the evaluation rule scripts based on the evaluation rule scripts of the product evaluation items for each product evaluation item, triggering the evaluation rule scripts to execute, and then outputting the evaluation scores of the product evaluation items;
and the first generation unit is used for generating a quality evaluation file of the product based on the evaluation score of each product evaluation item and feeding back the quality evaluation file to a corresponding user.
The above apparatus, optionally, further comprises:
the second acquisition unit is used for acquiring an evaluation script to be tested of each evaluation dimension of the product;
the first determining unit is used for determining the test data of each to-be-tested evaluation script based on the evaluation dimension to which each to-be-tested evaluation script belongs;
the comparison unit is used for inputting test data of each to-be-tested evaluation script through a preset check interface so that the to-be-tested evaluation script outputs an evaluation result after being executed, the evaluation result is compared with a preset result of the to-be-tested evaluation script to determine whether the evaluation result is consistent with the preset result, and if the evaluation result is consistent with the preset result, the to-be-tested evaluation script is determined as a qualified test script; if the evaluation result is inconsistent with the preset result, generating a test report of the to-be-tested evaluation script, and feeding back the test report to a worker;
and the second generation unit is used for generating a dynamic rule configuration table of the product based on each test qualified script and writing the dynamic rule configuration table into a configuration file of an evaluation system.
The above apparatus, optionally, further comprises:
the third acquisition unit is used for acquiring a correction script sent by a worker in response to the test report;
the second determining unit is used for determining the evaluation dimension to which the correction script belongs and acquiring the test data of the correction script;
and the test unit is used for testing the correction script based on the test data and writing the correction script into the dynamic rule configuration table after the correction script passes the test.
The above apparatus, optionally, the parsing unit includes:
a first determining subunit, configured to determine each product evaluation item included in the dynamic rule configuration table;
a second determining subunit, configured to determine a data identifier of each of the product assessment items;
and the traversing subunit is used for traversing each evaluation parameter of the quality evaluation data by the data identifier and taking the evaluation parameter corresponding to the data identifier as the evaluation parameter of the product evaluation item to which the data identifier belongs.
The above apparatus, optionally, the triggering unit includes:
the execution subunit is used for executing the evaluation rule script to determine a grading gear corresponding to the evaluation parameter;
and the third determining subunit is used for taking the preset score corresponding to the grading gear as the evaluation score of the product evaluation item.
Compared with the prior art, the invention has the following advantages:
the invention provides a method and a device for evaluating the quality of a product, wherein the method comprises the following steps: acquiring quality evaluation data of a product, and acquiring a preset dynamic rule configuration table corresponding to the product, wherein the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script; analyzing the quality evaluation data to obtain evaluation parameters of each product evaluation item; for each product evaluation item, inputting the evaluation parameters of the product evaluation item into the evaluation rule script based on the evaluation rule script of the product evaluation item, triggering the evaluation rule script to execute, and then outputting the evaluation score of the product evaluation item; and generating a quality evaluation file of the product based on the evaluation score of each product evaluation item, and feeding back the quality evaluation file to a corresponding user. The product is evaluated by using the dynamic rule configuration table, and an evaluation rule script is not required to be fixedly written into an evaluation system, so that the cost of developing the evaluation system is reduced, and the cost required by evaluating the product is further reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flowchart of a method for evaluating the quality of a product according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method of a method for evaluating the quality of a product according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method of a method for evaluating the quality of a product according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for evaluating the quality of a product according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The invention is operational with numerous general purpose or special purpose computing device environments or configurations. Such as a personal computer, server computer, hand-held or portable device, tablet-type device, multi-processing apparatus, distributed computing environment including any of the above devices or equipment, and the like.
The embodiment of the invention provides a product quality evaluation method, which can be applied to an evaluation system for evaluating products, wherein the evaluation system is composed of a computer terminal or computer intelligent equipment, and an execution main body of the method is a processor or a server.
Referring to fig. 1, a flowchart of one method of the method for evaluating the quality of a product according to the embodiment of the present invention is specifically described as follows:
s101, obtaining quality evaluation data of a product, and obtaining a preset dynamic rule configuration table corresponding to the product, wherein the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script.
The product of the present invention can be specifically an engineering project in the industry or a target to be evaluated, such as a real estate source in the real estate industry, and in various real estate selling software or a real estate selling platform, a seller usually provides a quality evaluation about the real estate source to a house buyer so that the house buyer can know the real estate source based on the quality evaluation.
The method is used for evaluating the quality of the product, when a user needs to evaluate the quality of the product, the user needs to input data for evaluating the product into the evaluation system, namely the evaluation system needs to acquire the quality evaluation data of the product when beginning to evaluate the quality of the product, and the quality evaluation data is the data input by the user. Further, an evaluation system can only be used to evaluate a class of products, for example, an evaluation system for evaluating a house source is only used to evaluate the quality of the house source, but not used to evaluate the credit of a user.
After the evaluation system obtains the quality evaluation data of the product, a preset dynamic rule configuration table corresponding to the product is obtained in a configuration file of the evaluation system, the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has an evaluation rule script corresponding to the product evaluation item; the product evaluation items in the dynamic rule configuration table and the corresponding evaluation rule scripts can be edited; an evaluation rule script is a script of rules written using code to evaluate a product. The evaluation rule script can be a groovy script and can also be a script written by using java voice or python language.
The product evaluation item is a dimension for evaluating the product, and specifically, the dimension can be used as the product evaluation item such as the house source building type, the house source mortgage condition, the house source release time, the house source picture quantity, whether the government audit is passed or not and the like.
And S102, analyzing the quality evaluation data to obtain the evaluation parameters of each product evaluation item.
The quality assessment data is parsed to extract assessment parameters for each product assessment item from the quality assessment data.
Referring to fig. 2, one of the method flows for obtaining the evaluation parameters of each product evaluation item provided by the present invention is specifically described as follows:
s201, determining each product evaluation item contained in the dynamic rule configuration table.
And analyzing the dynamic rule configuration table to determine each product evaluation item in the dynamic rule configuration table, wherein the dynamic rule configuration table at least comprises one product evaluation item, and the product evaluation in the dynamic rule configuration table can be set according to the requirement for evaluating the product.
S202, determining the data identification of each product evaluation item.
Different product evaluation items have different data identifications, and the data identifications are used for acquiring data belonging to the product evaluation items from the product evaluation data.
S203, for each data identification, traversing each evaluation parameter of the quality evaluation data by the data identification, and taking the evaluation parameter corresponding to the data identification as the evaluation parameter of the product evaluation item to which the data identification belongs.
The quality evaluation data in the invention at least comprises one evaluation parameter, and each evaluation parameter carries a parameter identifier; further, the parameter identifier of the evaluation parameter corresponding to the data identifier is consistent with the data identifier.
According to the invention, the corresponding data parameters are obtained from the quality evaluation data through the data identification of the product evaluation item, so that the evaluation parameters of the product evaluation item can be accurately obtained from the quality evaluation data, and accurate data is provided for subsequent evaluation of the product.
S103, for each product evaluation item, inputting the evaluation parameters of the product evaluation item into the evaluation rule script based on the evaluation rule script of the product evaluation item, triggering the evaluation rule script to execute, and then outputting the evaluation score of the product evaluation item.
And each product evaluation item has a corresponding evaluation rule script, and for the evaluation rule script of each product evaluation item, the evaluation parameters of the product evaluation item are input into the evaluation rule script as the input parameters of the evaluation rule script, so that the evaluation rule script outputs the evaluation score of the product evaluation item after execution.
Furthermore, after the evaluation rule script is executed, a scoring gear corresponding to the evaluation parameter of the input evaluation rule script is determined, and a preset score corresponding to the scoring gear is used as an evaluation score of the product evaluation item to be output.
Furthermore, different product evaluation items have different grading levels, different grading levels correspond to different grading parameters, and preset scores of different grading levels are different.
Illustratively, when the product assessment item is a house source mortgage condition, there are two scoring gears, a1 and a2 respectively; the preset score of A1 is 5, and the corresponding evaluation parameter is that the house source has mortgage; the preset score of A2 is 3, and the corresponding evaluation parameter is that no mortgage exists in the house source; therefore, when the evaluation parameter of the product evaluation item is that the house source has a mortgage, after the evaluation rule script of the product evaluation item is executed, the rating grade corresponding to the evaluation parameter is determined to be a1, that is, the evaluation score of the product evaluation item is 5 points; when the evaluation parameter of the product evaluation item is that there is no mortgage in the house source, after the evaluation rule script of the product evaluation item is executed, the rating level corresponding to the evaluation parameter is determined to be a2, that is, the evaluation score of the product evaluation item is 3.
When the product evaluation item is the number of house source pictures, 3 scoring gears are available, namely B1, B2 and B3; at the moment, different grading gears correspond to different picture quantity intervals, the preset score of B1 is 10, and the picture quantity interval corresponding to the grading gear is [9, 12 ]; the preset score of the B2 is 8 points, the picture number interval corresponding to the grading gear is [5, 8], the preset score of the B3 is 5 points, and the picture number interval corresponding to the grading gear is [0, 4 ]. At this time, the evaluation parameter corresponding to the product evaluation item is a specific numerical value, the numerical value represents the number of the pictures of the house source provided by the user, the maximum number of the pictures of the house source provided by the user is 12 at this time, and the maximum number of the pictures can be set according to actual requirements. Therefore, after the evaluation rule script corresponding to the product evaluation item is executed, the grade of the evaluation data corresponding to the product evaluation item is determined, and the preset score of the grade is used as the grade score of the product evaluation item. Illustratively, when the evaluation parameter of the product evaluation item is 9, the evaluation parameter is located in [9, 12], the corresponding scoring level of the product evaluation item is B1, and the scoring score of the product evaluation item is 10; when the evaluation parameter of the product evaluation item is 8, the evaluation parameter is located in [5, 8], the grade corresponding to the product evaluation item is B2, and the grade score of the product evaluation item is 8 at this time; when the evaluation parameter of the product evaluation item is 3, the evaluation parameter is located in [0, 4], the corresponding scoring level of the product evaluation item is B2, and the scoring score of the product evaluation item is 5.
When the product assessment item is that government audit is passed, two scoring gears exist, namely C1 and C2; the preset score of C1 is 100, and the corresponding evaluation parameter is that the government audits are passed; the preset score of C2 is 0, and the corresponding evaluation parameter is that the government audit is not passed; therefore, when the evaluation parameter of the product evaluation item passes government audit, after the evaluation rule script of the product evaluation item is executed, the grade corresponding to the evaluation parameter is determined to be C1, that is, the evaluation score of the product evaluation item is 100 points; when the evaluation parameter of the product evaluation item is that the government audit is not passed, after the evaluation rule script of the product evaluation item is executed, the grade corresponding to the evaluation parameter is determined to be C2, that is, the evaluation score of the product evaluation item is 0.
For specific examples of other product evaluation items, the present invention is not described in an exemplary manner, and the process of determining the evaluation score for other product evaluation items (e.g., the house source release time) may refer to the above description, which is not described herein again.
And S104, generating a quality evaluation file of the product based on the evaluation score of each product evaluation item, and feeding back the quality evaluation file to a corresponding user.
The quality evaluation file of the present invention includes, but is not limited to, a score corresponding to each product evaluation item and a total score of the product, wherein the total score is a sum of score data of each product evaluation item.
In the method provided by the embodiment of the invention, quality evaluation data of a product is obtained, and a preset dynamic rule matching table corresponding to the product is obtained, wherein the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script; analyzing the quality evaluation data to obtain evaluation parameters of each product evaluation item; for each product evaluation item, inputting the evaluation parameters of the product evaluation item into the evaluation rule script based on the evaluation rule script of the product evaluation item, and outputting the evaluation score of the script evaluation item after triggering the execution of the evaluation rule script; and generating a quality evaluation file of the product based on the evaluation score of each product evaluation item, and feeding back the quality evaluation file to the user, thereby completing the quality evaluation of the product. The dynamic rule configuration table can be configured according to needs, and the process of changing the evaluation rule script in the dynamic rule configuration table is quick and simple and low in cost, so that the product evaluation mode is flexible, and the cost for evaluating the product is reduced.
Referring to fig. 3, a flow chart of a method for pre-configuring a dynamic configuration table provided in an embodiment of the present invention is specifically described as follows:
s301, obtaining an evaluation script to be tested of each evaluation dimension of the product.
It should be noted that the evaluation dimension herein can be understood as a product evaluation item of a product; the to-be-tested evaluation script is a script to be tested, and the script comprises evaluation logic of a product evaluation rule corresponding to an evaluation dimension.
S302, determining test data of each to-be-tested evaluation script based on the evaluation dimension to which each to-be-tested evaluation script belongs.
The test data required by different to-be-tested evaluation scripts are different, and the test data of each to-be-tested evaluation script can be determined according to the evaluation dimension to which each to-be-tested evaluation script belongs.
S303, for each to-be-tested evaluation script, inputting test data of the to-be-tested evaluation script through a preset check interface, outputting an evaluation result after the to-be-tested evaluation script is executed, and comparing the evaluation result with a preset result of the to-be-tested evaluation script to determine whether the evaluation result is consistent with the preset result; if the evaluation result is consistent with the preset result, executing S304; if the evaluation result is not consistent with the preset result, S306 is executed.
It should be noted that the verification interface may be a universal interface, that is, each to-be-tested evaluation script calls one verification interface; optionally, the check interface may further correspond to the to-be-tested evaluation script one to one. The check interface is used for testing the evaluation script to be tested.
The evaluation result output after the evaluation script to be tested is executed is a test scoring score corresponding to the evaluation dimension after the evaluation script to be tested is executed; and the preset result is an expected score of an evaluation dimension which is obtained after the evaluation script to be tested is executed.
When the evaluation result is inconsistent with the preset result, determining that the evaluation script to be tested has a problem, namely that the test of the evaluation script to be tested does not pass; and when the evaluation result is inconsistent with the preset result, determining that the evaluation script to be tested has no problem, and determining that the evaluation script to be tested passes the test.
S304, determining the evaluation script to be tested as a test qualified script.
S305, generating a dynamic rule configuration table of the product based on each test qualified script, and writing the dynamic rule configuration table into a configuration file of an evaluation system.
S306, generating a test report of the to-be-tested evaluation script, and feeding the test report back to a worker.
When the evaluation result is different from the preset result, determining that the evaluation script to be tested has a problem, generating a test report of the evaluation script to be tested, and feeding back the test report to a worker; the test report contains information that the evaluation script to be tested has problems. The purpose of feeding back the test report to the staff is to inform the staff that the evaluation script to be tested is unqualified and needs to be corrected.
And S307, acquiring a correction script sent by the staff in response to the test report.
After receiving the test report, the worker analyzes the to-be-tested evaluation script to determine the cause of the problem, corrects the to-be-tested evaluation script to obtain a correction script corresponding to the to-be-tested evaluation script, and sends the correction script to the processor. The received script may be a script that the worker wants to add to the dynamic rule configuration table.
S308, determining the evaluation dimension to which the correction script belongs, and acquiring the test data of the correction script.
S309, testing the correction script based on the test data, and writing the correction script into the dynamic rule configuration table after the correction script passes the test.
The process of testing the correction script can refer to the process of testing the evaluation script to be tested in S303, which is not described herein again; further, if the correction script fails the test, a test report of the correction script is generated and sent to the staff, so that the staff can correct the correction script again. And if the correction script passes the test, writing the correction script into the dynamic rule configuration table.
In the method provided by the embodiment of the invention, the generated dynamic rule configuration table is written into the configuration file of the evaluation system, the script in the dynamic rule configuration table can be edited, the code of the evaluation system does not need to be changed when the evaluation rule script is changed, and the full-flow linkage of the evaluation system is not involved, so that the cost for evaluating the product is reduced, the cost for developing the rule of the evaluation product is also improved, and the development and evaluation efficiency is improved.
Corresponding to the method shown in fig. 1, an embodiment of the present invention further provides a product quality evaluation apparatus, which is applied to a computer terminal, and is used to support the application of the product quality evaluation method provided by the present invention in reality, where fig. 4 is a schematic structural diagram of a product quality evaluation apparatus provided by an embodiment of the present invention, and the following details are described as follows:
a first obtaining unit 401, configured to obtain quality evaluation data of a product, and obtain a preset dynamic rule configuration table corresponding to the product, where the dynamic rule configuration table includes at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script;
an analyzing unit 402, configured to analyze the quality assessment data to obtain an assessment parameter of each product assessment item;
a triggering unit 403, configured to, for each product evaluation item, input an evaluation parameter of the product evaluation item into an evaluation rule script based on the evaluation rule script of the product evaluation item, and trigger the evaluation rule script to execute and then output an evaluation score of the product evaluation item;
a first generating unit 404, configured to generate a quality evaluation file of the product based on the evaluation score of each product evaluation item, and feed back the quality evaluation file to a corresponding user.
In the device provided by the embodiment of the invention, quality evaluation data of a product are obtained, and a preset dynamic rule matching table corresponding to the product is obtained, wherein the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script; analyzing the quality evaluation data to obtain evaluation parameters of each product evaluation item; for each product evaluation item, inputting the evaluation parameters of the product evaluation item into the evaluation rule script based on the evaluation rule script of the product evaluation item, and outputting the evaluation score of the script evaluation item after triggering the execution of the evaluation rule script; and generating a quality evaluation file of the product based on the evaluation score of each product evaluation item, and feeding back the quality evaluation file to the user, thereby completing the quality evaluation of the product. The product is evaluated by using the evaluation rule script in the dynamic rule configuration table without fixedly writing the script into a system, so that the cost for evaluating the product can be reduced. The evaluation rule script in the dynamic rule configuration table is easy to edit, so that the product can be evaluated more flexibly, and the method can be used in various evaluation environments.
In the apparatus provided in the embodiment of the present invention, the configuration may be further configured to:
the second acquisition unit is used for acquiring an evaluation script to be tested of each evaluation dimension of the product;
the first determining unit is used for determining the test data of each to-be-tested evaluation script based on the evaluation dimension to which each to-be-tested evaluation script belongs;
the comparison unit is used for inputting test data of each to-be-tested evaluation script through a preset check interface so that the to-be-tested evaluation script outputs an evaluation result after being executed, the evaluation result is compared with a preset result of the to-be-tested evaluation script to determine whether the evaluation result is consistent with the preset result, and if the evaluation result is consistent with the preset result, the to-be-tested evaluation script is determined as a qualified test script; if the evaluation result is inconsistent with the preset result, generating a test report of the to-be-tested evaluation script, and feeding back the test report to a worker;
and the second generation unit is used for generating a dynamic rule configuration table of the product based on each test qualified script and writing the dynamic rule configuration table into a configuration file of an evaluation system.
In the apparatus provided in the embodiment of the present invention, the configuration may be further configured to:
the third acquisition unit is used for acquiring a correction script sent by a worker in response to the test report;
the second determining unit is used for determining the evaluation dimension to which the correction script belongs and acquiring the test data of the correction script;
and the test unit is used for testing the correction script based on the test data and writing the correction script into the dynamic rule configuration table after the correction script passes the test.
In the apparatus provided in the embodiment of the present invention, the parsing unit 402 in the configuration may be configured to:
a first determining subunit, configured to determine each product evaluation item included in the dynamic rule configuration table;
a second determining subunit, configured to determine a data identifier of each of the product assessment items;
and the traversing subunit is used for traversing each evaluation parameter of the quality evaluation data by the data identifier and taking the evaluation parameter corresponding to the data identifier as the evaluation parameter of the product evaluation item to which the data identifier belongs.
In the apparatus provided in the embodiment of the present invention, the triggering unit 403 in the configuration may be configured to:
the execution subunit is used for executing the evaluation rule script to determine a grading gear corresponding to the evaluation parameter;
and the third determining subunit is used for taking the preset score corresponding to the grading gear as the evaluation score of the product evaluation item.
The embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the equipment where the storage medium is located is controlled to execute the quality evaluation method of the product.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 5, which specifically includes a memory 501 and one or more instructions 502, where the one or more instructions 502 are stored in the memory 501, and are configured to be executed by one or more processors 503 to perform the following operations according to the one or more instructions 502:
acquiring quality evaluation data of a product, and acquiring a preset dynamic rule configuration table corresponding to the product, wherein the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script;
analyzing the quality evaluation data to obtain evaluation parameters of each product evaluation item;
for each product evaluation item, inputting the evaluation parameters of the product evaluation item into the evaluation rule script based on the evaluation rule script of the product evaluation item, triggering the evaluation rule script to execute, and then outputting the evaluation score of the product evaluation item;
and generating a quality evaluation file of the product based on the evaluation score of each product evaluation item, and feeding back the quality evaluation file to a corresponding user.
The specific implementation procedures and derivatives thereof of the above embodiments are within the scope of the present invention.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for evaluating the quality of a product, comprising:
acquiring quality evaluation data of a product, and acquiring a preset dynamic rule configuration table corresponding to the product, wherein the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script;
analyzing the quality evaluation data to obtain evaluation parameters of each product evaluation item;
for each product evaluation item, inputting the evaluation parameters of the product evaluation item into the evaluation rule script based on the evaluation rule script of the product evaluation item, triggering the evaluation rule script to execute, and then outputting the evaluation score of the product evaluation item;
and generating a quality evaluation file of the product based on the evaluation score of each product evaluation item, and feeding back the quality evaluation file to a corresponding user.
2. The method of claim 1, wherein presetting the dynamic rule configuration table comprises:
acquiring an evaluation script to be tested of each evaluation dimension of the product;
determining test data of each to-be-tested evaluation script based on the evaluation dimension to which each to-be-tested evaluation script belongs;
for each to-be-tested evaluation script, inputting test data of the to-be-tested evaluation script through a preset check interface, outputting an evaluation result after the to-be-tested evaluation script is executed, comparing the evaluation result with a preset result of the to-be-tested evaluation script to determine whether the evaluation result is consistent with the preset result, and if so, determining the to-be-tested evaluation script to be a test qualified script; if the evaluation result is inconsistent with the preset result, generating a test report of the to-be-tested evaluation script, and feeding back the test report to a worker;
and generating a dynamic rule configuration table of the product based on each test qualified script, and writing the dynamic rule configuration table into a configuration file of an evaluation system.
3. The method of claim 2, wherein after feeding back the test report to the staff member, further comprising:
acquiring a correction script sent by a worker in response to the test report;
determining the evaluation dimension to which the correction script belongs, and acquiring test data of the correction script;
and testing the correction script based on the test data, and writing the correction script into the dynamic rule configuration table after the correction script passes the test.
4. The method of claim 1, wherein said analyzing said quality assessment data to obtain an assessment parameter for each of said product assessment items comprises:
determining each product evaluation item contained in the dynamic rule configuration table;
determining a data identification for each of the product assessment items;
and for each data identification, traversing the data identification through each evaluation parameter of the quality evaluation data, and taking the evaluation parameter corresponding to the data identification as the evaluation parameter of the product evaluation item to which the data identification belongs.
5. The method of claim 1, wherein said triggering execution of said evaluation rule script to output an evaluation score for said product evaluation item comprises:
executing the evaluation rule script to determine a grading gear corresponding to the evaluation parameter;
and taking the preset score corresponding to the grading grade as the evaluation score of the product evaluation item.
6. An apparatus for evaluating the quality of a product, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring quality evaluation data of a product and acquiring a preset dynamic rule configuration table corresponding to the product, the dynamic rule configuration table comprises at least one product evaluation item, and each product evaluation item has a corresponding evaluation rule script;
the analysis unit is used for analyzing the quality evaluation data to obtain the evaluation parameters of each product evaluation item;
the triggering unit is used for inputting the evaluation parameters of the product evaluation items into the evaluation rule scripts based on the evaluation rule scripts of the product evaluation items for each product evaluation item, triggering the evaluation rule scripts to execute, and then outputting the evaluation scores of the product evaluation items;
and the first generation unit is used for generating a quality evaluation file of the product based on the evaluation score of each product evaluation item and feeding back the quality evaluation file to a corresponding user.
7. The apparatus of claim 6, further comprising:
the second acquisition unit is used for acquiring an evaluation script to be tested of each evaluation dimension of the product;
the first determining unit is used for determining the test data of each to-be-tested evaluation script based on the evaluation dimension to which each to-be-tested evaluation script belongs;
the comparison unit is used for inputting test data of each to-be-tested evaluation script through a preset check interface so that the to-be-tested evaluation script outputs an evaluation result after being executed, the evaluation result is compared with a preset result of the to-be-tested evaluation script to determine whether the evaluation result is consistent with the preset result, and if the evaluation result is consistent with the preset result, the to-be-tested evaluation script is determined as a qualified test script; if the evaluation result is inconsistent with the preset result, generating a test report of the to-be-tested evaluation script, and feeding back the test report to a worker;
and the second generation unit is used for generating a dynamic rule configuration table of the product based on each test qualified script and writing the dynamic rule configuration table into a configuration file of an evaluation system.
8. The apparatus of claim 7, further comprising:
the third acquisition unit is used for acquiring a correction script sent by a worker in response to the test report;
the second determining unit is used for determining the evaluation dimension to which the correction script belongs and acquiring the test data of the correction script;
and the test unit is used for testing the correction script based on the test data and writing the correction script into the dynamic rule configuration table after the correction script passes the test.
9. The apparatus of claim 6, wherein the parsing unit comprises:
a first determining subunit, configured to determine each product evaluation item included in the dynamic rule configuration table;
a second determining subunit, configured to determine a data identifier of each of the product assessment items;
and the traversing subunit is used for traversing each evaluation parameter of the quality evaluation data by the data identifier and taking the evaluation parameter corresponding to the data identifier as the evaluation parameter of the product evaluation item to which the data identifier belongs.
10. The apparatus of claim 6, wherein the trigger unit comprises:
the execution subunit is used for executing the evaluation rule script to determine a grading gear corresponding to the evaluation parameter;
and the third determining subunit is used for taking the preset score corresponding to the grading gear as the evaluation score of the product evaluation item.
CN202110583607.7A 2021-05-27 2021-05-27 Product quality evaluation method and device Pending CN113297082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110583607.7A CN113297082A (en) 2021-05-27 2021-05-27 Product quality evaluation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110583607.7A CN113297082A (en) 2021-05-27 2021-05-27 Product quality evaluation method and device

Publications (1)

Publication Number Publication Date
CN113297082A true CN113297082A (en) 2021-08-24

Family

ID=77325418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110583607.7A Pending CN113297082A (en) 2021-05-27 2021-05-27 Product quality evaluation method and device

Country Status (1)

Country Link
CN (1) CN113297082A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115858319A (en) * 2022-12-09 2023-03-28 中电金信软件有限公司 Stream data processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115858319A (en) * 2022-12-09 2023-03-28 中电金信软件有限公司 Stream data processing method and device
CN115858319B (en) * 2022-12-09 2023-11-28 中电金信软件有限公司 Stream data processing method and device

Similar Documents

Publication Publication Date Title
Aranha et al. An estimation model for test execution effort
CN110764993A (en) Automatic testing method and terminal equipment
US20150347281A1 (en) Automation testing using descriptive maps
CN109901968A (en) A kind of automation page data method of calibration and device
Geiger et al. BPMN conformance in open source engines
CN107578210B (en) Automatic testing method and device for contract approval process
CN112597028A (en) Method and device for displaying case test result and readable storage medium
US20110016454A1 (en) Method and system for testing an order management system
CN111367531A (en) Code processing method and device
CN113297082A (en) Product quality evaluation method and device
CN114371974A (en) Buried point data checking method and electronic equipment
KR101792864B1 (en) System and Method for verifying application
CN110688173B (en) Positioning method and device of components in cross-platform interface framework and electronic equipment
CN114461520A (en) Software testing method and device and electronic equipment
CN110992166B (en) Method and device for testing online loan application
CN109597828A (en) A kind of off-line data checking method, device and server
CN115203025A (en) Test defect analysis method and device
CN114115628A (en) U shield display information acquisition method, device, equipment, medium and program product applied to U shield test
CN111639028A (en) Account checking rule script test method, device, engine and storage medium
CN112650679B (en) Test verification method, device and computer system
Yu Utilization and deployment of software testing tools and techniques
CN115994097B (en) Method and device for generating abnormal cash-out use cases based on error codes
CN113094095B (en) Agile development progress determining method and device
CN113159951B (en) Financial data clearing method, device, equipment and storage medium
CN117932564A (en) Dependency library risk checking method, device, equipment and storage medium

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