Standard comparison method and system for textile products
1. A standard comparison method for textile products is characterized by comprising the following steps:
step S1: acquiring a first standard of a textile product to be compared and a second standard of the textile product;
step S2: index item extraction is carried out on the first standard and the second standard respectively, and a plurality of key indexes are obtained;
step S3: acquiring a preset evaluation template corresponding to the key index based on the key index;
step S4: evaluating the key indexes based on the evaluation template to obtain evaluation values corresponding to the key indexes;
step S5: determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the evaluation value;
step S6: comparing the first criterion and the second criterion based on the evaluation value, the first evaluation value, and the second evaluation value.
2. The method for comparing the standards of textile products according to claim 1, wherein the step S5: determining, based on the evaluation value, a first evaluation value of the first criterion or a second evaluation value of the second criterion, including:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the weight corresponding to the key indicator and the evaluation value corresponding to the key indicator, wherein the first evaluation value or the second evaluation value is calculated by the following formula:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardThe key indexes;is the firstThe weight corresponding to each key index;the number of the key indexes in the first standard or the second standard is used as the number of the key indexes in the first standard or the second standard.
3. The method for comparing the standards of textile products according to claim 1, wherein in step S2: index item extraction is respectively carried out on the first standard and the second standard, and after a plurality of key indexes are obtained, the method further comprises the following steps:
step S21A: judging whether the first standard and the second standard are corresponding national standards and/or international standards;
step S22A: determining whether the key indicator of the second standard meets the key indicator of the first standard when the first standard is the national standard and/or the international standard and the second standard is not the national standard and/or the international standard; outputting the key indexes which are in accordance with and the key indexes which are not in accordance with;
step S23A: determining whether the key indicator of the first standard meets the key indicator of the second standard when the second standard is the national standard and/or the international standard and the first standard is not the national standard and/or the international standard; outputting the key indexes which are in accordance with and the key indexes which are not in accordance with;
step S24A: when the second standard is not the national standard and/or the international standard and the first standard is not the national standard and/or the international standard, continuing to perform the step S3,
step S25A: outputting a preset first error message when the second standard is the national standard and/or the international standard and the first standard is the national standard and/or the international standard.
4. The method for comparing the standards of textile products according to claim 1, wherein in step S2: index item extraction is respectively carried out on the first standard and the second standard, and after a plurality of key indexes are obtained, the method further comprises the following steps:
step S21B: associating the key indicator within the first criteria with the key indicator within the second criteria;
step S22B: counting the number of the associated key indicators and calculating the association degree of the first and second criteria by the following formula,
;
wherein the content of the first and second substances,in order to be said degree of association,is the number of the associated key indicators; a is the number of the key indicators within the first criterion; b is the number of the key indicators within the second criterion;
step S23B: and outputting preset second error information when the correlation degree is smaller than a preset correlation threshold value.
5. The method for comparing the standards of textile products according to claim 1, wherein in step S2: index item extraction is respectively carried out on the first standard and the second standard, and after a plurality of key indexes are obtained, the method further comprises the following steps:
step S21C: determining the association degree between every two key indexes in the first standard or the second standard based on a preset key index association table;
step S22C: determining redundancy of key indicators of the first criterion or the second criterion based on the degree of association; the redundancy calculation formula is as follows:
or;
Wherein the content of the first and second substances,redundancy for the first criterion;redundancy for the second criterion;the number of the association degrees between every two key indexes in the first standard is greater than or equal to a preset association degree threshold value;the number of the association degrees between every two key indexes in the second standard is greater than or equal to a preset association degree threshold value;
step S22D: determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the evaluation value and the redundancy,
wherein, the step S22D: determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the evaluation value and the redundancy, including:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the weight corresponding to the key indicator, the evaluation value corresponding to the key indicator, and the redundancy, the first evaluation value or the second evaluation value being calculated as follows:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardThe key indexes;is the firstThe weight corresponding to each key index;the number of the key indexes in the first standard or the second standard is the number of the key indexes in the first standard or the second standard;for the correction value determined on the basis of the redundancy,or(ii) a Wherein the content of the first and second substances,is a preset influence coefficient.
6. A system for comparing standards of textile products, comprising:
the standard acquisition module is used for acquiring a first standard of a textile product to be compared and a second standard of the textile product;
the extraction module is used for respectively extracting the index items of the first standard and the second standard to obtain a plurality of key indexes;
the template acquisition module is used for acquiring a preset evaluation template corresponding to the key index based on the key index;
the evaluation module is used for evaluating the key indexes based on the evaluation template to obtain evaluation values corresponding to the key indexes;
an evaluation module configured to determine a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the evaluation value;
a comparison module configured to compare the first criterion with the second criterion based on the evaluation value, the first evaluation value, and the second evaluation value.
7. The textile product standard alignment system of claim 6, wherein the evaluation module performs the following operations:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the weight corresponding to the key indicator and the evaluation value corresponding to the key indicator, wherein the first evaluation value or the second evaluation value is calculated by the following formula:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardThe key indexes;is the firstThe weight corresponding to each key index;the number of the key indexes in the first standard or the second standard is used as the number of the key indexes in the first standard or the second standard.
8. The textile product standards alignment system of claim 6, further comprising: the public standard judging module is used for extracting the index items of the first standard and the second standard respectively by the extracting module, and executing the following operations after acquiring a plurality of key indexes:
judging whether the first standard and the second standard are corresponding national standards and/or international standards;
determining whether the key indicator of the second standard meets the key indicator of the first standard when the first standard is the national standard and/or the international standard and the second standard is not the national standard and/or the international standard; outputting the key indexes which are in accordance with and the key indexes which are not in accordance with;
determining whether the key indicator of the first standard meets the key indicator of the second standard when the second standard is the national standard and/or the international standard and the first standard is not the national standard and/or the international standard; outputting the key indexes which are in accordance with and the key indexes which are not in accordance with;
when the second standard is not the national standard and/or the international standard and the first standard is not the national standard and/or the international standard, switching to a template acquisition module to execute the steps,
outputting a preset first error message when the second standard is the national standard and/or the international standard and the first standard is the national standard and/or the international standard.
9. The textile product standards alignment system of claim 6, further comprising: the association judgment module is used for performing index item extraction on the first standard and the second standard respectively by the extraction module, and executing the following operations after acquiring a plurality of key indexes:
associating the key indicator within the first criteria with the key indicator within the second criteria;
counting the number of the associated key indicators and calculating the association degree of the first and second criteria by the following formula,
;
wherein the content of the first and second substances,in order to be said degree of association,is the number of the associated key indicators; a is the number of the key indicators within the first criterion; b is theA number of the key indicators within a second criterion;
and outputting preset second error information when the correlation degree is smaller than a preset correlation threshold value.
10. The textile product standards alignment system of claim 6, further comprising: the redundancy judgment module is used for performing index item extraction on the first standard and the second standard respectively by the extraction module, and executing the following operations after acquiring a plurality of key indexes:
determining the association degree between every two key indexes in the first standard or the second standard based on a preset key index association table;
determining redundancy of key indicators of the first criterion or the second criterion based on the degree of association; the redundancy calculation formula is as follows:
or;
Wherein the content of the first and second substances,redundancy for the first criterion;redundancy for the second criterion;the number of the association degrees between every two key indexes in the first standard is greater than or equal to a preset association degree threshold value;is the second labelThe relevance between every two key indexes in the standard is more than or equal to the number of preset relevance thresholds;
the evaluation module determines a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the evaluation value and the redundancy,
wherein the evaluation module determines a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the evaluation value and the redundancy, including:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the weight corresponding to the key indicator, the evaluation value corresponding to the key indicator, and the redundancy, the first evaluation value or the second evaluation value being calculated as follows:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardThe key indexes;is the firstThe weight corresponding to each key index;the number of the key indexes in the first standard or the second standard is the number of the key indexes in the first standard or the second standard;for the correction value determined on the basis of the redundancy,or(ii) a Wherein the content of the first and second substances,is a preset influence coefficient.
Background
At present, textile products mainly comprise: carpets, cushions, clothes and the like are indispensable in daily life of people. Each textile product has its corresponding standard; in addition, in order to facilitate production management, enterprises also set standards for various textile products, but the quality evaluation of the standards set by the enterprises still depends on manual comparison with international or national standards, so that the standards are empirical and cannot be objectively evaluated.
Disclosure of Invention
One of the purposes of the invention is to provide a standard comparison method of textile products, which realizes objective evaluation between two standards.
The embodiment of the invention provides a standard comparison method of textile products, which comprises the following steps:
step S1: acquiring a first standard of a textile product to be compared and a second standard of the textile product;
step S2: index item extraction is carried out on the first standard and the second standard respectively, and a plurality of key indexes are obtained;
step S3: acquiring a preset evaluation template corresponding to the key index based on the key index;
step S4: evaluating the key indexes based on the evaluation template to obtain evaluation values corresponding to the key indexes;
step S5: determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the evaluation value;
step S6: the first criterion and the second criterion are compared based on the evaluation value, the first evaluation value, and the second evaluation value.
Preferably, step S5: determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the evaluation values, including:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the weight corresponding to the key indicator and the evaluation value corresponding to the key indicator, wherein the calculation formula of the first evaluation value or the second evaluation value is as follows:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardEach key index;is as followsThe weight corresponding to each key index;the number of key indexes in the first standard or the second standard.
Preferably, in step S2: index item extraction is carried out on the first standard and the second standard respectively, and after a plurality of key indexes are obtained, the method further comprises the following steps:
step S21A: judging whether the first standard and the second standard are corresponding national standards and/or international standards;
step S22A: when the first standard is a national standard and/or an international standard and the second standard is not a national standard and/or an international standard, determining whether a key index of the second standard meets a key index of the first standard; outputting the conforming key indexes and the non-conforming key indexes;
step S23A: when the second standard is a national standard and/or an international standard and the first standard is not a national standard and/or an international standard, determining whether the key index of the first standard meets the key index of the second standard; outputting the conforming key indexes and the non-conforming key indexes;
step S24A: when the second standard is not the national standard and/or the international standard and the first standard is not the national standard and/or the international standard, the process proceeds to step S3,
step S25A: when the second standard is a national standard and/or an international standard and the first standard is a national standard and/or an international standard, outputting a preset first error message.
Preferably, in step S2: index item extraction is carried out on the first standard and the second standard respectively, and after a plurality of key indexes are obtained, the method further comprises the following steps:
step S21B: correlating the key indicators within the first criteria with the key indicators within the second criteria;
step S22B: counting the number of the associated key indexes, and calculating the association degree of the first standard and the second standard by the following formula,
;
wherein the content of the first and second substances,in order to be the degree of association,is the number of associated key indicators; a is the number of key indicators within the first criterion; b is the number of key indicators within the second criterion;
step S23B: and outputting preset second error information when the association degree is smaller than a preset association threshold value.
Preferably, in step S2: index item extraction is carried out on the first standard and the second standard respectively, and after a plurality of key indexes are obtained, the method further comprises the following steps:
step S21C: determining the association degree between every two key indexes in the first standard or the second standard based on a preset key index association table;
step S22C: determining the redundancy of the key indexes of the first standard or the second standard based on the correlation degree; the redundancy calculation formula is as follows:
or;
Wherein the content of the first and second substances,redundancy for a first criterion;redundancy for a second criterion;the correlation degree between every two key indexes in the first standard is more than or equal toThe number of preset relevance thresholds;the number of the association degrees between every two key indexes in the second standard is greater than or equal to a preset association degree threshold value;
step S22D: determining a first evaluation value of a first criterion or a second evaluation value of a second criterion based on the evaluation value and the redundancy,
step S22D: determining a first evaluation value of a first criterion or a second evaluation value of a second criterion based on the evaluation value and the redundancy, including:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first standard or a second evaluation value of the second standard based on the weight corresponding to the key index, the evaluation value corresponding to the key index and the redundancy, wherein the calculation formula of the first evaluation value or the second evaluation value is as follows:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardEach key index;is as followsThe weight corresponding to each key index;the number of key indexes in the first standard or the second standard is the number of key indexes in the first standard or the second standard;for the correction value to be determined on the basis of the redundancy,or(ii) a Wherein the content of the first and second substances,is a preset influence coefficient.
The invention also provides a standard comparison system of textile products, which comprises:
the standard acquisition module is used for acquiring a first standard of a textile product to be compared and a second standard of the textile product;
the extraction module is used for respectively extracting the index items of the first standard and the second standard to obtain a plurality of key indexes;
the template acquisition module is used for acquiring a preset evaluation template corresponding to the key index based on the key index;
the evaluation module is used for evaluating the key indexes based on the evaluation template to obtain evaluation values corresponding to the key indexes;
an evaluation module for determining a first evaluation value of a first criterion or a second evaluation value of a second criterion based on the evaluation values;
and the comparison module is used for comparing the first standard with the second standard based on the evaluation value, the first evaluation value and the second evaluation value.
Preferably, the evaluation module performs the following operations:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the weight corresponding to the key indicator and the evaluation value corresponding to the key indicator, wherein the calculation formula of the first evaluation value or the second evaluation value is as follows:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardEach key index;is as followsThe weight corresponding to each key index;the number of key indexes in the first standard or the second standard.
Preferably, the standard comparison system for textile products further comprises: the public standard judging module is used for extracting the index items of the first standard and the second standard respectively by the extracting module, and executing the following operations after acquiring a plurality of key indexes:
judging whether the first standard and the second standard are corresponding national standards and/or international standards;
when the first standard is a national standard and/or an international standard and the second standard is not a national standard and/or an international standard, determining whether a key index of the second standard meets a key index of the first standard; outputting the conforming key indexes and the non-conforming key indexes;
when the second standard is a national standard and/or an international standard and the first standard is not a national standard and/or an international standard, determining whether the key index of the first standard meets the key index of the second standard; outputting the conforming key indexes and the non-conforming key indexes;
when the second standard is not the national standard and/or the international standard and the first standard is not the national standard and/or the international standard, the transfer to the template obtaining module executes the steps,
when the second standard is a national standard and/or an international standard and the first standard is a national standard and/or an international standard, outputting a preset first error message.
Preferably, the standard comparison system for textile products further comprises: and the association judgment module is used for extracting the index items of the first standard and the second standard respectively by the extraction module, and executing the following operations after acquiring a plurality of key indexes:
correlating the key indicators within the first criteria with the key indicators within the second criteria;
counting the number of the associated key indexes, and calculating the association degree of the first standard and the second standard by the following formula,
;
wherein the content of the first and second substances,in order to be the degree of association,is the number of associated key indicators; a is the number of key indicators within the first criterion; b is the number of key indicators within the second criterion;
and outputting preset second error information when the association degree is smaller than a preset association threshold value.
Preferably, the standard comparison system for textile products further comprises: and the redundancy judgment module is used for extracting the index items of the first standard and the second standard respectively at the extraction module, and executing the following operations after acquiring a plurality of key indexes:
determining the association degree between every two key indexes in the first standard or the second standard based on a preset key index association table;
determining the redundancy of the key indexes of the first standard or the second standard based on the correlation degree; the redundancy calculation formula is as follows:
or;
Wherein the content of the first and second substances,redundancy for a first criterion;redundancy for a second criterion;the number of the key indexes in the first standard, wherein the association degree between every two key indexes is greater than or equal to a preset association degree threshold value;the number of the association degrees between every two key indexes in the second standard is greater than or equal to a preset association degree threshold value;
the evaluation module determines a first evaluation value of a first criterion or a second evaluation value of a second criterion based on the evaluation value and the redundancy,
wherein the evaluation module determines a first evaluation value of a first criterion or a second evaluation value of a second criterion based on the evaluation value and the redundancy, including:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first standard or a second evaluation value of the second standard based on the weight corresponding to the key index, the evaluation value corresponding to the key index and the redundancy, wherein the calculation formula of the first evaluation value or the second evaluation value is as follows:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardEach key index;is as followsThe weight corresponding to each key index;the number of key indexes in the first standard or the second standard is the number of key indexes in the first standard or the second standard;for the correction value to be determined on the basis of the redundancy,or(ii) a Wherein the content of the first and second substances,is a preset influence coefficient.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram of a standard comparison method for textile products according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a standard comparison system for textile products according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a comparison result output by a standard comparison system of a textile product in an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The embodiment of the invention provides a standard comparison method of textile products, as shown in figure 1, comprising the following steps:
step S1: acquiring a first standard of a textile product to be compared and a second standard of the textile product;
step S2: index item extraction is carried out on the first standard and the second standard respectively, and a plurality of key indexes are obtained;
step S3: acquiring a preset evaluation template corresponding to the key index based on the key index;
step S4: evaluating the key indexes based on the evaluation template to obtain evaluation values corresponding to the key indexes;
step S5: determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the evaluation value;
step S6: the first criterion and the second criterion are compared based on the evaluation value, the first evaluation value, and the second evaluation value.
The working principle and the beneficial effects of the technical scheme are as follows:
the user only needs to input the first standard of the textile product to be compared with the second standard of the textile product, the method realizes the automatic comparison of the standards of the textile product, and when the standard of the textile product is not input by the user, preset information is output to remind the user, for example: "the first standard input by you is not the standard of textile products and is not in the comparison range of the standard of the system"; and determining whether the standard input by the user is a textile standard, and mainly determining whether the standard object product is a product in a preset textile product library. For example, the first standard and the second standard are both standards of two enterprises of western style pants, the standards are firstly analyzed and extracted, and key indexes specified in the standards are determined; starting from key indexes, realizing the hierarchical comparison of standards; during extraction, extracting key indexes in advance based on all international standards and national standards of textile products, performing comprehensive analysis to determine the extracted key indexes possibly existing in the standards, constructing a key index extraction library, and performing rapid extraction of the key indexes according to the key index extraction library, wherein the key indexes comprise: washing size change rate, dry-cleaning size change rate, twist slope after dry cleaning, twist slope after water washing, fabric tearing strength and the like, and then performing template evaluation on the extracted key indexes to obtain evaluation values; the evaluation template is established in advance, and can be manually established by a user, for example, the tearing strength of the fabric is greater than or equal to 5N, and the corresponding evaluation value is 0; the tearing strength of the fabric is more than or equal to 10N, and the corresponding evaluation value is 100; the tearing strength of the fabric is more than or equal to 100N, and the corresponding score value is 110; the tearing strength of the fabric is more than or equal to 200N, and the corresponding score value is 120; can also be obtained according to big data analysis; the big data analysis mainly includes obtaining a key index and a large amount of corresponding detection data, determining based on a distance between a center of distribution of the large amount of detection data and a center of the key index, and defining a corresponding score value by the distance, for example: a water washing size change rate of-0.8 to 0.8 at the center thereof being zero, a water washing size change rate of-0.9 to 0.7 at the center thereof being-0.1 at the second standard, and a deviation of the large amount of detection data being-0.8 according to the large amount of detection data being-0.2, i.e., the range of data being 0.6 to-1.0; therefore, the score value of the key index of the corresponding first criterion is 75; the score value of the second criterion was 87.5. Evaluating each key index through a template, determining evaluation values of the standards by integrating evaluation values of all key indexes, comparing the two standards through the height ratio of the evaluation values, and comparing each key index independently; furthermore, the relevance between the key index of the first standard and the key index of the second standard can be determined, relevance comparison is realized, and relevance analysis is performed.
The standard comparison method of the textile products provided by the invention starts from the key indexes, realizes the evaluation of the standards based on the difference of the key indexes and the quantification of the key indexes, further realizes the objective evaluation between the two standards, provides a screening basis for the standards of enterprises by comparing the advantages and disadvantages of the two standards, and further provides guidance for the enterprises to make own standards.
In one embodiment, step S5: determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the evaluation values, including:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the weight corresponding to the key indicator and the evaluation value corresponding to the key indicator, wherein the calculation formula of the first evaluation value or the second evaluation value is as follows:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardEach key index;is as followsThe weight corresponding to each key index;the number of key indexes in the first standard or the second standard.
The working principle and the beneficial effects of the technical scheme are as follows:
and respectively calculating the evaluation of each key index, determining the weight according to the importance degree of the key index to the standard, further determining the evaluation value corresponding to the standard, and realizing accurate standard evaluation by adopting a thinning and layering method. The weight corresponding to the key index is preset, and may be set by a user, for example, the weight corresponding to the washing size change rate is 0.2, the weight corresponding to the dry-cleaning size change rate is 0.2, the weight corresponding to the twist slope after dry-cleaning is 0.2, the weight corresponding to the twist slope after water-cleaning is 0.2, the weight corresponding to the fabric tearing strength is 0.4, the weight corresponding to the color difference is 1, or may be common agreement based on a plurality of enterprises, obtained from a big data platform, for example, the key index may be sent to a plurality of experts of the enterprises, the weights are distributed by the experts, and then weighted average is performed based on the authority limits of the experts to determine the final weight.
In one embodiment, at step S2: index item extraction is carried out on the first standard and the second standard respectively, and after a plurality of key indexes are obtained, the method further comprises the following steps:
step S21A: judging whether the first standard and the second standard are corresponding national standards and/or international standards;
step S22A: when the first standard is a national standard and/or an international standard and the second standard is not a national standard and/or an international standard, determining whether a key index of the second standard meets a key index of the first standard; outputting the conforming key indexes and the non-conforming key indexes;
step S23A: when the second standard is a national standard and/or an international standard and the first standard is not a national standard and/or an international standard, determining whether the key index of the first standard meets the key index of the second standard; outputting the conforming key indexes and the non-conforming key indexes;
step S24A: when the second standard is not the national standard and/or the international standard and the first standard is not the national standard and/or the international standard, the process proceeds to step S3,
step S25A: when the second standard is a national standard and/or an international standard and the first standard is a national standard and/or an international standard, outputting a preset first error message.
The working principle and the beneficial effects of the technical scheme are as follows:
when one of the two standards to be compared input by the user is the national standard or the international standard, only the other standard is required to be verified whether the other standard meets the national standard and/or the international standard. When one of the two standards to be compared is an international standard and the other is a national standard, a first error message is output, the first error message indicates which standard is the international standard and which standard is the national standard, but the comparison is not performed. Wherein, whether the judgment standard is the national standard or the international standard can be realized by three ways: the first and second keyword methods are used for extracting keywords of a first standard or a second standard, and when the keywords are matched with the keywords of the national standard or the international standard, the keywords are determined to be the national standard or the international standard; secondly, calculating the similarity between the standard and the text of the national standard or the international standard, and determining the standard as the national standard or the international standard when the similarity is greater than a preset threshold value; thirdly, by comparing the key indexes, when the key indexes are consistent with the international standard or the national standard, the key indexes are determined to be the national standard or the international standard, and the consistency is consistent from the aspects of the number of the key indexes, the content of the key indexes and the like. The first error message may be "both of the two standards input by you are national standards and/or international standards, and are not the standard comparison range of the system".
In one embodiment, at step S2: index item extraction is carried out on the first standard and the second standard respectively, and after a plurality of key indexes are obtained, the method further comprises the following steps:
step S21B: correlating the key indicators within the first criteria with the key indicators within the second criteria;
step S22B: counting the number of the associated key indexes, and calculating the association degree of the first standard and the second standard by the following formula,
;
wherein the content of the first and second substances,in order to be the degree of association,is the number of associated key indicators; a is the number of key indicators within the first criterion; b is the number of key indicators within the second criterion;
step S23B: and outputting preset second error information when the association degree is smaller than a preset association threshold value.
The working principle and the beneficial effects of the technical scheme are as follows:
in comparison, the correlation degree between the first standard and the second standard needs to be determined, that is, whether the first standard and the second standard are comparable or not needs to be determined, when the two standards are not directed to the same object or similar objects, the two standards do not need to be compared at all, and the correlation degree between the standards can be analyzed and calculated from the correlation of the key indexes to judge the correlation. The key indexes in the first standard are related to the key indexes in the second standard, and the same indexes are mainly related to similar indexes. When the vast majority of key indexes in the standards can be the same in one-to-one correspondence, the first standard and the second standard can be determined to have comparability, so that the two irrelevant standards are prevented from being compared, and the comparison accuracy is improved. In addition, the similarity between the first standard and the second standard can be calculated based on the extracted keywords, and the comparison is started when the similarity is greater than a preset similarity threshold. Wherein the association threshold may be set to 70%; the preset second error message is "the association between two criteria you input is not large, and there is no comparability, please determine whether it is the criteria of the same product". For example, key indicators of the first criterion include: washing size change rate, dry-cleaning size change rate, twist slope after dry-cleaning, twist slope after water washing, and fabric tearing strength; key indicators of the second criterion include: washing size change rate, dry-cleaning size change rate, twisting slope after dry-cleaning, twisting slope after water-cleaning, back seam joint strength and seam slippage; the correlation degree calculated by the embodiment is 80%; greater than 70% of the association threshold, an alignment between the two standards can be performed. For example, key indicators of the first criterion include: washing size change rate, dry-cleaning size change rate, twist slope after dry-cleaning, twist slope after water washing, and fabric tearing strength; key indicators of the second criterion include: washing size change rate, dry cleaning size change rate, back seam strength, seam combing and waistline; the correlation degree calculated by the embodiment is 40%; and if the correlation degree is less than 70 percent of the threshold value of the correlation degree, comparing the two standards, and outputting second error information.
In one embodiment, at step S2: index item extraction is carried out on the first standard and the second standard respectively, and after a plurality of key indexes are obtained, the method further comprises the following steps:
step S21C: determining the association degree between every two key indexes in the first standard or the second standard based on a preset key index association table;
step S22C: determining the redundancy of the key indexes of the first standard or the second standard based on the correlation degree; the redundancy calculation formula is as follows:
or;
Wherein the content of the first and second substances,of a first standardRedundancy;redundancy for a second criterion;the number of the key indexes in the first standard, wherein the association degree between every two key indexes is greater than or equal to a preset association degree threshold value;the number of the association degrees between every two key indexes in the second standard is greater than or equal to a preset association degree threshold value;
step S22D: determining a first evaluation value of a first criterion or a second evaluation value of a second criterion based on the evaluation value and the redundancy,
step S22D: determining a first evaluation value of a first criterion or a second evaluation value of a second criterion based on the evaluation value and the redundancy, including:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first standard or a second evaluation value of the second standard based on the weight corresponding to the key index, the evaluation value corresponding to the key index and the redundancy, wherein the calculation formula of the first evaluation value or the second evaluation value is as follows:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardEach key index;is as followsThe weight corresponding to each key index;the number of key indexes in the first standard or the second standard is the number of key indexes in the first standard or the second standard;for the correction value to be determined on the basis of the redundancy,or(ii) a Wherein the content of the first and second substances,is a preset influence coefficient.
The working principle and the beneficial effects of the technical scheme are as follows:
the embodiment introduces a redundancy concept to correct the evaluation value of the standard, avoids the occurrence of the condition that the evaluation value of the standard is high due to the repeated standard limitation of a plurality of similar key indexes in the standard, namely, the determination of redundancy is realized by determining the relevance of the key indexes in the standard, the accuracy of the determination of the evaluation value is improved, and the accuracy of comparison is further improved. Or taking the western style trousers standard as an example, the first standard specifies that the width of the seam parts of the trouser leg parts is not less than 0.8cm and the width of the seam parts of the waistband parts is not less than 0.8cm, and the association degree of the trouser leg parts and the waistband parts is determined to be 90 according to a preset key index association table; wherein the threshold value of the degree of association can be 80, the redundancy of the width of the seam of the trouser leg part not less than 0.8cm and the width of the seam of the waistband part not less than 0.8cm can be considered,for a predetermined influence coefficient, in generalTaking negative values, for example, can be-100, the more redundancy is achieved, the lower the evaluation of the standard, ensuring the accuracy of the standard alignment.
The invention also provides a standard comparison system for textile products, as shown in fig. 2, comprising:
the standard acquisition module 1 is used for acquiring a first standard of a textile product to be compared and a second standard of the textile product;
the extraction module 2 is used for respectively extracting the index items of the first standard and the second standard to obtain a plurality of key indexes;
the template acquisition module 3 is used for acquiring a preset evaluation template corresponding to the key index based on the key index;
the evaluation module 4 is used for evaluating the key indexes based on the evaluation template to obtain evaluation values corresponding to the key indexes;
an evaluation module 5 for determining a first evaluation value of a first criterion or a second evaluation value of a second criterion based on the evaluation values;
and a comparison module 6 for comparing the first criterion and the second criterion based on the evaluation value, the first evaluation value and the second evaluation value.
The working principle and the beneficial effects of the technical scheme are as follows:
the user only needs to input the first standard of the textile product to be compared with the second standard of the textile product, the automatic comparison of the standards of the textile product is realized through the system, and when the standard input by the user is not the standard of the textile product, preset information is output to remind the user, for example: "the first standard input by you is not the standard of textile products and is not in the comparison range of the standard of the system"; and determining whether the standard input by the user is a textile standard, and mainly determining whether the standard object product is a product in a preset textile product library. For example, the first standard and the second standard are both standards of two enterprises of western style pants, the standards are firstly analyzed and extracted, and key indexes specified in the standards are determined; starting from key indexes, realizing the hierarchical comparison of standards; during extraction, extracting key indexes in advance based on all international standards and national standards of textile products, performing comprehensive analysis to determine the extracted key indexes possibly existing in the standards, constructing a key index extraction library, and performing rapid extraction of the key indexes according to the key index extraction library, wherein the key indexes comprise: washing size change rate, dry-cleaning size change rate, twist slope after dry cleaning, twist slope after water washing, fabric tearing strength and the like, and then performing template evaluation on the extracted key indexes to obtain evaluation values; the evaluation template is established in advance, and can be manually established by a user, for example, the tearing strength of the fabric is greater than or equal to 5N, and the corresponding evaluation value is 0; the tearing strength of the fabric is more than or equal to 10N, and the corresponding evaluation value is 100; the tearing strength of the fabric is more than or equal to 100N, and the corresponding score value is 110; the tearing strength of the fabric is more than or equal to 200N, and the corresponding score value is 120; can also be obtained according to big data analysis; the big data analysis mainly includes obtaining a key index and a large amount of corresponding detection data, determining based on a distance between a center of distribution of the large amount of detection data and a center of the key index, and defining a corresponding score value by the distance, for example: a water washing size change rate of-0.8 to 0.8 at the center thereof being zero, a water washing size change rate of-0.9 to 0.7 at the center thereof being-0.1 at the second standard, and a deviation of the large amount of detection data being-0.8 according to the large amount of detection data being-0.2, i.e., the range of data being 0.6 to-1.0; therefore, the score value of the key index of the corresponding first criterion is 75; the score value of the second criterion was 87.5. Evaluating each key index through a template, determining evaluation values of the standards by integrating evaluation values of all key indexes, comparing the two standards through the height ratio of the evaluation values, and comparing each key index independently; furthermore, the relevance between the key index of the first standard and the key index of the second standard can be determined, relevance comparison is realized, and relevance analysis is performed. FIG. 3 is a simplified table of the comparison results, which is a standard comparison result for Western-style trousers as an example.
The standard comparison system for textile products disclosed by the invention starts from key indexes, realizes the evaluation of the standards based on the difference of the key indexes and the quantification of the key indexes, and further realizes the objective evaluation between the two standards.
In one embodiment, the evaluation module performs the following operations:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first criterion or a second evaluation value of the second criterion based on the weight corresponding to the key indicator and the evaluation value corresponding to the key indicator, wherein the calculation formula of the first evaluation value or the second evaluation value is as follows:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardEach key index;is as followsThe weight corresponding to each key index;the number of key indexes in the first standard or the second standard.
The working principle and the beneficial effects of the technical scheme are as follows:
and respectively calculating the evaluation of each key index, determining the weight according to the importance degree of the key index to the standard, further determining the evaluation value corresponding to the standard, and realizing accurate standard evaluation by adopting a thinning and layering method. The weight corresponding to the key index is preset, and may be set by a user, for example, the weight corresponding to the washing size change rate is 0.2, the weight corresponding to the dry-cleaning size change rate is 0.2, the weight corresponding to the twist slope after dry-cleaning is 0.2, the weight corresponding to the twist slope after water-cleaning is 0.2, the weight corresponding to the fabric tearing strength is 0.4, the weight corresponding to the color difference is 1, or may be common agreement based on a plurality of enterprises, obtained from a big data platform, for example, the key index may be sent to a plurality of experts of the enterprises, the weights are distributed by the experts, and then weighted average is performed based on the authority limits of the experts to determine the final weight.
In one embodiment, the standard comparison system for textile products further comprises: the public standard judging module is used for extracting the index items of the first standard and the second standard respectively by the extracting module, and executing the following operations after acquiring a plurality of key indexes:
judging whether the first standard and the second standard are corresponding national standards and/or international standards;
when the first standard is a national standard and/or an international standard and the second standard is not a national standard and/or an international standard, determining whether a key index of the second standard meets a key index of the first standard; outputting the conforming key indexes and the non-conforming key indexes;
when the second standard is a national standard and/or an international standard and the first standard is not a national standard and/or an international standard, determining whether the key index of the first standard meets the key index of the second standard; outputting the conforming key indexes and the non-conforming key indexes;
when the second standard is not the national standard and/or the international standard and the first standard is not the national standard and/or the international standard, the transfer to the template obtaining module executes the steps,
when the second standard is a national standard and/or an international standard and the first standard is a national standard and/or an international standard, outputting a preset first error message.
The working principle and the beneficial effects of the technical scheme are as follows:
when one of the two standards to be compared input by the user is the national standard or the international standard, only the other standard is required to be verified whether the other standard meets the national standard and/or the international standard. When one of the two standards to be compared is an international standard and the other is a national standard, a first error message is output, the first error message indicates which standard is the international standard and which standard is the national standard, but the comparison is not performed. Wherein, whether the judgment standard is the national standard or the international standard can be realized by three ways: the first and second keyword methods are used for extracting keywords of a first standard or a second standard, and when the keywords are matched with the keywords of the national standard or the international standard, the keywords are determined to be the national standard or the international standard; secondly, calculating the similarity between the standard and the text of the national standard or the international standard, and determining the standard as the national standard or the international standard when the similarity is greater than a preset threshold value; thirdly, by comparing the key indexes, when the key indexes are consistent with the international standard or the national standard, the key indexes are determined to be the national standard or the international standard, and the consistency is consistent from the aspects of the number of the key indexes, the content of the key indexes and the like. The first error message may be "both of the two standards input by you are national standards and/or international standards, and are not the standard comparison range of the system".
In one embodiment, the standard comparison system for textile products further comprises: and the association judgment module is used for extracting the index items of the first standard and the second standard respectively by the extraction module, and executing the following operations after acquiring a plurality of key indexes:
correlating the key indicators within the first criteria with the key indicators within the second criteria;
counting the number of the associated key indexes, and calculating the association degree of the first standard and the second standard by the following formula,
;
wherein the content of the first and second substances,in order to be the degree of association,is the number of associated key indicators; a is the first standardThe number of key indicators within; b is the number of key indicators within the second criterion;
and outputting preset second error information when the association degree is smaller than a preset association threshold value.
The working principle and the beneficial effects of the technical scheme are as follows:
in comparison, the correlation degree between the first standard and the second standard needs to be determined, that is, whether the first standard and the second standard are comparable or not needs to be determined, when the two standards are not directed to the same object or similar objects, the two standards do not need to be compared at all, and the correlation degree between the standards can be analyzed and calculated from the correlation of the key indexes to judge the correlation. The key indexes in the first standard are related to the key indexes in the second standard, and the same indexes are mainly related to similar indexes. When the vast majority of key indexes in the standards can be the same in one-to-one correspondence, the first standard and the second standard can be determined to have comparability, so that the two irrelevant standards are prevented from being compared, and the comparison accuracy is improved. In addition, the similarity between the first standard and the second standard can be calculated based on the extracted keywords, and the comparison is started when the similarity is greater than a preset similarity threshold. Wherein the association threshold may be set to 70%; the preset second error message is "the association between two criteria you input is not large, and there is no comparability, please determine whether it is the criteria of the same product". For example, key indicators of the first criterion include: washing size change rate, dry-cleaning size change rate, twist slope after dry-cleaning, twist slope after water washing, and fabric tearing strength; key indicators of the second criterion include: washing size change rate, dry-cleaning size change rate, twisting slope after dry-cleaning, twisting slope after water-cleaning, back seam joint strength and seam slippage; the correlation degree calculated by the embodiment is 80%; greater than 70% of the association threshold, an alignment between the two standards can be performed. For example, key indicators of the first criterion include: washing size change rate, dry-cleaning size change rate, twist slope after dry-cleaning, twist slope after water washing, and fabric tearing strength; key indicators of the second criterion include: washing size change rate, dry cleaning size change rate, back seam strength, seam combing and waistline; the correlation degree calculated by the embodiment is 40%; and if the correlation degree is less than 70 percent of the threshold value of the correlation degree, comparing the two standards, and outputting second error information.
In one embodiment, the standard comparison system for textile products further comprises: and the redundancy judgment module is used for extracting the index items of the first standard and the second standard respectively at the extraction module, and executing the following operations after acquiring a plurality of key indexes:
determining the association degree between every two key indexes in the first standard or the second standard based on a preset key index association table;
determining the redundancy of the key indexes of the first standard or the second standard based on the correlation degree; the redundancy calculation formula is as follows:
or;
Wherein the content of the first and second substances,redundancy for a first criterion;redundancy for a second criterion;the number of the key indexes in the first standard, wherein the association degree between every two key indexes is greater than or equal to a preset association degree threshold value;the number of the association degrees between every two key indexes in the second standard is greater than or equal to a preset association degree threshold value;
the evaluation module determines a first evaluation value of a first criterion or a second evaluation value of a second criterion based on the evaluation value and the redundancy,
wherein the evaluation module determines a first evaluation value of a first criterion or a second evaluation value of a second criterion based on the evaluation value and the redundancy, including:
determining the weight corresponding to the key index based on the key index;
determining a first evaluation value of the first standard or a second evaluation value of the second standard based on the weight corresponding to the key index, the evaluation value corresponding to the key index and the redundancy, wherein the calculation formula of the first evaluation value or the second evaluation value is as follows:
;
wherein the content of the first and second substances,is the first evaluation value or the second evaluation value;is the first standard or the second standardEach key index;is as followsThe weight corresponding to each key index;the number of key indexes in the first standard or the second standard is the number of key indexes in the first standard or the second standard;for the correction value to be determined on the basis of the redundancy,or(ii) a Wherein the content of the first and second substances,is a preset influence coefficient.
The working principle and the beneficial effects of the technical scheme are as follows:
the embodiment introduces a redundancy concept to correct the evaluation value of the standard, avoids the occurrence of the condition that the evaluation value of the standard is high due to the repeated standard limitation of a plurality of similar key indexes in the standard, namely, the determination of redundancy is realized by determining the relevance of the key indexes in the standard, the accuracy of the determination of the evaluation value is improved, and the accuracy of comparison is further improved. Or taking the western style trousers standard as an example, the first standard specifies that the width of the seam parts of the trouser leg parts is not less than 0.8cm and the width of the seam parts of the waistband parts is not less than 0.8cm, and the association degree of the trouser leg parts and the waistband parts is determined to be 90 according to a preset key index association table; wherein the threshold value of the degree of association can be 80, the redundancy of the width of the seam of the trouser leg part not less than 0.8cm and the width of the seam of the waistband part not less than 0.8cm can be considered,the predetermined influence coefficient is generally a negative value, for example, it may be-100, and the more redundancy is achieved, the lower the evaluation of the standard is, and the accuracy of the standard alignment is ensured.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种提高智能电网区域综合利用效率的方法