A system for automatically calculating the extended warranty date based on multiple types of extended warranties
By using technologies such as deep neural networks and genetic algorithms on the cloud control platform, the warranty and extended warranty dates of products are automatically calculated, which solves the problems in the existing technology that the extended warranty date calculation is cumbersome and cannot be superimposed, and achieves efficient and accurate extended warranty Management services.
Patent Information
- Application Number
- CN202410634213.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-05-22
AI Technical Summary
The existing extended warranty system is cumbersome to calculate the extended warranty date and cannot automatically superimpose multiple types of extended warranty, making it impossible to accurately obtain the extended warranty date.
Adopting multiple types of extended warranty automatic overlay calculation systems based on the cloud control platform, through the data collection module, data analysis module, warranty date acquisition module and extended warranty date acquisition module, combined with the deep neural network model, genetic algorithm and simulated annealing algorithm, automatically Calculate the product’s warranty date and extended warranty date.
It realizes the automatic processing of extension date calculation for multiple types of extensions and different extension periods, improves the efficiency and accuracy of the extended warranty business, and optimizes user experience and enterprise service levels.
Smart Images

Figure CN118229269B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of extended warranty date calculation, and more particularly, to a system for automatically calculating an extended warranty date based on multiple types of extended warranties. Background Art
[0002] In the modern consumer market, the purchase and use of various products have become an indispensable part of people's lives; however, the quality of products cannot be fully guaranteed, and problems or failures may occur after purchase, causing inconvenience and economic losses to users; therefore, many manufacturers or retailers provide extended warranty services (i.e., extended warranty services), which have also become one of the important considerations for many consumers when purchasing products; extended warranty can provide consumers with an additional warranty period to ensure that consumers can get timely repairs and replacements when problems occur with the equipment;
[0003] However, the current extended warranty system has some problems, such as cumbersome calculation of the extended warranty date and inability to automatically superimpose multiple types of extended warranties, which results in the inability to accurately obtain the extended warranty date;
[0004] In view of this, the present invention proposes a system for automatically calculating the extended warranty date based on multiple types of extended warranties to solve the above-mentioned problem. Summary of the invention
[0005] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solution: a system for automatically calculating the extended warranty date based on multiple types of extended warranties, applied to a cloud control platform, comprising:
[0006] A first data collection module, used to receive purchase data collected by the mobile terminal, the purchase data including product data and purchase date;
[0007] Data analysis module, used to analyze product data and obtain the corresponding warranty period;
[0008] The warranty date acquisition module is used to obtain the corresponding warranty date according to the warranty period and purchase date;
[0009] The second data collection module is used to receive the extended warranty data collected by the mobile terminal;
[0010] The extended warranty date acquisition module is used to analyze the warranty date and extended warranty data to obtain the corresponding extended warranty date.
[0011] Furthermore, the product data includes product type and product model.
[0012] Furthermore, the method for obtaining the insurance period includes:
[0013] Input product data into the trained warranty analysis model to predict the corresponding warranty period;
[0014] The training process of the warranty analysis model includes:
[0015] Collect W groups of product data in advance, set a digital label for each group of product data, and mark the digital label corresponding to the product data as a product label;
[0016] Pre-collect the warranty period corresponding to each set of product labels, and convert the product labels and the corresponding warranty period into a set of corresponding feature vectors;
[0017] Each group of feature vectors is used as the input of the warranty analysis model. The warranty analysis model takes a group of predicted warranty periods corresponding to each group of product labels as output, and takes the actual warranty period corresponding to each group of product labels as the prediction target, where the actual warranty period is the pre-collected warranty period corresponding to the product labels; minimizing the sum of prediction errors of all product labels is used as the training target; the warranty analysis model is trained until the sum of prediction errors reaches convergence and the training is stopped; the warranty analysis model is a deep neural network model.
[0018] Furthermore, the method for obtaining the warranty date includes:
[0019] Step 1: Get the year corresponding to the purchase date and warranty period;
[0020] Step 2: Encode the warranty date, obtain chromosomes, and construct the initial population;
[0021] Step 3: Determine the first fitness function;
[0022] Step 4: Natural selection of chromosomes in the population;
[0023] Step 5: Perform crossover recombination on chromosomes in the population;
[0024] Step 6: mutate the chromosomes in the population;
[0025] Step 7: Get a new population, preset the population generation to be L, the fitness threshold to be Q, L is an integer greater than 0, and Q is a real number greater than 0; loop steps 4 to 6 until the generation corresponding to the new population is L or the fitness corresponding to the chromosome in the new population is greater than or equal to the fitness threshold Q, then the loop ends and the warranty date corresponding to the chromosome with the maximum fitness in the new population is obtained.
[0026] Furthermore, in step 2, the warranty date is encoded as , That is, chromosome, which is a seven-digit string. The first four digits are the year, the middle two digits are the month, and the last two digits are the date number. The range includes the year range, month range and date range. The year range corresponds to the range of the first four digits, the month range corresponds to the range of the middle two digits, and the date range corresponds to the range of the last two digits. The year range is , ,in is the year corresponding to the purchase date, The year corresponding to the warranty period; the month range is , the date number range is ; Randomly generated The initial population consists of ;
[0027] In step 3, the expression of the first fitness function is: ;
[0028] In the formula, For the The first fitness corresponding to the chromosome, For the The matching degree corresponding to each chromosome is ;
[0029] The matching degree can be obtained by:
[0030] The warranty period and purchase date are used as warranty data, the warranty data and the warranty date corresponding to the chromosome are used as analysis data, and the analysis data is input into the trained matching degree analysis model to predict the corresponding matching degree;
[0031] The training process of the matching analysis model includes:
[0032] Pre-collecting the matching degrees corresponding to a plurality of sets of analysis data, and converting the analysis data and the corresponding matching degrees into a corresponding set of feature vectors;
[0033] Each group of feature vectors is used as the input of the warranty analysis model. The matching degree analysis model takes a group of predicted matching degrees corresponding to each group of analysis data as output, and takes the actual matching degree corresponding to each group of analysis data as the prediction target, and the actual matching degree is the pre-collected matching degree corresponding to the analysis data; minimizing the sum of prediction errors of all analysis data is used as the training goal; the matching degree analysis model is trained until the sum of prediction errors reaches convergence and the training is stopped; the matching degree analysis model is a deep neural network model.
[0034] Furthermore, in step 4, natural selection is performed by combining the elite method and the rotation method; wherein the elite method produces offspring chromosomes, for a capacity of The population will The first fitness corresponding to the chromosomes is arranged from large to small, and the one at the front is Each chromosome produces one offspring chromosome; the rotation method produces offspring chromosomes, i.e. Chromosomes are generated according to the corresponding rotation probability offspring chromosomes; ;
[0035] The expression of rotation probability is: ;
[0036] In the formula, For the The rotation probability corresponding to each chromosome;
[0037] In step 5, randomly select Chromosomes undergo crossover recombination to obtain new chromosomes; crossover recombination was performed using the PMX method; after chromosome crossover recombination, calculation The first fitness of the new chromosome is The first fitness of the new chromosome is The first fitness of the chromosomes is sorted from large to small and a sorting table is generated. The U chromosomes in the sorting table are replaced in the population for crossover recombination in positive order. chromosomes;
[0038] In step 6, the mutation probability is preset to G, and the N chromosomes in the population are mutated according to the mutation probability. The mutation method is to randomly select the positions of two genes in the chromosome and exchange the values of the two genes.
[0039] Furthermore, the extended warranty data includes m extended warranty types and extended warranty periods corresponding to the m extended warranty types, wherein the extended warranty periods correspond one-to-one to the extended warranty types.
[0040] Furthermore, the m extended warranty types in the extended warranty data are analyzed to obtain priority coefficients corresponding to the m extended warranty types; and the corresponding extended warranty date is obtained based on the priority coefficients corresponding to the m extended warranty types in combination with the warranty date and the extended warranty period.
[0041] Furthermore, the method for obtaining the priority coefficient includes:
[0042] The preset type-coefficient mapping table obtains the corresponding priority coefficient according to the m extended warranty types.
[0043] Furthermore, the method for obtaining the extended warranty date includes:
[0044] Step a: Sort the m warranty extension types according to their corresponding priority coefficients from large to small. If the priority coefficients of multiple warranty extension types are the same, randomly sort the warranty extension types with the same priority coefficients, select an warranty extension type that is not marked as a selected type in positive order, and mark it as a positively selected type; obtain the warranty extension type corresponding to the positively selected type;
[0045] Step b: Preset initialization temperature , minimum temperature , Temperature reduction coefficient And the maximum number of iterations , let the current temperature ;
[0046] Step c: Randomly set a feasible solution , a feasible solution This is the warranty extension date. The expression of Consistent; feasible solution The range includes year range, month range and date range, where the month range and date range are the same as chromosome The month range is the same as the date range; the year range is ,in , is the maximum sum of years corresponding to each priority coefficient, is the number of priority coefficients; the maximum year corresponding to each priority coefficient is, obtain multiple extended warranty types corresponding to each priority coefficient, sort the years of the extended warranty period corresponding to each extended warranty type from large to small, and take the first year as the maximum year;
[0047] Step d: determining a second fitness function;
[0048] The expression of the second fitness function is: ;
[0049] In the formula, is the second fitness, For accuracy;
[0050] Methods for obtaining accuracy include:
[0051] Obtain the priority coefficient corresponding to the positive selection type and mark it as the selection coefficient. Mark the extended warranty type with a priority coefficient greater than the selection coefficient among the m extended warranty types as the superposition type, wherein the priority coefficients corresponding to each superposition type are different. If the priority coefficients of multiple superposition types are the same, then compare the extended warranty periods corresponding to the multiple superposition types with the same priority coefficients, and unmark the superposition type with the largest extended warranty period as the superposition type; obtain the extended warranty period corresponding to the superposition type and add them in sequence to obtain the total extended warranty period; use the total extended warranty period and the warranty date as feature data, and use the feature data and the extended warranty date corresponding to the feasible solution as evaluation data; input the evaluation data into the trained accuracy analysis model to predict the corresponding accuracy;
[0052] The specific training process of the accuracy analysis model is consistent with the training process of the matching analysis model mentioned above, and it is also a deep neural network model;
[0053] Step e: Calculate feasible solutions The corresponding second fitness ; with feasible solutions For the current point, perform random perturbations in the neighborhood of the current point to obtain a new feasible solution , and calculate the new feasible solution The corresponding second fitness ;
[0054] Step f: Calculate the fitness difference , fitness difference The expression is ; If the fitness difference , then let , the new feasible solution The value of is given to the feasible solution ; If the fitness difference , then calculate the probability , according to the probability make ; Probability The expression is: ;
[0055] Step g: Repeat steps e to f until the number of loops reaches the maximum number of iterations. When , the loop ends and enters step h;
[0056] Step h: Let the current temperature , that is, cool down the current temperature in step b, and assign the value after cooling to the current temperature; let the maximum number of iterations , that is, assign the value of the reduced maximum number of iterations to the maximum number of iterations;
[0057] Step o: loop through steps e to h until the current temperature reaches When , the loop ends and a feasible solution is obtained The corresponding extended warranty date and mark the selected type as the selected type;
[0058] Step s: looping step a to step o until all m warranty extension types are marked as selected types, the loop ends, and all m warranty extension types have obtained corresponding warranty extension dates.
[0059] The technical effects and advantages of the system for automatically calculating the extended warranty date based on multiple types of extended warranties of the present invention are as follows:
[0060] By collecting purchase data and extended warranty data, the deep learning model is used to automatically and accurately obtain the product's warranty period; combining the warranty period and the purchase date in the purchase data, a genetic algorithm is used to accurately calculate the product's warranty date; then combining the warranty date and extended warranty data, the simulated annealing algorithm is used to obtain the extended warranty date corresponding to each extended warranty type of the product. It can automatically handle multiple extended warranty types and different extended warranty periods, so as to realize the automatic superposition calculation of extended warranty dates for multiple extended warranty types; it realizes integrated extended warranty management services, improves the efficiency and accuracy of extended warranty business, thereby optimizing user experience and improving corporate service levels. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 Schematic diagram of a system for automatically calculating an extended warranty date based on multiple types of extended warranties according to Embodiment 1 of the present invention;
[0062] Figure 2 This is a schematic diagram of the connection between the mobile terminal and the cloud control platform in Example 1 of the present invention;
[0063] Figure 3 This is a flow chart of a method for automatically calculating an extended warranty date based on multiple types of extended warranties according to Embodiment 2 of the present invention;
[0064] Figure 4 This is a schematic diagram of an electronic device according to Embodiment 3 of the present invention;
[0065] Figure 5 This is a schematic diagram of a storage medium according to Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0066] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0067] Example 1: Please refer to Figure 1As shown, the system for automatically calculating the extended warranty date based on multiple types of extended warranties described in this embodiment includes a first data collection module, a data analysis module, a warranty date acquisition module, a second data collection module, and an extended warranty date acquisition module; each module is connected by wire and / or wireless means to achieve data transmission between modules;
[0068] The first data collection module is used to collect purchase data on the mobile terminal and send the purchase data to the cloud control platform. The purchase data includes product data and purchase date;
[0069] The cloud control platform is an intelligent network-connected cloud control platform, and each mobile phone is a mobile terminal;
[0070] Product data includes product type and product model; product data is obtained through the product selected by the user on the mobile terminal, and the purchase date is obtained through the built-in date of the mobile terminal after the user selects the product on the mobile terminal;
[0071] Product types such as electronic products (e.g., mobile phones, cameras, computers), household appliances (e.g., refrigerators, dishwashers, air conditioners), etc.;
[0072] Product models include iPhone15 and Huawei P60 in mobile phones, Canon 850D and Fuji XS10 in cameras, Haier 526 and Midea 508 in refrigerators, and Fotile WK01 and Midea S55 in dishwashers;
[0073] The data analysis module is used by the cloud control platform to analyze product data and obtain the corresponding warranty period;
[0074] The methods for obtaining the insurance period include:
[0075] Input product data into the trained warranty analysis model to predict the corresponding warranty period;
[0076] The specific training process of the warranty analysis model includes:
[0077] Collect W groups of product data in advance, set a digital label for each group of product data, and mark the digital label corresponding to the product data as a product label;
[0078] Pre-collect the warranty period corresponding to each set of product labels, and convert the product labels and the corresponding warranty period into a set of corresponding feature vectors;
[0079] Each set of feature vectors is used as the input of the warranty analysis model. The warranty analysis model outputs a set of predicted warranty periods corresponding to each set of product labels, and uses the actual warranty period corresponding to each set of product labels as the prediction target. The actual warranty period is the warranty period corresponding to the product labels collected in advance. The training target is to minimize the sum of the prediction errors of all product labels. The calculation formula of the prediction error is: ,in is the prediction error, is the group number of the feature vector corresponding to the product label, For the The predicted warranty period corresponding to the group product labels, For the The actual warranty period corresponding to the group product labels is calculated; the warranty analysis model is trained until the sum of the prediction errors reaches convergence and the training is stopped;
[0080] The warranty analysis model mentioned above is specifically a deep neural network model;
[0081] It should be noted that the warranty period is pre-set by technicians in this field based on the product label;
[0082] The warranty date acquisition module is used by the cloud control platform to obtain the corresponding warranty date according to the warranty period and purchase date;
[0083] The warranty date is the end date of the warranty service for the product;
[0084] Ways to obtain the warranty date include:
[0085] Step 1: Get the year corresponding to the purchase date and warranty period;
[0086] Step 2: Encode the warranty date, obtain chromosomes, and construct the initial population;
[0087] Step 3: Determine the first fitness function;
[0088] Step 4: Natural selection of chromosomes in the population;
[0089] Step 5: Perform crossover recombination on chromosomes in the population;
[0090] Step 6: mutate the chromosomes in the population;
[0091] Step 7: Obtain a new population, with the preset population generation number being L and the fitness threshold being Q, where L is an integer greater than 0 and Q is a real number greater than 0; loop through steps 4 to 6 until the generation number corresponding to the new population is L or the first fitness corresponding to the chromosome in the new population is greater than or equal to the fitness threshold Q, the loop ends, and the warranty date corresponding to the chromosome with the maximum first fitness in the new population is obtained; illustratively, if the preset population generation number is 1, the chromosomes in the initial population are subjected to natural selection, crossover recombination and mutation to obtain a new population, at which point the generation number corresponding to the new population is 1, so the loop ends;
[0092] It should be noted that the fitness threshold Q is preset by those skilled in the art according to the algorithm accuracy, and the population algebra L is obtained by those skilled in the art under multiple sets of different warranty periods and purchase date conditions by using the genetic algorithm multiple times to obtain the corresponding warranty date. In each genetic algorithm process, when the first fitness corresponding to the chromosome in the new population is greater than or equal to the fitness threshold Q, the cycle ends and the algebra corresponding to the new population is obtained; the largest algebra among the multiple algebras is taken as the population algebra L;
[0093] In step 2 above, the warranty date is encoded as , Chromosome is a seven-digit string. The first four digits are the year, the middle two digits are the month, and the last two digits are the date, for example, 20230315; The range includes the year range, month range and date range. The year range corresponds to the range of the first four digits, the month range corresponds to the range of the middle two digits, and the date range corresponds to the range of the last two digits. The year range is , ,in is the year corresponding to the purchase date, The year corresponding to the warranty period; the month range is , the date number range is ; Randomly generated The initial population consists of ;
[0094] In the above step 3, the expression of the first fitness function is: ;
[0095] In the formula, For the The first fitness corresponding to the chromosome, For the The matching degree corresponding to each chromosome is ;
[0096] The matching degree can be obtained by:
[0097] The warranty period and purchase date are used as warranty data, the warranty data and the warranty date corresponding to the chromosome are used as analysis data, and the analysis data is input into the trained matching degree analysis model to predict the corresponding matching degree;
[0098] The specific training process of the matching analysis model includes:
[0099] Pre-collecting the matching degrees corresponding to a plurality of sets of analysis data, and converting the analysis data and the corresponding matching degrees into a corresponding set of feature vectors;
[0100] Each set of feature vectors is used as the input of the warranty analysis model. The matching degree analysis model uses a set of predicted matching degrees corresponding to each set of analysis data as output, and uses the actual matching degree corresponding to each set of analysis data as the prediction target. The actual matching degree is the matching degree corresponding to the analysis data collected in advance. The training target is to minimize the sum of the prediction errors of all analysis data. The calculation formula of the prediction error is: ,in is the prediction error, is the group number of the eigenvector corresponding to the analyzed data, For the The predicted matching degree corresponding to the group analysis data, For the The actual matching degree corresponding to the group analysis data; the matching degree analysis model is trained until the sum of the prediction errors reaches convergence and the training is stopped;
[0101] The above matching degree analysis model is specifically a deep neural network model;
[0102] It should be noted that the matching degree corresponding to the analysis data is calculated by a technician in this field according to multiple sets of different warranty data to obtain the corresponding warranty date, compare the multiple calculated warranty dates with the warranty date in the corresponding analysis data, obtain multiple error values, and use the reciprocals of the multiple error values as the matching degree of the corresponding analysis data, that is, the larger the error value, the smaller the corresponding matching degree;
[0103] In step 4 above, natural selection is carried out by combining the elite method and the rotation method; the elite method produces offspring chromosomes, for a capacity of The population will The first fitness corresponding to the chromosomes is arranged from large to small, and the one at the front is Each chromosome produces one offspring chromosome; the rotation method produces offspring chromosomes, i.e. Chromosomes are generated according to the corresponding rotation probability offspring chromosomes; , in order to maintain the population capacity of future generations unchanged, the population increases algebraically;
[0104] The expression of rotation probability is: ;
[0105] In the formula, For the The rotation probability corresponding to each chromosome;
[0106] In step 5 above, randomly select Chromosomes undergo crossover recombination to obtain new chromosomes; crossover recombination uses PMX method, which is an existing technical method and will not be described in detail here; after chromosome crossover recombination, calculate The first fitness of the new chromosome is The first fitness of the new chromosome is The first fitness of the chromosomes is sorted from large to small and a sorting table is generated. The U chromosomes in the sorting table are replaced in the population for crossover recombination in positive order. Chromosomes; This embodiment is preferred , if the calculated If is not an integer, Round up to ensure that the calculated is an integer;
[0107] In step 6, the mutation probability is preset to G, and the population is The chromosomes are mutated, and the mutation method is to randomly select the positions of two genes in the chromosome and exchange the values of the two genes. In this embodiment, G is preferably 0.02; the mutation probability is preset by those skilled in the art according to the algorithm efficiency and algorithm accuracy;
[0108] The second data collection module is used to collect the extended warranty data on the mobile terminal and send the extended warranty data to the cloud control platform;
[0109] The extended warranty data includes m extended warranty types and the extended warranty periods corresponding to the m extended warranty types, where the extended warranty periods correspond one to one with the extended warranty types; the extended warranty data is obtained by the extended warranty service selected by the user on the mobile terminal, and the extended warranty service is the service of extending the warranty period provided by the product manufacturer, online shopping platform or third-party insurance company;
[0110] Extended warranty types include component extended warranty (such as screen, motherboard), performance extended warranty (such as mechanical or electrical component performance failure), accidental extended warranty (such as machine failure caused by accidental bumps, squeezing, and falling), comprehensive extended warranty (i.e., comprehensive extended warranty including performance extended warranty, accidental extended warranty, and other extended warranty types);
[0111] The extended warranty date acquisition module is used by the cloud control platform to analyze the warranty date and extended warranty data to obtain the corresponding extended warranty date;
[0112] Analyze the m warranty extension types in the warranty extension data to obtain priority coefficients corresponding to the m warranty extension types;
[0113] The methods for obtaining the priority coefficient include:
[0114] Preset type-coefficient mapping table, obtain the corresponding priority coefficient according to m extended warranty types;
[0115] The type-coefficient mapping table is stored in the database and may be a two-dimensional mapping table, which includes the extended warranty type and the priority coefficient corresponding to the extended warranty type; according to the collected extended warranty type, the corresponding priority coefficient may be obtained through the type-coefficient mapping table;
[0116] The method for setting the type-coefficient mapping table is as follows: a person skilled in the art sequentially obtains a plurality of extended warranty types, sets priority coefficients according to the warranty scopes corresponding to the plurality of extended warranty types, sets a higher priority coefficient for an extended warranty type with a wider warranty scope, and sets a lower priority coefficient for an extended warranty type with a narrower warranty scope; illustratively, the priority coefficient of the parts extended warranty is set to 1, the priority coefficients of the performance extended warranty and the accidental extended warranty are set to 2, and the priority coefficient of the comprehensive extended warranty is set to 3; the type-coefficient mapping table is set according to the plurality of extended warranty types and the plurality of priority coefficients corresponding to the plurality of extended warranty types;
[0117] According to the priority coefficients corresponding to the m extended warranty types, combined with the warranty date and the extended warranty period, the corresponding extended warranty date is obtained, and the cloud control platform sends the obtained extended warranty date to the mobile terminal;
[0118] Methods for obtaining the extended warranty date include:
[0119] Step a: Sort the m warranty extension types according to their corresponding priority coefficients from large to small. If the priority coefficients of multiple warranty extension types are the same, randomly sort the warranty extension types with the same priority coefficients, select an warranty extension type that is not marked as a selected type in positive order, and mark it as a positively selected type; obtain the warranty extension type corresponding to the positively selected type;
[0120] Step b: Preset initialization temperature , minimum temperature , Temperature reduction coefficient And the maximum number of iterations , let the current temperature ;
[0121] Step c: Randomly set a feasible solution , a feasible solution This is the warranty extension date. The expression of Consistent (i.e., seven-digit string); feasible solution The range includes year range, month range and date range, where the month range and date range are the same as chromosome The month range is the same as the date range; the year range is ,in , is the maximum sum of years corresponding to each priority coefficient, is the number of priority coefficients; the maximum year corresponding to each priority coefficient is, obtain multiple extended warranty types corresponding to each priority coefficient, sort the years of the extended warranty period corresponding to each extended warranty type from large to small, and take the first year as the maximum year; for example, the two extended warranty types corresponding to the priority coefficient 2 are performance extended warranty and accidental extended warranty, the year corresponding to the performance extended warranty is 2 years, and the year corresponding to the accidental extended warranty is 3 years. It is known that the year corresponding to the accidental extended warranty is greater than the year corresponding to the performance extended warranty, so the maximum year corresponding to the priority coefficient 2 is 3 years;
[0122] Step d: determining a second fitness function;
[0123] The expression of the second fitness function is: ;
[0124] In the formula, is the second fitness, For accuracy;
[0125] Methods for obtaining accuracy include:
[0126] Obtain the priority coefficient corresponding to the positive selection type and mark it as the selection coefficient. Mark the extended warranty type with a priority coefficient greater than the selection coefficient among the m extended warranty types as the superposition type, wherein the priority coefficients corresponding to each superposition type are different. If the priority coefficients of multiple superposition types are the same, then compare the extended warranty periods corresponding to the multiple superposition types with the same priority coefficients, and unmark the superposition type with the largest extended warranty period as the superposition type; obtain the extended warranty period corresponding to the superposition type and add them in sequence to obtain the total extended warranty period; use the total extended warranty period and the warranty date as feature data, and use the feature data and the extended warranty date corresponding to the feasible solution as evaluation data; input the evaluation data into the trained accuracy analysis model to predict the corresponding accuracy;
[0127] The specific training process of the accuracy analysis model is consistent with the training process of the matching analysis model mentioned above, and it is also a deep neural network model;
[0128] Step e: Calculate feasible solutions The corresponding second fitness ; with feasible solutions For the current point, perform random perturbations in the neighborhood of the current point to obtain a new feasible solution , and calculate the new feasible solution The corresponding second fitness ;
[0129] Step f: Calculate the fitness difference , fitness difference The expression is ; If the fitness difference , then let , the new feasible solution The value of is given to the feasible solution ; If the fitness difference , then calculate the probability , according to the probability make ; Probability The expression is: ;
[0130] Step g: Repeat steps e to f until the number of loops reaches the maximum number of iterations. When , the loop ends and enters step h;
[0131] Step h: Let the current temperature , that is, cool down the current temperature in step b, and assign the value after cooling to the current temperature; let the maximum number of iterations , that is, assign the value of the reduced maximum number of iterations to the maximum number of iterations;
[0132] Step o: loop through steps e to h until the current temperature reaches When , the loop ends and a feasible solution is obtained The corresponding extended warranty date and mark the selected type as the selected type;
[0133] Step s: looping step a to step o until all m warranty extension types are marked as selected types, the loop ends, and all m warranty extension types have obtained corresponding warranty extension dates.
[0134] It should be noted that the initialization temperature , minimum temperature , Temperature reduction coefficient And the maximum number of iterations As preset parameters, the preset parameters are collected by a technician in this field during the calculation process of historical warranty extension dates. For the same warranty extension type, multiple groups of different preset parameters are pre-set in sequence, and the warranty extension date is obtained in sequence by using the simulated annealing algorithm. The corresponding second fitness is obtained according to the obtained multiple warranty extension dates, and the preset parameter corresponding to the maximum second fitness is used as the preset parameter corresponding to the warranty extension type. The preset parameters corresponding to m warranty extension types are obtained by analogy, and the mean values of multiple preset parameters (i.e., the initialization temperature mean, the minimum temperature mean, the temperature reduction coefficient mean, and the maximum number of iterations mean) are used as the initialization temperature preset in step b. , minimum temperature , Temperature reduction coefficient And the maximum number of iterations ;
[0135] For example, the user selected parts warranty extension, performance warranty extension, accidental warranty extension and comprehensive warranty extension, among which the extended warranty period of parts warranty extension is 1 year, the extended warranty period of performance warranty extension is 6 months, the extended warranty period of accidental warranty extension is 4 months, and the extended warranty period of comprehensive warranty extension is 2 years; in addition, the warranty date is 20210625, that is, June 25, 2021; after calculation by the extended warranty date acquisition module, the extended warranty date corresponding to the comprehensive warranty is June 25, 2023, the extended warranty date corresponding to the performance warranty extension is December 25, 2023, the extended warranty date corresponding to the accidental warranty extension is October 25, 2023, and the extended warranty date corresponding to the parts warranty extension is 2024 December 25; the reason is that the comprehensive extended warranty includes performance extended warranty and accidental extended warranty, so the extended warranty period of performance extended warranty and accidental extended warranty should be added to the extended warranty date of comprehensive extended warranty to obtain the corresponding extended warranty date of performance extended warranty and accidental extended warranty; both performance extended warranty and accidental extended warranty include parts extended warranty, and since the performance extended warranty and accidental extended warranty provide different warranty services for the products, the performance extended warranty and accidental extended warranty are implemented in parallel, that is, the performance extended warranty and accidental extended warranty take effect at the same time; since the extended warranty period of performance extended warranty is longer than the extended warranty period of accidental insurance, the extended warranty period of parts extended warranty should be added to the extended warranty date of performance extended warranty to obtain the extended warranty date of parts extended warranty;
[0136] For the connection method between the mobile terminal and the cloud control platform, please refer to Figure 2 As shown;
[0137] This embodiment collects purchase data and extended warranty data, and uses a deep learning model to automatically and accurately obtain the warranty period of the product; combines the warranty period and the purchase date in the purchase data, and uses a genetic algorithm to accurately calculate the warranty date of the product; then combines the warranty date and extended warranty data, and uses a simulated annealing algorithm to obtain the extended warranty date corresponding to each extended warranty type of the product. It can automatically process multiple extended warranty types and different extended warranty periods to achieve automatic superposition calculation of extended warranty dates for multiple extended warranty types; realize integrated extended warranty management services, improve the efficiency and accuracy of extended warranty business, thereby optimizing user experience and improving enterprise service levels.
[0138] Example 2: Please refer to Figure 3 As shown, the part not described in detail in this embodiment is described in Example 1, which provides a method for automatically calculating the extended warranty date based on multiple types of extended warranties, which is applied to the cloud control platform, including:
[0139] Receive purchase data collected by the mobile terminal, the purchase data including product data and purchase date;
[0140] Analyze product data to obtain the corresponding warranty period;
[0141] Get the corresponding warranty date based on the warranty period and purchase date;
[0142] Receive extended warranty data collected by the mobile terminal;
[0143] Analyze the warranty date and extended warranty data to obtain the corresponding extended warranty date.
[0144] Furthermore, the product data includes product type and product model.
[0145] Furthermore, the method for obtaining the insurance period includes:
[0146] Input product data into the trained warranty analysis model to predict the corresponding warranty period;
[0147] The training process of the warranty analysis model includes:
[0148] Collect W groups of product data in advance, set a digital label for each group of product data, and mark the digital label corresponding to the product data as a product label;
[0149] Pre-collect the warranty period corresponding to each set of product labels, and convert the product labels and the corresponding warranty period into a set of corresponding feature vectors;
[0150] Each group of feature vectors is used as the input of the warranty analysis model. The warranty analysis model takes a group of predicted warranty periods corresponding to each group of product labels as output, and takes the actual warranty period corresponding to each group of product labels as the prediction target, where the actual warranty period is the pre-collected warranty period corresponding to the product labels; minimizing the sum of prediction errors of all product labels is used as the training target; the warranty analysis model is trained until the sum of prediction errors reaches convergence and the training is stopped; the warranty analysis model is a deep neural network model.
[0151] Furthermore, the method for obtaining the warranty date includes:
[0152] Step 1: Get the year corresponding to the purchase date and warranty period;
[0153] Step 2: Encode the warranty date, obtain chromosomes, and construct the initial population;
[0154] Step 3: Determine the first fitness function;
[0155] Step 4: Natural selection of chromosomes in the population;
[0156] Step 5: Perform crossover recombination on chromosomes in the population;
[0157] Step 6: mutate the chromosomes in the population;
[0158] Step 7: Get a new population, preset the population generation to be L, the fitness threshold to be Q, L is an integer greater than 0, and Q is a real number greater than 0; loop steps 4 to 6 until the generation corresponding to the new population is L or the fitness corresponding to the chromosome in the new population is greater than or equal to the fitness threshold Q, then the loop ends and the warranty date corresponding to the chromosome with the maximum fitness in the new population is obtained.
[0159] Furthermore, in step 2, the warranty date is encoded as , That is, chromosome, which is a seven-digit string. The first four digits are the year, the middle two digits are the month, and the last two digits are the date number. The range includes the year range, month range and date range. The year range corresponds to the range of the first four digits, the month range corresponds to the range of the middle two digits, and the date range corresponds to the range of the last two digits. The year range is , ,in is the year corresponding to the purchase date, The year corresponding to the warranty period; the month range is , the date number range is ; Randomly generated The initial population consists of ;
[0160] In step 3, the expression of the first fitness function is: ;
[0161] In the formula, For the The first fitness corresponding to the chromosome, For the The matching degree corresponding to each chromosome is ;
[0162] The matching degree can be obtained by:
[0163] The warranty period and purchase date are used as warranty data, the warranty data and the warranty date corresponding to the chromosome are used as analysis data, and the analysis data is input into the trained matching degree analysis model to predict the corresponding matching degree;
[0164] The training process of the matching analysis model includes:
[0165] Pre-collecting the matching degrees corresponding to a plurality of sets of analysis data, and converting the analysis data and the corresponding matching degrees into a corresponding set of feature vectors;
[0166] Each group of feature vectors is used as the input of the warranty analysis model. The matching degree analysis model takes a group of predicted matching degrees corresponding to each group of analysis data as output, and takes the actual matching degree corresponding to each group of analysis data as the prediction target, and the actual matching degree is the pre-collected matching degree corresponding to the analysis data; minimizing the sum of prediction errors of all analysis data is used as the training goal; the matching degree analysis model is trained until the sum of prediction errors reaches convergence and the training is stopped; the matching degree analysis model is a deep neural network model.
[0167] Furthermore, in step 4, natural selection is performed by combining the elite method and the rotation method; wherein the elite method produces offspring chromosomes, for a capacity of The population will The first fitness corresponding to the chromosomes is arranged from large to small, and the one at the front is Each chromosome produces one offspring chromosome; the rotation method produces offspring chromosomes, i.e. Chromosomes are generated according to the corresponding rotation probability offspring chromosomes; , in order to maintain the population capacity of future generations unchanged, the population increases algebraically;
[0168] The expression of rotation probability is: ;
[0169] In the formula, For the The rotation probability corresponding to each chromosome;
[0170] In step 5, randomly select Chromosomes undergo crossover recombination to obtain new chromosomes; crossover recombination was performed using the PMX method; after chromosome crossover recombination, calculation The first fitness of the new chromosome is The first fitness of the new chromosome is The first fitness of the chromosomes is sorted from large to small and a sorting table is generated. The U chromosomes in the sorting table are replaced in the population for crossover recombination in positive order. chromosomes;
[0171] In step 6, the mutation probability is preset as G, and the population is sorted according to the mutation probability. The mutation method is to randomly select the positions of two genes in the chromosome and exchange the values of the two genes.
[0172] Furthermore, the extended warranty data includes m extended warranty types and extended warranty periods corresponding to the m extended warranty types, wherein the extended warranty periods correspond one-to-one to the extended warranty types.
[0173] Furthermore, the m extended warranty types in the extended warranty data are analyzed to obtain priority coefficients corresponding to the m extended warranty types; and the corresponding extended warranty date is obtained based on the priority coefficients corresponding to the m extended warranty types in combination with the warranty date and the extended warranty period.
[0174] Furthermore, the method for obtaining the priority coefficient includes:
[0175] The preset type-coefficient mapping table obtains the corresponding priority coefficient according to the m extended warranty types.
[0176] Furthermore, the method for obtaining the extended warranty date includes:
[0177] Step a: Sort the m warranty extension types according to their corresponding priority coefficients from large to small. If the priority coefficients of multiple warranty extension types are the same, randomly sort the warranty extension types with the same priority coefficients, select an warranty extension type that is not marked as a selected type in positive order, and mark it as a positively selected type; obtain the warranty extension type corresponding to the positively selected type;
[0178] Step b: Preset initialization temperature , minimum temperature , Temperature reduction coefficient And the maximum number of iterations , let the current temperature ;
[0179] Step c: Randomly set a feasible solution , a feasible solution This is the warranty extension date. The expression of Consistent; feasible solution The range includes year range, month range and date range, where the month range and date range are the same as chromosome The month range is the same as the date range; the year range is ,in , is the maximum sum of years corresponding to each priority coefficient, is the number of priority coefficients; the maximum year corresponding to each priority coefficient is, obtain multiple extended warranty types corresponding to each priority coefficient, sort the years of the extended warranty period corresponding to each extended warranty type from large to small, and take the first year as the maximum year;
[0180] Step d: determining a second fitness function;
[0181] The expression of the second fitness function is: ;
[0182] In the formula, is the second fitness, For accuracy;
[0183] Methods for obtaining accuracy include:
[0184] Obtain the priority coefficient corresponding to the positive selection type and mark it as the selection coefficient. Mark the extended warranty type with a priority coefficient greater than the selection coefficient among the m extended warranty types as the superposition type, wherein the priority coefficients corresponding to each superposition type are different. If the priority coefficients of multiple superposition types are the same, then compare the extended warranty periods corresponding to the multiple superposition types with the same priority coefficients, and unmark the superposition type with the largest extended warranty period as the superposition type; obtain the extended warranty period corresponding to the superposition type and add them in sequence to obtain the total extended warranty period; use the total extended warranty period and the warranty date as feature data, and use the feature data and the extended warranty date corresponding to the feasible solution as evaluation data; input the evaluation data into the trained accuracy analysis model to predict the corresponding accuracy;
[0185] The specific training process of the accuracy analysis model is consistent with the training process of the matching analysis model mentioned above, and it is also a deep neural network model;
[0186] Step e: Calculate feasible solutions The corresponding second fitness ; with feasible solutions For the current point, perform random perturbations in the neighborhood of the current point to obtain a new feasible solution , and calculate the new feasible solution The corresponding second fitness ;
[0187] Step f: Calculate the fitness difference , fitness difference The expression is ; If the fitness difference , then let , the new feasible solution The value of is given to the feasible solution ; If the fitness difference , then calculate the probability , according to the probability make ; Probability The expression is: ;
[0188] Step g: Repeat steps e to f until the number of loops reaches the maximum number of iterations. When , the loop ends and enters step h;
[0189] Step h: Let the current temperature , that is, cool down the current temperature in step b, and assign the value after cooling to the current temperature; let the maximum number of iterations , that is, assign the value of the reduced maximum number of iterations to the maximum number of iterations;
[0190] Step o: loop through steps e to h until the current temperature reaches When , the loop ends and a feasible solution is obtained The corresponding extended warranty date and mark the selected type as the selected type;
[0191] Step s: looping step a to step o until all m warranty extension types are marked as selected types, the loop ends, and all m warranty extension types have obtained corresponding warranty extension dates.
[0192] Example 3: Please refer to Figure 4 As shown, according to another aspect of the present application, an electronic device 500 is further provided. The electronic device 500 may include one or more processors and one or more memories. The memories store computer readable codes, and when the computer readable codes are executed by one or more processors, the method for automatically calculating the extended warranty date based on multiple types of extended warranties as described above may be executed.
[0193] The method or system according to the embodiment of the present application can also be used by Figure 4 The electronic device architecture shown in FIG. Figure 4 As shown, the electronic device 500 may include a bus 501, one or more CPUs 502, a ROM 503, a RAM 504, a communication port 505 connected to a network, an input / output 506, a hard disk 507, etc. The storage device in the electronic device 500, such as the ROM 503 or the hard disk 507, may store the method for automatically calculating the extended warranty date based on multiple types of extended warranties provided in the present application. Furthermore, the electronic device 500 may also include a user interface 508. Of course, Figure 4 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 4 One or more components of an electronic device are shown.
[0194] Example 4: Please refer to Figure 5As shown, a computer-readable storage medium 600 according to an embodiment of the present application is shown. Computer-readable instructions are stored on the computer-readable storage medium 600. When the computer-readable instructions are executed by the processor, the method for automatically calculating the extended warranty date based on multiple types of extended warranties according to the embodiment of the present application described with reference to the above figures can be executed. The storage medium 600 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
[0195] In addition, according to the embodiments of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium, which stores machine-readable instructions, and the machine-readable instructions can be executed by a processor to execute instructions corresponding to the method steps provided by the present application, for example: a method for automatically calculating the extended warranty date based on multiple types of extended warranties. When the computer program is executed by a central processing unit (CPU), the above functions defined in the method of the present application are executed.
[0196] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through a wired network or a wireless network. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0197] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0198] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0199] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0200] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0201] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0202] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0203] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A system for automatically calculating the warranty extension date based on multiple types of warranty extensions, characterized in that: Applied in the cloud control platform, including: A first data collection module, used to receive purchase data collected by the mobile terminal, the purchase data including product data and purchase date; Data analysis module, used to analyze product data and obtain the corresponding warranty period; The warranty date acquisition module is used to acquire the corresponding warranty date according to the warranty period and the purchase date; the warranty date acquisition method includes: Step 1: Get the year corresponding to the purchase date and warranty period; Step 2: Encode the warranty date, obtain chromosomes, and construct the initial population; Step 3: Determine the first fitness function; Step 4: Natural selection of chromosomes in the population; Step 5: Perform crossover recombination on chromosomes in the population; Step 6: mutate the chromosomes in the population; Step 7: Get a new population, preset the population generation number to be L, the fitness threshold to be Q, L is an integer greater than 0, and Q is a real number greater than 0; loop steps 4 to 6 until the generation number corresponding to the new population is L or the fitness corresponding to the chromosome in the new population is greater than or equal to the fitness threshold Q, then the loop ends, and the warranty date corresponding to the chromosome with the maximum fitness in the new population is obtained; In step 2, the warranty date is encoded as , That is, chromosome, which is a seven-digit string. The first four digits are the year, the middle two digits are the month, and the last two digits are the date number. The range includes the year range, month range and date range. The year range corresponds to the range of the first four digits, the month range corresponds to the range of the middle two digits, and the date range corresponds to the range of the last two digits. The year range is , ,in is the year corresponding to the purchase date, " is the year corresponding to the warranty period; the month range is , the date number range is ; Randomly generated The initial population consists of ; In step 3, the expression of the first fitness function is: ; In the formula, For the The first fitness corresponding to the chromosome, For the The matching degree corresponding to each chromosome is ; The matching degree can be obtained by: The warranty period and purchase date are used as warranty data, the warranty data and the warranty date corresponding to the chromosome are used as analysis data, and the analysis data is input into the trained matching degree analysis model to predict the corresponding matching degree; The training process of the matching analysis model includes: Pre-collecting the matching degrees corresponding to a plurality of sets of analysis data, and converting the analysis data and the corresponding matching degrees into a corresponding set of feature vectors; Each group of feature vectors is used as the input of the warranty analysis model. The matching degree analysis model uses a group of predicted matching degrees corresponding to each group of analysis data as output, and uses the actual matching degree corresponding to each group of analysis data as the prediction target, where the actual matching degree is the matching degree corresponding to the analysis data collected in advance; minimizing the sum of the prediction errors of all analysis data is used as the training target; the matching degree analysis model is trained until the sum of the prediction errors reaches convergence and the training is stopped; the matching degree analysis model is a deep neural network model; In step 4, natural selection is carried out by combining the elite method and the rotation method; wherein the elite method produces offspring chromosomes, for a capacity of The population will The first fitness corresponding to the chromosomes is arranged from large to small, and the one at the front is Each chromosome produces one offspring chromosome; the rotation method produces offspring chromosomes, i.e. Chromosomes are generated according to the corresponding rotation probability offspring chromosomes; ; The expression of rotation probability is: ; In the formula, For the The rotation probability corresponding to each chromosome; In step 5, randomly select Chromosomes undergo crossover recombination to obtain new chromosomes; crossover recombination was performed using the PMX method; after chromosome crossover recombination, calculation The first fitness of the new chromosome is The first fitness of the new chromosome is The first fitness of the chromosomes is sorted from large to small and a sorting table is generated. The U chromosomes in the sorting table are replaced in the population for crossover recombination in positive order. chromosomes; In step 6, the mutation probability is preset to G, and the N chromosomes in the population are mutated according to the mutation probability. The mutation method is to randomly select the positions of two genes in the chromosome and exchange the values of the two genes; A second data collection module is used to receive the extended warranty data collected by the mobile terminal; the extended warranty data includes m extended warranty types and extended warranty periods corresponding to the m extended warranty types, wherein the extended warranty periods correspond to the extended warranty types one by one; The extended warranty date acquisition module is used to analyze the warranty date and the extended warranty data to obtain the corresponding extended warranty date; analyze the m extended warranty types in the extended warranty data to obtain the priority coefficients corresponding to the m extended warranty types; the priority coefficient acquisition method includes: Preset type-coefficient mapping table, obtain the corresponding priority coefficient according to m extended warranty types; According to the priority coefficients corresponding to the m extended warranty types, the corresponding extended warranty date is obtained in combination with the warranty date and the extended warranty period; the method for obtaining the extended warranty date includes: Step a: Sort the m warranty extension types according to their corresponding priority coefficients from large to small. If the priority coefficients of multiple warranty extension types are the same, randomly sort the warranty extension types with the same priority coefficients, select an warranty extension type that is not marked as a selected type in positive order, and mark it as a positively selected type; obtain the warranty extension type corresponding to the positively selected type; Step b: Preset initialization temperature , minimum temperature , Temperature reduction coefficient and the maximum number of iterations , let the current temperature ; Step c: Randomly set a feasible solution , a feasible solution This is the warranty extension date. The expression of Consistent; feasible solution The range includes year range, month range and date range, where the month range and date range are the same as chromosome The month range is the same as the date range; the year range is ,in , is the maximum sum of years corresponding to each priority coefficient, is the number of priority coefficients; the maximum year corresponding to each priority coefficient is, obtain multiple extended warranty types corresponding to each priority coefficient, sort the years of the extended warranty period corresponding to each extended warranty type from large to small, and take the first year as the maximum year; Step d: determining a second fitness function; The expression of the second fitness function is: ; In the formula, is the second fitness, For accuracy; Methods for obtaining accuracy include: Obtain the priority coefficient corresponding to the positive selection type and mark it as the selection coefficient. Mark the extended warranty type with a priority coefficient greater than the selection coefficient among the m extended warranty types as the superposition type, wherein the priority coefficients corresponding to each superposition type are different. If the priority coefficients of multiple superposition types are the same, then compare the extended warranty periods corresponding to the multiple superposition types with the same priority coefficients, and unmark the superposition type with the largest extended warranty period as the superposition type; obtain the extended warranty period corresponding to the superposition type and add them in sequence to obtain the total extended warranty period; use the total extended warranty period and the warranty date as feature data, and use the feature data and the extended warranty date corresponding to the feasible solution as evaluation data; input the evaluation data into the trained accuracy analysis model to predict the corresponding accuracy; The training process of the accuracy analysis model is consistent with the training process of the matching analysis model mentioned above, and it is also a deep neural network model; Step e: Calculate feasible solutions The corresponding second fitness ; with feasible solutions For the current point, perform random perturbations in the neighborhood of the current point to obtain a new feasible solution , and calculate the new feasible solution The corresponding second fitness ; Step f: Calculate the fitness difference , fitness difference The expression is ; If the fitness difference , then let , the new feasible solution The value of is given to the feasible solution ; If the fitness difference , then calculate the probability , according to the probability make ; Probability The expression is: ; Step g: Repeat steps e to f until the number of loops reaches the maximum number of iterations. When , the loop ends and enters step h; Step h: Let the current temperature , that is, cool down the current temperature in step b, and assign the value after cooling to the current temperature; let the maximum number of iterations , that is, assign the value of the reduced maximum number of iterations to the maximum number of iterations; Step o: loop through steps e to h until the current temperature reaches When , the loop ends and a feasible solution is obtained The corresponding extended warranty date and mark the selected type as the selected type; Step s: looping step a to step o until all m warranty extension types are marked as selected types, the loop ends, and all m warranty extension types have obtained corresponding warranty extension dates.
2. The system for automatically calculating the extended warranty date based on multiple types of extended warranties according to claim 1, characterized in that: The product data includes product type and product model; the method for obtaining the warranty period includes: Input product data into the trained warranty analysis model to predict the corresponding warranty period; The training process of the warranty analysis model includes: Collect W groups of product data in advance, set a digital label for each group of product data, and mark the digital label corresponding to the product data as a product label; Pre-collect the warranty period corresponding to each set of product labels, and convert the product labels and the corresponding warranty period into a set of corresponding feature vectors; Each group of feature vectors is used as the input of the warranty analysis model. The warranty analysis model takes a group of predicted warranty periods corresponding to each group of product labels as output, and takes the actual warranty period corresponding to each group of product labels as the prediction target, where the actual warranty period is the pre-collected warranty period corresponding to the product labels; minimizing the sum of prediction errors of all product labels is used as the training target; the warranty analysis model is trained until the sum of prediction errors reaches convergence and the training is stopped; the warranty analysis model is a deep neural network model.
Citation Information
Patent Citations
A method for managing extension protection, a client and a server, and a machine-readable storage medium
CN109426866A
Electronic warranty card receiving method and device
CN113077270A
5G-based smart power grid end-to-end time delay guarantee method and system
CN113873550A
Data acquisition method and device for special equipment and electronic equipment
CN116882713A
Data classification and grading processing method and system based on machine learning
CN117216668A
