Transaction matching method and device, equipment and storage medium

The matching relationship between users and large deposit certificates is optimized through the population iterative evolution method, which solves the problems of high time complexity and local optimal solution of the existing transaction matching algorithm when the number of users is large, and achieves an efficient transaction matching scheme.

CN118780913APending Publication Date: 2024-10-15WEBANK (CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410748173.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Existing transaction matching algorithms in the financial technology field have high time complexity when the number of users is large, and greedy algorithms are prone to local optimal solutions and cannot find the global optimal solution.

Method used

The population iterative evolution method is used to optimize the matching relationship between users and large deposit certificates by determining elite individuals, all-round individuals and virtual individuals, avoiding local optimal solutions and improving matching efficiency.

Benefits of technology

It realizes quickly finding the optimal solution for transaction matching, improves matching efficiency and accuracy, and avoids the problem of local optimal solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780913A_ABST
    Figure CN118780913A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a transaction matching method and device, equipment and a storage medium, and relates to the field of finance science and technology, and the method comprises the steps: determining an individual whose fitness meets a set requirement from a population as an elite individual; on the basis of the fitness of the elite individuals and the gene similarity between the elite individuals and other elite individuals, all-round individuals are determined from all the elite individuals; aiming at any gene feature value of any user chromosome in each totipotent individual, determining the optimal position of the gene feature value in the user chromosome based on the importance degree of the gene feature value in different gene positions in the user chromosome; constructing a virtual individual according to the optimal position of each gene characteristic value in the chromosome of the user; and each individual in the population is evolved through virtual individuals, so that iterative evolution of the population is realized. And all individuals are evolved, so that the problem of a local optimal solution is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of financial technology (Fintech), and in particular to a transaction matching method, device, equipment and storage medium. Background Art

[0002] With the development of computer technology, more and more technologies are applied in the financial field. The traditional financial industry is gradually transforming to financial technology (Fintech). Trading products with stable returns are favored by more and more users. In order to meet the needs of users, many banks have launched large-denomination certificates of deposit that can be evaluated and transferred. This product can match the corresponding large-denomination certificates of deposit according to the different needs of users. It has good liquidity and can provide a higher rate of return.

[0003] In order to achieve a high degree of match between users and large-denomination certificates of deposit, banks also need to ensure the timeliness of the match, attract more users and improve user satisfaction. The following methods are usually adopted: 1) Exhaustive algorithm transaction matching, list all possible matching combinations, calculate the fitness for each combination, and select the combination with the largest fitness as the best matching combination; 2) Greedy algorithm transaction matching, for each user, traverse all large-denomination certificates of deposit in order, calculate the fitness of the user and each large-denomination certificate of deposit, and the large-denomination certificate of deposit with the largest fitness value that best matches the current user is eliminated. The fitness is calculated from the remaining users and large-denomination certificates of deposit in the same way until all users are matched.

[0004] However, the above method has the following problems: 1) Exhaustive algorithm transaction matching is feasible when the number of users is small, but if the number of users is large, the time complexity of the algorithm will be very high; 2) Greedy algorithm transaction matching can provide a simple and efficient solution, but it is prone to local optimal solutions and therefore cannot find a global optimal solution. Summary of the invention

[0005] The present invention provides a transaction matching method, device, equipment and storage medium for quickly finding an optimal solution for transaction matching.

[0006] In a first aspect, the present invention provides a transaction matching method, which is applicable to multiple populations constructed with matching solutions as individuals, and obtains the optimal matching solution through iterative evolution of the population; any individual includes a user chromosome corresponding to a user gene sequence and a product chromosome corresponding to a product gene sequence, which are used to indicate a transaction matching relationship between the user and the product; the iterative evolution of any population is performed in the following manner:

[0007] Identify individuals from the population whose fitness meets the set requirements as elite individuals;

[0008] Based on the fitness of elite individuals and the genetic similarity between elite individuals and other elite individuals, all-round individuals are identified from among the elite individuals;

[0009] For any gene characteristic value of any user chromosome in each omnipotent individual, based on the importance of different gene positions of the gene characteristic value in the user chromosome, determine the preferred position of the gene characteristic value in the user chromosome;

[0010] Construct a virtual individual through the preferred position of each gene characteristic value in the user's chromosome;

[0011] Through the virtual individuals, each individual in the population is evolved, thereby achieving iterative evolution of the population.

[0012] In the embodiment of the present application, the problem of transaction matching is solved by two-stage multi-population fusion. In the population development stage, multiple populations are initialized, elite individuals are divided within the population according to fitness, and all-round individuals are obtained according to further calculation of the elite individuals. A virtual individual is obtained according to the all-round individual, and all individuals are guided to evolve toward the virtual individual to obtain the optimal individual after evolution. This individual is the matching relationship between the user and the deposit certificate. All individuals evolve to avoid the problem of local optimal solution.

[0013] Optionally, determining individuals from the population whose fitness meets set requirements as elite individuals includes:

[0014] For any individual, calculate the fitness of each gene in the individual; the fitness of any gene represents the matching degree between the user and the product;

[0015] Determining the fitness of the individual based on the fitness of each gene in the individual;

[0016] If the fitness of the individual meets the first threshold condition, the individual is determined to be an elite individual.

[0017] In the embodiment of the present application, the individual fitness is determined by calculating the genetic fitness in the individual, so that the determination of the individual fitness is more accurate. The individual fitness is used to judge whether the individual qualifies as an elite individual, and non-elite individuals can be screened out. The elite individuals are used as the basis for the subsequent determination of virtual individuals, so that the determination of virtual individuals is more accurate.

[0018] Optionally, the product is a deposit certificate;

[0019] The gene fitness is determined by the user's purchase waiting time, whether the user is an abnormal user, the investment duration level, and the remaining deposit period level of the deposit certificate; the gene fitness is determined by the following formula:

[0020]

[0021] Among them, Li is the investment duration level, Ct is the user upgrade range, Dj is the remaining deposit period level of the deposit certificate; f is the gene fitness; the user upgrade range is determined by the following formula:

[0022]

[0023] Among them, Wt is the user's purchase waiting time, E is whether it is an abnormal user, and Ct is the user upgrade range.

[0024] In the embodiment of the present application, the genetic fitness of the user is determined by using multiple attributes of the user, so that the genetic fitness of the user is more accurate.

[0025] Optionally, the step of determining the all-round individual from the elite individuals based on the fitness of the elite individual and the genetic similarity between the elite individual and other elite individuals includes:

[0026] For any elite individual, determine the gene correlation of the user chromosomes in the elite individual; determine the gene information entropy of the elite individual based on the gene correlation of the elite individual;

[0027] Determining the genetic similarity between the two elite individuals based on the genetic correlation of the elite individual and the genetic correlation of another elite individual;

[0028] Determining the all-round index information of the elite individual according to the fitness of the elite individual, the gene information entropy of the elite individual and the similarity of each gene;

[0029] If the all-round indicator information meets the second threshold condition, the elite individual is determined to be an all-round individual.

[0030] In the embodiment of the present application, whether the elite individual is an all-round individual is determined by judging the genetic correlation of the elite individual, the genetic similarity between the elite individual and another elite individual, and the fitness of the elite individual, so that the determination of the all-round individual is more accurate, and the subsequent determination of the virtual individual is also more accurate.

[0031] Optionally, determining the gene correlation of user chromosomes in the elite individuals includes:

[0032] Based on any gene feature vector of the user chromosome in the elite individual and the average feature value of the gene feature vectors of each elite individual, the gene correlation of the user chromosome in the elite individual is determined.

[0033] Optionally, determining the preferred position of the gene feature value in the user's chromosome based on the importance of different gene positions of the gene feature value in the user's chromosome includes:

[0034] For the i-th gene position, the preferred position of the gene characteristic value in the user's chromosome is determined according to the number of occurrences of the gene characteristic value at the i-th gene position in each omnipotent individual, the gene fitness corresponding to the gene characteristic value, and the importance of the gene characteristic value at the i-th gene position.

[0035] In the embodiment of the present application, the preferred position of the gene characteristic value is determined by the number of times the gene characteristic value appears at the same position, the gene fitness and importance of the position, so that the preferred position of the gene characteristic value at each position can be obtained, laying the foundation for the subsequent construction of virtual individuals.

[0036] Optionally, the importance of the gene characteristic value at the i-th gene position is obtained by the following method, including:

[0037] Determine each first elite individual having the gene characteristic value at the i-th gene position from each elite individual;

[0038] Exchanging the gene position of the gene characteristic value for any first elite individual to obtain a second elite individual; determining the importance of the gene characteristic value at the i-th gene position to the first elite individual according to the fitness of the first elite individual and the fitness of the second elite individual;

[0039] Determining the importance of the gene characteristic value at the i-th gene position according to the importance of the gene characteristic value at the i-th gene position to each first elite individual;

[0040] The importance of the i-th gene position is determined by the following formula:

[0041]

[0042] Among them, Fit gp is the fitness of the first universal individual, Fit (g,i)p is the fitness of the second universal individual, i is the gene position, n is the number of gene characteristic values, Fits gp is the importance of the gene feature value at the i-th gene position.

[0043] In the embodiment of the present application, by exchanging the gene characteristic values ​​at different positions, it is possible to determine at which position the gene characteristic value is most important to the individual.

[0044] Optionally, constructing a virtual individual by using the preferred position of each gene characteristic value in the user's chromosome includes:

[0045] According to the preferred position of each gene characteristic value in the user chromosome, a virtual user chromosome is constructed to obtain an initial virtual individual;

[0046] Determining the evolutionary difference between the initial virtual individual and each historical virtual individual;

[0047] If the evolutionary difference satisfies the third threshold condition, the initial virtual individual is the virtual individual of this iteration; if the evolutionary difference does not satisfy the third threshold condition, the genes of the initial virtual individual and the historical virtual individuals of the previous iteration are cross-exchanged to obtain the virtual individual of this iteration.

[0048] In the embodiment of the present application, by constructing a virtual individual, each round of individuals are compared with the virtual individual and evolved according to the virtual individual, so that each individual can evolve better.

[0049] Optionally, determining the evolutionary difference between the initial virtual individual and each historical virtual individual includes:

[0050] For any historical virtual individual, determine the difference between the initial virtual individual and the historical virtual individual according to each gene characteristic value of the initial virtual individual and each gene characteristic value of the historical virtual individual; determine the difference between the initial virtual individual and the historical virtual individual based on the difference value, the fitness of the historical virtual individual and the evolutionary influencing factor;

[0051] According to the difference degree of each historical virtual individual, the evolution difference degree between the initial virtual individual and each historical virtual individual is determined.

[0052] In an embodiment of the present application, the difference between the initial virtual individual and the historical virtual individuals is calculated to determine whether the initial virtual individual meets the requirements, and the initial virtual individual is compared with the historical virtual individuals instead of directly taking the initial virtual individual as the virtual individual, thereby improving the accuracy of determining the virtual individual.

[0053] Optionally, evolving each individual in the population through the virtual individual includes:

[0054] For any individual in the population, calculate the distance between the gene characteristic values ​​of the individual and the virtual individual at the same gene position, and determine the first gene position corresponding to the maximum distance in the virtual individual;

[0055] Calculating the minimum distance between the gene characteristic values ​​of other gene positions in the individual and the gene characteristic value of the first gene position, and determining a second gene position corresponding to the minimum distance in the individual;

[0056] The gene characteristic value of the second gene position in the individual is exchanged with the gene characteristic value of the first gene position in the virtual individual to obtain an evolved individual, until the evolved individual meets the evolution condition.

[0057] In the embodiment of the present application, by comparing the individuals in the population with the virtual individuals, the individuals in the population are adjusted according to the virtual individuals so that the individuals in the population continuously evolve towards the virtual individuals.

[0058] Optionally, the evolved individual satisfies the evolution condition, including:

[0059] Calculating the individual distance between the evolved individual and the virtual individual;

[0060] Determine the evolutionary step length of the evolved individual based on the maximum distance between the virtual individual and each individual in the population, the minimum distance between the virtual individual and each individual in the population, the individual distance and the step length influencing factor;

[0061] When the evolution step meets the evolution threshold, it is determined that the evolved individual meets the evolution condition.

[0062] In the embodiment of the present application, by comparing the individual step length after evolution with the evolution threshold, if the evolution threshold is met, the evolution is stopped, if not, the evolution continues, so that the evolution of the individual continues to approach the evolution threshold, thereby completing the individual evolution.

[0063] Optionally, obtaining the optimal matching solution through iterative evolution of the population includes:

[0064] In the population development stage, the population fitness is re-determined for each iterative evolution of the population;

[0065] The population whose population fitness meets the fourth threshold condition is regarded as the elite population, and the population that does not meet the fourth threshold condition is regarded as the non-elite population; through the siphon effect, the elite population and the non-elite population are individually updated;

[0066] If the cut-off condition is met during the population development stage, the population convergence stage will begin;

[0067] In the population fusion stage, the population fitness is determined for each iteratively evolved population;

[0068] The populations whose fitness does not meet the fifth threshold condition are merged until they are merged into a super population;

[0069] The individuals in the super population whose fitness meets the sixth threshold condition are taken as the optimal matching scheme.

[0070] Optionally, the updating of the elite population and the non-elite population by means of the siphon effect includes:

[0071] Absorbing a set number of elite individuals from the non-elite population into the elite population, and eliminating the set number of non-elite individuals from the elite population;

[0072] Initialize the set number of individuals and add them to the non-elite population.

[0073] In the embodiment of the present application, elite individuals in the non-elite population are absorbed into the elite population through the siphon effect, thereby increasing the number of elite individuals in the elite population and making it more accurate to subsequently identify individuals from the elite population.

[0074] Optionally, the step of fusing the populations whose population fitness does not satisfy the fifth threshold condition comprises:

[0075] The populations whose population fitness is lower than the fifth threshold condition are subjected to population fusion, wherein the fifth threshold condition increases with the increase of the number of iterations.

[0076] In the embodiment of the present application, during each iteration, the fifth threshold condition increases as the number of iterations increases, so that each iteration is more rigorous than the previous one.

[0077] In a second aspect, the present invention provides a transaction matching device, comprising:

[0078] A determination module is used to determine individuals whose fitness meets the set requirements from the population as elite individuals;

[0079] The determination module is further used to determine the all-round individual from the elite individuals based on the fitness of the elite individual and the genetic similarity between the elite individual and other elite individuals;

[0080] The determination module is further configured to determine, for any gene characteristic value of any user chromosome in each omnipotent individual, a preferred position of the gene characteristic value in the user chromosome based on the importance of different gene positions of the gene characteristic value in the user chromosome;

[0081] A construction module, used to construct a virtual individual according to the preferred position of each gene characteristic value in the user's chromosome;

[0082] The evolution module is used to evolve each individual in the population through the virtual individuals, thereby realizing iterative evolution of the population.

[0083] Optionally, the determining module is specifically used to:

[0084] For any individual, calculate the fitness of each gene in the individual; the fitness of any gene represents the matching degree between the user and the product;

[0085] Determining the fitness of the individual based on the fitness of each gene in the individual;

[0086] If the fitness of the individual meets the first threshold condition, the individual is determined to be an elite individual.

[0087] Optionally, the product is a deposit certificate;

[0088] The gene fitness is determined by the user's purchase waiting time, whether the user is an abnormal user, the investment duration level, and the remaining deposit period level of the deposit certificate; the gene fitness is determined by the following formula:

[0089]

[0090] Among them, Li is the investment duration level, Ct is the user upgrade range, Dj is the remaining deposit period level of the deposit certificate; f is the gene fitness; the user upgrade range is determined by the following formula:

[0091]

[0092] Among them, Wt is the user's purchase waiting time, E is whether it is an abnormal user, and Ct is the user upgrade range.

[0093] Optionally, the determining module is specifically used to:

[0094] For any elite individual, determine the gene correlation of the user chromosomes in the elite individual; determine the gene information entropy of the elite individual based on the gene correlation of the elite individual;

[0095] Determining the genetic similarity between the two elite individuals based on the genetic correlation of the elite individual and the genetic correlation of another elite individual;

[0096] Determining the all-round index information of the elite individual according to the fitness of the elite individual, the gene information entropy of the elite individual and the similarity of each gene;

[0097] If the all-round indicator information meets the second threshold condition, the elite individual is determined to be an all-round individual.

[0098] Optionally, the determining module is specifically used to:

[0099] Based on any gene feature vector of the user chromosome in the elite individual and the average feature value of the gene feature vectors of each elite individual, the gene correlation of the user chromosome in the elite individual is determined.

[0100] Optionally, the determining module is specifically used to:

[0101] For the i-th gene position, the preferred position of the gene characteristic value in the user's chromosome is determined according to the number of occurrences of the gene characteristic value at the i-th gene position in each omnipotent individual, the gene fitness corresponding to the gene characteristic value, and the importance of the gene characteristic value at the i-th gene position.

[0102] Optionally, the determining module is specifically used to:

[0103] Determine each first elite individual having the gene characteristic value at the i-th gene position from each elite individual;

[0104] Exchanging the gene position of the gene characteristic value for any first elite individual to obtain a second elite individual; determining the importance of the gene characteristic value at the i-th gene position to the first elite individual according to the fitness of the first elite individual and the fitness of the second elite individual;

[0105] Determining the importance of the gene characteristic value at the i-th gene position according to the importance of the gene characteristic value at the i-th gene position to each first elite individual;

[0106] The importance of the i-th gene position is determined by the following formula:

[0107]

[0108] Among them, Fit gp is the fitness of the first universal individual, Fit (g,i)p is the fitness of the second universal individual, i is the gene position, n is the number of gene characteristic values, Fits gp is the importance of the gene feature value at the i-th gene position.

[0109] Optionally, the construction module is specifically used for:

[0110] According to the preferred position of each gene characteristic value in the user chromosome, a virtual user chromosome is constructed to obtain an initial virtual individual;

[0111] Determining the evolutionary difference between the initial virtual individual and each historical virtual individual;

[0112] If the evolutionary difference satisfies the third threshold condition, the initial virtual individual is the virtual individual of this iteration; if the evolutionary difference does not satisfy the third threshold condition, the genes of the initial virtual individual and the historical virtual individuals of the previous iteration are cross-exchanged to obtain the virtual individual of this iteration.

[0113] Optionally, the construction module is specifically used for:

[0114] For any historical virtual individual, determine the difference between the initial virtual individual and the historical virtual individual according to each gene characteristic value of the initial virtual individual and each gene characteristic value of the historical virtual individual; determine the difference between the initial virtual individual and the historical virtual individual based on the difference value, the fitness of the historical virtual individual and the evolutionary influencing factor;

[0115] According to the difference degree of each historical virtual individual, the evolution difference degree between the initial virtual individual and each historical virtual individual is determined.

[0116] Optionally, the evolution module is specifically used for:

[0117] For any individual in the population, calculate the distance between the gene characteristic values ​​of the individual and the virtual individual at the same gene position, and determine the first gene position corresponding to the maximum distance in the virtual individual;

[0118] Calculating the minimum distance between the gene characteristic values ​​of other gene positions in the individual and the gene characteristic value of the first gene position, and determining a second gene position corresponding to the minimum distance in the individual;

[0119] The gene characteristic value of the second gene position in the individual is exchanged with the gene characteristic value of the first gene position in the virtual individual to obtain an evolved individual, until the evolved individual meets the evolution condition.

[0120] Optionally, the evolution module is specifically used for:

[0121] Calculating the individual distance between the evolved individual and the virtual individual;

[0122] Determine the evolutionary step length of the evolved individual based on the maximum distance between the virtual individual and each individual in the population, the minimum distance between the virtual individual and each individual in the population, the individual distance and the step length influencing factor;

[0123] When the evolution step meets the evolution threshold, it is determined that the evolved individual meets the evolution condition.

[0124] Optionally, the determining module is specifically used to:

[0125] In the population development stage, the population fitness is re-determined for each iterative evolution of the population;

[0126] The population whose population fitness meets the fourth threshold condition is regarded as the elite population, and the population that does not meet the fourth threshold condition is regarded as the non-elite population; through the siphon effect, the elite population and the non-elite population are individually updated;

[0127] If the cut-off condition is met during the population development stage, the population convergence stage will begin;

[0128] In the population fusion stage, the population fitness is determined for each iteratively evolved population;

[0129] The populations whose fitness does not meet the fifth threshold condition are merged until they are merged into a super population;

[0130] The individuals in the super population whose fitness meets the sixth threshold condition are taken as the optimal matching scheme.

[0131] Optionally, the determining module is specifically used to:

[0132] Absorbing a set number of elite individuals from the non-elite population into the elite population, and eliminating the set number of non-elite individuals from the elite population;

[0133] Initialize the set number of individuals and add them to the non-elite population.

[0134] Optionally, the determining module is specifically used to:

[0135] The populations whose population fitness is lower than the fifth threshold condition are subjected to population fusion, wherein the fifth threshold condition increases with the increase of the number of iterations.

[0136] In a third aspect, the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned methods when executing the program.

[0137] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program executable by a computer device, wherein when the program is run on the computer device, the computer device executes the steps of any of the above-mentioned methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0138] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0139] Figure 1 A system architecture diagram provided for an embodiment of the present application;

[0140] Figure 2 A flowchart of a transaction matching method provided in an embodiment of the present application;

[0141] Figure 3 A schematic diagram of an individual structure provided in an embodiment of the present application;

[0142] Figure 4 A schematic diagram of the internal structure of an individual provided in an embodiment of the present application;

[0143] Figure 5 A schematic diagram of a process for determining elite individuals provided in an embodiment of the present application;

[0144] Figure 6 A schematic diagram of a process for determining an all-round individual provided in an embodiment of the present application;

[0145] Figure 7 A schematic diagram of a structure for screening all-round individuals provided in an embodiment of the present application;

[0146] Figure 8 A schematic diagram of a process for determining the importance of a gene position provided in an embodiment of the present application;

[0147] Fig. 9 A schematic diagram of a structure for determining a virtual individual provided in an embodiment of the present application;

[0148] Fig.10 A schematic diagram of a structure for exchanging gene feature values ​​provided in an embodiment of the present application;

[0149] Fig.11 A schematic diagram of a process for determining a virtual individual provided in an embodiment of the present application;

[0150] Fig.12 A schematic diagram of a structure of cross-exchange of virtual individuals provided in an embodiment of the present application;

[0151] Fig.13 A schematic diagram of a process of evolving an individual provided in an embodiment of the present application;

[0152] Fig.14 A schematic diagram of a process for determining whether an evolution condition is met provided in an embodiment of the present application;

[0153] Fig.15 A schematic diagram of a process for determining an optimal matching solution provided in an embodiment of the present application;

[0154] Fig.16 A schematic diagram of the structure of a transaction matching device provided in an embodiment of the present application;

[0155] Fig.17 A schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0156] In order to make the purpose, technical solution and beneficial effects of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0157] To facilitate understanding of this solution, the application scenario of this solution is introduced below.

[0158] Large-denomination certificates of deposit refer to a financial product issued by banks or other financial institutions to attract customers to deposit larger amounts of money. Large-denomination certificates of deposit usually have a fixed deposit period, which can range from a few months to a few years. After the deposit period expires, the customer can receive interest and principal at the agreed interest rate. Large-denomination certificates of deposit have a higher minimum deposit amount, and usually require customers to deposit a certain amount of funds to reach the set minimum amount before they can apply for it. Compared with other deposit products, large-denomination certificates of deposit have higher flexibility, and different deposit periods can be selected according to the needs of customers to meet their different fund management needs.

[0159] Parity transfer refers to the process of transferring an asset or interest to another party in a transaction at an equal price. This transfer method requires the buyer to pay an amount equal to the asset or interest held by the seller in order to complete the transaction. Parity transfers usually occur when both parties believe that the value of the assets or interests being traded is equal. This transaction method can reduce the possibility of price bargaining and disputes because both the buyer and the seller agree to exchange at the same value. Parity transfers can be used in transactions of various assets and interests, including stocks, bonds, real estate, etc.

[0160] At present, more and more users are pursuing investment products with stable returns. Therefore, large-denomination certificates of deposit are favored by the majority of users. In order to meet the needs of users, many banks have launched large-denomination certificates of deposit products that can be evaluated and transferred, resulting in a large number of large-denomination certificates of deposit being transferred out and bought, which has triggered banks to consider matching. Banks hope to achieve the highest matching rate between users and large-denomination certificates of deposit under the premise of meeting timeliness and evaluating transfer, thereby improving user satisfaction. To this end, banks have proposed a variety of solutions, mainly including exhaustive algorithmic transaction matching and greedy algorithmic transaction matching.

[0161] To exhaustively match algorithmic transactions, we first need to list all possible matching combinations of users and large-denomination certificates of deposit. For N users and N large-denomination certificates of deposit, there are N! Different matching combinations. Then, for each combination, the fitness value is calculated according to the fitness function, and finally the combination of users and large-denomination certificates of deposit with the maximum fitness value is selected as the final result. This method is feasible when N is small, but as N increases, the number of combinations increases exponentially, resulting in a high time complexity of the algorithm.

[0162] Greedy algorithm transaction matching first initializes the user list and the large deposit certificate list, then for each user, traverses the large deposit certificate list in order, calculates the fitness value of the user and the large deposit certificate, and then removes the corresponding user and large deposit certificate with the largest fitness value from the list, that is, the match is successful, and continues to calculate the fitness value of the remaining large deposit certificates for the remaining users, and repeats until the user list and the large deposit certificate list are empty. However, this will face the situation of local optimal solution, because the greedy algorithm selects the current optimal solution every time, but this is not necessarily the global optimal solution. If it rolls back or cancels, the greedy algorithm will not reconsider the previous choice, which means that some better solutions may be missed.

[0163] The specific steps of the embodiment of the present application are introduced below: The present application predefines the arrangement order of users and the arrangement order of deposit certificates as user chromosomes and deposit certificate chromosomes. Different arrangement orders of users correspond to multiple chromosomes, and the arrangement order of deposit certificates is fixed. Therefore, when the arrangement order of users changes, the matching order between users and deposit certificates also changes accordingly. In the user chromosome, each user is a gene, and each gene contains multiple gene feature values. The gene feature value represents the attribute of each gene. The gene fitness of each gene can be determined according to the gene feature value, and the individual fitness of each chromosome can be determined according to the gene fitness. After pre-definition, first, a plurality of individuals are randomly generated, and each individual represents the matching relationship between the user chromosome and the deposit certificate chromosome. In the embodiment of the present application, the deposit certificate chromosome is set to be fixed, so different individuals represent the ordering of different user chromosomes, and the plurality of individuals are divided into a plurality of populations, and the fitness value of each individual is calculated, thereby dividing elite individuals, and then the universal individual is selected from the elite individuals, and the optimal position of each feature value in each gene is calculated according to the universal individual, and each feature value is placed in the optimal position to obtain a virtual individual. If the difference between the virtual individual of the current iteration and the historical virtual individual does not meet the set conditions, the virtual individual of the current iteration is cross-exchanged with the virtual individual of the previous round to obtain the final virtual individual of this round. Then calculate the distance between each individual and the virtual individual to determine whether the current individual needs to evolve. If the evolution conditions are met, stop evolving; if not, exchange the gene position of the individual to make the individual closer to the virtual individual, and then judge the distance with the virtual individual. After the evolution is completed, recalculate the fitness of each individual and the fitness of the population, and supplement the elite population through the siphon effect. Finally, merge the various populations to determine whether the population meets the fusion conditions. If so, merge; if not, continue to evolve until all populations meet the conditions and merge into one population. Calculate the individual fitness in the population. The individual with the largest fitness value is the target individual. The arrangement order of the target individual is the most matched with the arrangement order of the deposit slip, so as to obtain the most matched user and deposit slip.

[0164] See also Figure 1 , is a system architecture diagram provided in an embodiment of the present application, the system comprising: a terminal device 101 and a server 102, the terminal device 101 is used to respond to a trigger operation for a transaction matching method, and send a transaction matching request to the server 102, the server 102 is used to receive the transaction matching request sent by the terminal device 101, and perform transaction matching according to the transaction matching request.

[0165] The terminal device 101 is pre-installed with a business application, wherein the business application is a client application, a web application, a small program application, etc. The terminal device 101 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart home appliance, a smart voice interaction device, a smart car device, etc., but is not limited thereto.

[0166] The server 102 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal device 101 and the server 102 may be directly or indirectly connected via wired or wireless communication.

[0167] based on Figure 1 The system architecture diagram of the present application provides a transaction matching method, such as Figure 2 As shown, the method is applicable to multiple populations constructed with matching solutions as individuals, and the optimal matching solution is obtained through iterative evolution of the population; any individual includes a user chromosome corresponding to the user gene sequence and a product chromosome corresponding to the product gene sequence, which are used to indicate the transaction matching relationship between the user and the product; the iterative evolution of any population is carried out through steps 201 to 205.

[0168] Specifically, the embodiment of the present application abstracts users and products into genes, and the gene sequence is the arrangement order of users and products. In the embodiment of the present application, the arrangement order of products is first set to be fixed, that is, the product gene sequence is fixed. It is precisely because the product gene sequence is fixed that there is only one product chromosome at this time. Then, different user gene sequences can be obtained. The user gene sequence corresponds to the user chromosome. Since the user gene sequence is variable, there are multiple user chromosomes. Finally, for an individual, the individual will include user chromosomes and product chromosomes, and different individuals represent different matching relationships between user chromosomes and product chromosomes. In addition, it should be noted that the arrangement order of products is set to be fixed in the present application, and the practice of changing the user arrangement order is only an example. For example, the arrangement order of users can also be fixed in the present application. At this time, there is only one user chromosome, and the arrangement order of each product is changed at the same time, thereby forming different product gene sequences, that is, different product chromosomes; it is even possible to neither fix the arrangement order of users nor the arrangement order of products.

[0169] like Figure 3 As shown, it is an individual provided by the embodiment of the present application, Figure 3 (Left) are individuals 1 and 2. Figure 3 (Left) includes users 1 to 4 and products 1 to 4. Users 1 to 4 are different users, that is, different genes, and products 1 to 4 are different products. Since the gene sequence of the product is fixed, the gene sequence of the products in individual 1 and individual 2 is: product 1, product 2, product 3, product 4. Since the gene sequence of the user is variable, the gene sequence of the user in individual 1 is: user 2, user 1, user 3, user 4, and the gene sequence of the user in individual 2 is user 4, user 2, user 3, user 1. Because the user gene sequences in individual 1 and individual 2 are different, individual 1 and individual 2 are also different. Figure 3 (Right) There are only user chromosomes (user chromosome 1 to user chromosome 3), and the gene sequences of the user chromosomes are: user chromosome 1 (user 1, user 2, user 3, user 4), user chromosome 2 (user 2, user 1, user 4, user 3), user chromosome 3 (user 1, user 4, user 2, user 3).

[0170] In order to facilitate the implementation of the solution, this application will provide examples based on the situation where the product arrangement order remains unchanged and the user arrangement order is changed. In this case, since there is only one product chromosome, the individuals, elite individuals, and all-round individuals mentioned below all represent user chromosomes. Multiple individuals are randomly generated and divided into multiple populations. The optimization of the population is an iterative evolution process. The specific steps are as follows:

[0171] Step 201: Determine individuals from the population whose fitness meets the set requirements as elite individuals.

[0172] Specifically, there are multiple individuals in each population. For any individual, the individual's fitness indicates the degree of match between the user and the product. The greater the individual's fitness, the higher the degree of match between the user and the product; the smaller the individual's fitness, the lower the degree of match between the user and the product. By calculating the individual's fitness, it is determined whether the individual's fitness meets the set requirements. If it does, the individual is regarded as an elite individual; if not, the individual is regarded as a non-elite individual.

[0173] Step 202: Based on the fitness of the elite individual and the genetic similarity between the elite individual and other elite individuals, an all-round individual is determined from the elite individuals.

[0174] Specifically, the universal individual is determined based on the fitness of the elite individual and the genetic similarity between the elite individuals. The fitness of the elite individual indicates the degree of match between the user of the elite individual and the product, and the genetic similarity between the elite individuals indicates the degree of difference between the elite individuals. Genetic similarity determines the degree of difference between elite individuals by the degree of difference between genes.

[0175] Step 203: for any gene characteristic value of any user chromosome in each omnipotent individual, based on the importance of different gene positions of the gene characteristic value in the user chromosome, determine the preferred position of the gene characteristic value in the user chromosome.

[0176] Specifically, each user chromosome contains multiple genes, each gene is composed of different gene features, and the same gene features of different genes have different gene feature values. Different gene feature values ​​will have different effects on the results of transaction matching. Genes represent users, and gene features represent different attributes of users (such as the upgrade range of users, investment duration, whether they are abnormal users, etc.). Therefore, the user chromosome can be abstracted into a matrix, the rows of the matrix represent different genes, the columns of the matrix represent different gene features, and each gene feature of each user corresponds to a gene feature value. In the following, genes represent users, and gene feature values ​​represent user attributes. In user chromosomes, due to the different gene positions of gene feature values, the impact on user chromosomes is also different. Therefore, according to the importance of gene feature values ​​at different gene positions in user chromosomes, the preferred position of gene feature values ​​in user chromosomes is determined.

[0177] For example, Figure 4As shown, user chromosome 1 is abstracted into a matrix with 3 rows and 4 columns, which means that user chromosome 1 includes 4 genes, gene 1 to gene 4, and 3 gene features, gene feature 1 to gene feature 3. At the position of the 1st row and the 1st column, it is gene feature 1 of gene 1, marked as: 1_1 feature value, at the position of the 1st row and the 2nd column, it is gene feature 1 of gene 2, marked as: 2_1 feature value, ..., at the position of the 3rd row and the 4th column, it is gene feature 3 of gene 4, marked as: 4_3 feature value. If all gene feature values ​​in user chromosome 1 are in the preferred position, that is, at the position of the 1st row and the 1st column, the importance of feature value 1_1 is greater than feature value 2_1, feature value 3_1, and feature value 4_1.

[0178] Step 204: construct a virtual individual based on the preferred position of each gene characteristic value in the user's chromosome.

[0179] Specifically, after determining the preferred positions of the gene feature values, all the gene feature values ​​are combined to obtain a virtual individual, which is a matrix having the same rows and columns as the user's chromosomes.

[0180] Step 205: Evolve each individual in the population through virtual individuals, thereby achieving iterative evolution of the population.

[0181] Specifically, each individual in the population is treated as a virtual individual to achieve population iteration.

[0182] In some embodiments, individuals whose fitness meets the set requirements are determined from the population as elite individuals, such as Figure 5 As shown, the following steps are included:

[0183] Step 501: For any individual, calculate the fitness of each gene in the individual; the fitness of any gene represents the matching degree between the user and the product.

[0184] Specifically, gene fitness represents the matching degree between users and products. The gene fitness function is shown in formula (1):

[0185]

[0186] Among them, Ct is the user upgrade amplitude, Li is the investment duration level, and users are divided into [1, 2, 3, ..., Li, ..., Max(L)] according to their investment duration preference. The longer the time, the higher the level; Dj is the level of the remaining deposit period of the certificate of deposit, and the remaining deposit period of the certificate of deposit is divided into [1, 2, 3, ..., Dj, ..., Max(L)], and the longer the remaining deposit period, the higher the level; f is the gene fitness.

[0187] The Ct user upgrade range is shown in formula (2):

[0188]

[0189] Among them, Wt is the waiting time of the buying user, σ is the upgrade factor, and the value range is σ≥1; E is whether it is an abnormal user, and the value of E is 0 or 1.

[0190] Step 502: Determine the fitness of the individual based on the fitness of each gene in the individual.

[0191] Specifically, all genes in an individual are averaged to obtain the fitness of the individual. As shown in formula (3):

[0192]

[0193] Among them, f is the gene fitness, n is the number of genes in an individual, and Fit is the individual fitness.

[0194] Step 503: If the fitness of the individual meets the first threshold condition, the individual is determined to be an elite individual.

[0195] Specifically, it is determined whether the individual fitness Fit is greater than a first threshold. If it is greater than, the individual is considered to be an elite individual; if it is less than or equal to, the individual is considered to be a non-elite individual.

[0196] In some embodiments, the product is a certificate of deposit; the gene fitness is determined by the user's upgrade range, the user's purchase waiting time, whether the user is an abnormal user, the investment duration level, and the certificate of deposit remaining term level.

[0197] Specifically, the product can be a certificate of deposit, and the embodiment of the present application can match users with certificates of deposit. Gene fitness reflects the relationship between users and certificates of deposit, and gene fitness is related to the user's upgrade range, investment duration, and the remaining level of the certificate of deposit. The user's upgrade range is related to the user's waiting time for purchase. If the user's waiting time for purchase is longer, the user's upgrade range is smaller. The user's upgrade range is also related to whether the user is an abnormal transaction user. If the user is an abnormal transaction user, the user's upgrade range is smaller. The user's investment duration is divided into multiple levels. The longer the investment duration, the higher the level. The user's certificates of deposit are divided into multiple levels according to the remaining deposit period. The longer the remaining deposit period, the higher the level.

[0198] In some embodiments, based on the fitness of the elite individual and the genetic similarity between the elite individual and other elite individuals, an all-round individual is determined from each elite individual, such as Figure 6 As shown, the following steps are included:

[0199] Step 601: for any elite individual, determine the gene correlation of the user's chromosomes in the elite individual; and determine the gene information entropy of the elite individual based on the gene correlation of the elite individual.

[0200] Specifically, gene correlation represents the correlation between genes within the user chromosome, and gene information entropy represents the degree of correlation between genes within the user chromosome. From the elite chromosome, the gene correlation of the user chromosome is first determined, and then the gene information entropy of the elite chromosome is determined based on the gene correlation. The gene information entropy is shown in formula (4):

[0201]

[0202] Among them, θ n is the gene correlation, n is the number of genes, H ε is the gene information entropy.

[0203] In some embodiments, determining the genetic correlation of user chromosomes in elite individuals includes: determining the genetic correlation of user chromosomes in elite individuals based on any genetic feature vector of the user chromosomes in elite individuals and an average feature value of the genetic feature vectors of each elite individual.

[0204] Specifically, as can be seen from the above, the embodiment of the present application abstracts the user chromosome into a matrix, the columns of the matrix are different genes, the gene feature vectors are composed of different eigenvalues ​​of the genes, and each matrix contains multiple genes and gene feature vectors, such as Figure 4 The average eigenvalue of the gene feature vector of any user chromosome is calculated, and the gene correlation is determined according to the average eigenvalue of each gene feature vector in the user chromosome and the gene feature vector. The formula of gene correlation is shown in formula (5):

[0205]

[0206] Where n is the number of genes in the user's chromosome, v n For any gene, v n =(v n1 , v n2 , ..., v np )p is the number of gene features, is the average eigenvalue of the gene eigenvalues.

[0207] For example, user chromosome 1 contains 4 genes, that is, there are 4 feature vectors. Assume that the gene feature vector is v1=(v 11 , v 12 , v 13 ), v2=(v 21 , v 22 , v 23 ), v3=(v 31 , v 32 , v 33 ), v4=(v 41 , v 42, v 43 ), determine the average value of the four eigenvectors based on the four eigenvectors According to formula (4), the correlation ε between the four genes is obtained.

[0208] Step 602: Determine the genetic similarity between the two elite individuals based on the genetic correlation of the elite individual and the genetic correlation of another elite individual.

[0209] Specifically, the genetic similarity between two elite individuals is determined by the genetic correlation, as shown in formula (6):

[0210]

[0211] Among them, ε A is the genetic correlation of elite individual A, ε u is the genetic correlation of elite individual u, elite individual u is the elite individual other than elite individual A, ||.|| F represents the Frobenius norm, R is the number of elite individuals, is the genetic similarity between elite individual A and all other elite individuals.

[0212] For example, there are only two elite individuals in the group, and these two elite individuals are respectively recorded as elite individual A and elite individual B. When calculating the genetic similarity between elite individuals A and B, the above formula (6) can be simplified to formula (7):

[0213]

[0214] Among them, ε A is the genetic correlation of elite individual A, ε B is the genetic correlation of elite individual B, is the genetic similarity between elite individuals A and B.

[0215] Step 603: Determine the all-round index information of the elite individual according to the fitness of the elite individual, the gene information entropy of the elite individual and the similarity of each gene.

[0216] Specifically, the gene information entropy of the user's chromosome, the gene similarity between elite individuals, and the individual fitness mentioned above can be determined in the above steps 601 to 602, and the all-round index information of the elite individual can be determined. The all-round index information indicates whether the elite individual is an all-round individual, as shown in formula (8):

[0217]

[0218] Among them, Fit is the individual fitness, H ε is the gene information entropy, is the gene similarity, τ is the gene information entropy influence factor, τ>0, γ is the gene similarity influence factor, 0<γ<1.

[0219] Step 604: If the all-round indicator information meets the second threshold condition, the elite individual is determined to be an all-round individual.

[0220] Specifically, the all-round index information is compared with the second threshold condition. If the all-round index information is greater than the second threshold condition, the elite individual is an all-round individual. The second threshold condition is the average value of the all-round index information of all elite individuals. like Figure 7 As shown in the figure, these are all-round individuals selected from the elite individuals. It can be seen from the figure that elite individual 1, elite individual 2, and elite individual 5 are all-round individuals, and elite individual 3 and elite individual 4 are non-all-round individuals.

[0221] In some embodiments, based on the importance of different gene positions of the gene feature values ​​in the user's chromosome, determining the preferred position of the gene feature value in the user's chromosome includes:

[0222] For the i-th gene position, the preferred position of the gene characteristic value in the user's chromosome is determined according to the number of occurrences of the gene characteristic value at the i-th gene position in each omnipotent individual, the gene fitness corresponding to the gene characteristic value, and the importance of the gene characteristic value at the i-th gene position.

[0223] Specifically, different positions in the user's chromosome have different gene characteristic values, but the position where the gene characteristic value is located is not the best for the user's chromosome. Therefore, the embodiment of the present application can determine the preferred position of the gene characteristic value in the user's chromosome based on the gene characteristic value.

[0224] When determining the preferred position, as shown in formula (9), the preferred position of the gene characteristic value is determined based on the number of times the gene characteristic value appears at the i-th gene position in any omnipotent individual, the gene fitness corresponding to the gene characteristic value, and the importance of the gene position.

[0225] S gp =w1·N gp +w2 Fits gp +w3·F gp ...Formula (9)

[0226] Among them, N gp is the number of times the same gene feature value appears at the i-th gene position, Fits gp The importance of the gene feature value corresponding to the i-th gene position, F gp is the gene characteristic value v gpThe sum of the corresponding gene fitness values, w1, w2, and w3 are weight parameters used to control the importance of each factor.

[0227] In some embodiments, the importance of the gene feature value at the i-th gene position is obtained by: Figure 8 As shown, the following steps are included:

[0228] Step 801: Determine each first all-round individual having a gene characteristic value at the i-th gene position from each all-round individual.

[0229] Specifically, the all-round individual with the gene characteristic value at the i-th gene position is taken as the first all-round individual. Fig. 9 As shown, there are 3 all-round individuals, all-round individual 1, all-round individual 2, and all-round individual 3. Each all-round individual has 12 gene positions, the 1_1th gene position, the 2_1th gene position, ..., the 4_3th gene position, which correspond to gene characteristic values ​​1_1 gene characteristic value, 2_1 gene characteristic value, ..., 4_3 gene characteristic value, respectively, which corresponds to the first all-round individual.

[0230] Step 802: swap the gene position of the gene characteristic value of any first all-round individual to obtain a second all-round individual.

[0231] Specifically, the gene characteristic value at the i-th gene position is exchanged with the gene characteristic values ​​at other gene positions to obtain a second all-round individual.

[0232] For example, Fig. 9 The gene characteristic values ​​1_1 and 2_1 at the 1_1 gene position and the 2_1 gene position in the all-round individual 1 are exchanged to obtain a second all-round individual, such as Fig.10 As shown. By analogy, the gene characteristic values ​​1_1 and 3_1 at the 1_1 gene position and the 3_1 gene position in the all-round individual 1 are exchanged, and the gene characteristic values ​​1_1 and 4_1 at the 1_1 gene position and the 4_1 gene position in the all-round individual 1 are exchanged to obtain multiple second all-round individuals. It can be seen from this that there are multiple gene characteristic values ​​at the 1_1 gene position. When exchanging the gene characteristic value 1_1 at the 1_1 gene position, only the gene characteristic value 1_1 and the gene characteristic value 2_1 (or the gene characteristic value 3_1 or the gene characteristic value 4_1) are exchanged, and the gene characteristic values ​​at other gene positions are fixed.

[0233] Step 803: Determine the importance of the gene characteristic value at the i-th gene position to the first all-round individual according to the fitness of the first all-round individual and the fitness of the second all-round individual.

[0234] Specifically, the fitness of the first all-round individual and the fitness of the second all-round individual are calculated, and the importance of the gene characteristic value at the i-th position to the first all-round individual is determined according to the size of the fitness.

[0235] For example, according to the fitness function formula (1) and formula (2) above, the fitness of the first all-round individual and the fitness of multiple second all-round individuals are calculated, and according to the size of the fitness, the importance of different gene characteristic values ​​at the 1_1 gene position to the first all-round individual is determined.

[0236] Step 804: Determine the importance of the gene characteristic value at the i-th gene position according to the importance of the gene characteristic value at the i-th gene position to each first elite individual.

[0237] Specifically, as shown in formula (10), the importance of the gene feature value at the i-th gene position is determined:

[0238]

[0239] Among them, n is the number of gene features, p is the gene feature, g and i are the gene positions, Fit gp is the fitness of the first universal individual, Fit (g,i)p is the fitness of the second universal individual. gp is the fitness corresponding to the gene feature value at the i-th gene position.

[0240] In some embodiments, a virtual individual is constructed by the preferred position of each gene feature value in the user's chromosome, such as Fig.11 As shown, the following steps are included:

[0241] Step 1101: construct a virtual user chromosome according to the preferred position of each gene characteristic value in the user chromosome, thereby obtaining an initial virtual individual.

[0242] Specifically, after the preferred position of the gene characteristic value is determined, a virtual user chromosome is constructed according to the preferred position to obtain a virtual individual.

[0243] Step 1102: Determine the evolutionary difference between the initial virtual individual and each historical virtual individual.

[0244] Specifically, the evolutionary differences between virtual individuals and historical virtual individuals are compared.

[0245] Step 1103: If the evolutionary difference meets the third threshold condition, the initial virtual individual is the virtual individual of this iteration. If the evolutionary difference does not meet the third threshold condition, the genes of the initial virtual individual and the historical virtual individual of the previous iteration are cross-exchanged to obtain the virtual individual of this iteration.

[0246] Specifically, if the evolutionary difference meets the third threshold condition, the initial virtual individual is the virtual individual of this iteration; if the evolutionary difference does not meet the third threshold condition, the initial virtual individual is cross-exchanged with the historical virtual individual of the previous iteration to obtain the virtual individual of this iteration.

[0247] Cross-exchange Fig.12 As shown, the upper left is the initial virtual individual, and the lower left is the historical virtual individual of the previous iteration. Gene 2 and gene 4 of the initial virtual individual are replaced with gene 2 and gene 4 of the historical virtual individual to obtain the virtual individual of this iteration.

[0248] In some embodiments, determining the evolutionary difference between the initial virtual individual and each historical virtual individual includes:

[0249] For any historical virtual individual, the difference value between the initial virtual individual and the historical virtual individual is determined based on the gene characteristic values ​​of the initial virtual individual and the gene characteristic values ​​of the historical virtual individual; the difference between the initial virtual individual and the historical virtual individual is determined based on the difference value, the fitness of the historical virtual individual and the evolutionary influencing factor. According to the difference of each historical virtual individual, the evolutionary difference between the initial virtual individual and each historical virtual individual is determined.

[0250] Specifically, in the process of algorithm evolution, the virtual individuals born in the historical evolution phase have very important guiding and reference significance for the initial virtual individuals born in the current phase. Therefore, the present invention marks the phases of the virtual individuals in each round of algorithm iteration evolution and then puts them into the historical virtual individual set Supper. history Middle, Supper history ={Supper1, Supper2, Supper3,..., Supper t-1}, where Supper i Indicates the initial virtual individual obtained after the i-th iteration. The initial virtual individual Supper of the current round t From the historical virtual individual set Supper history Self-learning in the process to obtain better virtual individuals This will guide the algorithm to evolve more stably and quickly.

[0251] Supper t With Supper history The calculation of evolutionary difference is shown in formula (11):

[0252]

[0253] in: is the initial virtual individual Supper tWith the historical virtual individual Supper i The average covariance matrix distance of gene feature values; θ i It is a parameter used to control the influence of historical virtual individuals on the evolution of virtual individuals; Fit i It is the historical virtual individual Supper i The fitness of i is the historical virtual individual Supper i The order of iteration rounds that appear, Supper diff It's evolutionary difference.

[0254] if Then Supper t-1 and Supper t Perform crossover mutation to obtain the final virtual individual after self-learning

[0255] In some embodiments, each individual in the population is evolved through virtual individuals, such as Fig.13 As shown, the following steps are included:

[0256] Step 1301: For any individual in the population, calculate the distance between the gene feature values ​​of the individual and the virtual individual at the same gene position, and determine the first gene position corresponding to the maximum distance in the virtual individual.

[0257] Specifically, according to the gene feature value, the distance between the individuals in the population and the virtual individuals at the same gene position is calculated, such as Fig. 9 As shown, the same gene position is the distance between gene 1 of universal individual 1 and virtual gene 1 of virtual individual. Similarly, for any individual in the population, taking individual 1 as an example, according to the gene characteristic value, the distance between gene 1 in individual 1 and virtual gene 1 of virtual individual, the distance between gene 2 and virtual gene 2 of virtual individual, the distance between gene 3 and virtual gene 3 of virtual individual, and the distance between gene 4 and virtual gene 4 of virtual individual are calculated respectively to obtain the maximum distance, where the distance is the Euclidean distance calculated according to the gene characteristic value of the gene. Assuming that the distance between individual 1 and virtual gene 1 of virtual individual is the largest, the gene 1 position in individual 1 is the first gene position, and the corresponding virtual gene 1 of virtual individual is also the first gene position.

[0258] Step 1302: Calculate the minimum distance between the gene characteristic values ​​of other gene positions in the individual and the gene characteristic value of the first gene position, and determine the second gene position corresponding to the minimum distance in the individual.

[0259] Specifically, the distance between the gene characteristic values ​​of other gene positions in individual 1 except gene 1 and the gene characteristic value of the first gene position is calculated, that is, the distance between gene 2, gene 3, gene 4 in individual 1 and the virtual gene 1 of the virtual individual is calculated respectively. If the distance between gene 2 and virtual gene 1 is the smallest, the position corresponding to gene 2 is used as the second gene position.

[0260] Step 1303: exchange the gene feature value of the second gene position in the individual with the gene feature value of the first gene position in the virtual individual to obtain an evolved individual, until the evolved individual meets the evolution condition.

[0261] Specifically, the gene characteristic values ​​of gene 1 in individual 1 and gene 2 are exchanged to obtain the evolved individual 1. There is a case where the minimum distance is greater than the maximum distance, in which case the gene characteristic values ​​between the first gene position and the second gene position are not exchanged. That is, although the distance between gene 1 in individual 1 and the virtual gene 1 of the virtual individual is the largest when compared at the same gene position, the distance between other genes in individual 1 and the virtual gene 1 of the virtual individual is greater than the distance between gene 1 and the virtual gene 1 of the virtual individual. In this case, gene 1 in individual 1 is not exchanged with other genes.

[0262] In some embodiments, the evolved individual satisfies the evolution conditions, such as Fig.14 As shown, the following steps are included:

[0263] Step 1401: Calculate the individual distance between the evolved individual and the virtual individual.

[0264] Specifically, the individual distance between the evolved individual 1 and the virtual individual is calculated according to the gene characteristic value. The individual distance is the covariance matrix distance calculated according to the gene characteristic values ​​between the individuals.

[0265] Step 1402: Determine the evolutionary step length of the evolved individual based on the maximum distance between the virtual individual and each individual in the population, the minimum distance between the virtual individual and each individual in the population, the individual distance, and the step length influencing factor.

[0266] Specifically, the maximum distance and minimum distance between the virtual individual and each individual in the population are calculated based on the gene characteristic value. The evolutionary step length after the evolution of individual 1 is determined according to formula (12). The maximum distance and minimum distance between the virtual individual and each individual in the population are the maximum distance and minimum distance obtained by calculating the covariance matrix distance based on the gene characteristic values ​​between the virtual individual and the individual.

[0267]

[0268] Among them, Max(D) is the maximum distance between the virtual individual and each individual in the population, Min(D) is the minimum distance between the virtual individual and each individual in the population, and D AB is the individual distance, p is the step size influencing factor, and EvoStep is the evolutionary step size.

[0269] Step 1403: When the evolution step meets the evolution threshold, determine whether the evolved individual meets the evolution condition.

[0270] Specifically, it is determined whether the evolutionary step length meets the evolutionary threshold. If so, the evolution is stopped; if not, the above steps are performed again until it is satisfied. In this way, the effect of evolving towards the virtual individual step by step can be achieved, and individuals far away from the virtual individual can achieve the purpose of rapid evolution.

[0271] In some embodiments, the optimal matching solution is obtained by iterative evolution of the population, such as Fig.15 As shown, the following steps are included:

[0272] Step 1501: During the population development stage, the population fitness is re-determined for each iteratively evolved population.

[0273] After the individual completes the evolution, the fitness of each individual is recalculated, and the fitness of the population is calculated based on the individual fitness. The population fitness formula is as follows:

[0274]

[0275] Among them, α is the number of individuals in the population, ∑Fit is the sum of the fitness of individuals in the population, and Fit population is the population fitness.

[0276] Step 1502: The population whose population fitness meets the fourth threshold condition is regarded as the elite population, and the population that does not meet the fourth threshold condition is regarded as the non-elite population; through the siphon effect, the elite population and the non-elite population are individually updated.

[0277] Specifically, determine the population fitness Fit population Whether the fourth threshold condition is met is regarded as an elite population, and whether the fourth threshold condition is not met is regarded as a non-elite population. The fourth threshold condition can be set according to the situation, and this application does not limit it. Assume that the fourth threshold condition is set to an elite population when the number of elite individuals in the population is greater than or equal to 100, and a non-elite population when the number of elite individuals is less than 100. Through the siphon effect, individuals of the elite population and the non-elite population are updated.

[0278] The siphon effect of the embodiment of the present application is constructed based on the idea of ​​the city siphon effect. The city siphon effect refers to the influence of the attraction of the city center area on the development of the surrounding areas. The city siphon effect can be vividly described as the attraction of the city center area, which is like a siphon, attracting resources, population and economic activities from the surrounding areas. This effect leads to the continuous expansion and development of the city center area, while the surrounding areas benefit relatively less, and may even lose resources and population. In genetic algorithms, the city siphon effect is often used to simulate the phenomenon of urban planning and urban development. For example, by introducing the siphon effect in the genetic algorithm, the influence of the city center area as a "dominant gene" on the surrounding areas can be simulated. This can better consider the center-edge relationship in urban planning, as well as the influence of the city center area on the distribution of resources and population in the surrounding areas.

[0279] In some embodiments, individuals in the elite population and the non-elite population are updated through the siphon effect, including: absorbing a set number of elite individuals from the non-elite population into the elite population, and eliminating a set number of non-elite individuals from the elite population; initializing a set number of individuals and adding them to the non-elite population.

[0280] Specifically, according to the siphon effect, the siphon ratio β is set, and according to the siphon ratio β, the siphon quantity h is obtained, the elite individuals in the non-elite population are siphoned, and the non-elite individuals δ in the elite population are eliminated. Since the elite individuals of the non-elite population are siphoned, the individuals ∈ need to be reinitialized for replenishment;

[0281] The specific quantity is calculated as follows:

[0282] The number of elite individuals in the siphoning non-elite population: h = α*ρ*β

[0283] Eliminate the number of non-elite individuals in the elite population: δ = h

[0284] The number of individuals in the non-elite population is reinitialized: ∈ = δ

[0285] Among them, α is the population size, ρ is the fourth threshold condition, and β is the siphon ratio.

[0286] Step 1503: If the cutoff condition is met during the population development stage, the population fusion stage is entered.

[0287] Specifically, when an individual satisfies a preset cutoff condition during the iteration process, the population fusion begins. The cutoff condition may be a limit on the number of iterations, such as starting the population fusion after 100 iterations.

[0288] Step 1504: In the population fusion stage, the population fitness is determined for each iteratively evolved population.

[0289] Step 1505: The populations whose fitness does not meet the fifth threshold condition are merged until they are merged into a super population.

[0290] Specifically, a fifth threshold condition is preset, and the relationship between the fifth threshold condition and the fitness of the population is determined. If the relationship is satisfied, the population is merged into a super population; if the relationship is not satisfied, the above steps are repeated.

[0291] In some embodiments, populations whose population fitness does not meet the fifth threshold condition are subjected to population fusion, including: populations whose population fitness is lower than the fifth threshold condition are subjected to population fusion, wherein the fifth threshold condition increases with the increase in the number of iterations.

[0292] Specifically, the fifth threshold condition can be the proportion of elite individuals in the population. If the fifth threshold condition is no more than 30% when the population is merged for the first time, it means that the population is merged when the number of elite individuals in the population is less than 30%. When the next round of iteration is performed, the fifth threshold condition of no more than 30% will also change continuously. If the fifth threshold condition is no more than 50% in the second iteration,..., in the nth iteration, the fifth threshold condition is no more than 100%, which means that all individuals in the population need to be merged. The fifth threshold condition can be set according to the actual situation, and this application does not limit it.

[0293] Step 1506: The individuals in the super population whose fitness meets the sixth threshold condition are selected as the optimal matching solution.

[0294] Specifically, the fitness of each individual in the super population is calculated, and if the individual fitness meets the sixth threshold, the individual corresponding to the fitness is used as the final matching solution. The sixth threshold condition can be the maximum fitness value, which is not limited in this application.

[0295] Based on the same technical concept, the embodiment of the present application provides a transaction matching device, such as Fig.16 As shown, the device 1600 includes:

[0296] A determination module 1601 is used to determine individuals whose fitness meets the set requirements from the population as elite individuals;

[0297] The determination module 1601 is further used to determine the all-round individual from the elite individuals based on the fitness of the elite individual and the genetic similarity between the elite individual and other elite individuals;

[0298] The determination module 1601 is further configured to determine, for any gene characteristic value of any user chromosome in each omnipotent individual, a preferred position of the gene characteristic value in the user chromosome based on the importance of different gene positions of the gene characteristic value in the user chromosome;

[0299] A construction module 1602 is used to construct a virtual individual according to the preferred position of each gene characteristic value in the user's chromosome;

[0300] The evolution module 1603 is used to evolve each individual in the population through the virtual individuals, thereby realizing iterative evolution of the population.

[0301] Optionally, the determining module 1601 is specifically configured to:

[0302] For any individual, calculate the fitness of each gene in the individual; the fitness of any gene represents the matching degree between the user and the product;

[0303] Determining the fitness of the individual based on the fitness of each gene in the individual;

[0304] If the fitness of the individual meets the first threshold condition, the individual is determined to be an elite individual.

[0305] Optionally, the product is a deposit certificate;

[0306] The gene fitness is determined by the user's purchase waiting time, whether the user is an abnormal user, the investment duration level, and the remaining deposit period level of the deposit certificate; the gene fitness is determined by the following formula:

[0307]

[0308] Among them, Li is the investment duration level, Ct is the user upgrade range, Dj is the remaining deposit period level of the deposit certificate; f is the gene fitness; the user upgrade range is determined by the following formula:

[0309]

[0310] Among them, Wt is the user's purchase waiting time, E is whether it is an abnormal user, and Ct is the user upgrade range.

[0311] Optionally, the determining module 1601 is specifically configured to:

[0312] For any elite individual, determine the gene correlation of the user chromosomes in the elite individual; determine the gene information entropy of the elite individual based on the gene correlation of the elite individual;

[0313] Determining the genetic similarity between the two elite individuals based on the genetic correlation of the elite individual and the genetic correlation of another elite individual;

[0314] Determining the all-round index information of the elite individual according to the fitness of the elite individual, the gene information entropy of the elite individual and the similarity of each gene;

[0315] If the all-round indicator information meets the second threshold condition, the elite individual is determined to be an all-round individual.

[0316] Optionally, the determining module 1601 is specifically configured to:

[0317] Based on any gene feature vector of the user chromosome in the elite individual and the average feature value of the gene feature vectors of each elite individual, the gene correlation of the user chromosome in the elite individual is determined.

[0318] Optionally, the determining module 1601 is specifically configured to:

[0319] For the i-th gene position, the preferred position of the gene characteristic value in the user's chromosome is determined according to the number of occurrences of the gene characteristic value at the i-th gene position in each omnipotent individual, the gene fitness corresponding to the gene characteristic value, and the importance of the gene characteristic value at the i-th gene position.

[0320] Optionally, the determining module 1601 is specifically configured to:

[0321] Determine each first elite individual having the gene characteristic value at the i-th gene position from each elite individual;

[0322] Exchanging the gene position of the gene characteristic value for any first elite individual to obtain a second elite individual; determining the importance of the gene characteristic value at the i-th gene position to the first elite individual according to the fitness of the first elite individual and the fitness of the second elite individual;

[0323] Determining the importance of the gene characteristic value at the i-th gene position according to the importance of the gene characteristic value at the i-th gene position to each first elite individual;

[0324]

[0325] Among them, Fit gp is the fitness of the first universal individual, Fit (g,i)p is the fitness of the second universal individual, i is the gene position, n is the number of gene characteristic values, Fits gp is the importance of the gene feature value at the i-th gene position.

[0326] Optionally, the construction module 1602 is specifically used for:

[0327] According to the preferred position of each gene characteristic value in the user chromosome, a virtual user chromosome is constructed to obtain an initial virtual individual;

[0328] Determining the evolutionary difference between the initial virtual individual and each historical virtual individual;

[0329] If the evolutionary difference satisfies the third threshold condition, the initial virtual individual is the virtual individual of this iteration; if the evolutionary difference does not satisfy the third threshold condition, the genes of the initial virtual individual and the historical virtual individuals of the previous iteration are cross-exchanged to obtain the virtual individual of this iteration.

[0330] Optionally, the construction module 1602 is specifically used for:

[0331] For any historical virtual individual, determine the difference between the initial virtual individual and the historical virtual individual according to each gene characteristic value of the initial virtual individual and each gene characteristic value of the historical virtual individual; determine the difference between the initial virtual individual and the historical virtual individual based on the difference value, the fitness of the historical virtual individual and the evolutionary influencing factor;

[0332] According to the difference degree of each historical virtual individual, the evolution difference degree between the initial virtual individual and each historical virtual individual is determined.

[0333] Optionally, the evolution module 1603 is specifically used for:

[0334] For any individual in the population, calculate the distance between the gene characteristic values ​​of the individual and the virtual individual at the same gene position, and determine the first gene position corresponding to the maximum distance in the virtual individual;

[0335] Calculating the minimum distance between the gene characteristic values ​​of other gene positions in the individual and the gene characteristic value of the first gene position, and determining a second gene position corresponding to the minimum distance in the individual;

[0336] The gene characteristic value of the second gene position in the individual is exchanged with the gene characteristic value of the first gene position in the virtual individual to obtain an evolved individual, until the evolved individual meets the evolution condition.

[0337] Optionally, the evolution module 1603 is specifically used for:

[0338] Calculating the individual distance between the evolved individual and the virtual individual;

[0339] Determine the evolutionary step length of the evolved individual based on the maximum distance between the virtual individual and each individual in the population, the minimum distance between the virtual individual and each individual in the population, the individual distance and the step length influencing factor;

[0340] When the evolution step meets the evolution threshold, it is determined that the evolved individual meets the evolution condition.

[0341] Optionally, the determining module 1601 is specifically configured to:

[0342] In the population development stage, the population fitness is re-determined for each iterative evolution of the population;

[0343] The population whose population fitness meets the fourth threshold condition is regarded as the elite population, and the population that does not meet the fourth threshold condition is regarded as the non-elite population; through the siphon effect, the elite population and the non-elite population are individually updated;

[0344] If the cut-off condition is met during the population development stage, the population convergence stage will begin;

[0345] In the population fusion stage, the population fitness is determined for each iteratively evolved population;

[0346] The populations whose fitness does not meet the fifth threshold condition are merged until they are merged into a super population;

[0347] The individuals in the super population whose fitness meets the sixth threshold condition are taken as the optimal matching scheme.

[0348] Optionally, the determining module 1601 is specifically configured to:

[0349] Absorbing a set number of elite individuals from the non-elite population into the elite population, and eliminating the set number of non-elite individuals from the elite population;

[0350] Initialize the set number of individuals and add them to the non-elite population.

[0351] Optionally, the determining module 1601 is specifically configured to:

[0352] The populations whose population fitness is lower than the fifth threshold condition are subjected to population fusion, wherein the fifth threshold condition increases with the increase of the number of iterations.

[0353] Based on the same technical concept, the embodiment of the present application provides a computer device, which may be a terminal or a server, such as Fig.17 , including at least one processor 1701, and a memory 1702 connected to the at least one processor. The specific connection medium between the processor 1701 and the memory 1702 is not limited in the embodiment of the present application. Fig.17 For example, the processor 1701 and the memory 1702 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, and the like.

[0354] In the embodiment of the present application, the memory 1702 stores instructions that can be executed by at least one processor 1701. The at least one processor 1701 can execute the steps included in the above-mentioned transaction matching method by executing the instructions stored in the memory 1702.

[0355] Among them, the processor 1701 is the control center of the computer device, which can use various interfaces and lines to connect various parts of the computer device, by running or executing instructions stored in the memory 1702 and calling data stored in the memory 1702. Optionally, the processor 1701 may include one or more processing units, and the processor 1701 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1701. In some embodiments, the processor 1701 and the memory 1702 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.

[0356] Processor 1701 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor.

[0357] Memory 1702, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules. Memory 1702 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (Random Access Memory, RAM), static random access memory (Static Random Access Memory, SRAM), programmable read-only memory (Programmable Read Only Memory, PROM), read-only memory (Read Only Memory, ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), magnetic memory, disk, optical disk, etc. Memory 1702 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 1702 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0358] Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program executable by a computer device. When the program runs on the computer device, the computer device executes the steps of the above-mentioned transaction matching method.

[0359] Based on the same inventive concept, an embodiment of the present application provides a computer program product, characterized in that the computer program product includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer device, the computer device executes the steps of the above-mentioned transaction matching method.

[0360] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0361] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0362] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0363] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0364] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A transaction matching method, It is characterized in that The method is applicable to multiple populations constructed with matching solutions as individuals, and the optimal matching solution is obtained through iterative evolution of the population; any individual includes a user chromosome corresponding to the user gene sequence and a product chromosome corresponding to the product gene sequence, which is used to indicate the transaction matching relationship between the user and the product; the iterative evolution of any population is performed in the following manner: Identify individuals from the population whose fitness meets the set requirements as elite individuals; Based on the fitness of elite individuals and the genetic similarity between elite individuals and other elite individuals, all-round individuals are identified from among the elite individuals; For any gene characteristic value of any user chromosome in each omnipotent individual, based on the importance of different gene positions of the gene characteristic value in the user chromosome, determine the preferred position of the gene characteristic value in the user chromosome; Construct a virtual individual through the preferred position of each gene characteristic value in the user's chromosome; Through the virtual individuals, each individual in the population is evolved, thereby achieving iterative evolution of the population.

2. The method according to claim 1, It is characterized in that The step of determining individuals from the population whose fitness meets the set requirements as elite individuals includes: For any individual, calculate the fitness of each gene in the individual; the fitness of any gene represents the matching degree between the user and the product; Determining the fitness of the individual based on the fitness of each gene in the individual; If the fitness of the individual meets the first threshold condition, the individual is determined to be an elite individual.

3. The method according to claim 2, It is characterized in that The product described is a certificate of deposit; The gene fitness is determined by the user's upgrade range, the user's purchase waiting time, whether the user is an abnormal user, the investment duration level, and the remaining deposit period level of the deposit certificate; the gene fitness is determined by the following formula: Among them, Li is the investment duration level, Ct is the user upgrade range, Dj is the remaining deposit period level of the deposit certificate; f is the gene fitness; the user upgrade range is determined by the following formula: Among them, Wt is the user's purchase waiting time, E is whether it is an abnormal user, and Ct is the user upgrade range.

4. The method according to claim 1, It is characterized in that The method of determining the all-round individual from the elite individuals based on the fitness of the elite individual and the genetic similarity between the elite individual and other elite individuals includes: For any elite individual, determine the gene correlation of the user chromosomes in the elite individual; determine the gene information entropy of the elite individual based on the gene correlation of the elite individual; Determining the genetic similarity between the two elite individuals based on the genetic correlation of the elite individual and the genetic correlation of another elite individual; Determining the all-round index information of the elite individual according to the fitness of the elite individual, the gene information entropy of the elite individual and the similarity of each gene; If the all-round indicator information meets the second threshold condition, the elite individual is determined to be an all-round individual.

5. The method according to claim 4, It is characterized in that The determining of the gene correlation of the user chromosomes in the elite individuals comprises: Based on any gene feature vector of the user chromosome in the elite individual and the average feature value of the gene feature vectors of each elite individual, the gene correlation of the user chromosome in the elite individual is determined.

6. The method according to claim 1, It is characterized in that The determining the preferred position of the gene characteristic value in the user's chromosome based on the importance of different gene positions of the gene characteristic value in the user's chromosome comprises: For the i-th gene position, the preferred position of the gene characteristic value in the user's chromosome is determined according to the number of occurrences of the gene characteristic value at the i-th gene position in each omnipotent individual, the gene fitness corresponding to the gene characteristic value, and the importance of the gene characteristic value at the i-th gene position.

7. The method according to claim 6, It is characterized in that The importance of the gene characteristic value at the i-th gene position is obtained by the following method, including: Determine each first all-potent individual having the gene characteristic value at the i-th gene position from each all-potent individual; Exchanging the gene position of the gene characteristic value for any first all-round individual to obtain a second all-round individual; determining the importance of the gene characteristic value at the i-th gene position to the first all-round individual according to the fitness of the first all-round individual and the fitness of the second all-round individual; Determine the importance of the gene characteristic value at the i-th gene position according to the importance of the gene characteristic value at the i-th gene position to each first all-round individual; The importance of the i-th gene position is determined by the following formula: Among them, Fit gp is the fitness of the first universal individual, Fit (g,i)p is the fitness of the second universal individual, i is the gene position, n is the number of gene characteristic values, Fits gp is the importance of the gene feature value at the i-th gene position.

8. The method according to any one of claims 1 to 7, It is characterized in that The step of constructing a virtual individual by using the preferred position of each gene characteristic value in the user's chromosome includes: According to the preferred position of each gene characteristic value in the user chromosome, a virtual user chromosome is constructed to obtain an initial virtual individual; Determining the evolutionary difference between the initial virtual individual and each historical virtual individual; If the evolutionary difference satisfies the third threshold condition, the initial virtual individual is the virtual individual of this iteration; if the evolutionary difference does not satisfy the third threshold condition, the genes of the initial virtual individual and the historical virtual individuals of the previous iteration are cross-exchanged to obtain the virtual individual of this iteration.

9. The method according to claim 8, It is characterized in that The step of determining the evolutionary difference between the initial virtual individual and each historical virtual individual includes: For any historical virtual individual, determine the difference between the initial virtual individual and the historical virtual individual according to each gene characteristic value of the initial virtual individual and each gene characteristic value of the historical virtual individual; determine the difference between the initial virtual individual and the historical virtual individual based on the difference value, the fitness of the historical virtual individual and the evolutionary influencing factor; According to the difference degree of each historical virtual individual, the evolution difference degree between the initial virtual individual and each historical virtual individual is determined.

10. The method according to any one of claims 1 to 7, It is characterized in that The step of evolving each individual in the population through the virtual individual comprises: For any individual in the population, calculate the distance between the gene characteristic values ​​of the individual and the virtual individual at the same gene position, and determine the first gene position corresponding to the maximum distance in the virtual individual; Calculating the minimum distance between the gene characteristic values ​​of other gene positions in the individual and the gene characteristic value of the first gene position, and determining a second gene position corresponding to the minimum distance in the individual; The gene characteristic value of the second gene position in the individual is exchanged with the gene characteristic value of the first gene position in the virtual individual to obtain an evolved individual, until the evolved individual meets the evolution condition.

11. The method according to claim 10, It is characterized in that The evolved individual meets the evolution conditions, including: Calculating the individual distance between the evolved individual and the virtual individual; Determine the evolutionary step length of the evolved individual based on the maximum distance between the virtual individual and each individual in the population, the minimum distance between the virtual individual and each individual in the population, the individual distance and the step length influencing factor; When the evolution step meets the evolution threshold, it is determined that the evolved individual meets the evolution condition.

12. The method according to any one of claims 1 to 7, It is characterized in that The optimal matching solution is obtained through iterative evolution of the population, including: In the population development stage, the population fitness is re-determined for each iterative evolution of the population; The population whose population fitness meets the fourth threshold condition is regarded as the elite population, and the population that does not meet the fourth threshold condition is regarded as the non-elite population; through the siphon effect, the elite population and the non-elite population are individually updated; If the cut-off condition is met during the population development stage, the population convergence stage will begin; In the population fusion stage, the population fitness is determined for each iteratively evolved population; The populations whose fitness does not meet the fifth threshold condition are merged until they are merged into a super population; The individuals in the super population whose fitness meets the sixth threshold condition are taken as the optimal matching scheme.

13. The method according to claim 12, It is characterized in that The updating of the elite population and the non-elite population through the siphon effect includes: Absorbing a set number of elite individuals from the non-elite population into the elite population, and eliminating the set number of non-elite individuals from the elite population; Initialize the set number of individuals and add them to the non-elite population.

14. The method according to claim 12, It is characterized in that The step of fusing the population whose population fitness does not meet the fifth threshold condition comprises: The populations whose population fitness is lower than the fifth threshold condition are subjected to population fusion, wherein the fifth threshold condition increases with the increase of the number of iterations.

15. A transaction matching device, It is characterized in that include: A determination module is used to determine individuals whose fitness meets the set requirements from the population as elite individuals; The determination module is further used to determine the all-round individual from the elite individuals based on the fitness of the elite individual and the genetic similarity between the elite individual and other elite individuals; The determination module is further configured to determine, for any gene characteristic value of any user chromosome in each omnipotent individual, a preferred position of the gene characteristic value in the user chromosome based on the importance of different gene positions of the gene characteristic value in the user chromosome; A construction module, used to construct a virtual individual according to the preferred position of each gene characteristic value in the user's chromosome; The evolution module is used to evolve each individual in the population through the virtual individuals, thereby realizing iterative evolution of the population.

16. A computer device, It is characterized in that The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any method according to claim 1 to claim 14 when executing the program.

17. A computer-readable storage medium, It is characterized in that It stores a computer program executable by a computer device. When the program is run on the computer device, the computer device executes the steps of any method described in claims 1 to 14.